| Thread | Last Post | Replies |
|
| Rename VB6 Process | 30 Sep 2008 16:56 GMT | 31 |
I would like to know if there is a way to rename my VB6 process after it has been launched. There are some convoluted ways to achieve the same end result, but I am wondering if there is a simple API that would easily do the trick.
|
| SHGetFileInfo bug on Win2k? | 29 Sep 2008 12:04 GMT | 2 |
I've experienced a weird behavior of the SHGetFileInfo Win32 API on Windows 2000 (not on XP). For both versions (ANSI and Wide), an empty string is returned for unregistered file types when running my application stand-alone.
|
| problem using DeviceIoControl | 29 Sep 2008 08:15 GMT | 5 |
I use DeviceIoControl to create four primary NTFS partitions on a HardDisk. Partitions are created properly if I use a new Hard Disk, but if I use an HardDisk already formatted and erased, often drive letters are assigned in revers order.
|
| ShowHTMLDialog not using my params passed in pchOptions | 22 Sep 2008 23:47 GMT | 1 |
I have a plain Win32 App in which I'm trying to display an HTML resource using ShowHTMLDialog. It works okay, but it does not apply the window ornaments that I specify in 4th argument of ShowHTMLDialog, pchOptions. I specify the dialog window size and make it resizeable. Would ...
|
| DrawText - Vert Center plus Word Break | 21 Sep 2008 11:00 GMT | 2 |
I was using DrawText API but found out in order to use DT_VCENTER (center text vertically) it can only be used with DT_SINGLELINE (single line), though I need to have DT_WORDBREAK (multi line) too, like how text is shown in VB's check box.
|
| PeekMessage and Filtered Nested Message Loops | 19 Sep 2008 19:46 GMT | 19 |
I am a non-MFC programmer that primarily works in .NET as well as legacy VB 6. In both of those high-level RAD language worlds, the platforms offer a DoEvents() function. It seems that DoEvents() is a non-filtered nested message pump that is used to flush the message queue. I ...
|
| API_mciSendString hangs | 19 Sep 2008 19:34 GMT | 4 |
I'm using the mp3.bas from Michael Karathanasis for years in a little prog for mp3s. (http://www.vbforums.com/attachment.php?attachmentid=3227&d=994045718) Since some days the above Api fails when is called by API_mciSendString "open " & mmName & " type MPEGVideo alias mp3", 0, 0, 0
|
| How to fill with black color a figure drawn using PolyDraw? | 17 Sep 2008 19:03 GMT | 3 |
I have a code, which draws a figure (in fact a few figures) with PolyDraw. How can I fill the figure with black color? It is a closed figure. Regards, t0mek
|
| Picture and text in single file | 14 Sep 2008 20:40 GMT | 5 |
Just thought I'd ask this question before I attempt to go any further. I have an application that uses a picture and an array of data. I'd like to save both the picture and data in the same file and load it from the file.I can do this using ADO or DAO but I'd prefer to not have ...
|
| ListView ColumnHeader caption via API? | 10 Sep 2008 21:33 GMT | 22 |
I'm trying to read the column header (SysHeader32) captions of an ListView. So far I'm sure to have the right processID and handle (hWnd) , beacause I can successfully read the right number of columns, but I do not get any text (caption) for each column. I always get back an ...
|
| convert streamreader line to system.drawing.point | 08 Sep 2008 20:39 GMT | 1 |
I have an application where I want to redraw a polygon from points I retrieve from a file. The file is read with streamreader line by line each line contains the points for each polygon.
|
| Scrolling Scrollbar in IE6 | 04 Sep 2008 13:31 GMT | 6 |
Using VB6 and trying to interact with an instance of IE6. I need my program to be able to scroll the scrollbars in IE. I suspect that I can use SetScrollPos API, but how do I get the hwnd of the scrollbar (I can get the hwnd of the main IE window, but not the Scrollbar)?
|
| SetFileInformationByHandle He | 04 Sep 2008 04:25 GMT | 7 |
I'm writing a filecopier using APIs. I've gotten everything working, but I want to set the destination file's date stamps match the source file's. I can get the info using GetFileInformationByHandle, but I'm stumped on the SetFileInformationByHandle. I'm using the Unicode ...
|
| Which API to get window size | 03 Sep 2008 19:03 GMT | 2 |
I want to resize (change only the width of) another programs window. I have gotten the handle to that window and think I will use the SetWindowPos API with the noMove, noZorder flags (unless someone recommends a better API for this).
|
| Scheme name and OS | 02 Sep 2008 15:09 GMT | 18 |
How to find out the current scheme name and the OS name by means of Win32 API? Thanks in advance.
|