You could use a ListView. In a list view, every item has a Tag property. You can save the item's index in the table into the Tag property. Never assume the index of the item in the table is the same...
Sure, but it makes the code much more readable. 32 is just a number which doesn't really have a meaning. Look at it in a few months from now and you won't know where it comes from. The way it is done...
I'm writing a shell extension that will display a menu item in the context menu of folders. I'm using VB6. My extension implements the IShellExtInit and IContextMenu interfaces. I've registered the...
I'm currently designing a video editor which I intend to use to cut movies, apply effects and transitions, incorporate a soundtrack, generally everything that the DirectShow Editing Services (DES)...
Use javaw, just as dlorde said. Directly after the javaw call, insert a "cls" statement. That will clear the DOS window, resulting in its being closed. I guess that's what you actually want. If not,...
Well, I've tried JBuilder and Forte for Java. They're both quite nice, but I've switched to jEdit as my code editor and Ant as a build tool. In my opinion, you get better control over your projects...
If you ask me, I'd recommend learning Java first. It's object oriented and has a rather "smooth learning curve". With Java, you can get familiar with programming concepts and then, if you like, move...
Don't forget a GUI Design Award. Today it seems to me that many companies don't even have UI designers. They deliver applications that are hard to use and get used to, and that's not how it should...
Now, my friend said he'd almost always go for the easy method. Why do something the complicated way if you can do it the easy way? I said I'd always go...
Why not program a subset of Access' features? Like, program an application which can read and show some database formats. In addition, let the user modify table structures and add new...
Does that mean that I just can't use Frame and Form in my interface definitions? If so, how am I supposed to pass the needed objects to the plug-in / the...
I am actually using MIDL, didn't know there was another compiler. I've certainly already tried searching the MSDN library I got with my VS edition, but it didn't turn up anything interesting.