Read data from PC port code example: VB6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • archdin
    New Member
    • May 2008
    • 1

    Read data from PC port code example: VB6.0

    Hello experts,

    I m working in SAP.

    But this time i m working on program of weighbridge.

    An ABAP application is developed to get the vehicle and material information along with the gross and tare weight of vehicles. [U]The application executes a visual basic program on the local PC that captures [/U] weight data from the Avery digitizer and generates an unique weighment-id for every weighment. Against the weighment-id vehicle and material information is stored , depending on the type of material transfer (e.g. Production Material , Dispatch, Receipt, Miscellaneous ).This weighment id is further used for posting Goods Receipt , Production Booking and creating dispatch documents through standard SAP transactions. Field-Exits are used to populate the weight and vehicle information automatically against a weighmentпїЅid. Further, BADI ( Business Add-in ), at the time of material document save, is used to set the status of the weighment-id as completed.

    Avery digitizer is connected to the PC - Port. Function Modules 'WS_EXECUTE' is used to execute the external VB program which copies the PC's port data to clipboard. Further, function module 'CLPB_IMPORT' is used to get the weight data from clipboard.

    this is the explanation of my program.But now wht i wnt u know.I wnt tht small program in VB which copies the PC's port data to clipboard.

    i don't know how to write this program.Plz anyone can help me for this.It's very urgent one.

    I hope for positive reply.I just wnt tht small program code in VB.

    Regards,
    Archana
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Alright, good buddy, here is what I could find, the rest is in your hands, might not be much but it relates to paralel ports:



    You can also fetch my results, see what you have accomplished:



    I also changed your title to allow better hits to your question.

    Dököll

    Comment

    Working...