Results 1 to 4 of 4

Thread: Whats the VB version of C# extern? <Resolved>

Threaded View

  1. #1

    Thread Starter
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339

    Whats the VB version of C# extern? <Resolved>

    How do you translate this to VB?

    [DllImport("shell32.Dll")]
    public static extern System.Int32 Shell_NotifyIcon(NotifyCommand cmd, ref NotifyIconData data);


    Here is what I have but I don't know what the VB version of extern is?

    <DllImport("shell32.Dll")> _
    Public Shared External Function Shell_NotifyIcon(ByVal cmd As NotifyCommand, ByRef data As NotifyIconData) As Int32
    Last edited by Edneeis; Dec 19th, 2002 at 01:10 PM.

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