VB.Net and Cobol Integration Question


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: VB.Net and Cobol Integration Question

  1. #1
    Kevin Guest

    VB.Net and Cobol Integration Question


    We have a tool bar that was created in Cobol that we want to use in .Net.
    The problem is that some of the parameters are listed like this in Cobol:
    P-O-Data-String. So when we inherit from the toolbar, VB.net doesn't interpret
    the '-' properly and it comes out like this: p(-O -Data -String). Anyone
    know how to explain to vb.net that this is just a variable name and not some
    kind of parsed subroutine?

    Thanks!!!!

  2. #2
    Rune Bivrin Guest

    Re: VB.Net and Cobol Integration Question

    "Kevin" <kreece@nccusa.com> wrote in news:3e5a6bc2$1@tnews.web.devx.com:

    >
    > We have a tool bar that was created in Cobol that we want to use in
    > .Net. The problem is that some of the parameters are listed like this
    > in Cobol: P-O-Data-String. So when we inherit from the toolbar, VB.net
    > doesn't interpret the '-' properly and it comes out like this: p(-O
    > -Data -String). Anyone know how to explain to vb.net that this is just
    > a variable name and not some kind of parsed subroutine?
    >
    > Thanks!!!!


    Try enlosing the name in square brackets: [P-O-Data-String]

    --
    Rune Bivrin
    - OOP since 1989
    - SQL Server since 1990
    - VB since 1991

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center