Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Embedding an Extrenal Program into a VB.NET App

Author
Message
Epimetheus
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location: Naples, Florida
Posted: 13th Jan 2013 10:19 Edited at: 13th Jan 2013 10:21
I want to embedd certain software into my VB.NET apps to better display opened files and even do things like embedd chrome/firefox into the form. With this code I have managed to dock notepad.exe into the form, but when I switch to something like Firefox or most any other program it does not work.




Any input on how to get a handle on the process and dock it?
MrValentine
AGK Backer
14
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 13th Jan 2013 14:04
Quote: "something like Firefox or most any other program it does not work."


Because as far as I know, only IE has system level access...

Something nobody ever gives IE merit for...

That Guy John
15
Years of Service
User Offline
Joined: 30th Apr 2010
Location: United States
Posted: 13th Jan 2013 22:17
In stead of loading an external web browser into your form, why not create your own browser?

Attached: Example using Gecko

Here's a link to the video that showed me how to make the test project I attached.

https://www.youtube.com/watch?v=48Wjvd1vQ4U

Attachments

Login to view attachments
Epimetheus
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location: Naples, Florida
Posted: 14th Jan 2013 02:13
This is not specifically to create my own web browser, though I would want to do that at some point. It is more to have the ability to have software which is related to the task inside the program for convenience.

For example, if I make some spreadsheet editing software, it would be cool to have a way to have for the user to open an edited file and then have it displayed right there.

Also, as much as I like Gecko and even the vb.net component someone created for it, I want access to Firefox add-ons which are installed. I believe this is not possible currently.
That Guy John
15
Years of Service
User Offline
Joined: 30th Apr 2010
Location: United States
Posted: 14th Jan 2013 07:03
Quote: "I want access to Firefox add-ons which are installed"

Then use firefox?

"For example, if I make some spreadsheet editing software, it would be cool to have a way to have for the user to open an edited file and then have it displayed right there."
Excel?

Quote: " have software which is related to the task inside the program for convenience"

What?

I think I am completely missing what you are getting at. What is it exactly you are trying to do?
Epimetheus
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location: Naples, Florida
Posted: 14th Jan 2013 09:02
I want this functionality for several projects, but right now I'm trying to make a specialized web browser control for Firefox.

Using Firefox command line options and scripting gives you a level of external control on what happens in the browser. For example, directing a plugin to do something, having the browser visit a webpage, etc.

Being able to embedd Firefox's window in a vb.net application would be a seamless way to have this all happen within the app.
That Guy John
15
Years of Service
User Offline
Joined: 30th Apr 2010
Location: United States
Posted: 14th Jan 2013 09:13
If you are trying to create a "bot" of sorts, there are much simpler ways to do this.

Then again, you are still being very vague on what you are trying to create. If you don't want to explain what you are trying to do, no one can really help you with it.
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 14th Jan 2013 13:00
From what I understand, he'd like to have the firefox rendering window appear inside his VB application and control it.

TheComet

http://blankflankstudios.tumblr.com/
Quote: ""
- Randomness 128
old_School
15
Years of Service
User Offline
Joined: 29th Aug 2009
Location:
Posted: 16th Jan 2013 04:30 Edited at: 16th Jan 2013 04:36
Why don't you just add ref instead of importing it.

Edit: The video is not someone making there own Browser, there useing a browser assembly someone else already built little difference between that method and just using firefox dll as a reference.

Login to post a reply

Server time is: 2025-05-20 20:14:34
Your offset time is: 2025-05-20 20:14:34