|
what?
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111
|
|
|
|
|
He wants an "assing". Usually, you have to go to the gay side of town (or prison) for that.
"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
|
|
|
|
|
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111
|
|
|
|
|
i have created a mail message object as
MailMessage ReadMail=New MailMessage();
i have a ndoc of type domino.notesdocument which i am assigning to ReadMail
ReadMail = (MailMessage)nDoc;
i no its an invalid cast...Can ne1 plz tell me how to cast it???
|
|
|
|
|
preetpal wrote: ndoc of type domino.notesdocument
Cast will succeed if domino.notesdocument is a subclass of MailMessage . If not how you are expecting a valid cast?
|
|
|
|
|
thx...i really dont have any clue on how to do....
can u suggest me any way???
|
|
|
|
|
Your question is not clear. Why do you want to cast something which is not mailmessage to MailMessage ?
|
|
|
|
|
You need to create a static method on your MailMessage class that tells the framework how to convert a lotes message to the MailMessage that you've created.
public static explicit operator MailMessage(NotesDocument nDoc)
{
//add your conversion code here
}
|
|
|
|
|
Hi,
how can I simple focus previous textbox when up arrow key pressed.
When down key pressed I use SendKeys.Send("{TAB}").
thanks,
Jure
|
|
|
|
|
Tavbi wrote: SendKeys.Send("{TAB}").
Shift + Tab is the key to go back to the previous focus. I am not sure, but it will be something like
SendKeys.Send("+{TAB}")
|
|
|
|
|
Thanks man, it works!!!
Jure
|
|
|
|
|
You are welcome
|
|
|
|
|
Here are some methods that you can use
SelectNextControl
GetNextControl
I don't know if they will scroll the form to the control or not. Use the ScrollControlIntoView method to scroll to the desired control.
Eslam Afifi
|
|
|
|
|
Hi,
I'm finishing(some small issues to solve) c# RTP implementation, off course compiled dll can be used in vb.net too.
Before releasing all code in codeproject, i'm looking testers, also if some volunteers to write some docs or contributing in coming article, let me know.
|
|
|
|
|
Hi
I would be willing to test this for you. I have extensive experience in VoIP protocols and would be happy to test it.
thanks
Erik
|
|
|
|
|
|
Hello Everyone,
I am working on window bases multi language application. I would like to add input language programmatically like Japanese / Hindi under Control Panel -> Regional and Language settings. ( User don't want to add language manually).
Is anyone have idea how to achieve this.
Thanks & Regards,
Kumar
Thanks & Regards,
Kumar
|
|
|
|
|
I think you'll find that the language support has to be installed. There's a whole load of code pages and things thtat different langauges need. So unless they are fully installed, they can't properly be installed.
Japanese, specifically, I know needs special fonts as well and everything needs to be unicode based for it to work.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
I have installed languages but for add as input language I have to use control panel and add manually. I want on selection of language if input keyboard is not configured then programmatically it should add keyboard for that language.
Thanks in adavance.
Regards,
Kumar
Thanks & Regards,
Kumar
|
|
|
|
|
Hi all,
I read a file and send streams to another method. It's working fine. But all messages are feeding very quickly. So I want to delay within each message. So I do the following
public void ReadFile()<br />
{<br />
<br />
Thread.Sleep(20);<br />
<br />
AnotherMethod(stream);
}
All those things start on a button click event. Once started the process, my GUI get freeze until finish the process. After that I can drag it and so on. Without the thread I use, there is no any issue.
Can someone tell me what should I do to fix this.
Thanks a lot.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
BackgroundWorker[^] to simplify things. Or you can create a background Thread.
Eslam Afifi
|
|
|
|
|
Thanks for the info. I working on it.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Problem is you are running the file streaming and sending in the same thread where UI is hosted. Create a new thread and execute the job on it. If you need to update UI from this thread, use Invoke/BeginInvoke . You can also use BackgroundWorker class which makes all these easy.
|
|
|
|
|
Yes, I read more about threads and found that the issue here is working on the same thread in UI and the process. So I have to do the process in background.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
And why Thread.Sleep()?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|