Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score Point me in the right direction - Mouse utility...
Noozer - 8 Oct 2005 11:00 PM - 5 messages
I've been looking for a simple utility to take advantage of my scrolling third button but have not been able to find what I'm looking for. I'm considering writing my own using VB6... What I simply want to do is: ...
Score How should one form call another?
MP - 8 Oct 2005 10:50 PM - 8 messages
Hi I have a form with 3 cmdbuttons for 3 choices of action. one action shows a second form. the second form allows interaction with another external app(acad). In the first form (StartFrm) Private Sub CmdPlace_Click()   'hide startup form ...
Score A Class to get the name of Enum constant at runtime
adaway - 8 Oct 2005 10:47 PM - 2 messages
Today I writed some code for getting the name of an enumeration at runtime. I wrote a simple function, and a bigger class (faster and powerfull :-) Example: said that you are looking the cursortype property of an instance of Ado ...
Score vb installer
areejan2000 - 8 Oct 2005 6:58 PM - 3 messages
I tried Vb Installer its cool compared to PDW i installed a database program is installed using vbinstaller setup. its fine and working every time i put the setup  cd how to  ... 1.disable repair and remove options from the setup interface ...
Score Reading Chart data from Form Labels
Guillermo - 8 Oct 2005 5:34 PM - 2 messages
Gentlemen, I have an Excel chart inserted in a form. How can I get it to read its data from the Form Labels(Label.Caption)?. Thanks. Guillermo. ...
Score vbaccelerator - compile ListView for Unicode?
jameshamilton777 - 8 Oct 2005 1:43 PM - 4 messages
I'm trying out the wonderful ListView control by Steve at vbaccelerator: [link] The binary doesn't do Unicode. But the source code seems to have Unicode built-in, it's just turned off in the conditional compilation ...
Score swf
jervs - 8 Oct 2005 3:11 AM - 5 messages
how can i run a SWF file in visual basic 6.0... how can i controll it??? can you give me an example of it...thanks... ...
Score how do I run a SWF file in VB?
jervs - 8 Oct 2005 3:02 AM - 2 messages
...
Score Simulation!
Arpan - 8 Oct 2005 12:50 AM - 8 messages
A VB6 application has 2 Forms. The 1st Form has CommandButtons from 0 to 9 & a Label. The Label can be populated with any number by clicking the appropriate buttons. Apart from these CommandButtons, the 1st Form has another CommandButton, which when clicked, opens the 2nd Form. ...
Score Which Form Has Invoked The Sub!
Arpan - 7 Oct 2005 11:52 PM - 3 messages
A VB6 application has 2 Forms. The 1st Form includes a Public sub-routine for the Click event of a CommandButton. The 2nd Form also accesses this sub-routine (which is why it is Public & not Private) through a BAS Module. Other than performing the same actions for both ...
Score Visual Basic 6.0 Working Model
elygirang - 7 Oct 2005 11:47 PM - 15 messages
I just have a question regarding this version of visual basic 6. I hope I would get an honest and direct answer here. Deitel's Visual Basic 6: How to Program book includes a copy of Visual Basic 6.0 Working Model Edition. It states that the student can use this version to ...
Score always-on app to monitor system date?
Paul - 7 Oct 2005 11:46 PM - 3 messages
Can anyone point me to some information about how to create in VB6 a small app that would monitor the system date and run a procedure at midnight at the start of each month? Specifically, my goal is to create a desktop photo calendar that would ...
Score MDI
Dave - 7 Oct 2005 10:17 PM - 4 messages
Hi I have a MDI and in the load section I have the code Private Sub MDIForm_Load()     Dim newdoc As New frmMain     newdoc.Show End Sub However it creates two instances of the form. ...
Score Passing & reading opeing arguments
kalbrecht1972_hotmail_com - 7 Oct 2005 9:41 PM - 2 messages
I created my very first .exe file which reads table & server information from our SQL server, then uses SQLDMO to script the structure of the table being read to a .sql file for archiveing the structure.  I would like to extend this functionality to accept opeing arguments, read ...
Score Convert hex string to a byte
fernandez.dan - 7 Oct 2005 9:26 PM - 9 messages
I'm trying to convert a two digit hex string like the following "80", "FF", and "0F" The byte for the hex string "80" will be 10000000 The byte for the hex string "FF" will  be 11111111 The byte for the hex string "0F" will be 00001111 ...
Score Call Sub!
Arpan - 7 Oct 2005 8:35 PM - 13 messages
A VB6 application has 2 Forms - frm1 & frm2. Assume that frm1 has a sub-routine named Calculate() that gets invoked when the user clicks any of the various CommandButtons that frm1 encapsulates. Now I want to call this sub-routine from the second Form i.e. frm2. How do I do it? ...
Score Fill a FlexGrid control
MikeG0930 - 7 Oct 2005 8:21 PM - 20 messages
Can I fill a flexgrid control written in VB6 from an Access Table? ...
Score Editing an already open word document with VB6
Nam - 7 Oct 2005 8:14 PM - 9 messages
“Without closing” an already open word document, how can we use a VB6 program to run a macro of that open document? I know how to do this by opening the document that was closed, as follows: Dim oApp As Word.Application ...
Score File Copy, Delete and Buffer Flushing
Lorin - 7 Oct 2005 4:51 PM - 2 messages
1) how to copy encrypted files?  get permission denied with a big negative error number -2147018896 2) how to delete files that are open by another application?  There has to be a way without figuring out what application has it open, closing the ...
Score Beginner needs help with text files
Dave S - 7 Oct 2005 4:19 PM - 23 messages
I had posted this in comp.lang.visual.basic and haven't recieved a reply     (to be fair it's only been one day), but then came across this group and there is much more activity here.. ...
Score Insert an Image
vul - 7 Oct 2005 3:39 PM - 3 messages
I have SQL Server 2000 stored procedure which inserts/update records in several tables. Now I need to add Image type parameter to that procedure. It's not a problem. I have a problem with parameter in VB6 program which uses that SP. All ...
Score Access program from regular account
Wyne - 7 Oct 2005 2:56 PM - 3 messages
Hello, I have an App made using VB6.  One of our customers installed it on a XP (professional) machine from the Admin account and run it from the Admin account, every thing was OK. But when he logged on as a regular user, the ...
Score XP SP 2 and VB6.0 SP6
Robert - 7 Oct 2005 2:46 PM - 4 messages
Just a question on whether there is any issues with XP SP2 or VB6.0 SP6 if I was to install either of theses on my machine. Thanks for any advice on this bob rober***@mountaincable.net ...
Score SetFocus!
Arpan - 7 Oct 2005 2:34 PM - 8 messages
Clicking different CommandButtons on a VB6 Form adds the Captions of the CommandButtons as items in a ListBox one below the other. For e.g. when a user clicks the CommandButton "5", "5" gets added as the 1st item in the ListBox. Next when the user clicks the CommandButton "2", ...
Score A Question of VB6 Asynchronicity
Joseph Geretz - 7 Oct 2005 2:26 PM - 11 messages
For some time, when faced with a circumstance requiring asynchronous processing, my first instinct would be to use a Timer control. Simply set Timer.Enabled = True, processing continues but when the Timer ticks, perhaps 5 milliseconds later, the desired code will begin to execute asynchronously. ...
Score connection problem of client with server.
ad - 7 Oct 2005 2:20 PM - 2 messages
ambrish.dwiv***@gmail.com wrote: also i want to add that earlier everything was working fine ,but when we changed the system and loaded the application in different computer that the problem arised.so there is no fault in the program itself ,it ...
Score Printer.TrackDefault changes on its own, why?
Mike - 7 Oct 2005 2:15 PM - 2 messages
Hello, I have just found that Printer.TrackDefault gets set to false when I change the Printer.Orientation property. Why? What else would cause the TrackDefault to get reset to false? Thanks. Mike ...
Score Problem loading Form.Picture at run time
Jennifer W - 7 Oct 2005 1:13 PM - 4 messages
Hi, I'm running VB6  SP6, Winxp SP2. I have an app with about 20 forms. I use a common background picture (gif) for each one.  This makes the compiled EXE rather large. I wanted to try to load the image at run time for each form to reduce the ...
Score Substring
wnfisba - 7 Oct 2005 1:08 PM - 6 messages
I have a text field and I am new to VB. I need to substring out characters 2 thru 5 and put them in another field. What is the VB syntax in order to substring out characters 2 thru 5 and put them in a different field??? ...
Score Image from WORD
mg - 7 Oct 2005 12:29 PM - 2 messages
hi, i want to get an image from MSWORD without cut/past. thinks for help ...
Score cancel button not working properly
nikhil.srivastava - 7 Oct 2005 10:50 AM - 3 messages
hi, I m using vb macro in Microsoft Project Plan and trying to convert the project plan into an xml using the common dialog ShowSave option. The file is saving fine. The problem arises when i save the file as xml for the first time and ...
Score Designing an expert system
Ivan Debono - 7 Oct 2005 10:50 AM - 16 messages
Hi all, I'm building  a vb6 application with ado 2.81 and access 2003 as a backend. The app parse recipe files and import ingredients into a table. Now, let's take as an example 8 different recipes that have the same ...
Score Taking %1 from command line
Bill H - 7 Oct 2005 9:34 AM - 2 messages
I am a novice at VB. A little knowlege can be a dangerous thing! I want to load my app by clicking on an icon of a data file it created and have the data file load into the app. ...
Score ReordCount related
.:alex:. - 7 Oct 2005 8:36 AM - 6 messages
Hello,     After I execute  a query I obtain more than 60.000 records. I have to paginate these records: 100 records/page. When I go to my next page I have to query again so I have to wait again to count these 60.000 records and ...
Score how to check CRC [URJENT!!]
smart.bug - 7 Oct 2005 5:23 AM - 4 messages
I want to write my own routine to calculate the CRC of any given file. Does anybody knows the algorithm or where to find it ? ...
Score Currency or double?
Earl - 7 Oct 2005 4:58 AM - 12 messages
Cleaning up an old app and I have noticed a 1 cent mistake in some sample financial calculations. I've been using doubles up till now (even with the apparent precision issue), but I'm wondering if currency would be better. ...
Score Visual Basic 3
box2003 - 7 Oct 2005 1:40 AM - 29 messages
Hello, I realize how terribly behind I am however, I am in need of Visual Basic 3. I already have VB3 and have recently had a need to reinstall the program, for which one of my installation diskettes appears to become unusable.  I ...
Score ROUNDUP formula
Phoon Chee Keong - 7 Oct 2005 12:58 AM - 2 messages
Is that a formula in vb.net like Ms Excel? Currently my Excel formula is "=(((ROUNDUP(I30/3000,0)+1)*G30)/1000)+((ROUNDUP(G30/10000,0))*I30/1000)", but in vb.net how to write. Any idea? Regards, PCK ...
Score Unloading Forms!
Arpan - 6 Oct 2005 11:48 PM - 8 messages
My VB6 application makes use of 3 Forms - frmForm1, frmForm2 & frmForm3. I converted the application into an EXE file but when I open that EXE, I find that only when I close the EXE while I am using the ...
Score Is this the best way
SteveC - 6 Oct 2005 10:44 PM - 3 messages
When I load a text file into a richtextbox I do this after richtextbox.loadfile, richtextbox.tag = richtextbox.text and then on the queryunload If richtextbox.text<> richtextbox.tag then        Msgbox" File Changed, do you want to Save it" ...
Score Connection problem
Ian Davies - 6 Oct 2005 10:39 PM - 7 messages
Hello I have the following code to connect to mySQL database from VB6 ******************************************** Private Sub Form_Load() Dim conn As ADODB.Connection Set conn = New ADODB.Connection conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _             & "SERVER=127.0.0.1;" _ ...
Score Color Printing With VB 6.0 Printer Object
TomB - 6 Oct 2005 9:13 PM - 4 messages
I am able to print in color on a HP 940C Deskjet using the ForeColor property of the Printer Object with a small sample program that does nothing but:    Printer.ForeColor = vbRed: Printer.Print "This is Red": Printer.EndDoc ...
Score TreeView: Bringing a child node back to root level
Faraz Azhar - 6 Oct 2005 7:21 PM - 5 messages
Hello Is it possible to set a child node as root level node? For example... TreeView1.Nodes.Add , , "ROOT", "Root Node" TreeView1.Nodes.Add , , "Child1", "Child1" TreeView1.Nodes.Add "Child1", tvwChild, , "Sub 1" TreeView1.Nodes.Add "Child1", tvwChild, , "Sub 2" ...
Score Change Open/Save dialog path in IDE
FM - 6 Oct 2005 7:05 PM - 3 messages
When first attempting to open or save something in the VB6 IDE (using XP) the dialog starts at "...docs and settings/user". Ive changed this before a few times but cant remember now how to change this path to something more ...
Score Rotated Text Help Needed
Mike Williams - 6 Oct 2005 7:05 PM - 11 messages
Hi everyone I've got a little query about rotated fonts that I've never noticed before and I hope that some of you may be able to help me with it. Actually, I think it might be just WinXP that has the problem and not Win98, but I can't ...
Score Populate A ListBox!
Arpan - 6 Oct 2005 6:45 PM - 7 messages
How do I populate a ListBox with the values of the CommandButtons ensuring that the previous entries in the ListBox remain as it is? For e.g. when a user clicks the 1st CommandButton, 'A' should be listed as the 1st option in the ListBox. Next if the user clicks the 2nd ...
Score Go To Next Line!
Arpan - 6 Oct 2005 6:20 PM - 3 messages
A VB6 Form has 5 CommandButtons with the captions 1, 2, 3, 4 & 5 & a TextBox. Now what I want is when the user clicks the CommandButton 2, the TextBox should display 2. Next when the user clicks the ...
Score Split text file up into parts
Matt Williamson - 6 Oct 2005 5:47 PM - 4 messages
I have 300 text file that I want to split every 8000 characters and write to a new file. I want to check the character it was split on (#8000) and add to the chunk up to the next CR/LF. I'm looking for the most efficient way to do ...
Score VB Access Connected users
Marvin van Dongen - 6 Oct 2005 4:44 PM - 5 messages
Hello, I have 2 programs who connect to the same database. Because users will buy licenses per database connection, I want to check how many users are connected. I got that part working fine with the following code:     cn.Provider = "Microsoft.Jet.OLEDB.4.0" ...
Score vb 6.0 attribute
Gouri Sohoni - 6 Oct 2005 4:09 PM - 3 messages
Hello everybody What is the significace of attribute usage which is denoted as follows Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Thanks ...
Score Selecting part of a pictuer box
Mike - 6 Oct 2005 2:58 PM - 7 messages
Hello, I am trying to copy an image created on a picture box into a smaller picture box.  I know I can use the PaintPicture method and just specify the entire size of the original picture.  However, is there a way I can ...
Score sorting decimal numbers ?
Jürgen Heyn - 6 Oct 2005 2:57 PM - 8 messages
Hi and good afternoon, I am looking for a VB6 procedure with which I can sort an array containing decimal numbers (double) quickly in decending order. Thank you very much for any hint. Best regards Juergen Heyn, Wilhelmshaven ...
Score Open New Window!
Arpan - 6 Oct 2005 2:53 PM - 13 messages
How do I open a new window when a command button is clicked? Also I did like to specify the size & the position of that new window. Thanks, Arpan ...
Score list of files for "Temporary Internet Files" folder
ilik - 6 Oct 2005 2:22 PM - 4 messages
Hi, I'm trying to get a list of all files in the "user\Temporary Internet Files" folder, but I only get one file: desktop.ini, which isn't even there. The folder size in correct, but the "count" property says 1, eventhou there are ...
Score Opening and closing an internet window
Peter Newman - 6 Oct 2005 2:19 PM - 6 messages
im running vb6 ( sp6 ) and ie 6 on an xp pro operating system. I am currently rewriting some of our in house  operations, and oone o f them is to generate a banking file from one of our systems to be transmitted by internet bank ...
Score Range().select using variables
nissim.mimran - 6 Oct 2005 12:59 PM - 3 messages
Hi, I'm Am running vb script in Excel sheet, trying to use variable in Range function and dont have any idea how. Example : let say my range to select is Range("A2:C9").Select i would ilke to use variable insted of number, lets say replace the 9 ...
Score Moving a control with the mouse at runtime
ian - 6 Oct 2005 12:19 PM - 5 messages
I assumed this would be a really easy challenge, but VB6 doesn't seem to want to play. Very simply I tried the following: on mousedown event capture existing x and y on mousemove event calculate the delta and move the control this ...
Score format number
Carlo - 6 Oct 2005 11:41 AM - 3 messages
Hi i need to write double number to a fixed lengh, es.: 3    ->  3.00 3.3 -> 3.30 can i use format???? thanks carlo ...
Score I'm using VB6 - "Always on top" option?
lordofthe9 - 6 Oct 2005 10:33 AM - 3 messages
I would like to include a piece of code which will cause my form to be always visible even if it is not the active window and another program is displaying on the same screen area. Other windows programs seem to refer to this with an 'Always on top' ...
Score One thing I noticed
Michael C - 6 Oct 2005 4:23 AM - 218 messages
Those people in this group bagging .net are those who don't really know it. Anyone who's bothered to learn it seems to understand why it's superior. Sorry guys, I just had to say it after reading through a thread about why ...
Score Scheduled Task
Katie - 6 Oct 2005 2:34 AM - 5 messages
Any way to write a task which will do something every 15 minutes? If i write a VB programming and running in my server, need login. If i use scheduled task, the minumum task triggered to be run is 1 day. ...
Score Lowlevel DDE, Insertable, Verb, ProgID, InProcHandler32, LocalServer32, CLSID, AppID, and AuxUserTyp
Jim Carlock - 6 Oct 2005 2:20 AM - 4 messages
I'm looking for lowlevel information about DDE. What does this mean? I'm not really sure myself yet. <g> I'll tell you what I think it means though. DDE ("dynamic data exchange") involves creating some keys in the registry... ...
Score Debug mode on VB.net
Tano tafi - 6 Oct 2005 12:15 AM - 2 messages
Hello all, Im new in .net , and when I try to run a tiny program, has two options  Start or Start without Debugging. When I try to run it directly  (start  or F5) the entire .net crash and I have to start all over again, running without ...
Score How Can I Run A Program During Reboot Before Windows GUI Loads?
jim evans - 5 Oct 2005 5:15 PM - 6 messages
This is similar to deleting, moving, replacing files that are in use by doing it during a reboot, except I want to run a utility (.exe) during this period.  jim ...
Score Farewell VB6 -- Hello VB.NET 2005
dm1608 - 5 Oct 2005 5:08 PM - 30 messages
Well, folks.  I've made the plunge and have officially discontinued any further development using VB6.  I really hate to do this, but there appears to be numerous advantages of using VB.NET 2005 over classic VB.   Not to ...
Score Is Scrrun.dll native to Windows?
Wyne - 5 Oct 2005 4:35 PM - 18 messages
Hello, I need to konw whether Scrrun.dll (ScriptRuntime Lib) is native to Windows XP and 98. Can anyone tell me? Thanks inadvance. ...
Score Result set
Andrew Clark - 5 Oct 2005 3:30 PM - 7 messages
Hello, If I open a connection to a database and get one result set, can I use the same connection to get another result set without destroying the first one? For example, Dim myCon As ADODB.Connection Dim myRST As ADODB.Recordset, myRST2 As ADODB.Recordset ...
Score Problem Reading from serialport using VB 2005
marawan.abdelhady - 5 Oct 2005 2:21 PM - 22 messages
Hi, iam using VB 2005 express edition Beta iam trying 2 read data from the serialport but everytime i run my program it freezes. is this the right way 2 read data from the serialport? or is there anything els i have done wrong? ...
Score Creating dropdown popups
Nam - 5 Oct 2005 2:17 PM - 8 messages
I am using a VB6 Form that will act like a toolbar that will contain about 20 command buttons (10 in each row). When a user clicks a button, a frame will open as a popup (just like any dropdown menu on a toolbar), frame will ...
Score How to delete lines in text file?
new - 5 Oct 2005 1:46 PM - 3 messages
Someone help me how to use VB to delete lines in text file like this: 1                              HOW ARE YOU DOING                             ...
Score Help with recordset filter!
Damon - 5 Oct 2005 10:43 AM - 5 messages
Hi, I would like to be able to filter a recordset based on two fields. i.e. forename and surname.  Here is my code but it is coming up with "13 Type Mismatch". recordset.filter = "r_forename LIKE '*" & UCase(txt_forename) & "*'" And ...
Score vb6 exe creation needs foxpro7 installed to run with fp database
Aykut Canturk - 5 Oct 2005 8:22 AM - 4 messages
A small program that only reads fpxpro7 database (dbf file) from a directory using ADO connection string cannot be run if compiled on a machine without foxpro installed. In order to run, the exe needs to be compiled in VB6 WITH ...
Score Q: How can I edit the Data in a PST File with VB
Isometric - 5 Oct 2005 7:19 AM - 2 messages
Hi there, I need to edit the background html of about 3000 emails to remove the blocked:: precursor from the hyperlinks and I want to make a little windows app that will allow me to do this and later I may want to use it to change ...
Score recovering the tmp file
Richard P - 5 Oct 2005 3:05 AM - 7 messages
Okay VB6 just crapped out on me and my work hadn't been saved for awhile( don't taunt me or I'll slit my wrists. just kidding). Is there a way to recover some of the work from the tmp file. What kind of file is that? Is ...
Score Help in Crystal Report
yellow_lovebird - 5 Oct 2005 1:00 AM - 2 messages
Hi, I am new in crystal report (using vb.net). Currenlty, my report format looks like below: School : ABC Class : A1         ====================================== Details Stud1   IC No1   Address1         Stud2   IC No.2  Address2 ...
Score changing the tab portion of the SSTAB in VB6
zoneal - 5 Oct 2005 12:01 AM - 2 messages
Hi, I am trying to change the tab portion of the sstab by placing graphic1 in the Picture property of the sstab. My intention is to change graphic1 to graphic2 only upon clicking (the tab) and change back to graphic1 when other tab is clicked... like giving the feedback to the ...
Score intellisense feature
zoneal - 5 Oct 2005 12:00 AM - 3 messages
how can add a intellisense feature in a say textbox, i.e., to say that when i start typing in the textbox as soon as i hit 1 or 2 alphabets it should give me an option of a complete word as it happens in microsoft ...
Score DB Processing Question
George - 4 Oct 2005 10:12 PM - 5 messages
Hi, I am trying to write an VB6 application that updates a main access db table with monthly access db table update.  In this update I need to apply business rules to this data before the update.  I understand how to ...
Score Problem when executing application from batch file
Jack - 4 Oct 2005 10:01 PM - 29 messages
Hello,             I have that strange problem. My application can accept commands from command prompt and if there are more commands it will store commands in buffer and execute one by one ...
Score ShellExecuteEx
cetin - 4 Oct 2005 9:55 PM - 2 messages
Hi, I'm opening a file with shellexecute call in its default program, like opening pdf file with acrobat reader, but after he exits the program that I called, if my program is still working, I want to get notification therefore I can delete the file that I opened, which is in ...
Score General Question
Bob - 4 Oct 2005 9:30 PM - 17 messages
Hi, I was wondering what is an average price for some VB6 consulting work.  The project is based in Chicago and it is not too complicated.  Any ideas what I should be paying? Thanks ...
Score Make a good setup file for VB project
Chris - 4 Oct 2005 8:17 PM - 7 messages
Hello all, I am a developer for 6 years now and sometimes users of my software get strange issues. One of my programms is called SmartMedium FINANCE and it uses some common dependencies such as comctl.ocx and comdlg.ocx (see list ...
Score VB6 problem writing to Word 10
Dave - 4 Oct 2005 7:31 PM - 2 messages
My VB6 program is having a hard time writing to Word 10. I've got a reference to MSWORD.OLB in my project. It works great in the VB IDE on my development machine. But when I run it on the client PC, it ...
Score Word Macro Help
Travis Montgomery - 4 Oct 2005 6:49 PM - 3 messages
Hello all, I'm trying to write a macro that will run upon exiting a dropdown box in a protected word form.  What I'd like to do is, when a user chooses an option in the dropdown box other than the fist choice, the text in the ...
Score ActiveX component can't create object or return reference to this object (Error 429)
UGH - 4 Oct 2005 6:33 PM - 7 messages
One of our customers who have 7 computers and 3 out of 7 computers has a problem. It was working fine until they install some other software. The 3 computers are on win98 or older and the rest of the computers are on the ...
Score the sender of a message
PC - 4 Oct 2005 6:11 PM - 6 messages
is there a way to find out if a message (say wm_lbuttondown) is send to my form by windows or by another program i have the form subclassed and trap some messages already done ...
Score Clearing out connections in a connection pool ?!
Khodr - 4 Oct 2005 5:29 PM - 6 messages
Hi Everyone, I am using VB6 and Oracle ODBC driver. I want to clear out the existing connections "immediately" without rebooting the machine and without waiting for the CPTimeout to expire. (N.B. setting the CPTimeout to zero in the registry does not take effect right away ...
Score Radial text on a path
2D Rick - 4 Oct 2005 3:36 PM - 25 messages
I would like to build an app that would allow me to enter the diameter of a circle and then from a variable containing text, place this text around the outside of the circle(on a path). I then want to send the ...
Score Variable changes
Michael - 4 Oct 2005 3:11 PM - 11 messages
Hi Everyone, This is the first time I've experenced this problem. I have a bool variable I'm using to tell when I'm loading controls. This variable seems to be changing without a cause. At least I can't seem to find it. Whats weird about ...
Score Listview Question
Alastair MacFarlane - 4 Oct 2005 12:40 PM - 9 messages
Dear All, I have a listview called "lstErrors" that I have populated from a database. I would like to be able to double-click on any row and see the contents in a message box. I know that it will be a combination of SelectedItem, Index and SubItems but ...
Score HEEEEELP, F1, -- Access violation in Visual Basic
ruben.seguin - 4 Oct 2005 10:47 AM - 5 messages
Hi: I have an application that works fine, but one or two time for week, I get an error to try print in Crystal Report. The error says ".exe has generated errors ...". In the DrWatson I see a new error c0000005 ...
Score Randomise listbox contents
onlyme - 4 Oct 2005 9:58 AM - 3 messages
Thanx for all help yesterday Ken and Bob. I have a listbox filled with names from database. When using command button, I'd like to randomise the names and add to a textbox. How to do anybody? ...
Score How to display a binary tree?
WB - 4 Oct 2005 7:45 AM - 2 messages
does anyone know of an activeX control to display a binary tree?  like a Treeview control, but where each node can have just a left and right child nodes. Or, alternatively, some code to do it?  Each node just has a # in it, from 0 ...
Score Access caller's variable space?
LurfysMa - 4 Oct 2005 3:11 AM - 3 messages
Is there any way for a subroutine to access a Dim or Const in the caller's variable space without passing them as arguments? I thought I read somewhere about a qualifier syntax, something like routinename.varname or something. Public Sub Sub1() ...
Score POLYTEXTOUT problems..
Dan Hinrichs - 4 Oct 2005 2:56 AM - 15 messages
Hi, I am having a problem in trying to get "PolyTextOut" to function properly. The work is being developed on a Win2000 machine and MS states this function works in Win2000 and later. When I use a single POLYTEXT structure and feed the function a single ...
Score a question about moving pictures
Rencie - 4 Oct 2005 1:34 AM - 6 messages
I have created an image of a small dragon (just like in puzzle bubble).  I made this dragon walk using 2 images placed inside an imagelist control.  However, when the dragon started to walk, the image box flickers, it's like ...
Score Automatically adjusting listview column header width
Saucer Man - 3 Oct 2005 11:50 PM - 4 messages
I have a some listviews in my app and just recently added the ability for the user to change the font size.  There are 11 columns in the listview and some of them are narrow.  If a user selects a larger font size, the column ...
Score Change Frame Controls Dynamically!
Arpan - 3 Oct 2005 11:10 PM - 5 messages
I have 2 Frames, named Frame1 & Frame2, in a VB6 application. Both the Frames encapsulate 3 Option Buttons. Assume that the 3 Option Buttons in Frame1 are named, say, 'A', 'B' & 'C'. When the Form loads for the ...
Score Set nothing to nothing
MP - 3 Oct 2005 10:47 PM - 15 messages
warning....dumb newbie question ahead.... Hi, Guess I'll quit doing this test every time I want to set some object to nothing. If Not oObject Is Nothing then     Set oObject = Nothing End If I thought sure I had gotten errors in the past when trying to set something ...
Score Examples of Retails systems
Pinto1uk - 3 Oct 2005 9:50 PM - 4 messages
Hi, i am new learner to visual basic. One of my main objectives in learning vb is to create a retail system - to check stock, product, suppliers, customer checkout etc. Can anyone direct me to some useful wesbites where i can look at some ...
Next » 2 3 4 5 6 7 8 9 10