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

    Find-a-file

    Ok,<br> Here is the sample code.<br> <br> Give the reference to the microsoft scripting runtime library.<br> <br> Then write the code as following.<br> <br> dim fso as new filesystemobject<br> <br> If fso.FileExists(source_filename) = False Then<br> <br> MsgBox &quot;The Specified File...
  2. raviman

    How works ShellExecute?

    What do you actually want to do with it. <br> Open a particular file with a particular editor or something else ? <p>Ravi Kochher<br><a href=mailto:rkochher@ssius.com>rkochher@ssius.com</a><br><a href= > </a><br>
  3. raviman

    Find-a-file

    Why don't you use the microsoft scripting object runtime library. Create a file system object and manage all these type of things. It's very easy that way. <p>Ravi Kochher<br><a href=mailto:rkochher@ssius.com>rkochher@ssius.com</a><br><a href= > </a><br>
  4. raviman

    Closing Program Using Close Icons at Top Left & Right of Form

    yOU CAN ALSO USE THE EVENT QUERY_UNLOAD OF THE FORM OBJECT TO ENSURE THE CHECKS GO WELL AND THEN HERE YOU CAN ALSO PREVENT THE FORM TO UNLOAD. USE THE CANCEL PARAMETRE THAT vb PASSES TO THIS EVENT.<br> <p>Ravi Kochher<br><a href=mailto:rkochher@velos.ssind.com>rkochher@velos.ssind.com</a><br><a...
  5. raviman

    Adding a delay to a VBE program

    You can use either a timer control for this or if you have memoy load problems then you can use the sleep API. Just open the API viewer and copy the declaration for the sleep API in you general declaration region.<br> <br> <p>Ravi Kochher<br><a...
  6. raviman

    Dynamic control creation

    Thanks Mike. <br> I just have to set the visibility true for the text box I loaded by your code.<br> <p>Ravi Kochher<br><a href=mailto:rkochher@velos.ssind.com>rkochher@velos.ssind.com</a><br><a href= > </a><br>
  7. raviman

    Dynamic control creation

    Can somebody please tell me how to add controls such as textboxes on the form dynamically( i.e. during run time through the code )<br> Thanks in advance<br> Raviman <p>Ravi Kochher<br><a href=mailto:rkochher@velos.ssind.com>rkochher@velos.ssind.com</a><br><a href= > </a><br>
  8. raviman

    Help with Multiple If/Then Statements

    Hi Aleena,<br> Your problem is that you r writing the end if statement after the if then statement which gets finished off in a line.<br> Your code which compiles goes like this :<br> <br> <br> Private Sub Command1_Click()<br> <br> picScore.Cls<br> picGrade.Cls<br> <br> x = 0<br> <br> If...
  9. raviman

    How do you find the sizr of an array?

    Hi frankD,<br> If you want each array in your program to have 1 as the base then write this code in the general declaration <br> Option base=1<br> <br> It will apply the basevalue 1 to every array in your specific module.<br> <p>Ravi Kochher<br><a...

Part and Inventory Search

Back
Top