Results 1 to 3 of 3

Thread: New programming language

  1. #1

    Thread Starter
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827

    How do Use and it

    Hi!
    How do I use and get the MS scripting control?
    Baaaaaaaaah

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    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.

  3. #3

    Thread Starter
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827

    Red face 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?
    Baaaaaaaaah

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width