Since build 600 Feb 2014, all strings are Unicode. ShellExecuteA must be changed to ShellExecuteW. See also https://www.mql5.com/en/forum/155323
Write a text file with .URL extension and then shell that. The URL extension will open the default browser.
[InternetShortcut]
URL=https://www.mql5.com/en/forum/110049
el3reef:
You just have to change the default setting in menu Tools->Options, Experts Advisors tab. Do it at your own risks.
it worked but i must make true on "allow dll imports"
i want to open url after clicking on script Immediately :(
el3reef :
could you share that code
funcionó, pero debo hacer realidad en "permitir importaciones de dll "
Quiero abrir la URL después de hacer clic en el script inmediatamente :(
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
i'm trying to open a url in a web browser by a EA
i tried to search an a found this topic
https://forum.mql4.com/14282
i think it is close from that i want but the code is not work because it is not tested and it made to open file not a url
I hope to find help here
thanks