|
-
Feb 2nd, 2001, 04:50 PM
#1
Thread Starter
PowerPoster
How do Use and it
Hi!
How do I use and get the MS scripting control?
-
Feb 2nd, 2001, 07:01 PM
#2
transcendental analytic
to add it to your project:
Press Ctrl+T and check Microsoft Scripting Control, OK
If it's not there, get Msscript.ocx from anyone
for an example
add two textboxes and a mscript control, and add paste code:
Code:
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
On Error Resume Next
If KeyCode = vbKeyReturn Then
ScriptControl1.ExecuteStatement Text1
If Err Then Text2 = Err.Description Else Text2 = ""
End If
End Sub
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Feb 2nd, 2001, 07:41 PM
#3
Thread Starter
PowerPoster
I don't have it
Hi I have visual basic 5 and I have "Microsoft Script control 1.0" but when I click on it it returns an error than this control cannot be loaded.
Any help again?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|