| Thread | Last Post | Replies |
|
| API misunderstands VB function that returns a variant...? | 17 Oct 2006 22:41 GMT | 12 |
I noticed some weird behavior when calling the SetTimer API from VB6 and I was hoping someone could shed some light on this. SetTimer runs a callback function after N seconds elapsed. According to MSDN, the signature for this callback function is
|
| Call TerminateThread from Kernel32 | 17 Oct 2006 18:50 GMT | 9 |
can u please give me a working example in C# or VB.NET on how to enumerate through all threads of a running application (given by Exe Name or PID out of taskmanager) and then delete all its attached threads. The function in Kernel32.dll i found out is Declare Function ...
|
| Measurement units | 17 Oct 2006 09:02 GMT | 7 |
I am looking for an API which will let me read the CURRENT setting of measurement units (Control Panel, Regional settings, regional options, customize, numbers, measurement units. Any ideas?
|
| RegEnumValue = error in compiled exe, crashing in VB6 IDE | 16 Oct 2006 18:56 GMT | 7 |
In my current project I have a class that uses the registry API to handle settings for the program. It was working fine as long as all the values were dwords, but then I added a couple of reg_sz values. Now when I read the settings back into the program, RegEnumValue will ...
|
| Nvidia Raid Api | 16 Oct 2006 16:27 GMT | 1 |
Is there an API to retrieve the status of a mirroring array? Regards, Gianluca
|
| True replacement for IsNetDrive? | 13 Oct 2006 11:15 GMT | 1 |
Hi all. IsNetDrive works great for showing if a mapped network drive letter is "connected" or not and is instant. According to Microsoft, this function may not be available in future versions of Windows. They recommend using GetDriveType or WNetGetConnection, but those don't show ...
|
| Height and Width Scalable Font | 11 Oct 2006 14:31 GMT | 6 |
I am trying to find a font that I can scale in both Height and Width. I need to use this font in a VB6.0 controls(primarily a Label control) Is anyone aware of an API function that will allow me to adjust both the Height and Width of a given font? are there existing fonts with ...
|
| How du U play a .wmv file | 10 Oct 2006 13:21 GMT | 3 |
Using ShellExecute to play a .wmv file loads the Windows Media Player but does not play the file. Does anyone have code to make a success of this operation on any machine?????
|
| sendmessage and windows | 10 Oct 2006 02:29 GMT | 11 |
I want to send text to some windows - for example, the `dos box` you get when you type run cmd.exe - but it just changes the title bar text. I can do it in Wordpad. I've poked around with Spy+ but can't find anything. Am I asking the impossible? There must be some way of
|
| Powering off a USB port? | 09 Oct 2006 20:57 GMT | 6 |
I'm looking for a way - any way - to turn off power to a USB port on my machine with a device attached. Does anyone know what API I should be looking into to make this happen? Specifically, I'm trying to send a reboot command to an attached device and
|
| EnumerateNtmsObject API call failing on 64 bit machines | 09 Oct 2006 07:49 GMT | 2 |
I have code (two versions, written in both VB6 and also Visual Studio 2005) that calls the EnumerateNtmsObject API. It works fine under 32 bit machines, and I correctly enumerate Ntms GUIDs. However under 64 bit machines, the same code will incorrectly enumerate Ntms
|
| Declaring functions from an external dll | 05 Oct 2006 19:24 GMT | 11 |
I'm wondering how to declare functions in the libmcrypt.dll in vb to use the rijndael encryption. The dll can be found in http://ftp.emini.dk/pub/php/win32/mcrypt/ There is also a c .header file in the url above, but I don't know which
|
| Playing wav-files on multiple soundcards | 04 Oct 2006 18:18 GMT | 2 |
How can I play 1 wav-file over 2 soundcards but they have to start at a different time. mvg, Bart
|
| minimize external windows | 04 Oct 2006 14:50 GMT | 2 |
This is functioning: Const SW_MINIMIZE As Long = 6 ShowWindowAsync TaskHwnd, SW_MINIMIZE but this not:
|
| SHFileOperation copies file, returns error | 04 Oct 2006 01:53 GMT | 16 |
We use SHFileOperation to copy a file from C:\Windows\Temp to a network location. On most computers this works perfectly well; however, on several computers running Win2k the copy operation succeeds and the function returns 0, but err.LastDllError returns 6 - "the handle is
|