I have a program that communicates with a device via COM1 or COM2 (user's choice).
Communications on COM1 and COM2 work fine under the following operating systems:
Win9x
WinNT 4.0 WS and Server
Win2K
When I communicate using COM1 using Windows XP, no problem. But on COM2, it doesn't work...
I'm using the Crystal 7 OCX in my VB6 app to view/print a report. The data being pulled is stored in an Access 97 database using DAO.
Distributed under Win95, my app runs fine...no problems, but when I distribute to a Win98 machine and try to print/view a report, my error trapping routine...
What I normally do is make sure the database is stored in the same folder as the application and use the following:
Data1.DatabaseName = app.path & "\database.mdb"
This way, if your application's path is changed during setup, the database will always be found as long as it lives in...
What has worked for me in the past is to give your database a unique unassociated extention (ie. database.pef)
This way when they browse the folder and double click the file, access by default will not fire up and open the database. Of course, if they open the file in access, then all bets are...
I am writing a mail merge routine using vb6 and and Word 97. I have a reference to Word 97's object library (MsWord8.olb). My question is, will the mail merge work for a user that has Word 2000?
With MS Exchange or Outlook, I had to also find out the default profile when multiple profiles existed. I did the following
'Retrieve the default profile from the registry
ProfileName = GetString(HKEY_CURRENT_USER, _ "Software\Microsoft\Windows Messaging Subsystem\Profiles" _...
I'm using VB6 and it's related Package & Deployment Wizard to distribute my app.
I noticed that when I uninstall my app, the database file included in my app also gets erased (naturally..right?).
Is there a way that I can exclude files such as this .MDB file from being erased when the app is...
I'm looking for suggestions regarding the archiving of a database. The way the app is now, all of the data they enter is shown on a dbgrid. Now let's say in a year from now they may not want to see data they entered last year, but may on occasion want access to it.
My thought was to include a...
If I reassign the vscrollbar's Min value to 3 as per my example, then I would not be able to go below 3...my valid range is 1 to 100.
I tried this in the vscroll1_change event but it still didn't behave properly.
I have a vscrollbar acting as a spinner to a text box. When I click the vscrollbar, I want the number to increment or decrement...no problem:
In the Form_Load:
vscroll1.min = -1
vscroll1.max = -100
In the vscroll1_Change:
text1.text = format$(abs(vscroll1.value))
Now if I have a value in...
I'm running Crystal Pro 4.6 and accessing a report from Visual Basic 5.0 through the Crystal OCX.<br><br>I'd like to change a textbox value that I have in the Title band of my report. The text is the Report Name (ie. Sales).<br>Is there a way to do this??
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.