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 strongm 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. jjhobs

    Creating an input mask for time in a textbox

    I have a textbox in my project and I want to ensure that users ype in a time in the format hh:mm:ss. Can anyone tell me how to do this?
  2. jjhobs

    Error 339

    I have created a program which has installed and successfully run on 30+ machines so far. However, on one machine I receive the following message "Run time error 339. Componenet Richtx32.ocx or one of its dependencies not correctly registered: a file is missing or invalid". Can anybody tell me...
  3. jjhobs

    ado.net error oledbexception

    The detailed error message obtained is as follows: No value given for one or more required parameters. I would appreciate any help.
  4. jjhobs

    ado.net error oledbexception

    I have a visual basic program which links to an access database. On the line of code which filles the dataset from the data adapter I get the following error: An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll. Curiously, another program which worked...
  5. jjhobs

    Closing a program

    Can anyone advise the best way to close down a project. I have noticed that in some instances projects are still running when I think they have been closed. I have used: Close() Dispose() for programs with 1 form. For programs with more than one form I have used Application.exit. On some...
  6. jjhobs

    Database management

    Thank you. What I want is to empty the field, ie, not data at all in it.
  7. jjhobs

    Database management

    I am trying to create a front end to an Access database with VB .Net. The problem I have is with number and date fields. If I create a new record in VB. Net and try to add it to the database it accepts null values with no problem using DBNull. However, if I try to edit a record and enter a blank...
  8. jjhobs

    keyascii equivalent

    In VB6 I was able to have several textboxes on a form and, using a combination of the keypress event and keyAscii, could automatically convert input to uppercase. In VB .Net keyAscii is no longer available. Could anybody tell me how I can do this at form level.
  9. jjhobs

    Installer for VB6

    Hi - thanks for your replies. I have tried Microsoft Visual Installer - however, in Start, All Programs, it places the shortcut above the separator line rather than with all the other programs. Do you know how to get round this? Thanks very much.
  10. jjhobs

    Screen Resolution

    Thanks very much for this, it was very useful. However, I now have another problem - I have a project which runs perfectly on higher resolutions and fills the screen when windowstate is maximised. However, if the screen resolution is 800 x 600 instead of showing the top left of the form, I want...
  11. jjhobs

    Screen Resolution

    Can anyone tell me the code for getting VB to check whether the screen resolution being used is 800 x 600? Thanks.
  12. jjhobs

    Installer for VB6

    Could anybody recommend an installer for installing a VB6 project and accompanying files. I want the program to be installed on various operating systems (across multiple users). Thanks for any suggestions.
  13. jjhobs

    Printing from an image box through print dialog box

    In my program the user is able to print text through the print dialog box. The text is in a RichTextBox. However, I also want them to be able to print images in an ImageBox. The image can be one of many, whichever the user has selected. I want the user to be able to go through the pring dialog...
  14. jjhobs

    Autorun

    I have created a project in VB and I would like it to run automatically from the CD whenever the CD is inserted. Can anybody tell me how I can do this. Thanks.
  15. jjhobs

    Using Visual Studio Installer with VB6.0

    vb5prgrmr Sorry, I had no luck at all finding an answer. jjhobs
  16. jjhobs

    Using Visual Studio Installer with VB6.0

    I have used Visual Studio Installer to create a setup package for a VB 6.0 project. I have tested this on a windows XP machine and the problem is that it installs the shortcut on the start menu under the Owner Start menu, rather than All User's Start menu. Does anybody know how I change this...
  17. jjhobs

    Finding the CD-Rom drive

    Thanks for everybody's help throughout my problems. All have now been resolved. jjhobs
  18. jjhobs

    Finding the CD-Rom drive

    I have used the code recommended by DrJavaJoe on December 17 as follows: I have referenced the Micorsoft Scripting Runtime Dim fso As New Scripting.FileSystemObject Dim drives As Scripting.Drive For Each drives In fso.drives If drives.DriveType = CDRom Then 'Check if this is the...
  19. jjhobs

    Finding the CD-Rom drive

    DrJavaJoe - Thanks. I am very grateful for your help. I have one more question, however - if there is more than one CD rom drive, how do I check if it is the correct one? Thanks again jjHobs
  20. jjhobs

    Finding the CD-Rom drive

    Thanks for this, but how do I reference it?

Part and Inventory Search

Back
Top