Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Using AutoITX in Visual Basic 6 Demo available


  • Please log in to reply
11 replies to this topic

#1 sl_alagappan

sl_alagappan

    Wayfarer

  • Active Members
  • Pip
  • 91 posts

Posted 27 August 2004 - 09:44 AM

Have attached a zip containing a very small project just to show how to use AutoItX DLL in Visual Basic6.

It will check whether notepad window is open. If not, it will open Notepad and send some text to the notepad.

Could be useful for the beginners to start with.

Attached Files


Edited by sl_alagappan, 30 August 2004 - 03:17 AM.

Alagappan S.L.







#2 bshoenhair

bshoenhair

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 307 posts

Posted 27 August 2004 - 02:09 PM

Good Idea,

You did not recognize it because you did not add Option Explicit but:

You have a typo that should be corrected

Set cauotoit = Nothing

Should be

Set cAutoit = Nothing

#3 bigred

bigred

    Adventurer

  • Active Members
  • PipPip
  • 108 posts

Posted 27 August 2004 - 11:33 PM

Ah, very good idea. Posted Image

#4 sl_alagappan

sl_alagappan

    Wayfarer

  • Active Members
  • Pip
  • 91 posts

Posted 30 August 2004 - 03:20 AM

fixed the small bugs mentioned by bshoenhair and did modified post.

Thanks.
Alagappan S.L.

#5 EvilGost

EvilGost

    Seeker

  • New Members
  • 9 posts

Posted 13 April 2005 - 10:19 AM

Excellent, this example helped me :)
thanks

#6 sl_alagappan

sl_alagappan

    Wayfarer

  • Active Members
  • Pip
  • 91 posts

Posted 13 April 2005 - 12:01 PM

Excellent, this example helped me :)
thanks

<{POST_SNAPBACK}>

The actual credit goes to Jon and all the AutoIT Developer Team
who hv made this fantastic very useful program!
Alagappan S.L.

#7 Guest_j_buzbee_*

Guest_j_buzbee_*
  • Guests

Posted 16 April 2005 - 08:14 AM

ok i am having trouble identifying a couple thing in .net
_ArrayCreate , is this supported with the dll or not
i have tried several things to make it work but nope it wont

#8 Jos

Jos

    ...

  • Developers
  • 23,223 posts

Posted 16 April 2005 - 09:11 AM

ok i am having trouble identifying a couple thing in .net
_ArrayCreate  , is this supported with the dll or not
i have tried several things to make it work but nope it wont

<{POST_SNAPBACK}>

_????? functions are UDF's (User Defined Functions, which are functions coded in regular AutoIt3 syntax. so they will not work in the dll version since it requiers an #include <array.au3> .......

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#9 Fabiam

Fabiam

    Seeker

  • Active Members
  • 10 posts

Posted 15 November 2006 - 09:39 PM

Hallo,

thanks for the Sample.

Onew Question: What is the way to get Autoit variablen in VB i.E. @ComputerName, @IPAddress1,.. ?

Fabian

#10 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 10,298 posts

Posted 16 November 2006 - 11:11 PM

You can't. You need to find a native way to learn such information.

#11 janus96

janus96

    Seeker

  • Active Members
  • 12 posts

Posted 02 October 2007 - 08:08 PM

Have attached a zip containing a very small project just to show how to use AutoItX DLL in Visual Basic6.

It will check whether notepad window is open. If not, it will open Notepad and send some text to the notepad.

Could be useful for the beginners to start with.


Thanks very much. Indeed this is VERY helpful. I had zero experience in using AutoIt as an ActiveX object from within Visual Basic (2005) and this got me started right away. This should stay on top of the ActiveX forum.

#12 rafu5418

rafu5418

    Seeker

  • Active Members
  • 29 posts

Posted 06 June 2010 - 06:11 PM

Dear sir,
do you have more sample of how to use AutoItX DLL in Visual Basic6?
and another thing i want to know can i able to run 'autoit script as asusal' in the vb6?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users