473,326 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

VBScript problem need help with thanks alot

1
Take a look at the script below:

Expand|Select|Wrap|Line Numbers
  1.  
  2. 'we send 7 parameters server, db, channel, reportbase, start_debug, account, refreshtime
  3. WScript.Sleep 10000 
  4. refreshtime=refreshtimeseconds
  5. server=HTTPServer
  6. db=DataBase
  7. channel=Channel
  8. reportbase=ReportBaseURL
  9. start_debug=start_debug
  10.  
  11. Set WshShell = WScript.CreateObject("WScript.Shell") 
  12.  
  13. on error resume next
  14. 'check if win98 wscript installed correctly
  15. WScript.Sleep 1
  16. 'force / cause error for testing
  17. 'WshShell.run "xxx.vbs",8,False
  18. if err<>0 then
  19. WshShell.Popup "Error: "+cstr(Err)+ " You must install the windows scripting host component from the i.e. 5.5 setup. Please see the readme file on the PlasmaNet CD for more information."
  20. wscript.quit
  21. end if
  22. Err.clear
  23. 'reset error handling
  24. on error goto 0
  25.  
  26.  
  27.  
  28. sp=" "
  29. q="¬"
  30. vbscommand="c_plasmanet.exe"+sp+server+q+db+q+channel+q+reportbase+q+start_debug+q+account+q+refreshtime
  31.  
  32. 'run that window only once
  33. code="PlasmaNet Client`0`0`1024`768`checkrun`"+vbscommand
  34. sp=" "
  35. vbscommand="c:\plasmanet\client\enumlaunch.exe"+sp+code
  36. WshShell.run vbscommand,9,False
  37.  
  38. 'looks like c_plasmanet.exe¬http://127.0.0.1/¬plasmanet.nsf¬¬htt...t&¬0¬default¬5
  39. if start_debug="1" then
  40. WshShell.Popup "[vbscommand:"& vbscommand&"]"
  41. end if
  42.  
  43. 'WshShell.run vbscommand,9,False
  44.  
  45. WshShell.run "c:\plasmanet\client\hidewin.vbs",8,False
  46. wscript.quit
  47.  
  48. warning:
  49. WshShell.Popup "warning"
  50.  
The script needs to be edited so that after launching plasmanet, rather than quitting, a new internet explorer is launched (Any URL) every 1 minute, anyone able to help with this, anyones help would be GREATLY appreciated
Sep 1 '06 #1
0 1335

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Valentina Boycheva | last post by:
Thanks for the reply. I already have "Learning Python" from Mark Lutz and David Ascher, which covers 2.3 (I am in 2.4). However, it seems like heavy artillery to me. What I want is, for instance,...
20
by: Harag | last post by:
Hi All. I'm stating out doing some web developing. I was wondering which of the server side languages should I concentrate on and learn. I Know CSS, HTML, T-SQL I can look at the client...
2
by: John Peter | last post by:
i have an asp page where i am using a component that works if i use <%@ Language= Javascript> at the top. But i also want to use VBScript functions in the asp code. how can i do that? Thanks,...
6
by: ASPfool | last post by:
Hello everyone, Please help me before I throw my computer out of the window: I'm working on a web application in classic ASP (vbscript), which is making calls to some webservices. The calls...
4
by: chris.dunigan | last post by:
I'm looking for an example of how to execute an existing DTS­ package from an ASP (VB)script and would appreciate any and all response. ­I don't even know if it's possible Thanks - Chuck...
7
by: skeddy | last post by:
In a nutshell, I'm trying to dynamically create a select box with ResultSet code in vbscript and then need to be able to access the value of that select box later with a Save button. I've got...
8
by: JRatcliff | last post by:
I know this is re-hashing this old problem, I have looked at almost all of the questions regarding this one, and the responces to this. BUT I need to find a solution that will work. BackGround ...
3
by: Michael | last post by:
Hi. I have COM+ component installed on my XP. I have problem to create instance of it inside vbscript. How can I do it? The error I get is : ActiveX component can't create object. Thanks
2
by: moodyman13 | last post by:
Hi All, I’m in a bit of pickle with ASP and VBscript variable and hope someone could get me some advice. There’s a FORM’ I’ve created in ASP and its purpose is to capture the name(s) of users....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.