Sign in to follow this  
Followers 0
luckyluke

What am i missing?

6 posts in this topic

Hi, i get a problem with my code. In my computer the command "_IENavigate($oIE, "http://www.vinaphone.com.vn/messaging/sms/sms.do")" work normally. But when i compile it to an exe file and run on other computer it not run, i dont know why, i need some help.

Here is it:

#include <GUIConstants.au3>
#include <IE.au3>

Opt("TrayMenuMode",1)

$Form1_1 = GUICreate("SMS-Vinaphone.com.vn", 602, 555, 187, 123)
GUISetBkColor(0xC0C0C0)

GUISetState(@SW_SHOW, $Form1_1)

Global $total_free

$oIE = _IECreateEmbedded ()
GUICtrlCreateObj($oIE, 8, 8, 585, 500)
_IENavigate($oIE, "http://www.vinaphone.com.vn/messaging/sms/sms.do"); It's not working on other computer

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

EndSwitch
WEnd

Share this post


Link to post
Share on other sites



@luckyluke

work fine for me when its compiled or not :)

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

i compile it and run on other computer that dont install autoit, it dont work

Share this post


Link to post
Share on other sites

Are you sure that you COMPILE the script before?

Share this post


Link to post
Share on other sites

yes, any body help me, i dont know why

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

@luckyluke

i compile it and run on other computer that dont install autoit, it dont work

If script is compiled so if AutoIt is installed or not on your computer this should work...

Cheers, FireFox.

Edited by FireFox

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

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  
Followers 0