Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Loading Library at Run time (.vbs file) within the VB.NET forums, part of the Software Development category; Hi, I want to laod .vbs file using script. For e.g my test is open, i have abc.vbs file that is not attached till now. so i want to make ...
|
|||||||
|
|||
|
Loading Library at Run time (.vbs file)
Hi,
I want to laod .vbs file using script. For e.g my test is open, i have abc.vbs file that is not attached till now. so i want to make general function which will load that .vbs file into Test setting -> Resources -> loading that .vbs file from particular path [This question was asked by Jitesh Sojitra....] |
| Sponsored Links |
|
|||
|
Re: Loading Library at Run time (.vbs file)
Quote:
dim index as integer index = Shell(path, AppWinStyle.Normal, True) Dim ShellProcess as new Process Try ShellProcess.StartInfo.FileName = path ShellProcess.StartInfo.UseShellExecute = True ShellProcess.Start() ShellProcess.WaitForExit() Catch.... Finally ShellProcess.Dispose() End Try Let me know if this helps... Thanks, Suji |
|
|||
|
Re: Loading Library at Run time (.vbs file)
another way of doing in old vb way if you don't want to use process object from vb.net ...
dim WShShell, RetCode Set WShShell = Server.CreateObject("WScript.Shell") RetCode = WShShell.Run("C:\TEST.vbs",1, True) response.write RetCode set WShShell = nothing |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| User defined function in QTP library | JobHelper | QTP | 8 | 09-23-2009 06:43 AM |
| Loading a ListBox from a Recordset (in C++) | ultranet | C and C++ | 1 | 12-29-2006 08:58 AM |
| Microsoft CRM : Display a SharePoint document library in a Microsoft Dynamics CRM 3.0 form | Jim.Anderson | Microsoft CRM | 0 | 09-27-2006 07:39 AM |
| How do you Implement Class Library Object | GeekAdmin | VB.NET | 0 | 05-28-2006 11:14 AM |
| Explain about .NET Framework Class Library | GeekAdmin | VB.NET | 0 | 05-17-2006 11:47 PM |