| Thread | Last Post | Replies |
|
| "Invalid handle" when accessing a file created by CreateFile | 22 Jul 2005 12:45 GMT | 5 |
I have a small sample function that should create a file and write a short text into it using File I/O API. The CreateFile works fine, the file is created and a handle is returned. However, whenever I attempt to write to the file, the error "Invalid handle"
|
| changing devicename of a printer | 22 Jul 2005 11:11 GMT | 2 |
I want to change the devicename of a printer automatically with the Windows-API. Is it possible to do this with the SetPrinter-function? I tried this, but I always get "access denied". Here is my code:
|
| Getting the pixel colors of a bitmap file without displaying it, in an activeX | 22 Jul 2005 10:05 GMT | 1 |
this is still with VB6. I am writing an ActiveX control that needs to load a bitmap file, and process it by reading the pixel colors (say, count the number of black pixels). I don't need to display the file at all. In fact, the control should really be invisible. I found a ...
|
| The Windows directory location from VB6 | 22 Jul 2005 01:13 GMT | 7 |
Probably been asked and answered a million times over the years, but I can't find it anywhere: From a VB6 program, how do I tell what the client is using for the Windows directory (ie, C:\Windows or C:\Winnt or ......???)
|
| What DLL is the VB OCX Using | 21 Jul 2005 19:11 GMT | 8 |
How to find the relationship between a VB OCX and a corresponding dll. For Example: When using a Rich TextBox in VB, the component is identified as:
|
| Regsvr Logging -- Win98 | 21 Jul 2005 17:05 GMT | 6 |
Anyone know how to generate or get a log file when using Regsvr to register an OCX in Win98?
|
| copy object | 21 Jul 2005 14:57 GMT | 7 |
Hello, how to copy Data(or pass it) to Data1? is it possible? Thanks. ============================== Private Sub ListView1_OLEDragDrop(Data As MSComctlLib.DataObject, Effect As Long, Button As Integer, Shift As Integer, x As Single, y As Single)
|
| Lock icons in Icon mode listview | 21 Jul 2005 09:11 GMT | 3 |
Hi, I have a ListView in Icon mode displaying 16 items. I would like the user to be able to click (select) items without moving them around. Is there a way to prevent icon moving in an Icon mode Listview?
|
| Close process spawned with shellexecute API ? | 21 Jul 2005 07:53 GMT | 7 |
I have created a VB5 program that opens documents by calling the shellexecute API. This works great. I am looking for a corresponding API or other procedure that would allow me to close the spawned process automatically from the VB program that opened
|
| Windows crypt32.dll or similar? | 21 Jul 2005 01:26 GMT | 13 |
Hi, Im looking for a .dll that I can use to encrypt/decrypt on public/private RSA keys. The .dll should also be able to generate 128bit keys for inclusion in programs, etc.
|
| Is it possible to enumerate form elements in IE? | 20 Jul 2005 23:06 GMT | 2 |
Is it possible to enumerate form elements in IE? I'm using VB6 and have a very simple program that uses WindowFromPoint to display the various windows, textboxes , etc when I put my cursor on them. It works great in just about any situation but I have found that it
|
| .ini .dat or registry question | 20 Jul 2005 18:22 GMT | 47 |
Which is better used to store 2 or 3 simple program settings, an ini file, dat file or the registry. From reading posts here, it seems using the registry is frowned upon, but everything I read
|
| Detecting LAN cable status | 20 Jul 2005 13:55 GMT | 2 |
i want to be able to detect LAN cable status from my vb6 application so that when the cable is unplugged, the user could be warned, is their any api that can help me in implementing this functionality? Thanks!
|
| Matching window handles and open file handles | 20 Jul 2005 04:54 GMT | 3 |
This question is more about the Win32 APIs than VB, but a search through the MS ngs didn't reveal a more suitable ng for this question. Please tell me if you know of a better ng in which to post this. I'm working on an app that allows the user to open a list of files. The user can ...
|
| gdi32.dll question | 20 Jul 2005 01:28 GMT | 5 |
How far back, OS wise, does gdi32.dll exist?? I found a great progress bar API that uses it, but I can't find any "history" about it so I have an idea of what OS's will have it installed As Always, tyia.
|