Results 1 to 4 of 4

Thread: How to access an Active X Control module

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2015
    Posts
    53

    How to access an Active X Control module

    Hi, I'm trying to upgrade the visual basic 6 code to vb.net. I'm pretty new to this language..

    So I'm trying to read the visual basic 6 code, and I noticed there were lines such as:

    LoadComm.SetLoadSendOneCommBuf
    LoadComm.GetLoadReturnParam(CommPort)

    I want to understand what these lines are doing.

    I noticed that loadComm is the name of an active X control

    When I click definition of loadComm, I see that ActiveLoadProj is a class (member of ACTIVELOADPROJLib) and I see these functions are in the members of ActiveLoadProj.

    How do I see the code for the functions though?

  2. #2
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: How to access an Active X Control module

    Upgrade... or downgrade? All in the eye of the beholder I'd say.


    Sounds simple enough: get the source code for ACTIVELOADPROJLib and read through it.

    Without that there is nothing to be done.

  3. #3
    Lively Member
    Join Date
    Apr 2015
    Posts
    120

    Re: How to access an Active X Control module

    If I’m not wrong , not even MS was calling it as “Upgdade” . They used the term “migrate”.

  4. #4
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: How to access an Active X Control module

    As stated, not likely to decompile the code. Sometimes you can get a clue if the author included them...

    The object browser (F2) within VB will let you see the methods & properties of the ActiveX control. And if the author included any brief description of the methods/properties, you'd be able to see them for the highlighted entries within the object browser. Best bet is to try to locate some real documentation that describes the control in detail.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Tags for this Thread

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