Jump to content
Sign in to follow this  

Using DLL in VB6

Recommended Posts

When I'm in the VB6 and run my program autoit commands work properly but when I compile the program and run it it does not run any auto commands. It is like it skips over them. Anyone have any ideas?

Share this post

Link to post
Share on other sites

Did-you use Autoitx like a dll or like an activeX ?

In first case Have-you registered Autoitx3.dll ?

VB6 instruction for registering and after using AutoItx3

Set WshShell = CreateObject("WScript.Shell")
WshShell.run "Regsvr32 /s AutoItX3.dll ", 0, True
Set AutolIt = CreateObject("AutoItX.Control")
AutolIt.SetTitleMatchMode 2
AutolIt.SetKeyDelay 20

Hope that's help you

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...