When you hook up to an event handler, there's the sender object passed in as an argument. This tells you which instance was used to raise the event, so you could just cast this to a TextBox to see which box actually raised the event.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
I think what you mean is:
If this is the case then I believe you kind of mis-understood me.
Let's say you would like to use this vbscript which is on the network to run it against a server on the network.
Using the above code runs a script (depending where it is located) but it gets run on the local machine in which you are called the script from.
Whereas it should run on another machine which I can give the name of.
Hope you follow me.
hi Christian actually i hv a html code now i want the code to show in the windows application as like iframe...is it possible or not or is any way to show the html text in the window app plz help in this regards
thanks in advance
As Pete said, you can use a web browser control, but be warned, this will greatly limit the ways you can interact with your UI. If you're not loading the HTML from the web, I'd consider recreating the UI without using HTML.
Driven to the arms of OSX by Vista.
Please read this[^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I need some information abt OLE objects where I need to develop a OLE server in C# so that this application can be opened on the other application VC++ side and when i Double click then my C## application shud open up and i shud able to edit and when saved should be saved back in the current format.
To be more clear it like opening a .xl file in a ms office and should be able to save it back in xl format.
I am using dgv in my form where user want only one row for dgv to insert record.Client add only one record at a time.I created it by design time, not by coding.Is there any property for this?
I need your help for my project. I am new to use Linq To Sql. I have .DBML File and it automatically takes the connection string From SETTING.DESIGNER.CS File or From APP.CONFIG File by changing Application Property of .dbml file to False. But I Want to Provide Connection String at runtime. Because as it is desktop application developed in C# so before installing EXE at client side we are unknown of the server on which the database is attached. The only one solution I have is I have to reopen my application, set the connection string as per user and again make its EXE, this is what i dont want.
Can I pass the connection string at runtime to .dbml file when i run my exe or can i change my app.config connection string at runtime.
Last Visit: 31-Dec-99 19:00 Last Update: 1-Dec-23 8:47