May 16, 2008

Can Anyone Help Me Write A Small Program To Launch Firefox With A Specified Url

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > .NET ( ASP.net VB.net )

free web hosting

Can Anyone Help Me Write A Small Program To Launch Firefox With A Specified Url

shadowx
Hi all

Ive completely removed IE because it caused me laods of problems with virusse's etc... but i use msn messenger a lot and to veiw my emails i usually just click a button and it loads IE with my inbox opened and ready for me. But scince i no longer have IE it cant do that and wont open firefox even though it is my default now. So what i want to do is to write a small program in VB that will launch firefox with the url that msn messenger sends to it. Ill call the exe the same as internet explorer so msn thinks it is launching IE. This exe will then take the variable (as i assume the url is sent in a variable) and pass that on to the firefox exe as the location to open and with any luck i should have my inbox.

I know how to shell another program from VB but i do not know how to take a variable from another program and i have no idea what this variable from msn messenger will be called. possibly something like "url" but what character identifies it as a variable? like in php it would be "$php" but i have no idea in VB as im not very good with it!

Any help greatly appreciated!

 

 

 


Reply

kdr_98
Are they given by the commandline ?
check the variables argv and argc

QUOTE

Reply

beeseven
It's possible that it just uses the command line way of calling IE, which would be "IEXPLORE.exe <url>" If so, then you might be able to make a copy of the FireFox executable, rename it IEXPLORE.exe, and put it wherever MSN is starting IE.

Reply

shadowx
Thats a good point, i havent actually tried that yet, let me go try that! then ill let you know the results!

**EDIT

Well that was unexpected!

After copying the mozilla files into the internet explorer folder (because i couldnt rename the old folder and create a new one for some reason even though it contained nothing.) and renaming firefox to IEXPLORE.EXE i now have a working internet explorer...ill try to figure out this strangeness! its darn weird

**edit 2!

Its because a program called "iexplore.exe" keeps making itself in the internet explorer folder, no matter what i do. And i fear its not internet explorer i think it could be a virus. So going to do a full scan. Also the folder contains another folder called "connection wizard" which i cant delete because it says it's in use by another program yet the folder SEEMS to be empty. I think windows is lying to me. Any ideas what to do?

Reply

Panzer
I dont understand completely but..
You can set the homepage on firefox to your inbox (or whatever) and get it to remember your password, that way you will go there straight away.

Or you can set the MSN messenger settings to either open when your computer boots or just put it in your start up folder.

Reply

shadowx
Yeh i think ill leave it now as iexplore doesnt seem to be infected anymore, its really strange though how it just appeared there. Ill keep a carefull eye on my proccesses just to make sure im not at risk.

And on that note i suppose this thread is redundant!

Thanks for al lthe advice and help!

I might also set my homepage to my inbox, suppose itll be easier anyway!

Reply

lesmo_sft
I tried something similar but with MediaPlayer and happened the same: lots of copies of it... weird.

I'm not sure, but Stuff Plug for Messenger Plus! 4 makes it so every link you click on the messenger will open on you default browser.

Reply

de4thpr00f
i can make you a program in python to get arguments that r are being send. that could help you somehow to make that program in vb.
and isn't it simpler to make an email checker on vb?

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. msn messenger launch firefox - 0.75 hr back.
Similar Topics

Keywords : write, small, program, launch, firefox, url

  1. Simple Trick To Launch External Apps
    (0)


      Looking for write, small, program, launch, firefox, url

Searching Video's for write, small, program, launch, firefox, url
advertisement



Can Anyone Help Me Write A Small Program To Launch Firefox With A Specified Url



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE