Home All Groups Group Topic Archive Search About

Visual Basic General Discussion

microsoft.public.vb.general.discussion
Score Combo box tpye control in MSHflexgrid cell
Seasider - 14 May 2005 10:31 PM - 2 messages
Has anyone any idea how I can get a combo box type control into a cell the user clicks on and select a pre-loaded value to place in the cell. I've searched the web and vb help and can't find anything. ...
Score How to invoke programmatically 'Add, Remove Programs'
Jack - 14 May 2005 6:56 PM - 4 messages
Hello,             How to invoke programmatically 'Add, Remove Programs' window with my program highlighted in it, or even better how to invoke one step further and display window starting uninstallation of ...
Score MSAgent listen fails once compiled.
TheCyberDude - 14 May 2005 6:15 PM - 1 message
I'm using phrasefinish for listening. It works OK throught the VB5 IDE, but once I compile it - will not listen. Reco.Activate Reco.GrammarFromFile App.Path & "\Words.txt" Bot.Listen True The Agent speaks and moves, but just wont listen. ...
Score webBrowser control
Big D - 14 May 2005 5:21 PM - 2 messages
We run our home grown application is kiosk mode, which has back,forward, print buttons on required pages. We are integrating a vendors application that uses IE but like any typlical app use IE for the back, forward, and print functionality. ...
Score SendMessage()
Jack - 14 May 2005 4:52 PM - 3 messages
Hello,           SendMessage() API takes as first parameter handle. When SendMessage() is used in Main routine located in the module and at startup there is not any form loaded yet,  what should I use for the handle? ...
Score Shut Down Program with Multiple Forms
Jim Richards - 14 May 2005 3:26 PM - 6 messages
Hello. I have a program that uses nine forms. Is there a way to Unload all of them with a single line of code? Or do I have to use the Unload statement nine times to be sure they are all unloaded? TIA. Jim. ...
Score crystal reports
ajay_gs - 14 May 2005 2:24 PM - 2 messages
how can i suppress the field if the type is blob/memo i.e., if the data is not present then i want to suppress the space the field takes in the report how can i achive this? plz need some help ...
Score Any RSA Public/Private key DLLs available for free?
Trammel - 14 May 2005 1:54 PM - 2 messages
Does anyone know where (or if) there are any RSA Public/Private key DLL/OCXs available for free? I want one thats simple to use if possible where I can call summit like the following: * RSAcrypt.generateKeyPair 128 * gPublicKey = RSAcrypt.getPublicKey ...
Score HTML Help Api
Ivan Debono - 14 May 2005 11:02 AM - 5 messages
Hi all, What parameters do I need to pass to the API to open a help topic from a VB6 app where it is displayed without toolbar and navigation pane (basically just the topic window). Thanks, Ivan ...
Score reading command line switch
Neil Jarman - 14 May 2005 9:33 AM - 3 messages
Hi, I need to trigger a VB app via a shortcut, which will pass a variable. How can I read this in my app? eg I need to call xyz.exe with the parameter 123 Mnay thanks, NEIL ...
Score copying files first before deleting them
harjit - 14 May 2005 6:10 AM - 3 messages
I have a program that purges files after a certain amount of days.My problem is now to move the files that I wish to delete to an archive folder first before deleting them permanently so that users can still access those files if there's a need to.How do I do this?Can someone help me please?The codes are as follows (VB6) ...
Score Manually generating SQL for OleDbDataAdapter
AprilEtc - 14 May 2005 2:09 AM - 4 messages
Not all of my "source" tables include primary keys (don't need it for my purposes).  Unfortunately, that means I can't use the CommandBuilder to generate SQL based on my SelectCommand.  I've tried to manually generate the ...
Score Convert Component Services Exported MSI to a merge module
Lauren - 13 May 2005 11:10 PM - 3 messages
I have serveral in house components that run in component services on a server.  I export a msi package to make a proxy for the clients to use. Does anyone know if I can convert them to a merge module to include in the ...
Score Re: How to make Autoscroll work with a 5.2 mouse driver and the VB6 ID
Jason Barnett - 13 May 2005 8:41 PM - 1 message
Thanks for the added tip.  I otherwise thought either was fine. ---Jason ...
Score Pass UNC Path to Dir command : visual basic 6.0
Venugopal Vemuri - 13 May 2005 8:28 PM - 5 messages
Hi,    When I pass a UNC path to DIr command it errors out.  Is there a way to use UNC path with Dir command?  An early reply would be appreciated. Regards, Venugopal ...
Score Getting the XP look
oc7 - 13 May 2005 8:22 PM - 3 messages
Hello, I have a VB6 application that I created a few years ago. I would like to update it so it looks like a XP app. With the toolbars, buttons, color schemes, etc. Can this be done using VB6 or do you have to convert to .NET or ...
Score Cannot compile project using "File->Make Project.exe"
Jason Barnett - 13 May 2005 8:16 PM - 3 messages
I've made a change to an application and proceeded to make a new .exe, however "File->Make Project.exe" is disabled.  I've even opened a new project and tried to make an .exe from that (without changing anything). ...
Score winsock and proxy server
dhaval - 13 May 2005 6:44 PM - 1 message
how to connect to a LAN pc from home pc. LAN pc is connected to internet=   = through proxy server -- = Using Opera's revolutionary e-mail client: [link] ...
Score winsock and proxy server
dhaval - 13 May 2005 6:44 PM - 1 message
how to connect to a LAN pc from home pc. LAN pc is connected to internet=   = through proxy server -- = Using Opera's revolutionary e-mail client: [link] ...
Score winsock and proxy server
dhaval - 13 May 2005 6:44 PM - 1 message
how to connect to a LAN pc from home pc. LAN pc is connected to internet=   = through proxy server -- = Using Opera's revolutionary e-mail client: [link] ...
Score winsock and proxy
dhaval - 13 May 2005 6:42 PM - 4 messages
how to connect to a LAN pc from home pc. LAN pc is behind proxy. ...
Score Need the VB5 SP3
Martin Nemzow - 13 May 2005 6:22 PM - 2 messages
anyone have the URL or file? Thanks. ...
Score BackColor and tile a bmp
Rich - 13 May 2005 5:24 PM - 2 messages
This should be an easy one - I hope.  I have set a my Palette to a bmp in my VB project folder and have set my PaletteMode to custom.  How do I apply this to my BackColor?  When I aopen the palette in the Backcolor Properties, I ...
Score I declared the variable already, so why doesn't VB recognize it?
Chris Lieb - 13 May 2005 5:19 PM - 12 messages
I am restructuring a program and copied over some code for some properties from a module to a form.  The code is in this style: Private priVar as Boolean Public Property Get pubVar() as Boolean     pubVar = priVar ...
Score VB6 Menu Editor is greyed
David Drosselmeyer - 13 May 2005 4:09 PM - 6 messages
I recently installed VB6 on a new computer running XP Home. When I fire up VB6 with an already created project the Menu Editor menu option is greyed. How do I start the Menu Editor so I can add menus to my form? Is there an ...
Score Creating a collection of a type block... Possible?
Patrick Garceau - 13 May 2005 3:17 PM - 4 messages
I want to create a collection of a type block Public Type NameBlock     Name as String     FirstName as string End Type can i Create a collection of this type block, so i can use the .add method ...
Score User Control Subclassing
Joel Whitehouse - 13 May 2005 3:10 PM - 7 messages
Hello All, I am writing a usercontrol to work with a multithreaded .dll, and I am using subclassing to intercept messages back from the .dll.  Subclassing requires that I pass a window-handle to the .dll so that the .dll knows ...
Score How to refresh data
Dib - 13 May 2005 3:00 PM - 1 message
Hi, How can I refresh data on an Open Form that has a DataGrid, when refresh is done, if no records then close the Form. I am using SQL Server SP. Thanks Dib ...
Score Question for the Wizards!!!
Brian Shafer - 13 May 2005 2:21 PM - 5 messages
I was asked yesterday, why I can't set a textbox to Null me.textbox = Null My reply was because it is a object and textbox is a properity? and that I didn't really know for sure... What is the correct answer? ...
Score dos command line
Brian Shafer - 13 May 2005 2:18 PM - 5 messages
Hello, I want to execute a simple command... ipconfig /all > c:\ipconfig.txt then once I do that.. read the file... the only thing i can't seem to get is the command? How can I run this from VB? ...
Score Satisfaction/Rating Bar
DMc2004 - 13 May 2005 1:45 PM - 7 messages
Hi I have seen somewhere an example of a custom written satisfaction/rating bar, like the one on the article with Office Online. Any links or ideas. D ...
Score Verify DCOM version in code
Chus - 13 May 2005 8:18 AM - 2 messages
Hello all, I want to verify in my code what DCOM version is installed in the equipment client and to execute the installation in necessary case. Someone can help me? Thanks. ...
Score Aligning a picture in the button control.
Frank Rizzo - 13 May 2005 6:47 AM - 4 messages
Hello, I am trying to add a picture to my button, but the picture always places itself right smack in the middle, while I want to place it to the left of the text. Is is possible to pull this off with the standard button control? ...
Score ADO Bookmark problem
Amarios - 13 May 2005 5:38 AM - 1 message
"the following message has been send to another ng lately, but with no reply. Sorry for double-posting, but it drives me crazy." Hello all, my project consists of an Access 2000 mdb file conatining and Index column and 20 Song columns, a DataEnvironment and a form showing the Find records ...
Score Is my concept workable?
Jim Richards - 13 May 2005 5:36 AM - 2 messages
Hello. I have a small database (356 records) in Access 2000 and the same database upsized to SQL Server 2000. They track who owns the lots in my subdivision. The owner information is in a public database maintained by Bexar County Appraisal District (BCAD). Using VB and VBA, is it possible to ...
Score Delete records in Dbf table (Help!!!)
Junior - 13 May 2005 2:21 AM - 4 messages
I am developing  Visual Basic 6.0 application using ADO 2.5 and tables of Dbase III. When i delete the record the database engine marks it as deleted but, the record is not deleted phisical, in Fox i have instructions as Pack or Zap for ...
Score Is VB6 still alive and well?
Ben - 12 May 2005 9:19 PM - 22 messages
Hi all, I am still using VB6, I guess I am very behind the time.  But it really works very nicely for what I do. Is it still alive and well out in the development world? I figure, after 2 versions of vb.net, may be it's time to move to vb.net? ...
Score Mapping a new 'Network Place'
lilary - 12 May 2005 8:48 PM - 1 message
Here's the attachment (I hope) it's less than 350800 bytes, and is a zip file...    +----------------------------------------------------------------+    |                Attachment filename: nethood.zip                |    |Download attachment: [link] |    +----------------------------------------------------------------+ -- lilary ------------------------------------------------------------------------ Posted via [link] ------------------------------------------------------------------------ ...
Score Mapping a new 'Network Place'
lilary - 12 May 2005 8:42 PM - 4 messages
I've got a logon script that I need to change for a small set of developers to standardize their machines.  The challenge is to create a folder (actually several folders) in the Nethood 'special folder' instead of a shortcut.  Creating a shortcut works using vbscript, but is not very clean when the users navigate to it since we have multiple trusted domains on our network. ...
Score Re: Link
Jeff Johnson [MVP: VB] - 12 May 2005 7:34 PM - 1 message
Look out, it's already infected your keyboard!! ...
Score Error: input past end of file in ...\Product.frx
Alan Silver - 12 May 2005 5:48 PM - 3 messages
Hello, I was just running an application in the IDE when it popped up with this error. The line on which it stopped was fairly simple, just setting the caption of a form. I had this the other day and found out that the frx ...
Score Connecting to & using SQL Server as my Data base
BeePee - 12 May 2005 4:39 PM - 3 messages
I've never tried using SQL server as my DB and i'm always looking forward 2 a day 2 do dat. i guess the time has come. Please anyone with links or tutorials to quickly put someone through thanks ...
Score Impact of file numbers
Saga - 12 May 2005 4:29 PM - 8 messages
I am "enhancing" an already existing app and found that in the initial form load event the app opens an INI file using OPEN, getting the file number from the freefile() function. The file number is kept in a public ...
Score Trouble with shortcuts
jim - 12 May 2005 3:51 PM - 5 messages
I want to create a desktop shortcut in VB6.  I have found code referencing the STKIT432 dll that came with VB4 (and one for VB5) that uses "fCreateShellLink()".  When I register the dll I get the following message: ...
Score Weird...
StephenMcC - 12 May 2005 3:50 PM - 12 messages
Apologies all, but this isn't a question, more a statement or an observation that I've noticed in my utter boredom. If I hold won the 'Alt Gr' key (next to the space bar on the right) and one of the cursor keys the display ...
Score Newbie help on String conversion needed please
Lorne Steiner - 12 May 2005 3:42 PM - 8 messages
Sorry for the newbie question, however this might be an easy one. I have the following senerio SFee = Val(Fees.Text) Where in a text box called Fees.Text I have a string value of "1,000.00" I have the following: ...
Score Processing KeyDown in MDI Parent
Chris Lieb - 12 May 2005 1:56 PM - 2 messages
Is there a way to catch a KeyDown event in a MDI parent form?  I have a special admin login prompt that only appears when you press Ctrl+Shift+A, but currently I have to open one of the children forms first before I can catch ...
Score VB6: saving forms as text
jm7 - 12 May 2005 1:31 PM - 3 messages
Is it possible to save a form as  text in VB6 like you could in VB2? What is the equivalent for VB6? Thanks, John M ...
Score Public Transport Path Algorithms?
Ivan Debono - 12 May 2005 11:51 AM - 5 messages
Hi all, Anybody has links or knowledge of shortest path(s) algorithms for use in public transport, with maybe source code in vb6? Thanks, Ivan ...
Score Sending SMS through mobilephone
BeePee - 12 May 2005 9:54 AM - 2 messages
I want to write a program that will be able to send sms through my mobile phone. I have my mobilephone connected to my PC using the USB port. Please hints, links, advise ... wil be well appreciated. Thankx *** Sent via Developersdex [link] *** ...
Score Printing using Printer.print
Satish - 12 May 2005 9:41 AM - 1 message
Hi Friends Have written a code on VB 6.0 to pickup data from Access and print using Printer.print statement. Have given code to print specific data in different font and size. While it prints properly for the first time, subsequently it ...
Score Automation Error
Mo - 12 May 2005 5:53 AM - 3 messages
I ran into the automation error in VB when I tried executing my DLL. I instantiated the DLL: Public withevents objLogin as cLogin.Login Set objLogin = new login objLogin.User = "UserName" It errors out on the Set ObjLogin = new Login ...
Score Need help extracting data from rtf file and sending out auto e-mail.
Safety Orange - 12 May 2005 5:00 AM - 2 messages
I'm on day two of vba here, so go easy on me.  Here's my issues: 1) I want to extract data from reports I receive as .rtf files.  I currently open them in Word and do a ton of copy & paste into Excel.  I have NO ...
Score Font sizes project Explorer
Shoeman - 12 May 2005 4:58 AM - 1 message
I have a large screen 1920 x 1600 and a small screen 1024 x 768 where I check to see running applications on the target size. If I set the DPI setting to get the project explorer fonts larger on the 1920 screen (can't ...
Score webbrowser object html code
Tommy - 12 May 2005 4:58 AM - 3 messages
I use webbrowser to browse a web page and I want to save it to file automatically. I use 2 methods but not good and failed. Please advise. Thanks. (1) WebBrowser.ExecWB OLECMDID_SAVE, OLECMDEXECOPT_DONTPROMPTUSER, "c:\abc.htm", "" WebBrowser.ExecWB OLECMDID_SAVE, OLECMDEXECOPT_DONTPROMPTUSER, "", ...
Score Some hotkeys register but....
Jack - 12 May 2005 4:21 AM - 4 messages
Hello,           How to explain that: Using CTRL key combination with another key sometimes such combination registers without an error but it does not work. For example: CTRL + all function keys. It registers with Windows but it does not work. ...
Score Minimized form through first one
Claudia Fong - 12 May 2005 3:53 AM - 4 messages
Hello, I have one form with a command button. When the user click on that button, it will call a second form (which borderstyle = none) where I must enter the password. But it happens that when I minimized the first ...
Score CD Key/Registration Code.
Seasider - 11 May 2005 10:42 PM - 4 messages
I am writing a VB6 App and I need to allow the user to enter a valid registration code before the App is activated. Is there any specific code to do this ? ...
Score MSCAL.OCX Registration question
Richard Sherkin - 11 May 2005 9:45 PM - 6 messages
I managed to distribute an older version of mscal.ocx (8.0.0.5007) with my VB 6.0 app deployed on a Windows 2003 Terminal Server.  This control causes the date numbers to be displayed as dashes.  I have a newer version of the ...
Score I need to develop an xsl stylesheet designer
Kevin Lippiatt - 11 May 2005 9:25 PM - 6 messages
I need to develop a visual designer for xsl style sheets. The user must be able to type in the design surface with rich text, draw in tables, images and drag and drop data elements. Imagine ms word - you can type and format text, ...
Score Visual Studio.NET Loading problem
MVM - 11 May 2005 8:50 PM - 3 messages
When I was loading cd errors came first cd.  I clicked on retry several times. I think I bought it from amezon about 8 months ago.  I loaded it on my previous computer .  Now I got new computer and hence loading on the new one ...
Score How to clear clipboard?
barbara_dave - 11 May 2005 7:37 PM - 4 messages
Hi, I have a VB6.0 program which is doing copy and paste data. I use Clipboard.clear to clear the clipboard, but the data still stay in the system clipboard and can not be deleted. Could someone know to how to ...
Score Spanish accents
JudyF - 11 May 2005 6:31 PM - 5 messages
Can someone point me to a resource which shows the Alt+_ for accents in Spanish? ...
Score Help! - Can't figure out FaxCOMEXLib!
kmcnet - 11 May 2005 6:16 PM - 3 messages
Hello Everyone and thanks for your help in advance.  I am working with the Microsoft Shared Fax Service and VB.Net.  I am trying to write and application that reacts to incoming faxes.  There is an article on the ...
Score Sub Main() closes form on exit
Tom Edelbrok - 11 May 2005 5:08 PM - 8 messages
In VB6 we have adopted a common practice of starting applications from Sub Main() in a module. Within Sub Main() we open any one of a number of main application forms, depending upon what command-line argument was passed in. ...
Score MSChart axis labels always on a side
johndoeit - 11 May 2005 4:56 PM - 1 message
Christoph Basedau wrote: Thank you again. As regards mouse events, however, there has been a misunderstanding. If i right click with mouse, no selection is produced. So my question was: how can I force the selection of an item given mouse coordinates. Now, however, I found the answer: given the X,Y mouse coordinates in twips (for instance in mouseUp event) , I can use the method "TwipsToChartPart" to get where and what I'm clicking and eventually force its selection using the "SelectPart" method -- johndoeit ------------------------------------------------------------------------ Posted via [link] ------------------------------------------------------------------------ ...
Score How to add multiple icons to the EXE?
Frank Rizzo - 11 May 2005 4:46 PM - 7 messages
Some EXEs have a bunch of icons embedded in it.  Like for instance, Excel.exe has 22 icons in it.  They use it to display both the application icon (that would be the first icon) and document icons (2nd, ...
Score Resize
Rob Kings - 11 May 2005 4:32 PM - 6 messages
Hi I have a vb form (VB6 SP5) and I have some code in the _Resize event. Until now its been dynamic (i.e. just called straight from the resize) but I'm wondering if I should change that, because it can be very slow (Its ...
Score VB6 for Win98 and XP
Dreamer - 11 May 2005 4:26 PM - 3 messages
I have written a program with VB6 on Win98 OS.  It contains registry commands and I/O port commands, among many other things.  I am being asked if it can be used with XP.  Will it work on the XP without any problems?  Is there a ...
Score True = -1 ?
Chris Lieb - 11 May 2005 4:22 PM - 28 messages
This has been bugging me for a while.  Why is VB like the only language that treats the boolean value of True as the integer -1?  C/C++, C#, and Java, to name a few, all treat it as the integer 1.  This gets to be annoying when you ...
Score VB6 and Web Services
RS - 11 May 2005 3:38 PM - 2 messages
I have a ActiveX component written in VB6. I need to modify it and make it connect to the .NET web services. I am looking around for advice or someone to point me in the right direction. Thank you all. Help is much appreciated. If some one can post some sample ...
Score Re: Jesus said, "I am the way, the truth and the life: no one can come to the Father(God)(in Heaven)
eridanus riviera - 11 May 2005 3:37 PM - 1 message
Better on religious site? No? E-R ...
Score Application Design "Process"
Paul Bruneau <> - 11 May 2005 2:48 PM - 6 messages
Good Morning everyone, I'm having a dandy time learning VB,  and have finished tweaking the hell\ out of the old "Hello World" beginners program. Now I am approaching something far more significant, I have a question that will save bundles of time. Why reinvent the wheel, so to speak. ...
Score Open a Port.
Bob - 11 May 2005 2:33 PM - 6 messages
Hello folks! I have a web server and I closed all ports except port 80 for http. Now I want to add a program to the server that sends emails on certain events. Can I write code that will open the email port (I think it's 25) and ...
Score Can an exit(0) be sent to a VC++ Win32 Console Application process
rmsterling - 11 May 2005 12:20 PM - 2 messages
Can an exit(0) be sent to a VC++ Win32 Console Application process from another process using the SendMessage Win API function. WM_CLOSE doesn't do a clean exit for this application. WM_QUIT although it didn't error in the sending application did nothing to ...
Score VB6 - Pass current Procedure Name to Error Handling Routine
rmsterling - 11 May 2005 12:14 PM - 10 messages
Subject: VB6 - Pass current Procedure Name to Error Handling Routine Using VB6 Examine the following code.... Public Sub Error_Handler(lErrNo As Long, sErrMsg As String, sProcErrorOccurredIn As String) <code> End Sub Public Sub Test_Routine   On Error Goto Test_Routine_Err ...
Score Nested loop limit
Noelia - 11 May 2005 9:56 AM - 19 messages
Hi, I have written a program to do some probability calculations. The problem is that I need a 38-deep nested loop and it doesn't seem to like it. The program is not even compiling! Is there any limit on the number of nested loops you can have in VB? ...
Score webbrowser object
Tommy - 11 May 2005 9:53 AM - 2 messages
I use "WebBrowser" object to browse html and want to save it (ref following code). But I want the system to write file automatically without "Prompt for Save" dialog. How to do it? Thx.     With WebBrowser         .Navigate2 (sURL) ...
Score Shift-F2 and Usercontrols
Simon Woods - 11 May 2005 8:54 AM - 1 message
Hi Is there a simple (keyboard) way to jump directly from a procedure call to it's declaration when the procedure is a public method of a usercontrol as you can with classes? I assume the extender object's 'getting in the way' and that's why it tells ...
Score Extract "internet header" for Outlook message
Kriste L - 11 May 2005 6:47 AM - 2 messages
Hi Everybody, For each email message, the 'internet header' can be displayed. I'm doing a program using MAPI to read messages in a folder, and need to extract the "internet header" info. However, under the MAPI, I find no properties or method that to access this ...
Score list1 to form2.list
Spam-is-bad - 11 May 2005 4:02 AM - 3 messages
I have a listbox on form1 and a listbox on form2 I need a way to get form1.list1 to form2.list1 the is what I got Private Sub Form_Load() List1.AddItem Form1.List1.List(ListIndex) End Sub but it only shows the first Item from form1 I need all the Items ...
Score Check if cursor is on the command or not
PJ - 11 May 2005 3:43 AM - 3 messages
Is there a way to check if the cursor is on the command button or not? I know how to check if it's on by using MouseMove method but don't know how to check if it's off the buton. Thanks. ...
Score important !!! out of memory
javad.ebrahimnezhad - 11 May 2005 3:21 AM - 4 messages
hello all i have a problem with fm20.dll  object's  in vb i  devlope a project with fm20.dll  object's  in vb   in win me now i wnat to execute it in win xp but in some station i have an error on ...
Score Linked Table in MS Access shows prior data
donaldmaloney - 11 May 2005 2:46 AM - 2 messages
In MS access I have a form that I select a code. Depending on th ecode The subform displays the data in the table. When I change the code  I un link the old table with a Docmd call and link the new table with a Docmd call. ...
Score Free Rolodex program
ibshambat - 11 May 2005 2:31 AM - 1 message
Free Rolodex program in Microsoft Excel (documentation & software) [url][link]] For comments, write Ilya Shambat at ibshambat2***@hotmail.com -- ibshambat ------------------------------------------------------------------------ Posted via [link] ------------------------------------------------------------------------ ...
Score Close Msgbox
Vince - 11 May 2005 1:34 AM - 3 messages
I have many functions in my VB project and they all have a stereotypical errorhandler routine (far from the best but stops the program from crashing on errors) Function Blah on error goto ErrorDescription: goto ex: ErrorDescription: msgbox (err.description & " was encountered....") ...
Score Access Single Line in Text File
Ole Weigelt - 10 May 2005 11:31 PM - 6 messages
Hello Everybody, is it possible to change a single line in  a text file? Open "File" For Append   only lets you insert at the end Open "File" For Binary  has the problem that you never know how long a line ...
Score Auto Correct
Dib - 10 May 2005 9:42 PM - 3 messages
Hi, How can I create an Auto Correct function. that when the User enter data in a text box it will update if there is a match in a table. Any sample code? Thanks Dib ...
Score Resource file
Casey Provance - 10 May 2005 9:06 PM - 8 messages
Okay gurus, here is my problem.  First off, I am aware that VB can only hold one resource file at a time and that I have the alternative to compile the resource into a DLL and use the LoadLibrary to get the handle of the file ...
Score Combo Box Auto Click
dm4714 - 10 May 2005 8:59 PM - 11 messages
Hello -- I'm populating a combo box from a database with a list of servername.  If the a servername that is within a combo box matches the current machine name, I want to select the servername from the combo and have it ...
Score HTML Help still will not work.
RafaelSVAZ - 10 May 2005 8:51 PM - 3 messages
If I understand the instructions for HTML Help correctly, I am supposed to include the registered files "itircl.dll" and "itss.dll" with my Visual Basic distribution files, both dlls to go into the Windows\System folder.  However, when I try to build an installation disk with InstallShield (3.5 SP 4), I get ...
Score How do I make file types associated with my app?
Macsicarr - 10 May 2005 8:46 PM - 2 messages
Hi All Just a quickie.  If I want certain bespoke file types (ie accompanying files) to show my app's icon or a derivative of it, do I do this in the VB app or is this done through my installer? ...
Score maximum bitmap size for a SSTab
ae5880 - 10 May 2005 8:45 PM - 2 messages
how can I determine the maximum size of a bitmap that can be assigned to the TabPicture property of a SSTab control without clipping or any other kind of distortion? TIA ...
Score Can I use mp3 files rather than WAVs in my VB app?
Macsicarr - 10 May 2005 8:27 PM - 1 message
Can I use mp3 files rather than WAVs in my VB app? Do I have use special routines to do this? Will basically any PC be able to play these sounds like WAVs do? Thanks Mac ...
Score Dummy's guide to using a resource file
Macsicarr - 10 May 2005 8:26 PM - 2 messages
Hi All I've been told that if I'm using a number of pics and sound files I should put and use them in a resource file.  Is this true? Do you know of a good, short dummy's guide to implementing and using a ...
Score Can I use mp3 files rather than WAVs in my VB app?
Macsicarr - 10 May 2005 8:25 PM - 4 messages
Can I use mp3 files rather than WAVs in my VB app? Do I have use special routines to do this? Will basically any PC be able to play these sounds like WAVs do? Thanks Mac ...
Score Error handling is handling me
Chris Lieb - 10 May 2005 8:00 PM - 7 messages
I'm trying to get used to VB6's error handling and have run into a problem.  I have a sub, Add, in a module, modBase, that calls a sub, myAdd, in a form, frmSLIC_report.  If the data that is checked has an error, I want both myAdd ...
Score VB6 Set Printer Properties
Eric - 10 May 2005 7:47 PM - 2 messages
How do I set printer properties in VB6? I wrote a program that sets the printer properties (landscape, duplex...) with the OpenPrinter(), GetPrinter(), SetPrinter() commands, which retrieves the properties with level=2, and copies the properties into a PRINTER_INFO_2 type variable and back using CopyMemory. ...
Score VB6 and Web Folders
Jack - 10 May 2005 7:15 PM - 1 message
Hi, I posted this question last week and got a few responses.  I wanted to post it again and see if I can get some more feedback. In this application, I need to store the web address so I have tried to use ...
Score Putting in a 'Do you really want to quit' routine
Macsicarr - 10 May 2005 6:59 PM - 9 messages
Hi All I have a standard form that has the 'x' top right-hand corner and also has a File/Quit (thanks to the Menu Editor). What I'm trying to do is put a msgbox up after the user goes to File/Quit or ...
Next »