Results 1 to 2 of 2

Thread: New to .NET

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    68

    New to .NET

    Hello, I am new to VB.NET, I programmed in VB6 before. I converted a project to .NET and now I am forced to rewrite some of my declarations.

    According to AllAPI.net

    ShellExecute is System.Diagnostics.Process

    Can anyone give me an example of how to call it in a module and how to use it in a sub? Also, how would I declare CopyMemory()?
    -Maddox

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    It works the same way no matter where you call it from:
    VB Code:
    1. 'if the path is part of the system path
    2. System.Diagnostics.Process.Start("notepad.exe")
    3. 'if not then just include the path
    4. System.Diagnostics.Process.Start("c:\Program Files\SomethingElse.exe")

    What are you using CopyMemory for? There may be a new .NEt replacement.

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