Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score compile error Only udts defined in public object modules can be coerced ...
mp - 7 Aug 2010 3:45 PM - 13 messages
more an observation than a question, but I welcome any discussion that follows.... seems strange i can't define a private udt inside a private class and pass it to private/or public proceedures inside the class itself. compile error ...
Score Temp File -- got me stumped
David - 6 Aug 2010 11:36 PM - 4 messages
NOTE:  Questions follow ///////////////////////////////// separator I'm using a routine from an MS Program. The procedure does the following: Open szFileName For Input As #1            'Open the next file to search. ...
Score ReplyMessage Question.
xytsrm - 6 Aug 2010 7:27 PM - 3 messages
I'm using SendMessage and ReplyMessage in communicating between two apps.  Due to an oversight on my part, I was sending a ReplyMessage that wasn't preceeded by a SendMessage, although nothing appeared to cause any errors, I was just wondering what happens if a ReplyMessage is executed essentially ...
Score Make a Backup
LondonLad - 6 Aug 2010 3:57 PM - 11 messages
I am using Randy Birch's CopyFileEx: Create a File Backup App Option Explicit Private Const FILE_ATTRIBUTE_DIRECTORY As Long = &H10 I am stuck as I cannot see why this line of code does not work:- 1. When they are equal ...
Score ini in app.pth works for xp, best practice for Vista/W7?
Mike S - 6 Aug 2010 3:40 AM - 13 messages
I use an ini file in the app.path for a program that runs on XP. What is considered the best practice for deciding where to save the ini file on Vista or W7? I read this thread which recommended this approach: ...
Score RegClean Revisited
BeeJ - 5 Aug 2010 10:48 PM - 8 messages
Now I have several Reg Clean programs and none of them find the "orphaned" (missing) once registered items that are listed in Project\References. So, does the VB6 IDE store this list elsewhere? In the registry? How do I locate and delete those items? ...
Score App Hang
BeeJ - 5 Aug 2010 7:43 PM - 8 messages
I am trying to close an external VB6 app. I am setting all timers .Enabled = False.  ( I read that this is not necessary but I do it anyway ) I am UnLoading all Forms.  Well, I am commanding it but maybe something ...
Score Stumped with msflexgrid column zero row selection.
Gary - 5 Aug 2010 5:57 PM - 3 messages
Sample code to illistrate the problem. If MSFlexGrid1.Col = 0 And MSFlexGrid1.Row >= 0 Then Exit Sub End If I put this as the first line of code in the msflexgrid1 click, enter cell and leave cell event but when you click any row in column 0, column 1 next ...
Score ItemData property replacement for ListView
Leo - 5 Aug 2010 4:53 PM - 4 messages
Is there a replacement or alternative property for the listbox ItemData property when using a listview? ...
Score register ocx on Windows 7 64 bit
Jan Lorenz - 5 Aug 2010 9:27 AM - 6 messages
Hallo, I have VB 6 running on windows 7. For a given project, I need some ocx files. I have copied the the files into the SysWow64 directory and registered. There have also worked out all but the wheels.ocx ...
Score How to autosaving .xps documents
DORI - 5 Aug 2010 3:33 AM - 2 messages
Dear All, I am creating xps documents by printing to the xps document writer. I am wondering if there is a way to programmatically with vb6 (without using commondialog control) to provide the name and the directory where I want to ...
Score Instantiation
BeeJ - 5 Aug 2010 12:48 AM - 6 messages
I have an ActiveX EXE that I wrote. It is set 5-MultiUse, Thread per Object. This ActiveX EXE raises events. I have an array of class that instantiates one each of the ActiveX EXE. I instantiate the array of this class (0) thru (3). ...
Score Old VB Project doesn't work with New Office or Windows 7
JoeF - 4 Aug 2010 11:14 PM - 9 messages
Is there anyone that can recommend a solution to 'fix' an old VB application? It's a report card program that uses a Word template and fills in the word document from this .exe file created in VB. I have no idea how to debug as I ...
Score Adding a button to the Actions menu for Outlook 2003 for Contacts
Bob S - 4 Aug 2010 5:56 PM - 3 messages
Hi,    I am working on an add-in for Outlook 2003.  I am using VSTO and Visual Studio 2008.  I have successfully added buttons to the "Tools" pulldown and the "Actions" pull down for viewing mail.  When the user switches to ...
Score Reconnection issue between Winsock Server(VB6) and TCP Client (VB.NET)
albertleng - 4 Aug 2010 5:20 PM - 5 messages
I have a program (Winsock Server) written with VB6 which is connected by a TCP Client (written in VB.NET). The developer who writes the TCP Client told me that the TCP Client can't reconnect to my Program (Winsock Server) after TCP Client ...
Score how to create a 4 parameter logistic equation curve ( 4 P L Curve
sunlite - 4 Aug 2010 10:30 AM - 5 messages
how to create a 4 parameter logistic equation curve ( 4 P L Curve ) with VB , VBA or Excel? instead of using MatLab or other Math add-in ? thanks in advance ...
Score Any thoughts? Application error .data not place into memory because of an I/O error
Tony Toews - 4 Aug 2010 3:05 AM - 6 messages
Folks The following problem has been reported twice on two separate systems at one particular client The instruction at 0x7344de72 referenced memory at 004bac40.  The required data was not placed into memory because of an I/O error status of 0000000c4 ...
Score Unicode API
Kevin Provance - 3 Aug 2010 8:56 PM - 43 messages
I'm curious. By accident, my particular API viewer was generating W versions of APIs I commonly use.  I only caught it because the APIs were failing. Specifically I was using FindWindowEx. The declare for the W was exactly the same as the A, the difference being ...
Score System Timer Callback?
xytsrm - 3 Aug 2010 7:49 PM - 11 messages
This question may not be appropriate to this forum, but it does involve VB6. This question concerns the fact that when using the MCI control in synchronous mode, all VB events, including the Timer Control, are suspended during a "Play" command.  This can be circumvented by using asynchronous mode ...
Score vb6 xpsp3 DEP stops P&D generated setup.exe
Mike S - 2 Aug 2010 9:21 PM - 4 messages
I wrote a VB6 program used the P&D Wizard to make the setup package. I tried to install it on my machine to test the installer script because there are a couple of files that have to be installed in subfolders of ...
Score Get Selected Path From Explorer
David - 2 Aug 2010 4:16 AM - 13 messages
Using XP: Writing a quick editing program where I want to select the file in Windows Explorer, right click and bring up a menu, select my program and have it open the file that was selected in Windows Explorer. All internet searches to get the File name and Path from Windows Explorer ...
Score Are PDB files used by VB6
Norm - 1 Aug 2010 7:17 PM - 7 messages
Hi, I noticed that some of my projects have several pdb files in them, but not all the projects. I searched google and found that they seem to be referenced as Palm Data Base, but was not able to find if they are ...
Score How to save a picturebox's image to a .PNG file? (VB6)
Nando - 1 Aug 2010 7:17 PM - 39 messages
Hi all! I have a little program (written in VB6) that saves the image in a picturebox to a BMP file. The problem is that BMP files are several megabytes in size and do not support DPI (dots-per-inch) information for ...
Next » 2 3 4 5 6 7 8 9 10