Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score How to create the project referencing library, which user may not have on his computer?
fred - 6 Jun 2009 10:22 PM - 11 messages
Hello,           I have this problem. My project is using Microsoft Voice Text component (referencing vtext.dll) which may not be installed on targed computer. And that is just a minor option, which my app offers. (I do not want to ...
Score VB6 on Vista Home Premium problem
jpBless - 6 Jun 2009 10:09 PM - 18 messages
Hi all, I have an app that runs very ok on WIN XP machine. The app also runs well in different versions of Vista until I ran into one Vista Home Premium machine. The app will connect to database OK but after that many of the features ...
Score Moving .exe somtimes works
Bee - 6 Jun 2009 5:31 PM - 11 messages
I have several VB6 apps that are copied to different PCs. I do not believe they need "installation" since they run when double-clicked. However, today I copied a few over and some ran and some gave me this error ...
Score Excel Execution from VB Fails on 2nd Attempt
David - 6 Jun 2009 3:58 PM - 9 messages
Code follows. During the first attempt, there is NO Excel object so "IsExcelActive" = False. After manually closing Excel independent of VB, VB appears to be still keeping a reference to the Excel Object as IsExcelActive returns True. Even executing oXL.Quit and setting things to Nothing does NOT appear to ...
Score Use an Addin to automatically add date/time stamp to each edited line of VB6 code?
MM - 6 Jun 2009 3:17 PM - 20 messages
One feature I would have wanted to see in the classic VB line is a date/time stamp in a comment to every line of code edited or added. That is, as soon as a line is added or an existing line edited, a ...
Score Sub .... or Private Sub....
MM - 6 Jun 2009 2:02 PM - 11 messages
I am optimising the code. In a module (.frm, .bas) what is the difference between: Sub Whatever ........code End Sub And: Private Sub Whatever ........code End Sub given that the sub is only called within the same module? MM ...
Score Comments for Software Protection Solutions
chrisdev3 - 5 Jun 2009 6:33 AM - 3 messages
We are revising our current software protection system and want to change to a new one since we have problems with current. Has anyone used any of the below solutions ? Do you have any comments/ problems with these solutions. Interactive Studio - Quick Licence Manager ...
Score MS Access Query in VB6
Brian - 4 Jun 2009 10:22 PM - 5 messages
I just started using "Replicated" access databases for my VB6 applications.  This has created a bit of a problem...  I use to be able to run basic queries with the "*" wildcard character and parse the recordset as needed. ...
Score Open a FoxPro DAT file?
Thomas Malia - 4 Jun 2009 4:49 PM - 7 messages
I know I've done this before, but what is the process to be able to open a FoxPro .DAT file so that I can execute a SQL statement and generate a result set? Thanks In advance. ...
Score fso.Drives replacement
Lorin - 4 Jun 2009 4:29 PM - 4 messages
Is there an API that returns what FileSystemObject fso.Drives returns? I need to get the     .DriveType     .IsReady     .ShareName Or what are the APIs for each? The code I am replacing is as follows (snippet): ...
Score The GPF in VB6 Environment is caused by: Call HtmlHelp(Me.hwnd, App.HelpFile, HH_CLOSE_ALL, 0&)
MM - 4 Jun 2009 2:36 PM - 6 messages
Further to my earlier post re setting object vars to Nothing (see thread "When and where do I set m_FormVar = Nothing"), I have now found the cause of the GPF that is occurring in the VB6 environment when Eudora Mail is loaded after I've run a particular VB6 app. ...
Score Extracting bytes from a file
Hans Achim - 4 Jun 2009 12:00 PM - 3 messages
Hello! Does somebody know how I can extract a byte "section" of file, when I know the byte start position and the length of bytes that should be extracted? Hans ...
Score Internet Usage
Gary Pollard - 4 Jun 2009 12:16 AM - 3 messages
Using VB6 I would like to write a simple application to keep track of my internet usage on my home network. High speed telephone line and networks card hooked into gateway (2-Wire model #RG2701GH-00 supplied with high speed telephone internet ...
Score When and where do I do Set m_FormVar = Nothing?
MM - 3 Jun 2009 3:50 PM - 30 messages
Suppose I have: Private WithEvents m_Whatever As cMouseTrack in the form's declarations section. I'd like to tidy up afterwards with: Set m_Whatever = Nothing Do I place that in Form_Unload or in Form_Terminate? MM ...
Score VB6 - Just In Time Error Message Help
Sue - 3 Jun 2009 3:11 PM - 9 messages
Hi Apologies if this is the wrong group. I ran one of my compiled vb6 programs all last year on this Windows Xp PC without any problems. Now i have started to use it again and i keep getting a "Visual Basic ...
Score Security Settings
John Simpson - 2 Jun 2009 8:55 PM - 5 messages
Hi Group, I need to write an application to create a directory structure on a Windoze 2000 server. Creating the structure will not be a problem, but I will need to set different permissions for different directories. Can someone point me to an API that will solve this problem? I've done a ...
Score Serial Number
NC - 1 Jun 2009 9:08 PM - 18 messages
Hi there, Can any one help me? I'm trying to retrieve the motherboard or hard disk serial number (in hard disk not the volume serial number but the manufacturer Serial Number) without using the WMI (since in most cases it doesn't work. Most of the ...
Score Programmatically Determining File Size and/or contents
Rob - 1 Jun 2009 4:31 PM - 8 messages
I have a VB6 program that I need to make modifications to so that it can determine the file size of a txt file that is downloaded to a folder (by a separate process).  This other process will put the file in this location ...
Score Print # vs .Savefile
Jimekus - 1 Jun 2009 11:41 AM - 3 messages
I have built up an elaborate system around an old text reader. At one time I used to save any text that hadn't been read using the RichTextBox.Savefile method. This was very quick even when I had many ...
Score PictureBox Scale Confusion
David - 1 Jun 2009 12:21 AM - 10 messages
I'm confused. 1)  Why do I need to rescale the picturebox to its actual pixel values in order for API MoveTo, LIneTo to show the line on the picturebox? 2) How do I rescale the picturebox such that I'm able to obtain the ...
Score WMI and WIN2003
peleg - 31 May 2009 4:03 PM - 7 messages
i used this code [link] to search for a content inside the Message property (which show that data in the Description part fo the event). the problem is that on winXP there is no problem and i recive the value, ...
Score Finding the biggest number out of 8 variables
Mojo - 31 May 2009 1:26 PM - 7 messages
Hi All Does anybody know of an easy way to find out which variable has the highest value out of 8 variables? For example, I have these values in 8 vars: 3    0   7    30   37   17  0   7 ...
Score 100% quandry
Mojo - 31 May 2009 11:58 AM - 9 messages
Hi All This might be an age old problem, but I just wanted to see if I wasn't missing something obvious in my code. Basically I have say 31 people (this figure can range from 10 to 100) who ...
Score Draw over another hwnd?
Hans Achim - 31 May 2009 11:45 AM - 3 messages
Hello! I have a form which is entirely occupied by a usercontrol. In the middle of the usercontrol I placed a textbox. Can I somehow make the usercontrol draw its graphics partly over the textbox as well? On an iPhone there is this keyboard. When you click on a letter, the ...
Score Is it Monday yet?
Webbiz - 31 May 2009 4:02 AM - 3 messages
I have a recordset that I wish to cycle through until my 'cursor' is pointing to a record with a date that is a MONDAY. Your opinion. Would this be the way to do it?     'Set Recordset to point to first date that is a MONDAY ...
Score Re: How to detect unicode text?
Jak Aiden - 31 May 2009 2:42 AM - 3 messages
I had a similar problem, but the function suggested sorted it out (albeit with a little tweaking) here is the fully tested and now working function! It detects PERFECTLY!! Public Function GetFileEncoding(MyFileName) As String    Dim b1, FileNum ...
Score What files should I distribute (SAPI 5.3)?
fred - 31 May 2009 1:44 AM - 29 messages
Hello, My app invokes TTS using SAPI 5. What files should I distribute? There is some package I downloaded from MSDN but I do not have idea what to do with it: Sp5TTIntXP.Msm Please advise, Fred ...
Next » 2 3 4 5 6 7 8 9 10