Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

Verdant123

@Verdant123
About
Posts
56
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Runtime Selecting Interface Implementation
    V Verdant123

    i am planning for the development of a peice of software designed to use a dbms, thing is, i don't want to lock it down to any specific dbms, so the idea was that i would design an interface, and provide some implementations. The idea is that, out of the box, one can easily select a variety a dbms to use, and the option is there for developers to write their own implementations. now, how can i enumerate and allow selecting of interface implementations? there must be a way?

    C# question design

  • deploying .net dll for com access
    V Verdant123

    i figured out that i also needed to run regsvr32 /n xx.dll on it.

    .NET (Core and Framework) csharp dotnet com hardware

  • deploying .net dll for com access
    V Verdant123

    i have a small .net class i wrote that is simply a "com wrapper" to access the fileopendialog. i am using it for an application that have jscript as an embedded scripting engine. on my machine i had to use regasm xxx.dll from the dll directory to get it to work - this is fine however i CANNOT get this to work on any other machine. i have: installed the .net framework on the client machines tried running the .reg file resultant from regasm xxx.dll /regfile on the machines tried running regasm xxx.dll as i did on my machine

    .NET (Core and Framework) csharp dotnet com hardware

  • Catch Windows KeyPress Events?
    V Verdant123

    after re-reading the thread i guess i need a system hook... the application need to catch changes to the cap/num/scroll locks from anywhere within windows currently i poll the keyboard state every few seconds... to verify their values

    C# csharp winforms question

  • Catch Windows KeyPress Events?
    V Verdant123

    many thanks i think i will try the IMessageFilter interface method. for now i guess i will leave it polling every few seconds

    C# csharp winforms question

  • Catch Windows KeyPress Events?
    V Verdant123

    is there anyway to get my C# winforms app to handle a keyboard keypress event in windows, whether or not the form is the active window? i want to be able to detect caps lock, num lock and scroll lock presses without out polling the keyboard state

    C# csharp winforms question

  • Locking Rows During Edit?
    V Verdant123

    thanks! i suppose the timestamp thing is the best approach. i cannot have possible simultaneous edits work akwardly, i don't there to be lost data. So i guess i will have something akin to: On Edit screen load: Show current record contents, grab "last edited" On save: check "last edited" and if it matches: apply update, otherwise handle the problem, (probably best would be to show both sets of data)

    Database csharp asp-net database help tutorial

  • Locking Rows During Edit?
    V Verdant123

    i am trying to figure out a solution for locking rows for editing via the web, the problem is i cannot figure out how to unlock the row effectively desired behavior: user 1 searches for and finds 3 records, clicks link to edit record 2 user 2 searches for and finds the same 3 records, goes to edit record 2, but gets "row locked" message, or likewise user 1, finished with editing user 2 can now edit the record problem is i cannot figure out how to track if user 1 finishes, IE closes the browser window... any thoughts on how i could possibly implement this? i will be using ASP.NET and T-SQL

    Database csharp asp-net database help tutorial

  • Editing Images on the fly...
    V Verdant123

    i would like to implement a ihttphandler to handle all image request in a particular folder so i an add a "watermark" to the images, i have it working great for jpegs, pngs and bmps... problem is gifs, especially animated gifs... how can i watermark these on the fly? i cannot seem to open the gifs into a Graphic object, thanks!

    C# question help

  • Slightly off topic... choosing db server software
    V Verdant123

    does anyone have any links or comments on how to choose a database server product? i have fairly large database in mysql on linux (os could cange) currently, but it is being bogged down, on some pretty serious hardware, and i think doing some optimized stored procedures,perhaps a full text index, etc would help... i have used a lot of the various databases, but haven't done much performance analysis... any thoughts? it does a lot of transactions, updates, inserts and selects... but the biggest slowdown is the relatively low percentage of searches.

    Database database mysql sysadmin linux hardware

  • security
    V Verdant123

    try this!

    C# security

  • How to gain access to a network share?
    V Verdant123

    just use it like a normal file resource

    C# sysadmin question csharp tutorial

  • Transparent Image
    V Verdant123

    not too sure, i am a runtime drawing newbie :) first i "Clear" the background with Graphics.Clear(Color.Transparent) then i draw a line and two strings on the graphic using Graphics.DrawString and Graphics.DrawLine i just noticed the quality of the image descreased significantly when saving as a png with transparency, instead of a jpg... i find it particularily odd that the transparent pngs that are generated are not compatible with internet explorer... i thought that the low quality pngs (8bpp) with transparency worked... yet there is not PixelFormat.8bpp that isn't indexed... and you can't draw on indexed bitmaps using Graphics the purpose of this project was just to test out the drawing features and try to make something useful... you can test it out... it takes the string of a request and parses it into values of a "fraction" which it then draws the first part is a hex colour, preceded by the pound indicator... or "p" in this instance. then the font size in pixel format then the numerator and the denominator, with a final terminating comma. Example for best results use a browser that supports transparent pngs if you want to take a look at the code Here (anyone know of a utility for automatically formating in VS.NET style, for the web/html?)

    C# graphics question lounge

  • Anybody know whether ASP.NET ADO.NET and C# can be
    V Verdant123

    this is true... i am merely reffering to all my customers who will be jumping on the first official 64-bit Windows that will work on x86-64... i hope for my sake, .net is available when the XP and win2k3 x86-64 versions are released!

    C# csharp asp-net dotnet question

  • How to get the number of visible forms on screen ?
    V Verdant123

    sure it wasn't sure that was your goal :)

    C# tutorial question

  • Anybody know whether ASP.NET ADO.NET and C# can be
    V Verdant123

    hmm... i never noticed you can't run .net on 64-bit computers... i hope this is fixed soon!

    C# csharp asp-net dotnet question

  • Transparent Image
    V Verdant123

    any way i can get my images to look a little nicer, perhaps some anti-aliasing? currently it looks like: (note transparent png doesn't seem to work in IE, firefox only) This

    C# graphics question lounge

  • Transparent Image
    V Verdant123

    seems to be working with:

    System.IO.MemoryStream memStream = new System.IO.MemoryStream();
    fImage.Save(memStream,ImageFormat.Png);
    ctx.Response.ContentType = "image/png";
    ctx.Response.BinaryWrite(memStream.ToArray());

    thanks for the help!

    C# graphics question lounge

  • Transparent Image
    V Verdant123

    hmm, i am doing something wrong... i have not used the memorystream before... i am not getting any errors during compile, but the png is not comming out at all (redx in internet explorer and "cannot be displayed" because it contains errors in firebird) can you see what i am doing wrong?

    System.IO.MemoryStream memStream = new System.IO.MemoryStream();
    fImage.Save(memStream,ImageFormat.Png);
    byte[] j = new Byte[memStream.Length];
    memStream.Read(j,0,(int)memStream.Length);
    ctx.Response.ContentType = "image/png";
    ctx.Response.BinaryWrite(j);

    C# graphics question lounge

  • Transparent Image
    V Verdant123

    this must be my problem... i will try this and get back :)

    C# graphics question lounge
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups