473,325 Members | 2,792 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Sending IE URL to C# EXE

Hi folks,

I'm trying to develop a custom button on IE toolbar that sends the current
URL of the IE when pressed.
Thanks to the help from the experts in the news group, I've already managed
to add a button, but not sure how I can make that button detect the URL and
send it to the EXE I wrote in C#.

Thanks for your help.

Takuya

Jul 21 '05 #1
2 1324
Konnichiwa Takuya,

One method is to use a URL Protocol.

Here are two threads from the languages.vb group. Somewhere in each thread
are a couple of posts that should tell you a fair bit about what URL Protocols
are and how to use them

I'd recommend reading them in this order.
Re: VB .NET Help
Re: Utilizing IE

This link is the equivalent of the one below
http://tinyurl.com/rdm0

Regards,
Fergus

This does a Google Groups search.
http://www.google.co.uk/groups?as_q=...e=UTF-8&oe=UTF
-8&as_ugroup=*languages.vb.&as_uauthors=fergus&as_s coring=d&lr=&num=30&hl=en
Jul 21 '05 #2
Hi Fergus,

Thanks very much for your help!
I went through your messages and on the web quite extensively.
After all the options I went through, in the end, I chose the toolbar option
as detailed on teh codeproject site:
http://www.codeproject.com/csharp/dotnetbandobjects.asp

I am new to .NET programming and every step is an effort, but onwards and
upwards.

Thanks again!

Takuya


"Fergus Cooney" <fi*****@post.com> wrote in message
news:eo**************@TK2MSFTNGP09.phx.gbl...
Konnichiwa Takuya,

One method is to use a URL Protocol.

Here are two threads from the languages.vb group. Somewhere in each thread are a couple of posts that should tell you a fair bit about what URL Protocols are and how to use them

I'd recommend reading them in this order.
Re: VB .NET Help
Re: Utilizing IE

This link is the equivalent of the one below
http://tinyurl.com/rdm0

Regards,
Fergus

This does a Google Groups search.
http://www.google.co.uk/groups?as_q=...e=UTF-8&oe=UTF -8&as_ugroup=*languages.vb.&as_uauthors=fergus&as_s coring=d&lr=&num=30&hl= en


Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: coder_1024 | last post by:
I'm trying to send a packet of binary data to a UDP server. If I send a text string, it works fine. If I attempt to send binary data, it sends a UDP packet with 0 bytes of data (just the...
0
by: praba kar | last post by:
Dear All, I have doubt regarding mail sending smtplib module. The below code is I used to send a mail. ########################################## import email.Message import email.Utils...
10
by: Stuart Mueller | last post by:
I have an exchange server, that I sometimes use to perform mail shots to clients on our database, these can be upwards of 1000 at a time. As we don't want different clients to see who we are...
3
by: Robert A. van Ginkel | last post by:
Hello Fellow Developer, I use the System.Net.Sockets to send/receive data (no tcpclient/tcplistener), I made a receivethread in my wrapper, the receivethread loops/sleeps while waiting for data...
4
by: yaron | last post by:
Hi, I have a problem when sending data over TCP socket from c# client to java server. the connection established ok, but i can't send data from c# client to java server. it's work ok with...
7
by: Lau | last post by:
I need to send 1000 emails from an asp.net website. Normally I would use System.Web.Mail.MailMessage() to send thru an SMTP server. But the large amount of emails results in a timeout. My server...
3
by: Ant | last post by:
Hi, I'm using the MailMessage & smtpMail classes in System.Web.Mail to send mail, however it's not sending any emails. I'm using it on a Windows 2003 server. The simplest way to use this is...
0
by: remya1000 | last post by:
by using FTP i can send files to server using vb.net. if the file is big, then it will take some time to complete the sending process to server.or if we were sending 3-4 files to the server one by...
9
by: JoeP | last post by:
Hi All, How can I find the reason for such an error: Failure sending mail. Some Code... oMailMessage.IsBodyHtml = False oMailMessage.Body = cEmailBody Dim oSMTP As New SmtpClient...
4
by: =?Utf-8?B?R3V5IENvaGVu?= | last post by:
Hi all I use: Dim message As New MailMessage(txtTo.Text, txtFrom.Text, txtSubject.Text, txtBody.Text) Dim emailClient As New SmtpClient(txtSMTPServer.Text) emailClient.Send(message) And its...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.