Mixed language programming in VB.NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert S. Liles

    Mixed language programming in VB.NET

    I have recently migrated from Microsoft Professional Development System
    Version 7.1 (I know I am in the stone age >G<) to Microsoft Visual
    Basic.NET. I am used to writing time critical or very repetitive routines
    in Assembly language and linking them into my Basic PDS programs to greatly
    enhance execution speed. I can find no information on doing this in VB.NET.
    Can someone point me to a resource that will tell me how to pass arguments
    to an assembly routine? I know how to create system .DLL files from
    assembly so I assume I can call them from VB, but I don't know how to pass
    the data, especially strings.

    TIA, Bobbo


  • Rick Rothstein

    #2
    Re: Mixed language programming in VB.NET

    Almost everybody in this newsgroup is using VB6 or lower. While you may
    get a stray answer to VB.NET (including VB2003 and VB2005 which has
    dropped .NET from its name) questions here, you should ask them in
    newsgroups devoted exclusively to .NET programming. Look for newsgroups
    with either the word "dotnet" or "vsnet" in their name.

    For the microsoft news server, try these newsgroups...

    microsoft.publi c.dotnet.genera l
    microsoft.publi c.dotnet.langua ges.vb
    microsoft.publi c.vsnet.general

    There are some others, but these should get you started.

    --
    Rick - MVP
    Sign up now to help keep VB support alive -




    "Robert S. Liles" <rliles@midsout h.rr.com> wrote in message
    news:M9iYd.890$ VV6.178@fe1.col umbus.rr.com...[color=blue]
    > I have recently migrated from Microsoft Professional Development[/color]
    System[color=blue]
    > Version 7.1 (I know I am in the stone age >G<) to Microsoft Visual
    > Basic.NET. I am used to writing time critical or very repetitive[/color]
    routines[color=blue]
    > in Assembly language and linking them into my Basic PDS programs to[/color]
    greatly[color=blue]
    > enhance execution speed. I can find no information on doing this in[/color]
    VB.NET.[color=blue]
    > Can someone point me to a resource that will tell me how to pass[/color]
    arguments[color=blue]
    > to an assembly routine? I know how to create system .DLL files from
    > assembly so I assume I can call them from VB, but I don't know how to[/color]
    pass[color=blue]
    > the data, especially strings.
    >
    > TIA, Bobbo
    >
    >[/color]

    Comment

    • Rick Rothstein

      #3
      Re: Mixed language programming in VB.NET

      Almost everybody in this newsgroup is using VB6 or lower. While you may
      get a stray answer to VB.NET (including VB2003 and VB2005 which has
      dropped .NET from its name) questions here, you should ask them in
      newsgroups devoted exclusively to .NET programming. Look for newsgroups
      with either the word "dotnet" or "vsnet" in their name.

      For the microsoft news server, try these newsgroups...

      microsoft.publi c.dotnet.genera l
      microsoft.publi c.dotnet.langua ges.vb
      microsoft.publi c.vsnet.general

      There are some others, but these should get you started.

      --
      Rick - MVP
      Sign up now to help keep VB support alive -




      "Robert S. Liles" <rliles@midsout h.rr.com> wrote in message
      news:M9iYd.890$ VV6.178@fe1.col umbus.rr.com...[color=blue]
      > I have recently migrated from Microsoft Professional Development[/color]
      System[color=blue]
      > Version 7.1 (I know I am in the stone age >G<) to Microsoft Visual
      > Basic.NET. I am used to writing time critical or very repetitive[/color]
      routines[color=blue]
      > in Assembly language and linking them into my Basic PDS programs to[/color]
      greatly[color=blue]
      > enhance execution speed. I can find no information on doing this in[/color]
      VB.NET.[color=blue]
      > Can someone point me to a resource that will tell me how to pass[/color]
      arguments[color=blue]
      > to an assembly routine? I know how to create system .DLL files from
      > assembly so I assume I can call them from VB, but I don't know how to[/color]
      pass[color=blue]
      > the data, especially strings.
      >
      > TIA, Bobbo
      >
      >[/color]

      Comment

      • Robert Liles

        #4
        Re: Mixed language programming in VB.NET

        Thank you, I will look there.

        Bobbo
        _______________ _______________ _______________

        "Rick Rothstein" <rickNOSPAMnews @NOSPAMcomcast. net> wrote in message
        news:b9-dnWmD1oryJ6zfRV n-vA@comcast.com. ..[color=blue]
        > Almost everybody in this newsgroup is using VB6 or lower. While you may
        > get a stray answer to VB.NET (including VB2003 and VB2005 which has
        > dropped .NET from its name) questions here, you should ask them in
        > newsgroups devoted exclusively to .NET programming. Look for newsgroups
        > with either the word "dotnet" or "vsnet" in their name.
        >
        > For the microsoft news server, try these newsgroups...
        >
        > microsoft.publi c.dotnet.genera l
        > microsoft.publi c.dotnet.langua ges.vb
        > microsoft.publi c.vsnet.general
        >
        > There are some others, but these should get you started.
        >
        > --
        > Rick - MVP
        > Sign up now to help keep VB support alive -
        > http://classicvb.org/petition
        >
        >
        >
        > "Robert S. Liles" <rliles@midsout h.rr.com> wrote in message
        > news:M9iYd.890$ VV6.178@fe1.col umbus.rr.com...[color=green]
        >> I have recently migrated from Microsoft Professional Development[/color]
        > System[color=green]
        >> Version 7.1 (I know I am in the stone age >G<) to Microsoft Visual
        >> Basic.NET. I am used to writing time critical or very repetitive[/color]
        > routines[color=green]
        >> in Assembly language and linking them into my Basic PDS programs to[/color]
        > greatly[color=green]
        >> enhance execution speed. I can find no information on doing this in[/color]
        > VB.NET.[color=green]
        >> Can someone point me to a resource that will tell me how to pass[/color]
        > arguments[color=green]
        >> to an assembly routine? I know how to create system .DLL files from
        >> assembly so I assume I can call them from VB, but I don't know how to[/color]
        > pass[color=green]
        >> the data, especially strings.
        >>
        >> TIA, Bobbo
        >>
        >>[/color]
        >[/color]


        Comment

        • Robert Liles

          #5
          Re: Mixed language programming in VB.NET

          Thank you, I will look there.

          Bobbo
          _______________ _______________ _______________

          "Rick Rothstein" <rickNOSPAMnews @NOSPAMcomcast. net> wrote in message
          news:b9-dnWmD1oryJ6zfRV n-vA@comcast.com. ..[color=blue]
          > Almost everybody in this newsgroup is using VB6 or lower. While you may
          > get a stray answer to VB.NET (including VB2003 and VB2005 which has
          > dropped .NET from its name) questions here, you should ask them in
          > newsgroups devoted exclusively to .NET programming. Look for newsgroups
          > with either the word "dotnet" or "vsnet" in their name.
          >
          > For the microsoft news server, try these newsgroups...
          >
          > microsoft.publi c.dotnet.genera l
          > microsoft.publi c.dotnet.langua ges.vb
          > microsoft.publi c.vsnet.general
          >
          > There are some others, but these should get you started.
          >
          > --
          > Rick - MVP
          > Sign up now to help keep VB support alive -
          > http://classicvb.org/petition
          >
          >
          >
          > "Robert S. Liles" <rliles@midsout h.rr.com> wrote in message
          > news:M9iYd.890$ VV6.178@fe1.col umbus.rr.com...[color=green]
          >> I have recently migrated from Microsoft Professional Development[/color]
          > System[color=green]
          >> Version 7.1 (I know I am in the stone age >G<) to Microsoft Visual
          >> Basic.NET. I am used to writing time critical or very repetitive[/color]
          > routines[color=green]
          >> in Assembly language and linking them into my Basic PDS programs to[/color]
          > greatly[color=green]
          >> enhance execution speed. I can find no information on doing this in[/color]
          > VB.NET.[color=green]
          >> Can someone point me to a resource that will tell me how to pass[/color]
          > arguments[color=green]
          >> to an assembly routine? I know how to create system .DLL files from
          >> assembly so I assume I can call them from VB, but I don't know how to[/color]
          > pass[color=green]
          >> the data, especially strings.
          >>
          >> TIA, Bobbo
          >>
          >>[/color]
          >[/color]


          Comment

          • Jason Keats

            #6
            Re: Mixed language programming in VB.NET

            Robert S. Liles wrote:[color=blue]
            > I have recently migrated from Microsoft Professional Development
            > System Version 7.1 (I know I am in the stone age >G<) to Microsoft
            > Visual Basic.NET. I am used to writing time critical or very
            > repetitive routines in Assembly language and linking them into my
            > Basic PDS programs to greatly enhance execution speed. I can find no
            > information on doing this in VB.NET. Can someone point me to a
            > resource that will tell me how to pass arguments to an assembly
            > routine? I know how to create system .DLL files from assembly so I
            > assume I can call them from VB, but I don't know how to pass the
            > data, especially strings.
            >
            > TIA, Bobbo[/color]

            I believe you should search for help on PInvoke.

            However, as this group is for "classic" Visual Basic (ie VB6 and earlier),
            you should be asking your questions in a dotnet group, eg:

            microsoft.publi c.dotnet.genera l
            microsoft.publi c.dotnet.langua ges.vb



            Comment

            • Jason Keats

              #7
              Re: Mixed language programming in VB.NET

              Robert S. Liles wrote:[color=blue]
              > I have recently migrated from Microsoft Professional Development
              > System Version 7.1 (I know I am in the stone age >G<) to Microsoft
              > Visual Basic.NET. I am used to writing time critical or very
              > repetitive routines in Assembly language and linking them into my
              > Basic PDS programs to greatly enhance execution speed. I can find no
              > information on doing this in VB.NET. Can someone point me to a
              > resource that will tell me how to pass arguments to an assembly
              > routine? I know how to create system .DLL files from assembly so I
              > assume I can call them from VB, but I don't know how to pass the
              > data, especially strings.
              >
              > TIA, Bobbo[/color]

              I believe you should search for help on PInvoke.

              However, as this group is for "classic" Visual Basic (ie VB6 and earlier),
              you should be asking your questions in a dotnet group, eg:

              microsoft.publi c.dotnet.genera l
              microsoft.publi c.dotnet.langua ges.vb



              Comment

              Working...