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. RaVeNCoder

    How to execute the condition stored in variable?

    But My code doesn't allways check for text1.enabled you can code anything in there. Like say you have a text box called text5, now you wanna check to see if that text box contains the text "Shoes" then you do this. Result = ExCon(Text5, "Text", "Valid", "Invalid", "Shoes") Because of the way...
  2. RaVeNCoder

    How to execute the condition stored in variable?

    Here is an example of how you can do this. Create a Form with 2 text boxes and 2 command buttons with their default names ( Text1, Text2, Command1, Command2) then copy and paste this code in to test it. this is the only way to multiple condition testsing with one function. Private Sub...
  3. RaVeNCoder

    Keeping track of steps within a process

    Just store all the informatoin in a text file. and the process number that is next in the registry. That is the easiest way of doing doing that.
  4. RaVeNCoder

    VB6 Code run through macro in Office 2003

    The ISAM it refers to is like a link between vb6 and a database of any sort, in this case it might be access. VB6 only works with access 97. If you save your database as an Access 97 file format it will work. You can also try to download new updates for vb6 but then you need to have vb6...
  5. RaVeNCoder

    Passing an Array to a Stored Procedure as a parameter - Please Help

    Why not use a Collection in stead of an Array? Just a Question. You can pass a collection to a stored procedure no problems.
  6. RaVeNCoder

    Catching text of a message box

    Find the window for the message box Get the handle get the handle for the Static on the message box the get the window captoin from the Static. Then you will have the text that is displayed on a msgbox or on that net send box. When using the net send box findwindow "Messenger Service
  7. RaVeNCoder

    Greek letters in a label

    Hey There. There is no other way of doing this to my knowlagde. I do this all the time to. Is this a Static label or do the values in the first and second labels change as the program changes? if it keeps changing then you : Say the labels are named label1 label2 and label3. Label2 has the...
  8. RaVeNCoder

    I need help connecting a IR modem to VB app.

    I need to send at command to a modem on an IR link to the computer without having to download software to manage the conncetion. I wanna write the managing software to do that. (this might be a very stupid Question but I tried using the MSCOMM control to send AT commands to the Com port on which...
  9. RaVeNCoder

    Realoading a VB app

    The Code post is allways tried and tested. I have never posted code that i "Think" will work. Just write a small app with 1 command button and test it for yourself. I KNOW it works. Or just put a msgbox after the unload me statement. the msgbox will also fire off. I use this when asking a user...
  10. RaVeNCoder

    Realoading a VB app

    if you are sure there is no other way to do this. ( I Haven't seen your code so I don't know what you've tried ) but this is how you do what you ask us how to do : restart your vb app. Private Sub Command1_Click() Unload Me Shell App.Path & "\" & App.EXEName & ".exe" End Sub REMEMBER...
  11. RaVeNCoder

    Simple one

    For I = 0 to List1.ListCount - 1 Array1(I) = List1.List(I) next Here is the code you need to asign all items in the listbox to an array.
  12. RaVeNCoder

    Label caption not changing.

    Hi. I don't understand what the problem is. You successfully written 7 lines of redundent code Why not just say label1.caption = str Try this on for size Create 1 label on your form. Create 1 Command Button on your form. Leave the names as default names. Now copy and paste this code...
  13. RaVeNCoder

    Error # 62 ;Input past end of file

    I never use the FSO. I do it manually. If it is a text file you need to read in try this. Dim MailMessage as String Private Sub LoadFile(FileName as String) Open FileName for input as #1 while not EOF(1) input #1, MailMessage msgbox MailMessage wend close #1 End...
  14. RaVeNCoder

    Run a command in a dos window via VB6

    If you use Shell("cmd /c what...") then the window will not always close buy it self Shell("what...") ex. Shell("copy *.* c:\") will always close the command window when it finnished it's processing
  15. RaVeNCoder

    Choose Destination Printer

    There is a component in VB 6 called CommonDialog Box. When using this component simple go CommonDialog1.ShowPrinter then the windows common dialog for choosing a printer appears and then you select the printer. this component don't print anything, that you still need to do your self.

Part and Inventory Search

Back
Top