|
Hi all. This is the first time I write a windows installer and I was wondering, when you add a user dialog how to you interact with the user input in those dialogs. I tryed double clicking on the dialog but that doesn't work. Is there some way to get code behind those dialogs?
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
Stephen Lintott wrote: This is the first time I write a windows installer
Using what? What is your development environment?
Stephen Lintott wrote: when you add a user dialog
How did you do that?
led mike
|
|
|
|
|
VS 2008
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
|
Cool, maybe you should write an article about it ... or ask a question.
Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
Most of this sig is for Google, not ego.
|
|
|
|
|
please give me answer for my request.so it is very need to me in my project
|
|
|
|
|
You didn't make a request, you made a series of statements describing work you had done.
Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
Most of this sig is for Google, not ego.
|
|
|
|
|
Ennis Ray Lynch, Jr. wrote: you made a series of statements describing work you had done.
Or want to to do. Who can tell?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Ennis Ray Lynch, Jr. wrote: ask a question
That would have been nice to have some idea of specific that he needs help with.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
This article[^] may help
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Expect everything to be hard and then enjoy the things that come easy. (code-frog)
|
|
|
|
|
Hi,
I can use the printDocument object to get a list of printers on the local machine.
Question:
How do I get the list of printers installed on a remote machine?
PrintDocument does not seem to have the functionality for a remote machine
Thanks
|
|
|
|
|
Google WMI printers c#[^] - there's lots of promising results.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Expect everything to be hard and then enjoy the things that come easy. (code-frog)
|
|
|
|
|
I have a DataGridView with an assigned ContextMenuStrip. When I right click on any cell in the grid that is read only, the contextmenu that I expect to see is displayed. However, when I right-click on a non-read only cell that is a DataGridViewTextBoxColumn, I get an unexpected context menu popup with "Cut, Copy, Paste, etc." built-in commands. Clearly this context menu popup is built-in to the DataGridView, but I see no event that would allow me to capture and cancel it from popping up, so I can override it with my preferred context menu. Does anyone know of a way I can prevent this built-in context menu from displaying when right clicking on a DataGridViewTextBoxColumn?
Thank you...
|
|
|
|
|
You can probably filter out the message sent when the user rightclicks on DataGridViewColumn. This can be done using PreFilterMessage method of IMessageFilter interface. And then you call show your own contextmenu.
Dont know if any simple way exists for this.
"If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be 'meetings'." - Dave Barry
|
|
|
|
|
Thanks for the suggestion.
|
|
|
|
|
Hello everyone,
Are there any WSDL parsers (does Microsoft provides that?) which could manipulate the XML tree? E.g. getting all web methods and insert some SOAP headers in each web methods.
If Microsoft official parsers, any tools or documents with source codes are welcome.
thanks in advance,
George
|
|
|
|
|
WSDL is an xml dom tree so any Xml parser should be able to do it.
Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
Most of this sig is for Google, not ego.
|
|
|
|
|
In theory we could, but it is more elegant to get a formal XML schema based parser to parser like SOAP headers.
Any ideas or referred documents/samples?
regards,
George
|
|
|
|
|
I probably don't understand then because WSDL is tied to the formal schema from the W3C.
Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
Most of this sig is for Google, not ego.
|
|
|
|
|
Thanks all the same, let me know when you have good ideas on this topic later.
regards,
George
|
|
|
|
|
George_George wrote: In theory we could, but it is more elegant to get a formal XML schema based parser to parser like SOAP headers.
No, not in theory. I reality. The .NET framework parsers are formal XML schema based parsers.
led mike
|
|
|
|
|
Thanks led mike,
For some legacy reasons, I can not change the code for the services at server side. I could only change the web services' WSDL content which could let client to refresh to generate new content. My purpose is to add a new SOAP header.
Any ideas or reference samples?
regards,
George
|
|
|
|
|
George_George wrote: For some legacy reasons, I can not change the code for the services at server side. I could only change the web services' WSDL content which could let client to refresh to generate new content. My purpose is to add a new SOAP header.
I have no idea how that information is relevant to your previous comment that I replied to. You seem to be completely lost in regards to XML, SOAP and XML parsers. Perhaps you should go back to the beginner material and start over, you must have missed some important stuff.
led mike
|
|
|
|
|
Hi led mike,
I understand the basics of SOAP and XML. I think I have not made myself understood.
My question is like below,
1.
I could manually dealing with services/binding/message/complex type sections of WSDL, to add SOAP header, no problem;
2.
I want to make my life easier to find some wrappers to directly dealing with /binding/message/complex type sections of WSDL internally, and I just provide the information of SOAPHeader, and the wrapper is manipulating the sections internally.
So, I am just looking for some such wrappers/code samples/documents.
Any comments or ideas?
regards,
George
|
|
|
|
|
Hi all,
I am trying to send a mail from our Exchange Server using the SmtpClient and the MailMessage classes, but I am receiving the following exception the whole time: SmtpException The operation has timed out. I am pretty sure that I am using the right credintials to logon to the server. So ... am I missing something
I can go through on Telnet to the server but not with the code below
string to = "jane@contoso.com";
string from = "ben@contoso.com";
string subject = "Using the new SMTP client.";
string body = @"Using this new feature, you can send an e-mail message from an application very easily.";
MailMessage message = new MailMessage(from, to, subject, body);
SmtpClient client = new SmtpClient("srvcontosopdc", 25);
client.Credentials = CredentialCache.DefaultNetworkCredentials;
client.Send(message);
The only programmers that are better that C programmers are those who code in 1's and 0's
Programm3r
My Blog: ^_^
modified on Thursday, September 11, 2008 8:41 AM
|
|
|
|