 |
|
|
Hi i want a script which can monitor file size fo a text file , if it goes up 2 MB then run a Batch File automatically.
Pleas Help me Thanks in Advance
Virendra virendradsharma@gmail.com
Virendra virendradsharma@gmail.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I've got a visual basic script and want to make a pause between 2 actions. because i am new to visual basic i don't know where to look so i hope someone can help me.
here is the code:
Dim obj, handle Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FileExists("c:\exported\main_script.sca") Then Set obj = CreateObject("Scala.Publisher") obj.GoPublish "c:\exported\main_script.sca", "ftp://removed:removed@nm2.somewebserver.nl/player", "c:\exported\log.txt", "", "c", handle Else End If
Between these lines i need a pause for about 5 minutes.
Set obj = Nothing
Set objFSO = CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists("c:\exported\main_script.sca") Then Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.DeleteFile("c:\exported\main_script.sca")
Else End If
if anyone can help me i would be very happy
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
|
I;m now doing a project by using the sstab in a form. Currently, I have a problem because I cannot use the control such as textbox or label because it reached its limit. Therefore, what would I do to continue this project in this form. If can, I don't want to create another form, because by using the tab in single form, i think it;s more convinient for users.
Thank You.
Thank You
|
| Sign In·View Thread·PermaLink | 2.20/5 (5 votes) |
|
|
|
 |
|
|
hi mohit i saw ur projects and really u r a good programer i also have a university project about Artificial intelligence, its about searching for the best result, so i take the puzzle of 15 elements but the computer should solve it and find the best result by declaring nodes and every node has cost and parent and index of elements,so we should use data structure by adding the new nodes to the fringe and pop a node from it and find the paths ex: if the empty buton is on index 15 so we can move up and left so the computer creates 2 new nodes and insert it to the fringe then pop one and expand it and so on..so if u can help me i ll apreciate for u.. sincerly yours
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi all, I am a new learner in Visual Basic 6. I have a quick question about SSTab.
After creating SSTab, I let the user select some Checkboxes and OptionButtons. So how can I save the user settings so when I run the project again, my project still keeps those settings.
Thanks for your help.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
 | h r u |  | Anonymous | 18:02 31 Dec '04 |
|
|
 |
|
|
Hi, i'm making a vb application,and i need to capture ARP packets that my computer receives,i need to extract the sender protocol address(sender IP) and the target protocol address(target IP) from the packet and compare it with two addresses that i know. ,so anybody knows how can i do my application? Thank you,i hope you can help me as soon as posible and excuse me for my english. regards from Spain.
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
|
I work in a software company.Actually I want to run a batch file which only hold a simple command "net send "ipaddress" "message" ".and from a *.asp front end page containing vbscript any user want to send a message to a particular ip address can be able to type ipaddress and message and when he press the submit button this two arguments will pass to the batch file containing "net send ip message" command.and the batch file will run.and to do it i used the following vbscript.
Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "C:\gy31.bat" WScript.Sleep 200 WshShell.AppActivate "gy31.bat" WScript.Sleep 200 WshShell.SendKeys "192.168.133.220"&" "&"hi" set WshShell = Nothing
but it is not working. so if possible please help me in this regard.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
here is a method that I use:
Spawn the command interpreter to run your batch file, then supply the parameters on the command line as sankha_2025 wrote: normal
normal.
Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "cmd.exe /c C:\gy31.bat 192.168.133.220 Hi"
Regards-
Jeff Prochaska
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
Hi, I want to create a menu control(support unicode) but i dont know to create it. Please tell me how to create or sourcecode. Thanks
|
| Sign In·View Thread·PermaLink | 2.00/5 (3 votes) |
|
|
|
 |
|
|
;PHI
I need help designing a packet analyzer using VB, the program must be able to decode frames of the following protocols ARP/RARP TCP IP Ethernet 802.3 UDP
Thanks
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
|
I am writing a program in VB 6 for doing bank transaction. I have a label and a number key pad in the form. I am not able to get the number command button to display the corresponding caption in the the lable in a sequential manner to validate the 4 digit PIN of the user. Can you please help?
sam
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
HI I HAVE A PROBLEM WITH VB. JUST A NOVICE, I USE TO USING ACCESS TO CREATE MY DATABASE BUT I NEED TO USE VB TO MAKE MY BUTTONS WORK- FIRST PROBLEM WHENEVER I PUT RECORDS IN ONE FORM I NEED THE DATA OF SELECTED INPUT AUTOMATICALLY GOING TO ANOTHER FORM e.G WHEN I INPUT DETAILS FOR CUSTOMER(CUSTOMER_NO) I NEED CUSTOMER_NO CODE TRANSMITTED TO SHOP(CUSTOMERNO)-SOMETHING LIKE THAT IF YOU GET THE PICTURE.. I WOULD BE GRATEFUL IF YOU KNOW THIS.THANX
P.S I COULD DO IT ON ACCESS EASILY BUT NEED TO DO IT USING VB
ANI
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
hi all i was wondering how i could go about learning the codes that vb uses and oxe files use if anyone could help i would appreasiate it
¤JW¤Hèär‡¤ôƒ¤§‡òñé¤
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |