06-20-2014, 03:19 AM
I am getting the following error:
0x800700AA, The requested resource is in use.
It happens at this line: we3.Navigate(navigate_sidepanel_to), see below.
I have truncated some code to keep it readable
Function akdnotes_dlg
.
.
.
Function akdnotes_dlg
It regards a dialog that acts as a side panel on a texteditor.
When the texteditor switches from tab OR opens new textfile, the side panel has a "SHDocVw.WebBrowser" (created in QM) which switches to a certain folder.
The error occurs when I open a file that is already opened, the QM code gives me the error
At this line
The texteditor is AkelPad and I am currently trying to solve it script wise from AkelPad's side.
But I was hoping If there was some kind of "checking mechanism" that checks if the resource within "we3.Navigate(navigate_sidepanel_to)" is in use.
(I do not know If am using the correct terms here)
(pseudo code) something like:
if (we3.Navigate not in use)
code....
0x800700AA, The requested resource is in use.
It happens at this line: we3.Navigate(navigate_sidepanel_to), see below.
I have truncated some code to keep it readable
Function akdnotes_dlg
.
.
.
Function akdnotes_dlg
,case WM_APP+177
,,out "message ok:"
,,__SharedMemory sm
,,lpstr m=sm.Open("Global\AkelPad")
,,str incoming_path=m
,,if(!empty(m))
,,,navigate_sidepanel_to=incoming_path.getpath
,,,we3._getcontrol(id(3 hDlg))
,,,we3.Navigate(navigate_sidepanel_to)
It regards a dialog that acts as a side panel on a texteditor.
When the texteditor switches from tab OR opens new textfile, the side panel has a "SHDocVw.WebBrowser" (created in QM) which switches to a certain folder.
The error occurs when I open a file that is already opened, the QM code gives me the error
Error (RT) in <open ":9: /2913">akdnotes_dlg: 0x800700AA, The requested resource is in use. <help #IDP_ERR>?
At this line
The texteditor is AkelPad and I am currently trying to solve it script wise from AkelPad's side.
But I was hoping If there was some kind of "checking mechanism" that checks if the resource within "we3.Navigate(navigate_sidepanel_to)" is in use.
(I do not know If am using the correct terms here)
(pseudo code) something like:
if (we3.Navigate not in use)
code....