| Thread | Last Post | Replies |
|
| How do I Set frmCustomerInfo = some_hWnd? | 17 Aug 2007 23:38 GMT | 3 |
This is in VB6. Let's say an API call sends me a hWnd to some VB form, and I want to "set" a VB form variable to that hWnd Something like:
|
| Unload A Form in Function | 17 Aug 2007 22:18 GMT | 7 |
I'm using the code below to check for a field value and if it's blank I want to exit the sub and close the form. This is the code I'm using: If (InvoiceForm.ResID <> "") Then
|
| Mimic Collections Using Arrays within Object in VB6? | 17 Aug 2007 21:06 GMT | 4 |
I hate Collections in VB6 with a passion. I've found them just about OK and maybe interesting for little things, but not very scalable and incredibly inefficient compared to even the most inefficient linearly stored array.
|
| Net.Mail.MailMessage.AlternateViews problem sending html and text | 17 Aug 2007 20:30 GMT | 2 |
I wrote some code to send an email with two alternate views: 1) html 2) plain text All the html enabled email clients accept the html just fine and disregard
|
| Write simple webpage with vb6 | 17 Aug 2007 19:39 GMT | 3 |
I'm trying to get my program to create a webpage by writing html to a text file with teh htm extension. Alright in theory but very complex in practice because of the the numerous double quoted parameters (works if converted to single quotes) and the
|
| Strange Printer/Common Dialog Problem | 17 Aug 2007 15:39 GMT | 2 |
Tonight when I tried to run a VB5 program that I am developing, which had up to now not had any problems printing to the printer, I ran into a problem that "froze" my program. The common dialog box for the printers opened as normal, but when I
|
| Where did that error happen? | 17 Aug 2007 12:00 GMT | 2 |
Assume I have a sub A that calls subB: sub A() on error goto errorHandle 'do something
|
| Error handlers and line number (URGENT Please) | 16 Aug 2007 17:30 GMT | 2 |
Is there a way to know (and report in an error handler) exactly which line caused the error? So far I've been able to retrieve the error number and error description form the Err object, butis it possible to retrieve the
|
| FILE.create never free the ressource | 16 Aug 2007 13:15 GMT | 1 |
the instruction file.create(path) never frees the ressource!!! if you try file create("c:\temp\ok.txt") file.delete("c:\temp\ok.txt")
|
| MSCOMM Control... | 16 Aug 2007 02:17 GMT | 1 |
I am attempting to send RS232 Data from COM1 using the MSCOMM Control. The RS232 Cable from COM1 feeds a MAX232. I am monitoring the associated TTL output from the MAX232 with a Storage Scope. When I Click on the Command2 Button to Send, all that happens is
|
| Where to save files in Vista? | 15 Aug 2007 13:51 GMT | 4 |
Where should I save files in Vista? So far I had been using the application directory, but I guess that's over. Regards, Fernando
|
| Sleep | 13 Aug 2007 21:07 GMT | 1 |
I'm writing a program that uses the Beep command when an alarm condition is met. And need to produce 4 Beeps with 750ms in between... Is there another way to produce this same effect without using the Sleep command? It polls sensors every 500ms and IIRC the sleep command will
|
| Using a Proc at a location obtained with GetProcAddress (win32api) in VB6 | 13 Aug 2007 12:51 GMT | 4 |
I'm using VB6 (still). I have a USB device that works fine if it is plugged in before starting VB6. I need it to work if it is plugged in before or after VB6 is already running. This requires dynamically loading the dll functions. I called the LoadLibrary and
|
| Very strange keyboard behavior | 12 Aug 2007 22:01 GMT | 2 |
Please start Visual Basic (Standard EXE) and press F5. You see an empty form. 1) Press and hold 'CTRL' + 'A' and then press 'F1'. You shouldn't hear any beep. I think that's normal.
|
| VB programming | 12 Aug 2007 06:29 GMT | 1 |
http://computer-programmings.blogspot.com
|