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(s tring str) {textbox.text=s tr; that's in my app.
Hope you understand what I need and can point me....Thanks
Tue, 03 Aug 2004 21:11:38 +0200 4 1896
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(s tring str) {textbox.text=s tr; that's in my app.
Hope you understand what I need and can point me....Thanks
Tue, 03 Aug 2004 21:11:38 +0200
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.co m
"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(s tring str) {textbox.text=s tr; that's in my
app. Hope you understand what I need and can point me....Thanks
Tue, 03 Aug 2004 21:11:38 +0200
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
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.co m
"r+r" <r+*@my.com> wrote in message
news:8b******** *************@n ews4.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 is my code that generates the string :
function InvokeURL(url_to_forward_to)
{
try
{
|
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 included below.
Does anyone have some sample code that I could adapt?
Many thanks in advance,
dan
|
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 methods like "register script
block" and what not. None of these methods will do what I need, I need to
add onChange, onClick, etc events to my controls.
For a simple example: How would I pop an alert when a user clicks on a
server textbox...
|
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 files to be published on a webpage, and viewed and
commented on using a java applet.
The problem is that with ArchiCAD v10, it now makes spaces and uses other
|
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 15
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/starfi3ld/domains/starfi3ld.com/public_html/newreleases.php on line 70
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result...
| |
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 _uploadedfiles_xxxx) (php must be allowed to move uploaded files to this folder' - uploadedfiles_xxxx.
I typed <?php chmod ('_uploadedfiles_xxxx',640); ?> into notepad and saved it as php in the uploaded_xxxx folder, when I went to test it, the error...
|
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
|
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.
but if i do:
|
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 the
domain name www.blog-start.com
Unfortuantely it is not not working correctly
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |