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 SkipVought 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: *

  • Users: Thei
  • Order by date
  1. Thei

    Connecting to Crystal Report

    Another question: where can I find the Crystal Report component? I looked in the componentlist but I couldn't find anything.
  2. Thei

    maken an ocx....

    I will be adding a document to my website soon (perhaps tonight already) about making usercontrols. http://www.geocities.com/t_feitsma But it may be later this week before I have time to upload the document.
  3. Thei

    how do i play random wav files?

    If I'm not mistaken, you can use the Microsoft Media Player control. You can find this control in the components list using CTRL-T. (Most likely at the bottom of the list)
  4. Thei

    Moving the mouse

    I think that what BaDi means is that if he clicks button1 that the mouse moves to button2 and clicks it. No idea how to do this though. :S
  5. Thei

    Changing component properties in module.

    Private Sub Command1_Click() Dim Button As CommandButton Const Color As String = vbRed For Each Button In Me.Controls Button.BackColor = Color Next End Sub
  6. Thei

    Visual Basic Screen Saver

    Hey gpalmer711 There is a way to find out the size of a picture. I assume you use a picturebox to display the pictures? In that case use the following code: Picture1.Height = Picture1.Picture.Height Picture1.Width = Picture1.Picture.Width Hope this helps, Thei
  7. Thei

    Detect TAB Key

    Instead of: Private Sub Text1_KeyUp(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyTab Then MsgBox "Hihi" End If End Sub Do: Private Sub Text1_KeyUp(KeyCode As Integer, Shift As Integer) msgBox KeyCode End Sub First and press the key you want. After you...
  8. Thei

    How To Use Tab Srip Control, Progress Bar

    Hey rainbowcastle. TabStrip-problem: The way I see it you have two options. 1. Use a frame (for example a picturebox) for each tabstrip you have. Set all the frame to VISIBLE = FALSE and add the following code to you application: Private Sub TabStrip1_Click() With TabStrip1 If...
  9. Thei

    graphical database

    You might want to try to load the .pdf file into a RichTextBox-control. (use CTRL-T to browse for this component Microsoft Rich Textbox Control). This control has a method called LoadFile. I donno if this control supports pdf files, but you can give it a try. Thei
  10. Thei

    how do i add a font to "add files"

    I assume that you want to use this font within your application. You can add the font when building a setup for you application with the Package & Deployment Wizard. Hope this helps, Thei
  11. Thei

    graphical database

    When you use an Acces2000 database, you have to create a new table in Design view. In the first field you must enter the fieldname. In the second field you must enter the data type. Chose the OLE Object from the list. Now save your table and exit the Design view. (Chose yes if Access asks you...
  12. Thei

    graphical database

    Hey derketa. To store images, wave sounds, movies, etc. into a database, you must create a field with the data type OLE Object. Just out of curiosity: what sort of database-driver are you using? Thei.
  13. Thei

    EOF

    Hi dvannoy. If I'm not mistaken, BOF means Begin Of File. So how can you be in the BOF and EOF at the same time? I quote: "If rs.BOF = True And rs.EOF = True Then" Try something like this: If rs.EOF = True Then 'your statement End If
  14. Thei

    Simple prompt to get an integer from a user?

    Dim Result Result = InputBox ("Enter an integer here") The integer is now storred into the variable Result.
  15. Thei

    Moving files

    THOMASING is right!!! Its the Name As method. Just don't forget to use "" for the filenames. eg. Name "C:\FILENAME1" As "C:\FILENAME2"
  16. Thei

    Moving files

    Hey DKL01, Try to use the MoveFile method to move a file from one folder to another. To build an error handle.....do the following: private sub MoveMyFile() on error goto err_handle obj.MoveFile Source, Destination err_handle: 'Type your error handling statements here end sub
  17. Thei

    Simple prompt to get an integer from a user?

    Hey Paladyr, Try the following inside your code: InputBox "Please insert an integer", "Insert Integer"
  18. Thei

    File-load filter

    Hey Tiger245, You might want to put the image(s) into a DLL-file. This way nobody can replace/alter the jpg-file(s).
  19. Thei

    Listbox question

    To display the current selected item from the listbox, use the following code: Msgbox List1.List(List1.ListIndex) Have fun!
  20. Thei

    Program resets usercontrol-property values after compiling?!

    You might want to save your program first before compiling. This because the projectfile is compiled and not the source on your screen.

Part and Inventory Search

Back
Top