Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Working with VB.net and VB6 together

  • 16-10-2008 8:44am
    #1
    Closed Accounts Posts: 2,268 ✭✭✭


    I wonder if someone can help me.

    I have a VB.net application which is trying to open a VB6 Application.
    I have added the dll for the VB6 app.
    I have referenced the dll in my VB.net app.
    The vb6 reference is called VB6Departments

    Now when I type VB6Departments I can see a method in the VB6 app which is called LaunchDepts.

    It then prompts me for (byref idept as int) BUT when I try to pass in
    my own idept variable it throws an error.

    The error is
    Object Variable or With Block Variable not set



    Any suggestions.


Comments

Advertisement