Internet Explorer Questions
Posted on 2003-10-31
I have an autorun file which calls an exe called setup.exe
i am writing setup.exe in vb6.
This setup.exe has no form and it only calls and displays "main.htm".
I need to set the size of this HTML page in code in VB, i know of the parameters
SW_MINIMIZED, SW_MAXIMIZED, ETC.
This is my current command:
ShellExecute(hWnd, "open", URL, vbNullString, vbNullString, WindowState).
I would like to set the size say of the Main.htm that is being displayed to
Say Height = X and Width = Y.
but everytime i press it, it asks confirmation on if it should close
and last Q:
i have an install button on the HTML page which links to
install.exe but i dont want the user to have to select open or save or cancel, like it currently does.
It should just start install.exe