473,505 Members | 16,800 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

vb script....& c#

r+r
Hello ,
could anyone explain how a vb or java script can call a method in a c#
program? What I'm trying to do is getting a string (a link) and pass it to
a text box in my app,more or less I.e. what you have clicking right with
Getright dowload program.

Cannot understand how the script is llinked to the program and runs the
private void receivestring(string str) {textbox.text=str; that's in my app.

Hope you understand what I need and can point me....Thanks
Tue, 03 Aug 2004 21:11:38 +0200
Nov 16 '05 #1
4 1884
Expose your C# class as a COM object.
Check the MSDN doc's for details.

Willy.

"r+r" <r+*@my.com> wrote in message news:1091554129@r+r.my.com...
Hello ,
could anyone explain how a vb or java script can call a method in a c#
program? What I'm trying to do is getting a string (a link) and pass it to
a text box in my app,more or less I.e. what you have clicking right with
Getright dowload program.

Cannot understand how the script is llinked to the program and runs the
private void receivestring(string str) {textbox.text=str; that's in my
app.

Hope you understand what I need and can point me....Thanks
Tue, 03 Aug 2004 21:11:38 +0200

Nov 16 '05 #2
r+r,

What is the context for this application? Are you speaking about from a
web page? Im not familiar with the Getright download program, so if you
could be more detailed about the use, it would help.

More than likely though, the program has installed a browser helper
object into IE, which can set up handlers for any number of events in the
document, and then the browser helper object transmits the data to the
external program.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"r+r" <r+*@my.com> wrote in message news:1091554129@r+r.my.com...
Hello ,
could anyone explain how a vb or java script can call a method in a c#
program? What I'm trying to do is getting a string (a link) and pass it to
a text box in my app,more or less I.e. what you have clicking right with
Getright dowload program.

Cannot understand how the script is llinked to the program and runs the
private void receivestring(string str) {textbox.text=str; that's in my app.
Hope you understand what I need and can point me....Thanks
Tue, 03 Aug 2004 21:11:38 +0200

Nov 16 '05 #3
r+r

Thanks both for your reply.
Well yes, i try to catch a link( or a collection of links) from a web page
and automatically paste it (them) in my textbox .

Other programs , like that i said in my post, use a script (vb or java) to
interface IE Explorer with the app.
< More than likely though, the program has installed a browser helper
<object into IE, which can set up handlers for any number of events in the
<document, and then the browser helper object transmits the data to the
<external program.

Do you have any useful link to explain this? I think it's what i need to
understand( some code will be useful too, but i like more to understand what
i'm writing).

<Expose your C# class as a COM object.
I'll search on msdn...but i never worked on COM....

Bye

Nov 16 '05 #4
r+r,

Take a look at "Browser Helper Objects" in MSDN. There should be
samples there that explain how to create one. If you want to do it in .NET,
you will have to brush up on COM interop as well.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"r+r" <r+*@my.com> wrote in message
news:8b*********************@news4.tin.it...

Thanks both for your reply.
Well yes, i try to catch a link( or a collection of links) from a web page
and automatically paste it (them) in my textbox .

Other programs , like that i said in my post, use a script (vb or java) to interface IE Explorer with the app.
< More than likely though, the program has installed a browser helper
<object into IE, which can set up handlers for any number of events in the
<document, and then the browser helper object transmits the data to the
<external program.

Do you have any useful link to explain this? I think it's what i need to
understand( some code will be useful too, but i like more to understand what i'm writing).

<Expose your C# class as a COM object.
I'll search on msdn...but i never worked on COM....

Bye


Nov 16 '05 #5

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

Similar topics

2
2088
by: Rick | last post by:
Hi.. I've got some code I wrote in PHP that will generate a new argument string for the browser, but the xhtml parser in Firefox and Opera both complain about my use of &var=value pairs. Below...
13
17810
by: dan roberts | last post by:
Folks, This is my first Python project so please bear with me. I need to download data from Yahoo Finance in CSV format. The symbols are provided in a text file, and the project details are...
3
1437
by: sklett | last post by:
I need to add extensive validation and interaction client scripting to a web form. I've done some initial searches for "asp.net and client scripting" and I've found a couple articles that show...
9
1993
by: Synapse Syndrome | last post by:
Hi I've been given what I am told is a PHP script to be used on my server. I do not know any PHP. I am trying to use a feature of a program called ArchiCAD. This feauture allows CAD drawing...
2
1877
by: starfi3ld | last post by:
I got a few errors with this script Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/starfi3ld/domains/starfi3ld.com/public_html/newreleases.php on line...
5
3263
by: camphor | last post by:
hi, I have found an upload script in hotscripts and have implemented it into the website, I followed the installation steps to 'give write permissions to php on the upload folder (which is...
3
5156
by: aRTx | last post by:
I have try a couple of time but does not work for me My files everytime are sortet by NAME. I want to Sort my files by Date-desc. Can anyone help me to do it? The Script <? /* ORIGJINALI
2
1168
by: arty | last post by:
hello i have no problem with this code: var z=new Array() z="<span style ='color:red;'>yeah</span>" document.getElementById("aa").innerHTML = z; it ouputs everything and also with the style....
7
16125
by: jeddiki | last post by:
Hi, As I am in Turkey at present, I can not see vidoes on youtube. So I have tried a few proxies but keep finding them slow or not working. So I have installed myphpProxy on my server under...
0
7218
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7103
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7307
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7021
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1532
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
409
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.