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 "The Specified File...
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>
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>
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...
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...
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>
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>
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.