I am trying to display website from OI.
1. If I use OLE control and call
Explorer using url.display =Start_Window('STUDENT_ENROL_URL', 'STUDENT_RETURNS', url, 0, ''), there is no property (eg. scroll bars, etc). How can I put scroll bars in OLE control?
2. If I call Explorer directly using
x=utility("RUNWIN","C:\Program files\Internet Explorer\Iexplore.exe ":url,1), the explorer kills OI. I preper this way. How can I make explorer not to kill OI.
3. We have had this problem for a long time. So many clients complained about OI crushing when they start MS explorer. I tried to find answer but not much. Out version is OI 8.0.1. It is urgent now.
Can someone help me?
Perhaps try this and see if it works for you:
hwnd=get_Property( @window, "HANDLE" )
lpOperation=open" : \00\
lpFile=http://www.xxx.com/": \00\
lpParameters=\00\
lpDirectory=\00\
nShowCmd=1
Call ShellExecute( hwnd, lpOperation, lpFile, lpParameters, lpDirectory, nShowCmd )
1. I checked my sysproc dll_shcell
SHELL32
HANDLE STDCALL ShellExecuteA( HANDLE, LPCHAR, LPCHAR, LPCHAR, LPCHAR, INT ) As ShellExecute
I did run declare_fcns 'dll_shell'
I copied codes what Colin suggested.
And I've got error message
"The application or DLL c:\windows\system32\shell.dll is not a valid Windows imageā¦."
Do I have to copy shell.dll?
2. If I am using OI and opening MS explorer, OI always crash. It looks like it is related with Menu. Do you have any idea?
You have do this in DLL_SHELL32 and
run declare_fcns "DLL_SHELL32"
I made in Dll_shell32 and did run declre_fnc.
But it keeps saying same error.
If you did not already do this, you need to to the DECLARE_FCNS in SYSPROG.
Yun,
Is the problem still present if you upgrade to OI8.03 ?(lots of fixes and more solid).
Richard Bright
Thanks Colin,
Still same error.
We will upgrade to OI8.0.3 and I will test again.
Yun Lee,
For interest I revisted some of my ocx control - browser code and identified the quite simple resolution to your problem ie to get scrollbars. Just ran out of time to take Robin Tinker thru the example last Friday.
Will post a brief note in the Works section.
Richard Bright
BrightIdeas New Zealand