Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Why don't these commands work together?

Author
Message
Brally
2
Years of Service
User Offline
Joined: 3rd Nov 2014
Location:
Posted: 13th Oct 2015 15:11
I can't seem to get
execute file "iexplore.exe","","C:\Program Files\Internet Explorer",1
to work with
T = Timer()+3600000
Repeat
`Code Here!
Until t <= Timer()

My program doesn't start Internet Explorer when I try it.

I don't get any errors or anything, just the DarkBasic Pro program window.

How do I get them to work together?
I speak English, I don\'t speak DarkBASIC!
WickedX
8
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 13th Oct 2015 18:39
For some reason the executable iexplorer.exe itself is blocked from execution with the commands Execute File and Execute Executable. I tried setting the path to the file before the command with Set Dir and running as administrator. This however works.

+ Code Snippet
Brally
2
Years of Service
User Offline
Joined: 3rd Nov 2014
Location:
Posted: 13th Oct 2015 20:22
Thanks, that worked better than expected. I needed the web browser to go directly to a specific page for my program to work, I had no idea that you could make DarkBasic Pro do that!

Now I have that sorted out, I'm hoping I can get the rest of my code working.

For my program to work, I'll need to automate mouse movements/clicks and keyboard presses. I can use the mouse commands to interact with the on-screen keyboard that comes with Windows.

I consider myself to be somewhat of an expert when it comes to the mouse commands in DarkBasic Pro., so I shouldn't need any help in that area.

I should be able to manage with the rest of my code now.
I speak English, I don\'t speak DarkBASIC!

Login to post a reply

Server time is: 2017-06-29 01:28:56
Your offset time is: 2017-06-29 01:28:56