Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score Screen Scrapping
Anna - 17 Mar 2007 11:27 PM - 4 messages
Hi: This is the site which gives information about social security Death index search. Is there any way i can pass the social number directly thru VB program in the web site and get the three records Name, Birth, Death in my computer. I heard some thing about screen ...
Score How do I link a text box on two forms
jonny - 17 Mar 2007 8:21 PM - 7 messages
I have Form1 and Form2 Each form has a text box. How do I link the text boxes? On form1 - textbox1 The data is constantantly varying because it pulls from a timer So... When I also have form2 open I want to see textbox2 data constantantly ...
Score Listbox
Ron - 17 Mar 2007 1:31 PM - 8 messages
Hi Is it possible to read a listbox line by line, if required edit the line information and re-display in a second listbox. eg:- Search C:\ for all *.vbp files Result:- List1= C:\BegDB VB Prog\Chapter4\prjPublishers.vbp ...
Score Re: Vista Tip
mayayana - 17 Mar 2007 2:38 AM - 12 messages
   It did go through. I responded to the version you posted 19 hours before this one. (Then you also posted a blank post a few minutes later. Ralph responded to that, so I'm not the only one seeing ...
Score What are Command Line commands to build VB6 projects?
APSFlorida - 17 Mar 2007 2:18 AM - 5 messages
What are Command Line  commands to build VB6 projects? I have a complex project and I need to write either a .bat file to build or use a Make program, either way I can't seem to find this simple piece of info ...
Score VB6 - Vista - Mouse wheel
Mikeb - 17 Mar 2007 2:16 AM - 18 messages
My mouse wheel does not work in VB6 under Vista. It worked fine under XP. I have already tried the mouse wheel addin with no success. Any ideas for getting the mouse wheel to work? ...
Score GPS Toolkit ActiveX
starfinder - 16 Mar 2007 11:45 PM - 2 messages
Hello, anyone able to help me to run Vbasic application using GPS Toolkit Object ? Maritime *** Sent via Developersdex [link] *** ...
Score Writing into SMBIOS with VB6
Kjell - 16 Mar 2007 11:08 PM - 5 messages
Hi I know this is kind of a follow up on my earlier question about writing into "Chassis serial number" location that nobody had any answers to. I've search the net; and figured out (I think) that this "chassis serial ...
Score *Urgent* Cannot run compiled EXE - system restarts!
Rajesh Soni - 16 Mar 2007 10:06 PM - 2 messages
I cannot just open any EXE files compiled by me in Visual Studio 2005. When i try to run any EXE (or try to edit the code in VS 2005), my system simply *RESTARTS!* No error messages - no warnings!! ...
Score vb com object and references, custom dll for website session
Kim - 16 Mar 2007 8:51 PM - 2 messages
I am using a com object to maintain session in my website. I have been using these objects for years. I did not develop the objects. one of the websites is now being moved to another server. at a different hosting company. ...
Score Searching AD on start.
darrin.henshaw - 16 Mar 2007 8:48 PM - 2 messages
Hey All, I'm pretty new to programming with Visual Basic, but fairly familiar with VBS. What I'm trying to do is get my app to search AD on startup, for all computer objects running a server OS, Windows 2000 and 2003 ...
Score Need Help Manipulating Strings (Remove/Replace)
pbd22 - 16 Mar 2007 6:32 PM - 3 messages
Hi. How Do I "UPDATE" a previously created string? I have a problem where an XML string created in an event handler fails because the string doesn't "UPDATE" each time the event hanlder fires, but "APPENDS", creating lots of repetition in the XML: ...
Score Any WARNINGS? VB6 and VB.net on SAME COMPUTER???
Alan Mailer - 16 Mar 2007 6:21 PM - 27 messages
I'm sorry if this has been asked and answered a million times, but... I'm getting ready to attempt to load the latest version of VB Studio onto the same computer on which I still use Visual Basic 6.0. ...
Score What is first event after form load?
Bill - 16 Mar 2007 5:57 PM - 16 messages
I want the user to be able to see the form and then do some stuff while he can view the form. If I put the stuff in form load, he can't see the form until after. So, what is the first event after the form loads that I can use for ...
Score WM_GETTEXT hangs up
Alex K. - 16 Mar 2007 5:04 PM - 3 messages
Hi all I noticed that when I try to get text from one particular window calling SendMessage(hWnd, WM_GETTEXT... the application hangs up until I close it using Task Manager. For all other windows this call works fine. The window's class = "Shell Embedding", invisible, RECT=0,0,0,0 ...
Score Disabling the enter key on a Web-form
almurph@altavista.com - 16 Mar 2007 4:57 PM - 3 messages
Hi everyone,    You know the way pressing the return button inside a textbox in a Web form causes the page to be refreshed?    Is there any way this can be disabled?    Woudl appreciate any guidence on this one. ...
Score StdFont used with DrawText??
Steve - 16 Mar 2007 3:38 PM - 3 messages
How can I use a StdFont object when drwing to a device context (no font property to set).  IOW what I need is a way to select an instance of an StdFont object into a Device Context so that it become the font ...
Score how to load a file into a 2-d array
chimeria - 16 Mar 2007 2:29 PM - 8 messages
i've got a high score table saved as a text file which i want to read into a 2-d array so that i can update it with the current players score and i cannot think how i go about seperating each name and score into their correct array ...
Score String$ Error Message
Barry - 16 Mar 2007 2:23 PM - 2 messages
Hi VB6 related question tmp = String$(1024, 0) on the above line i get this error message can't find project or library what is the problems TIA Barry ...
Score Graphs on Data report using VB6.0
Paramasivan S. - 16 Mar 2007 10:47 AM - 2 messages
I need to build a chart on Data report in accordance with data from data base... Any way to do this? If any please help.. Thanks in advance... ...
Score crystal report in vb 6.0
Manish - 16 Mar 2007 8:30 AM - 2 messages
how we can call crystal report in vb6.0 project ...
Score about api
Manish - 16 Mar 2007 8:27 AM - 2 messages
how i can use pagesetupdlg() API Function in VB 6.0 project (for example in not pad) ...
Score writing text to file
inquirer - 16 Mar 2007 6:39 AM - 3 messages
I am using    Open "test.txt" For Output As #2    For i = 1 To n      Write #2, dfile(i)    Next    Close #2 to write string data to a file. It works ok but when I view the ...
Score ...
Kevin Provance - 16 Mar 2007 6:05 AM - 3 messages
...
Score Runtime Error 3078
Bob Barnes - 16 Mar 2007 12:16 AM - 7 messages
I'm primarily an Access Developer, but I maintain an existing VB6 App someone else wrote. The App has ADO  Data Controls...I need to do something for a 3rd-Party App who will integrate his App w/ the Access Back-end which is populated from the ...
Score Winsock Connection
Brian Shafer - 15 Mar 2007 9:30 PM - 5 messages
I have this code on a connect click event....     If Sock.State = sckClosed Then         With Sock             .RemotePort = Me.txtRemotePort ...
Score How to redirect printer object to picturebox object ???
Jennifer W - 15 Mar 2007 7:51 PM - 10 messages
Hi, In VB6,  I'm currently using Print statements to print to the printer object.  Fine. Now the customer wants to copy this same printed information to the clipboard for use elsewhere like Powerpoint. Is there any direct or indirect way (via picturebox?) to copy the Printer ...
Score Invalid Reference Locations
Robert Morley - 15 Mar 2007 7:13 PM - 4 messages
I've had this problem for a while, actually, and it's only just occurred to me to post and ask if anybody knows how this happens. I've got a bunch of VB6 DLLs that I create and test locally, then publish to ...
Score How to check if a MDB is encrypted?
Paulo - 15 Mar 2007 7:06 PM - 2 messages
Hi, Does anybody know how to check programaticaly if a MDB database is encrypted? Already posted in DAO newsgroup but no answers. Thanks in advance. Paulo ...
Score Control that displays list and manage mouse-click?
VMI - 15 Mar 2007 5:10 PM - 2 messages
What control can I use to display a list of items that I can click on with the mouse? For example, this control should be able to display three IDs, and when the user clicks on ID '002', the event handler will capture that and ...
Score showing/setting mic volume in vb6
Marshal Anderson - 15 Mar 2007 3:16 PM - 2 messages
I'm recording a wav as part of my app. I want users to have some idea of their input volume before they start to record. I've sniffed around the MS Knowledge base and found some possibilites, but none actaully ...
Score Sharing subroutines with an Addin
ProBro - 15 Mar 2007 2:54 PM - 13 messages
I have a Microsoft Add-in and I'm trying to call a subroutine in the addin module from the form...  The sub is marked "public"; How do I do this? I know is probably a stupid question that I should know.... ...
Score Fill Blank rows
Anna - 15 Mar 2007 2:21 PM - 4 messages
Hi: Column E contains some blank cells. Can any one please tell me how to i fill these cells. I try to first run a loop in Column E but i dont want to fill all the rows unpto end in that column with a value. ...
Score Validate "real" names on VB6
Aitor - 15 Mar 2007 11:23 AM - 21 messages
Hi! My question is, how can I validate "real" names on a textbox? I would like to validate original names, not unreal or invented names. Names like "John" or "Peter",instead of, "Spiderman" or "Incredible Hulk". Any idea? There's any kind of ocx or component? ...
Score How to open multiple instances of MSWord through VB
immi - 15 Mar 2007 10:21 AM - 5 messages
Hi I want to open MS Word document through VB 6.0 and i am using shellExecute API sub command1_click() Rtn = ShellExecute(frmName.hwnd, "Open", "C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" , " C:\Program Files\Proj\sheets \DocName.doc", "", 5) ...
Score vb control for reservations
sk - 15 Mar 2007 7:05 AM - 4 messages
Hello everybody, I searched the componentsource.com, but I can't find control, similar to Outlook Calander for displaying the hotel reservations. Currently I' stuck with the user control, created by my predecessor - he used Spread in unbound mode, each cell in a row is 1 hour, so it works quite slow. I looked at Gantt ...
Score SendKeys
Tim Christopher - 15 Mar 2007 3:30 AM - 4 messages
Hello everyone. I am writing an application where I want to use 'SendKeys' to simulate keyboard shortcuts in another application. Unfortunately, when this program runs and I try using the mouse (to minimise the Window) it interferes with the sequence of keyboard actions that 'SendKeys' is attempting to run. Is ...
Score Another basic question
Jack - 15 Mar 2007 12:42 AM - 15 messages
Which one is better to do:     If ComHwnd <> 0 Then rtn = CloseHandle(ComHwnd) or just:     CloseHandle(ComHwnd) regardless whether there is a valid handle or not. Your comments appreciated, Jack ...
Score Pass values in columns
Anna - 15 Mar 2007 12:09 AM - 2 messages
Hi: Can any one please tell me how to i get the values from query in each column but not in first row. As first row i use it to create the header of the file: rngCell.Row = 1 Do While Not RS.EOF ...
Score How to open a form?
Alastair MacFarlane - 14 Mar 2007 8:41 PM - 5 messages
Dear All, I always have problems with when to make a form vbModal and when to make it the TopMostWindow. If I open FormB form FormA (where FormB is opened as the TopMostWindow) and I display a MsgBox it will be displayed under the TopMostWindow FormB, ...
Score DLL works in Excel VBA, but not VB6
procreator - 14 Mar 2007 8:40 PM - 5 messages
I have a DLL that works in VBA (Excel). However, when I try to add the same header used in the VBA macro to a VB6 module, then run the program I wrote, I get a "Zero pointer assignment" error whenever I ...
Score Learn VB.Net or stay with VB6
procreator - 14 Mar 2007 7:59 PM - 7 messages
I have an opportunity to take a short course in VB.NET. I am concerned about how benficial it will be. I develop stand-alone, non-web, non-enterprise imaging applications. I make use of purchased libraries and code to perform many functions. ...
Score Windows Media Player msdxm.ocx control on Vista
Alan Scott - 14 Mar 2007 7:04 PM - 5 messages
I have a VB6 application that has always used the Windows Media 6.4 msdxm.ocx api for audio playback support. This worked fine on all versions of Windows and Windows Media Player up to and including Windows XP SP-2 and Windows ...
Score How to get the type of standard VB6 function
qualitychecker@free.fr - 14 Mar 2007 5:58 PM - 8 messages
Hello I would like to get the type of a standard vb6 function passed in a string format . For example WhatType("Sqr") gives "Double" WhatType("Log") gives "Double" The argument can be any name of standard VBA/VB6 function. How can I do that, in a VB6 program or even better (for me...) in ...
Score Help with a string of bytes
Olan Wilson - 14 Mar 2007 5:27 PM - 10 messages
Hello, I am writing a polling application for a temperature sensor attached to our network. I am having trouble translating the documentation into VB6 code. The manual states: Send a 60 byte string with the first four bytes set to 0x3f 0xcd 0xdc 0x00, ...
Score [VB6] Updating an ActiveX Exe
ToSka - 14 Mar 2007 4:24 PM - 6 messages
Hi all, i have a program, let's call it "pgm" which uses an ActiveX Exe (call it "Ax") for some tasks. I've made the setup using the PDW wizard and everything installs and works just fine. For the updates, so far i've only updated pgm, distributing to users only ...
Score Memory resident app
Ben - 14 Mar 2007 4:21 PM - 8 messages
Hi all, I would like know ask if you can share with me some resources on how to write a memory resident app using VB6 ( or even VB.net, which I know little)? I need to have the application in such a way that ...
Score Create new instance of app ?
zibanegar - 14 Mar 2007 4:16 PM - 2 messages
hello i create new program by vb6 to run coreldraw app and  have a little problem by CreateObject function. i want to open a new instance of CorelDraw application and set its visibility = false. my problem is if another instance of coreldraw ...
Score Picture Box
zonga777 - 14 Mar 2007 2:36 PM - 5 messages
I am new VB 6 learner. I have two picture: picture1 & picture2. two command button: command button1 & button2. When form load, picture1 is load in picture box1 and  when command button1 is click picture2 is load in picture ...
Score Vista and Virtualization
Rick Raisley - 14 Mar 2007 1:27 PM - 2 messages
I've been reading through the posts here, as well as the sources concerning Vista accounts and virtualization, and have some question: It appears that Vista can handle INI writes to the program directory, data files written to the program directory and subdirectories, and even writes ...
Score Vista Not-Programs Directory
Rick Raisley - 14 Mar 2007 1:00 PM - 32 messages
Okay, I know that Vista does not like the User saving INI or data files to the Program Files directory (although it seems to handle both fine through virtualization, I am told). So, what if I placed my app in a /different/ ...
Score Form appears Active
Ivar - 14 Mar 2007 11:44 AM - 8 messages
Hi All. Just a small annoyance but I hope it can be resolved: I have a main form with border style as sizable, under certain circumstances another form will appear on top of the main form (like a popup) This form ...
Score calculate sum of number
baked potato - 14 Mar 2007 11:31 AM - 10 messages
Hi all....again, i am trying to set up a sum of numbers. I found an example but do not understand it. I have an integer in one text box at the moment and need to get the sum of that text box and another where a number will be typed in. My ...
Score Dynamically loop over all class properties
vermeeren - 14 Mar 2007 10:40 AM - 6 messages
i want to create a vb class with public properties. Based on the properties that exists within this class i want to create an xml file that contains each class property as element and the value of the property as the element value. ...
Score SUM STRING UNTIL
ancora - 14 Mar 2007 9:52 AM - 3 messages
in A column i have many records as string like (A) one two three four five ten ten nine nine ..... ..... ..... etc with vba i would find all the SUM string that have at least "x" characters including spaces between the strings, for example if i ...
Score Dynamically creating and naming collections
paulb - 14 Mar 2007 9:29 AM - 2 messages
Hey, Does anyone know how to create and name collections dynamically? I am writing some vb.net code which requires me to create an unknown number of collections and then add them to a master collection so I can operate on them in a loop. ...
Score ActiveX component issue a Javascriot command?
Jerry West - 14 Mar 2007 4:29 AM - 2 messages
I have an ActiveX control that loads into IE. Can an ActiveX control issue a JavaScript command? I'm guessing not; assuming that there would need to be some sort of DLL registration that exposed the function I want to call but I ...
Score ListView: How programmatically set multiline selection?
Jack - 14 Mar 2007 2:44 AM - 9 messages
ListView in lvReport mode. I need to make a multiline selection when for example Shift button is pressed. Is it possible to do that without selecting 'Multiline' option in LV properties? Jack ...
Score object as parameter
MP - 14 Mar 2007 1:25 AM - 31 messages
newbie design question, given a std exe calls a dll I thought to have a class cProjectData to hold some strings, ProjectName, Location, etc then pass the object around to whoever needs it rather than passing a bunch of strings etc ...
Score Local Recordset Using Stored Procedure
Sandy - 14 Mar 2007 1:07 AM - 4 messages
Hello - Scenario:  I have an app that searches for records within a date range.  Those records are returned and the user has the ability to navigate them via MoveFirst, MovePrevious, etc.  The whole time each user is navigating their ...
Score Listbox Sorting Problem
Norm - 14 Mar 2007 12:31 AM - 9 messages
Hi, I am using a listbox in a VB 6 Sp5 application for figuring a golf handicapp and the listbox has 3 columns, showing the score, course rating and course slope. The score is listed in the first column. The listbox is set to sorted = true and sorts by the scores in the first ...
Score VB6 Command Line compile crashes but IDE compile is okay
Marci Weinberger - 13 Mar 2007 9:47 PM - 9 messages
Hi All, In 2006 I had no trouble compiling my VB6 application from the command line, but now I just get the standard Windows crash report dialog to show and the build terminates. I can compile from from the IDE. Thoughts? ...
Score Object self-reference from within a class module?
Brad Johnson - 13 Mar 2007 6:56 PM - 4 messages
I'm writing Visual Basic 6.3 within Excel. How can you give a reference to an object itself from within one of its member procedures?  Another way to put it:  What, if anything, is the Visual Basic version of C++'s "this"? ...
Score Free VB?
Lorin - 13 Mar 2007 6:52 PM - 2 messages
There is now a free VBExpress.NOT arrrg  <:-p What is the status of VB6?  Any free versions out there? *<:-) ...
Score VB6 EXE How to track missing dependency(ies)
Marci Weinberger - 13 Mar 2007 6:32 PM - 28 messages
Hi All, I have a VB6 application that works fine on my development desktop, but when I install and run on a clean Virtual PC I just get the application to beep. It sounds to me like a missing runtime dependency, although I do not ...
Score updating active record
baked potato - 13 Mar 2007 3:33 PM - 2 messages
Hi, could anybody help please?? ive created a form called 'UpdateStock' and have a database table called 'order'. When I place an order it goes to this UpdateStock form and that order information is shown in text boxes. When an order is completed you tick ...
Score VB6 editor addon?
Jeff Rozar - 13 Mar 2007 3:04 PM - 19 messages
Is there an outlining tool or an AddIn to VB6 that does outlining of If/Then blocks, IDE enhancement, etc? ...
Score Sizing an embedded ActiveX control in web page
Jerry West - 12 Mar 2007 11:50 PM - 8 messages
I have a ActiveX control that loads into a web page. Support is for IE only. What I have noticed is that when the browser width is at a certain threshold the ActiveX will take on a width much smaller than the browser's width. For ...
Score Search the web
fniles - 12 Mar 2007 9:52 PM - 3 messages
With Index Server I can search web pages stored on our servers. Is there any way to programmatically search web pages on the web ? Thank you. ...
Score Using a dll written for VC6 in a VB6 app
procreator - 12 Mar 2007 9:35 PM - 5 messages
How do I use a DLL written for VC6 in a VB6 app? Any help you can provide would be greatly appreciated!!! Here are the first few few lines of the header file: // Include file for hct99hid.dll V1.38 (VisualC V6.0) ...
Score Right click in explorer window
Krzysztof via VBMonster.com - 12 Mar 2007 5:06 PM - 3 messages
Good Day! i have a internet explorer window on my form, which really looks at a folder on a network.  i need the users to be able to copy and paste into that window. the operation works fine however, each time you right-click, and window ...
Score Vista problems
Mike Williams - 12 Mar 2007 4:45 PM - 9 messages
I wonder if possibly we should begin to share little snippets of our experiences with Vista, perhaps a thread with "things that do not work as expected" so that we can all gain from each others experiences. For example I've just spent some considerable time attempting to modify my standard ...
Score Database query
Goerge Tikakis - 12 Mar 2007 4:31 PM - 5 messages
Hello I have an access table [Customers] with customerID CustomerName and a table [Rentals] with RentalID CustomerID RentalDate I want to find customers who didn't make any rental in period of time Thanks *** Sent via Developersdex [link] *** ...
Score datareport
PC - 12 Mar 2007 1:53 PM - 2 messages
is there a way to dynamicaly (at run time) add controls to the sections of a datareport ...
Score MSCOMCTL.OCX
george - 12 Mar 2007 2:54 AM - 5 messages
I am testing a VB6 install on VISTA (32) and was surprised to see that MSCOMCTL.OCX was not part of the Vista. I am partially thinking that this is some kind of fluke since this component is part of VB6 SP6. ...
Score VB help!!
Cynthia - 12 Mar 2007 1:28 AM - 3 messages
Hello, I am very new in developing systems. So I am seeking help on how to complete my system step-by-step. I am using Visual Basic 6. Currently, I have a form. In that form, I will need to input a Part Number (eg: ...
Score Wos goin on ere den?
Ivar - 12 Mar 2007 12:51 AM - 28 messages
Hi all. This made me smile... Below is some code I put in to a VB6 form. VB is installed on my XP machine but not on my Vista machine. I compiled the exe on the XP machine and ran it and got the expected result, ...
Score teaching application
jgiuliani@gmail.com - 11 Mar 2007 10:28 PM - 4 messages
Hi all, I am a chemistry instructor and I want to use VB to design and interface for a tutorial application to help chemistry students. Here is the gist. I have C/Fortran programming experience and have been reading a bit about VB. I want to create a sequence of forms that will ...
Score using xml file rather than db
Yobbo - 11 Mar 2007 8:32 PM - 20 messages
Hi All I'm creating an app that needs some kind of data store to hold a number of things, in particular questions and answers. My plan was to use an Access DB to hold this info and then use ADO to ...
Score real time parallel port input
pete_tomson - 11 Mar 2007 4:55 PM - 12 messages
Hi All - I'm trying to write a program that reads data fed directly into the parallel port from a reed switch on my bike (a pc based bike computer basically). There is no external circuitry - the opening and closing of the switch toggles pin6 on my parallel port. ...
Score How to modify funciton to receive file names as a parameter
Anna - 11 Mar 2007 4:14 PM - 2 messages
Hi: Can any one please tell me how to write a function which will copy both excel file into the third one The function will be receive the two excel files into it as parameters and then process into the third ...
Score Problem with this text-sorting algorithm
Andrew - 11 Mar 2007 1:10 PM - 11 messages
Hi all I need to write an algorithm which will sort an array of text strings into alphabetical order. I wrote the procedure below, which seemed to do the job just fine, but during the course of testing, it seemed, on one (and only one) ...
Score SQL Order syntax
Julian - 11 Mar 2007 10:01 AM - 7 messages
Hi What is the syntax for sorting this query by Name using access db "Select Name, Colour, Age  FROM tblPets Where OwnerID ="   &  Id Many thanks Julian ...
Score Stepping through items in data type
J - 11 Mar 2007 3:53 AM - 5 messages
Is there a way to step through each item in a user defined data type as if it were a collection? For example: type TheseProperties     a as string     b as string     c as string ...
Next » 2 3 4 5 6 7 8 9 10