Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score need help with windows 98/me install
bean - 8 Jul 2006 11:43 PM - 4 messages
Ok i have tried about 4 times to install windows ME on a system that i will be using to run a Vent server, the system specs are, Hard Drive-8 gigs, processor- pentium-1 266mhz, 164mbs or ram, NIC Card. i am using ...
Score Progress bar freezes
Jack - 8 Jul 2006 9:52 PM - 5 messages
Hello,           I have this strange problem. When being in the loop on one form: For i=1 to 2700 ......... Next and displaying progress bar in another window, progress bar stops refreshing ...
Score Please help in nstalation
Super1kid - 8 Jul 2006 8:20 PM - 7 messages
When i install VB 6.0 i get a error... imposible to finish the instalation of visual vasic..... i gor windows xp ...
Score dont want to compile the project again
naeem - 8 Jul 2006 3:55 PM - 2 messages
hello i need your help i have a solution in dot net which have four project in it the reffreance of "project 1" is in the project 2 now what i wana do is that i have made changes in the project 1 and compile it i got a dll of it ...
Score VB6 passing UDT's
Richard - 8 Jul 2006 12:50 PM - 14 messages
I have some troubles passing and recieving UDT's from a VC dll this is what is in the .h file struct TMscEventNotificationDesc {   unsigned __int32           StructSize;   TMscEventNotificationDesc* Next; ...
Score Organizing code in vb6
jack - 8 Jul 2006 9:53 AM - 2 messages
Hi all Im developing vb6 project from pretty long time but still unable to organise my code properly i would be glad if anyone wishes  to help me with the same Thanks for replying me ...
Score Looking for How to have a map as the background
Wayne & Kerri Anne - 8 Jul 2006 8:10 AM - 2 messages
Hi All I would like to know how one can use many maps as a background. Say I had a number of CD's with street location and would like to find a street and the program would locate and display it. ...
Score Finding IE 6 installed
jack - 8 Jul 2006 7:40 AM - 2 messages
Hi all Im in the middle of the project im using an XML object which requires ie6 the software gets installed  properly but, but the process generates the error which requires ie6 for proper working what im unable to find is , how to find which version of ie is ...
Score VB 6.0
ChristRaj. - 8 Jul 2006 6:32 AM - 2 messages
1. How to Draw Circle,Rectangle,Oval,Ellipse,Curve ..etc  in RichTextBox? 2. How to Zoom Entire Document in RichTextBox? 3. How to set PageBreak in richTextBox? 4. How to Strecth in Pricture ,WaterMark in RichTextBox? I have Submit Project 12/07/2006. ...
Score Progamic Referencing
Trent Argante - 8 Jul 2006 2:37 AM - 6 messages
Can VB6 set a reference to a DLL, programmically, at runtime? ...
Score recommend commercial dll for VB 6
noemail12000@yahoo.com - 8 Jul 2006 1:42 AM - 5 messages
Hi All, I need to be able to send e-mail from my VB 6 application.(I want to be able to send e-mails via smtp and I don't want to use any microsoft products) could somebody recommend commercial product which would allow me to use ...
Score Alinging Title on a report
Marv Wade - 8 Jul 2006 1:06 AM - 9 messages
I am attempting to develop a routine for printing a title on a report that in contained centered within a double line box. I found some code  some time ago that works if the title is one line.  I am trying ...
Score File Open and/or locked on Network- second request
Jim - 7 Jul 2006 9:31 PM - 4 messages
Is there a way to determine if a file is open and/or locked on another computer on the network.  If so is there a way to remotely close it? ...
Score VB6 code runs different speeds on different PCs
Matt P. - 7 Jul 2006 8:06 PM - 15 messages
Hi, hope this is right place to post. I have nearly finished a pong-like game in VB6. It works great, but I am having trouble with making a version that can run on other Win computers. The reason is, ...
Score List addresses from "Favorites" in IE6
Jim Y - 7 Jul 2006 8:02 PM - 3 messages
How can I obtain a list (hardcopy) of the addresses in my "Favorites" in IE6.  I know that an Export method exists, but does not provide what I would like to see.  It provides the link name and the ...
Score Optimum (fastest) way of storing LV data into file ?
Jack - 7 Jul 2006 7:22 PM - 4 messages
Hello, The ListViewA (visible) has fixed number of colums: 49 and variable number of rows (500 to 1000). The ListViewB (not visible) has the same number of columns and rows as ListViewA and contains additional data. I need to store data (text) kept in both ListViewA and ListViewB, when ...
Score Client Server App Question
Mike Charney - 7 Jul 2006 5:54 PM - 5 messages
Hello. I am a some what beginner to intermediate VB programmer, but I was asked if I could create an application the does the following: Workstation: Small colored circle system tray icon that will change color when a code is issued ...
Score SendKeys "^S" doesn't work
ElMachito - 7 Jul 2006 3:42 PM - 6 messages
Hi, My macro stops in this line and stay waiting to save: SendKeys "^S" & PDFName & "{ENTER}", True I use Office 2000 and W2k, the syntax have changed? (this code was made in 99) I have to change something in the configuration of word? ...
Score Sample Code - Connect from Client to MSAccess on Server
Larry Rebich - 7 Jul 2006 3:33 PM - 2 messages
I have a requirement to create a system to link to an MSAccess DB via the Internet. I have never done this. What I'm looking for is some 'shell' VB6 code that will connect to an MSAccess DB, return a web page, and provide 2 way communication between the ...
Score Get info from MS Windows Explorer
HotRod - 7 Jul 2006 3:26 PM - 6 messages
So far a fwe days of google searching have given me no results. I'm not sure if someone here can help. In my company we are always updating old documents that are stored in multiple locations with differnet names. For example all ...
Score Sharing Class Data With Multiple Forms
Jerry - 7 Jul 2006 1:52 PM - 6 messages
I'm developing an application that has an initial login form. It uses a user class that checks for a valid user. If the user is valid, it populates public variables in the class, hides the login form and shows ...
Score How to script telnet commands?
Richard RE - 7 Jul 2006 1:21 PM - 5 messages
Hi, I have general question about scripting telnet commands. I have tried to do so using a batch file, but haven't succeded. Can anyone help me with MS links to sources or how to accomplish this with batch or vb script? ...
Score Sorting a type array
dman - 7 Jul 2006 1:19 PM - 7 messages
Hi. Is there some existing code to sort a Type Array? aStoreData(i).Store aStoreData(i).AllocPct I need to sort by AllocPct. Thanks. ...
Score datagrid
mcnewsxp - 7 Jul 2006 11:56 AM - 3 messages
i need to be able to add rows to a datagrid. the form will contain 3 controls that contain data from the user. combobox, textbox and checkbox. the user will click an "Add" button that should add this data to the ...
Score reference a vbp file from one computer to anothe ina network
ebrajesh - 7 Jul 2006 6:46 AM - 3 messages
hi i  am working in a clinet server project in vb.i want to set refence to ..vbp file running in anohter computer to this computer. can we do that Thanks Rajesh ...
Score Copy Binary File Char By Char
hailconan - 7 Jul 2006 4:05 AM - 8 messages
Hi, I would like to bulid a File managment system in Visual basic. I did sucess to 1- Open ASCIIfile ( Text File) 2- Munplting each char 3- Rewrite File1.txt ---to---> File1Updated.txt My problem, I need some times to access different formats of files char by char for ...
Score vb6 msdn cd
outland - 7 Jul 2006 12:15 AM - 9 messages
I knew I saw vb6 in the subscriber downloads, then today I couldn't find it. After searching I found that it had been removed on 6/30/2006. I didn't need it before, but I need it now, and I didn't know it was going to be removed. ...
Score TEST
Jeff - 6 Jul 2006 9:37 PM - 2 messages
Just a Test ...
Score Collections
Dave - 6 Jul 2006 8:59 PM - 13 messages
When you create a collection and then add members to the collection can you just set the collection object to nothing to clean it up or must you remove all members from the collection first then set it to nothing ? ...
Score newbie question
jonathandrott - 6 Jul 2006 8:37 PM - 9 messages
i'm trying to create a large on screen keyboard so user can fill out a form.  i used regular vb buttons on the keyboard.  how do i code the button so that the characters show in the textbox with the blinking ...
Score Application Error
PG - 6 Jul 2006 7:49 PM - 2 messages
Hi, When I press F1 or click any of the Help menus in VB6.0, I am getting a VB6.EXE - application Error. The message reads - ===================================================== "The instruction at "0x6d611841" referenced memory at "0x6d6137b4". The memory could not be "written". ...
Score Insert record code
Roy Brandon - 6 Jul 2006 3:29 PM - 5 messages
This is code I have taken from an old program and tried to adapt it to my new db. I did not write it and don't know enough to understand just what is what. If anyone is willing to spend the time to try and give me a hand I would sure appreciate it. ...
Score File Open and/or locked on Network
Jim - 6 Jul 2006 1:03 PM - 2 messages
Is there a way to determine if a file is open and/or locked on another computer on the network.  If so is there a way to remotely close it? ...
Score run-time error '459' but not on every machine
DartGuru - 6 Jul 2006 11:10 AM - 5 messages
Hi On one users machine I am getting the 459 error (Object or class does not support the set of events) when I attempt to set the value for a label before displaying a form. frmAddNewEntry.lblRef.Caption = "1001" frmAddNewEntry.Show 1 ...
Score VB3 Project Load error
Rachel - 6 Jul 2006 8:01 AM - 3 messages
Hi, When I try to open a .MAK file the following errors messages appear: "You do not appear to be licensed to use Truegrid in Design mode. Sorry" "Can't load custom Control DLL c:\RemRep\Truegrid.vbx" "Errors during load, refer to c:\RemRep\RemFltr3.log for details" ...
Score Listview Checkmark - Ignoring Mouse Input
David Miller - 6 Jul 2006 5:15 AM - 4 messages
Is there a way to get listview to ignore the mouse input.  Right now if the user clicks on the check box or double clicks on the selected line the checkbox changes state.  I would like the control to ignore that user input. ...
Score Sunrise and sunset algorithms
Gordon Padwick - 6 Jul 2006 12:48 AM - 23 messages
I'm looking for algorithms I can use as the basis for VB procedures to calculate sunrise and sunset times for a specific location on a specific day. Despite extensive searching on the Web, the only reference to these algorithms I've found are that they are described in the US Naval Obsrvatory ...
Score User-Define Type: object needed error??
Randy Gardner - 5 Jul 2006 10:38 PM - 4 messages
All code in a single module. I keeped it simple.  I RETYPED EVERYTHING SEVERAL TIMES. I was testing Random access filing using a Type variable and I keep getting: "Run time error 424,  Object required " What am I doing wrong?????  See:  Problem  ************* ...
Score Issues running a program from the shell?
Advo - 5 Jul 2006 10:23 PM - 14 messages
Basically, ive got a program called LabelG.exe which i need to run from a network location - \\SERVER2\Files\LabelG\LabelG32.exe The problem is, ive got the below code, it runs with no errors, yet does not actually call the program or something. As passing those details ...
Score Enumerating controls on an MS Word print dialog
MarioBro - 5 Jul 2006 8:01 PM - 14 messages
Does anyone know how to properly enumerate all the controls within an MS Word 2003 print dialog?  I am having trouble getting anything more specific than the return of only 'RichEdit20W' class objects.  What I am trying to do is create a solution to disable the ability to select ...
Score How to Update Software with Limited User Accounts
vbexp - 5 Jul 2006 7:09 PM - 4 messages
Hi, I have a VB6 Client/Server app that has an auto update feature. It works fine if the client is a member of Power Users or Administrators groups, but fails if the logged on user is a member of "Users" group. The reason it ...
Score using VS6 debugger for VB6
MBB - 5 Jul 2006 6:47 PM - 6 messages
hello all, several years ago i talked with a very clever MS fellow who was assigned my case for a bug in my VB6 app. he mentioned in passing that it was possible to use the VS6 IDE and the VB6 app's pdb file to step into the C++ COM code that my VB app ...
Score Option buttons
Sandy - 5 Jul 2006 6:27 PM - 4 messages
Hello - I have a form with three sets of option buttons, as well as textboxes and combos.  I have to do insertions into a database.  I originally set up this position of the database with one main table and three tables; each of the ...
Score Very very simple
Rick - 5 Jul 2006 5:19 PM - 5 messages
Hi, all: suppose I have: a = {1,2,3} I need to get: b(0)=1 b(2)=2 b(3)=3 b(4)=11 b(5)=12 b(6)=13 b(7)=21 b(8)=22 b(9)=23 ...
Score differentiate between unload and page close
Donkey Cart Racer - 5 Jul 2006 4:39 PM - 3 messages
Hi, I have a page - page1 which opens a window1 where users can look at tasks, in window1 users can click and open window2 where they can create new tasks I want to refresh window1 when window2 closes and refresh page1 when window 1 closes ...
Score VB6 Control License not found
Joe Darkes - 5 Jul 2006 4:27 PM - 4 messages
I received a reply from Ken but it did not work as I still have the same problem. Joe ...
Score Consequtive letter matches...please help
almurph - 5 Jul 2006 4:21 PM - 6 messages
Hi,         Hope you can help me. This is a trick one - at least I think so. I have 2 strings. I have to calculate the "score" of the strings. Score is determined by matching patterns of letters within the strings. ...
Score Word 97 and Word 2003
Martin Walke - 5 Jul 2006 3:28 PM - 29 messages
Hi all, I have an application that used Word 97 to output a document based on info stored in a VB6 program. It has been working perfectly until our company decided to upgrade to Word 2003. Now my users are getting errors as Word97 has been removed from their ...
Score VB6 Control License not found
Joe Darkes - 5 Jul 2006 3:15 PM - 4 messages
I have a large VB6 program that has loaded and worked fine up till today.  It loaded fine yesterday, by the way. Now I get and error message when I try to access the form "Main".  The log file reports: ...
Score Best way to edit text file through a form?
Ed - 5 Jul 2006 2:33 PM - 7 messages
I am storing a list of items in a text file.  I can read them back into a label or text box using TextStream ReadLine.  I'd like to be able to display my list of items, select one, return the selection, and delete ...
Score Keyboard shortcuts in my program
Mike - 5 Jul 2006 2:06 PM - 2 messages
Hello, I would like to know if I can create keyboard shortcuts in my program that operate buttons instead of opening menus. I my program I use buttons as navigation tools to switch from screen to screen (a main set of buttons is "shared" across the different ...
Score Maximum Nbr. Ctrls on a Form?
Thomas Malia - 5 Jul 2006 2:01 PM - 20 messages
What's the maximum number of controls allowed on a single VB6 form? ...
Score Display a progress bar whilst coping files?
brother52 - 5 Jul 2006 12:12 PM - 2 messages
I am using My.Computer.FileSystem.CopyFile() to copy a bunch of files from one directoy to another, and would like to display a progress bar on the screen for each file being copied.  Is this possible? ...
Score Regular Expression Problems
Advo - 5 Jul 2006 8:23 AM - 8 messages
Hi There. I've got a Regular Expression bit of code for validating UK Postcodes. This has been working fine with no problems. But yesterday I was given another Valid Postcode, but this wouldnt work for the code, and failed validation. The postcode is: ...
Score Reading from WebBrowser
scream - 4 Jul 2006 11:19 PM - 10 messages
Hello, At first, sorry for crosspost but i'm pressed for time and need any hint asap. I have a simple project with WebBrowser control on one form which loads webpage on application startup. That webpage contains some typical form fields (like input type=text) with preset values. What do i need is to ...
Score generate random numbers
tombates - 4 Jul 2006 6:04 PM - 9 messages
I would like a simple routine that would generate random numbers.  I would be using it in visual basic for applications application. Mary ...
Score Text_formula to value
Rick - 4 Jul 2006 5:53 PM - 16 messages
Hi all: Given the following text: "3 + (5+2)*3" Is there a way in VB6(or API) to convert this text into real calculations so that it would return the value 24? Rick. ...
Score Decompiling VB 6
Howard Kaikow - 4 Jul 2006 5:38 PM - 20 messages
Somebody has claimed to be able to decompile VB 6 to pits original source. See [link] I have not seen the original posting by Mike, but I posted a challenge: ...
Score Check Mark in a string
David Miller - 4 Jul 2006 5:23 PM - 12 messages
This seems like a very simple question, but I can't find the answer.  How do you put a check mark in a sting? Thanks, David ...
Score MDIChild in DLL ? howto ?
Aykut Canturk - 4 Jul 2006 5:17 PM - 6 messages
in VB there is MDIForm and MDIchild forms. Imagine that each MDIChild form is an independent operational module. Like personal module, you can specify the list of users that can use application. And this module is standard in all VB project. ...
Score FileSearch Failure
Jack - 4 Jul 2006 1:30 PM - 3 messages
The following code used to work fine, now it does damn all. It fails (as in does nothing at the .execute stage) Can any of you see the obvious? '######################################## Public Sub sListPRTXTFiles() Dim varItem As Variant, intStrLenToRemove, intStrLen As Integer, dbsA As ...
Score VB debug problem
Ben Whyte - 4 Jul 2006 11:48 AM - 5 messages
Hi I have an odd problem with VB debugging that I haven't come across before and wondered if anyone else had. When I step over lines of code in my project, it still steps into certain subs or functions that are called in the line I am stepping over. ...
Score adding a frame control later on
Peter - 4 Jul 2006 6:44 AM - 5 messages
I think my problem is trivial but I haven't found a solution yet: I have some textboxes and labels on a form. Later I found that it would be nice to have these controls in a frame. I have added a frame then but when moving the controls into the frame then ...
Score ListBox Control
stephen.huff - 4 Jul 2006 5:36 AM - 2 messages
If I have a listbox control on a winform and I load it with Object X which has the ToString method overridden to display FirstName and I create another text box to get an instance of object X when it's ...
Score reading from a card reader
Abby - 3 Jul 2006 11:45 PM - 11 messages
Hi all, I have an application in which I am trying to read the data stored from a magnetic card reader. I was using the inputbox function but am able to read only the 1st Track of data. i also need to read the data in the second track. ...
Score Reading IP-Address from Computername
news.microsoft.com - 3 Jul 2006 6:06 PM - 2 messages
Hi folks Is there a way to get the ip address from a given computername? Thanks! Greets Rashid ...
Score Accessing mdb file via VB code
AK - 3 Jul 2006 2:50 PM - 12 messages
Hello All, After my earlier post concerning Access database LockDown, I put on my training wheels and started to "ride". I did  not get very far! I started by adding a password to my test DB by setting it by using ...
Score Accessing PowerPoint CustomDocumentProperties from VB
JohnBury - 3 Jul 2006 2:36 PM - 6 messages
Hi I am a teacher writing some code to help my colleagues create a library of lesson plans with integrated PowerPoint resources.  As part of my development I would like to be able to set and retrieve values from ...
Score Line of Variable Length
NR - 3 Jul 2006 2:30 PM - 21 messages
Hi, I am using VB 6.0 and Crystal Report 8.5 and want to show variable length line on my report. Let me make it clear with one example. Let us take an example of examination results, below table illustrates ...
Score VB in limited accounts
Dan Ritchie - 2 Jul 2006 7:41 PM - 5 messages
Is it possible to run VB applications in limited accounts.  I understand that it's not possible to install ActiveX components in a limited account.  Is there a way to make a VB application seen in every account? ...
Score Detecting App Installation Location
jim evans - 2 Jul 2006 6:13 PM - 3 messages
Is there an easy way to determine where an application is installed? When I update an application I need to know where the user installed it.  Of course, if they used the default location there's no problem, but when they install in another location I need to know where.  ...
Score UserControls disable (diag lines) when pasting a control to form
DRBarkley - 2 Jul 2006 6:06 PM - 25 messages
Hello all, VB6/SP5/Win2K I added some usercontrols I created to a form (as control arrays). The usercontrol code was later modified; user controls were updated and saved. The program runs as expected, but there is a problem when adding more ...
Score Read file properties
RB Smissaert - 2 Jul 2006 4:42 PM - 23 messages
Is there a way (other than with FileDateTime etc.) to read the file properties directly from a file? Or is there a way to read all the file data (header data etc. included), not just the data that can be ...
Score ProcessIdToSessionId fails in VB.NET
Ken Jones - 2 Jul 2006 1:53 PM - 4 messages
Hi all, I am trying to get the terminal session id in my VB.NET application by using the Win32 API ProcessIdToSessionId. However, the call always fails, and the debugger reports PInvokeStackImbalance was detected. The sample code that brings up the error is posted below. ...
Score Which network?
Martin - 2 Jul 2006 12:47 PM - 10 messages
My VB6 app runs on a dual-homed machine (two NICS, two completely different networks). I'm exchanging data with other computers on both networks (via Winsockets). In the case where my program is the server-side of the connection, is ...
Next »