Quick Search for:  in language:    
VBA,VOTE,FIND,Folks,Hurray,made,Dont,shiver,w
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,156,976. lines
 Jobs: 146. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
 
PDC 2003: Make the connection
Login



Latest Code Ticker for Visual Basic.
Boggle!
By Aaron Schulz on 9/6


Click here to see a screenshot of this code!Tic Tac Toe Game (vbscript)
By saeed serpooshan 2 on 9/6

(Screen Shot)

TransparentForm
By Mayur Kotlikar on 9/6


Click here to see a screenshot of this code!EssentialClassi cs(Newest Update!!!)
By Evan Toder on 9/6

(Screen Shot)

DirectX, drive a car around
By Xoff on 9/5


Small Network Toolkit
By Xoff on 9/5


JPeg Exif Reader & Changer
By Xoff on 9/5


Click here to see a screenshot of this code!Connection Monitor (Firewall) Updated
By JayStacey on 9/5

(Screen Shot)

Click here to see a screenshot of this code!MP3 Organizer
By Werks4U on 9/5

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Script Engine: Allow end users to extend your app using VB

Print
Email
 
winzip icon
Submitted on: 5/29/2000 5:52:26 PM
By: Anoop Madhusudanan  
Level: Advanced
User Rating: By 35 Users
Compatibility:VB 5.0, VB 6.0

Users have accessed this code 15713 times.
 

(About the author)
 
     Hi Folks: Hurray, I made that!!. Dont shiver with excitation, but now you can interpret VBScript to extend the interfaces of your application. Allow your end users to extend your program using the power of Visual Basic. Hm.., I can't find any reason for these US Software companies not to provide me an H1 visa to join them :). You can interpret VB from your own application. Getting a little confused? Imagine this. Your end users can write VB code to extend your application interfaces. Simply like Microsoft uses VBA to extend Microsoft Office, you can now use VBScript to extend your apps. This means that you can allow your users to develop custom scripting, and you can make programs that work on macros. Amazing, right? In this engine, I shows you how to add forms and class interfaces to the Script Control. Just run the application before even taking a look at the code. One last word, VOTE FOR ME IF YOU FIND THIS USEFULL::: Also, r u a US based programmer? I am looking for creating tie-ups with established US companies for implementing Web Phone services and Voice chat apps using the latest broadcasting technology I developed, and is planning to relocate to US shortly. Kindly visit my website http://www.geocities.com/streamingaudio if u have enough time. I would be gratefull if you can provide me information regarding finding investors/sponsors in US for my ventures. Regards, Anoop,anoopj12@yahoo.com, http://www.geocities.com/streamingaudio

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 11 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
5/29/2000 8:22:29 PM:\/îÞè® Tè¢.
Where can I download msscript.ocx?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/29/2000 10:43:00 PM:Chris
This is brilliant.  Exactly what I 
needed.  Thanks!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/29/2000 10:43:34 PM:Anoop
It comes as a part of Microsoft 
Development Environment. I think it 
will get installed on your system with 
PWS/IIS
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/30/2000 12:37:04 AM:Detonate
WOOOHOOO! Excellent !
Been looking for 
something like this since I was 7 ! 

Very nice :-)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/30/2000 1:10:57 AM:ARRiVE
This is great! I have been wondering on 
how to do this! 
Thanks
ARRiVE
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/30/2000 2:18:30 AM:AnDy2552
I have written programs using the ms 
script control before, so it is not 
something new.
Anyhow a good way to 
teach ppl. over the PSC community. Keep 
it up.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/30/2000 4:54:36 AM:Da_Mental_One
This Is Kewl! :)  Just The Sort Of 
Added Functionality That VB End Users 
Will Want! :)  Keep It Up!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/30/2000 5:07:49 AM:\/îÞè® Tè¢.
Does anyone know where I can download 
msscript.ocx. I used to have it, but my 
 comp got destroyed (burrned to death 
in fire,   that sux...)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/30/2000 1:28:53 PM:Marty
The msscript control and doumentation 
can be obtained from 
file
sct10en.exe at 
http://msdn.microsoft.com/scripting/
default.htm?/scripting/scriptcontrol/def
ault.htm
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/8/2000 8:59:49 AM:the juggalo
wow, i've been looking for a way to do 
this for a while.  this is definately 
going in my windows shell enhancement 
i'm doing and you're getting your name 
in big letters on the 'about this 
program' page.  thanks man.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/11/2000 4:04:16 PM:Steve G
I click the link and the file no longer 
exists.....Whats up with that?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/17/2000 7:49:41 PM:Oscar Hernandez
Excellent Job!!!!
just a great piece 
of code...
go on...!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/28/2000 8:15:28 PM:bo
you can get the script control 
fromhttp://guest.btinternet.com/~awingro
ve/scripting/download/sct10en.exe
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/30/2000 10:52:48 AM:Detonate
Does anybody know of a way to activate 
events using ScriptControl.State = 
Connected ?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/3/2000 7:40:03 PM:Skull Dugrey
Well commented, easy to understand. 
Simple, easy to use interface. For some 
reason I could never get the Script 
Control to work before, I knew it had 
to be easy. I like it, thank you.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/20/2000 5:49:23 AM:handbrake
How can I detect an event, eg a click 
on a button, in a script? Is it 
possible?
Thanks.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/28/2001 10:33:25 AM:Manuel Fernandez
Well done, Anoop!, you just got 4 
globes from me 'cause you didn't show 
methods and properties of the classes 
inside the script. Otherwise this would 
have been a five globes code... Maybe 
next version??? :)
Keep up the good 
work...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/8/2001 2:55:08 AM:Andy
Hi, 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/8/2001 2:34:39 PM:Dion Campbell
Howdy,
For anyone wanting more 
information about using the script 
control to customise their apps, the 
following resources may be 
useful:
Visual Basic Programmers 
Journal, November 2000
Script 
control and doucmentation - 
msdn.microsoft.com/scripting
Various 
Microsoft Knowledge Base articles 
(search.support.microsoft.com/kb/c.asp) 
such as Q185889, Q184740, Q184745, 
Q185697, Q184742, Q184743, Q185461, 
Q184741.
This list of references 
comes from the VBPJ article Make Your 
Apps Scriptable.
Happy programming!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/8/2001 2:35:00 PM:Peter
Wouldn't using Microsoft's VBA SDK 
perform a lot better and provide 
universal connectivity between other 
programs?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/9/2001 12:38:02 PM:H3c70r R4u1
Hi, I'm from Mexico and let me tell you 
that i admire you people from India, in 
my opinion you are actually who have 
most advanced knowledge about 
programing, i hope to go soon there to 
learn a lot of you... about the code, 
it's very good 'cause i'm learning 
vbscripts...
bye and thanks.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/29/2001 12:04:09 AM:Douglas
Wonderful code, boy.
I see about 
script control, but not with 
explanation. 
Clever!
Please, The 
search engine Brasilian arent good to 
site Indian. Please, give me example of 
goods Indian sites about VB.  
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/19/2001 7:33:21 PM:Jeff Kern / Lucky Strike Designs
KICK A$$ CODE!  Actually, letting users 
extend your program is a good idea, but 
it works even better in a video game!  
You write the scripts into separate 
files, and load each script into the 
game, when it is needed!  It would save 
time, space, and energy instead of 
making a different subroutine for each 
(script), especially if you only need 
to use it once!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/16/2002 10:00:16 PM:Keir Gordon
Very nice, I knew this could be done, 
but was not sure how to implement it.  
Got my vote.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/4/2002 12:32:28 AM:Andrew
Great Work Man!!!!!!!!!! 5 Globes from 
moi!!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/29/2002 4:42:23 PM:Klemens
Beautiful Code! 5 Globes from 
me!
How can I detect an event (click 
on a button) in a script? Is it 
possible?
I search on the 
ms-homepage, but i don't found a 
suitable code!
Please help 
me!
Thanks.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/5/2002 12:06:02 AM:Randy Girard
hmmmm, I was working on something just 
like this not to long ago, but quit cuz 
I got bored with it. I was just thinkin 
about startin it up again and I saw 
this *DOH!* all well. Looks like you 
did a nice job... I may use some of the 
source code if it's ok, in a program 
I'm workin on (allows users to 
customize it through the scripts, etc) 
you'll get credit.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/10/2002 9:04:34 PM:Randy Girard
I was just lookin at your code... and I 
decided I'm gonna finish my version and 
submit it to psc... cuz mine, you can 
add forms, controls, etc at runtime, 
and other options which yours does not 
(I should say YET) support. it's not 
bad though
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.