Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. animal

    COM2 and Windows XP

    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...
  2. animal

    20532 Error

    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...
  3. animal

    MS Access Path Error on Installation using DAO data control

    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...
  4. animal

    Packaging a VB app with an Access database

    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...
  5. animal

    converting .bmp file to .jpg

    The Programmer's File Format Collection may have what you need. http://www.wotsit.org/default.asp
  6. animal

    Will Word 97 object library work with Word 2000?

    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?
  7. animal

    TIP- Launch default e-mail Client with recipeint address

    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" _...
  8. animal

    Excluding a file when uninstalling a program

    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...
  9. animal

    Suggestions on archiving a database

    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...
  10. animal

    vscrollbar not incrementing a textbox value

    Thanks, the UpDown control did the trick!!! I guess I should go through some of these included components some day.
  11. animal

    vscrollbar not incrementing a textbox value

    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.
  12. animal

    vscrollbar not incrementing a textbox value

    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...
  13. animal

    Adding an Image to a report at runtime using VB

    I'm running VB 6.0 and CR 7. How can I add/change an image in my report at runtime in VB?
  14. animal

    Adding Fields to a Microsoft Access Database using visual basic code

    In VB, go to the Help and search for the CreateTableDef Method. It has a great example of how to programatically add a table and fields.
  15. animal

    Changing a text field in the Title band from a VB program

    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.&nbsp;&nbsp;The text is the Report Name (ie. Sales).<br>Is there a way to do this??

Part and Inventory Search

Back
Top