Geeks Talk

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.

how to call a function or sub from another vbscript file?

This is a discussion on how to call a function or sub from another vbscript file? within the Scripting forums, part of the Web Development category; Hi, Could some one give me guidance of how to call a function or sub from another vbscript? I have two separate vbscript. The senario is as below: 1) I ...

Go Back   Geeks Talk > Web Development > Scripting
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Scripting Discuss Issues and Problems related to VB Script, Java Script and other Client Side Scripting

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-24-2009
Expert Member
 
Join Date: Jun 2008
Posts: 212
Thanks: 6
Thanked 12 Times in 11 Posts
learqtptesting is on a distinguished road
how to call a function or sub from another vbscript file?

Hi,

Could some one give me guidance of how to call a function or sub from another vbscript? I have two separate vbscript. The senario is as below:

1) I have a "sample.vbs" script contains few functions and/or sub

function sayThank()
do adding
do something
end function

sub helpMe()
go get help
analysis help for the need
end sub


2) In the file "doThing.vbs", how do I call the function and/or sub in the "sample.vbs"

Last edited by learqtptesting; 08-24-2009 at 09:21 PM.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-25-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,466
Thanks: 15
Thanked 150 Times in 141 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: how to call a function or sub from another vbscript file?

hai friend,

Check this thread.
http://www.geekinterview.com/talk/15...html#post48267 (how to call a function or sub from another vbscript file?)

Why you have started the same thread again.

Thanks
Deepa
Reply With Quote
Reply

  Geeks Talk > Web Development > Scripting

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Function call Paresh15 C and C++ 4 01-05-2009 07:49 AM
VBScript call function *.dll .net jporras QTP 2 02-22-2008 02:40 AM
Run the Vbscript File pradeep_m QTP 1 01-15-2008 02:12 AM
How to run the Bath file using QTP/Vbscript pradeep.madishetti QTP 1 01-09-2008 10:09 AM
How can i call that function? JobHelper Java 1 12-06-2006 03:16 AM


All times are GMT -4. The time now is 01:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved