- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I created a windows application with a from with several input fields. Depending on this fields, the program creates a system-call (systemqq) with the comand explorer.exe http//.... The call is startet by a button in the form (open)
This works, the correct url is displayed, the application keeps open. I reswitch to the application and change one of my input-fields and repress open (systemqq). Then a new explorer window is opened. How can I handle it, that my url is done in the already opened explorer. Can I get the process-id of this explorer and reconnect to the process? Now, if I change 5 times my input fields (change the url) I have 5 explorer-windows.
2. question: How can I avoid to see the command-window appear when calling systemqqq (or is there another interface possible.
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if you issue the command 'start url' where url is an actuial valid url, windows will start the default aplication for url's (your web bropwser) and open that url. If is is a new brower or a tab on an already open browers depends upon the settings of the brower. You can test the behaviour by just typeing a url on the start menu input window.
I issue such commands using the IFPORT system cammand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ShellExecute works fine, thanks. But what about the first question. I call a url and IE opens. Correct. Then I change the url in my program and call it again. I want it to be displayed in the same window without any new tab. I can't change the settings of the browser, because in our company the settings are centalized.
Cann I get the process id of the first url and reconnect agin to this process with another url?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might want to look at the FXPLORER sample that can open a web page inside your application.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page