Does anyone know how I can encode a string to a CP865 encoded text, (not for example Unicode or UTF8).
What I am trying to do is to transfer a string content as an txt file with CP865 encodeing.
Response.ContentType = "text/plain";
Response.Write("This text shall have de Norwegian charset of the CP865 encoder");
I'm trying to create a class that will dynamically load an assembly that will
hold a several definitions for structs (used as an interface to an existing application).
My class will then display those structs as strings - display the interface.
I need to load it dynamically since there are several versions of the same interface.
How do i do that ?
I know how to display the struct layout.
I know how to load dynamically the assembly.
Let me try and explain my problem:
lets say that i have a class A which can display type S as a string.
S is defined in class B.
I have to reference B or else i get a compilation problem.
but, since B has two versions (1 and 2) i want to load it dynamically.
how do i do that ?
I use the smtp and the System.Web.Mail namespace to send mail to Hotmail and Yahoo servers but I receive a failure message int Inetpub\mailroot\Badmail folder from hotmail server But I don't know why.
You have to have a hotmail account. You need to ask hotmail for their correct smtp settings in order to use their servers to send mail. If you have an account, and you think you have the correct settings, you should try asking in the hotmail forums, or sending an email to their support team.
Hello, I want to show two date value(starting date, end date) on top of my Crystal report
like this( From: 07-07-08 to To: 08-07-08). I select these two date in another form. Now how can I send this two parameter in my crystal report and print on top left of my report?
Can any 1 help plz??
No, for a normal text box you have to use an event to filter it. You could use the text changed event, or you could use the key press events and filter out any keys you don't want to accept. (This wouldn't stop them pasting into the text box though, so you should probably validate the whole block of text when the dialog was confirmed too.) Don't forget to not block the backspace/delete/arrow keys if you do this.
Use Validating event to validate the contents and cancel the event if required. This event will be fired when user moves focus out of the textbox, even pressing the ok button would trigger this event.
So, use this event to check if the text of the textbox is ok or not.
a developer from India.
I have 10 textboxes, with different lables,
during creating the text boxes i just do copy paste and didnt remeber to follow the sequence ..
now i am facing the problem here after loading the form when i am filling the values in the form ...am nevigating from one textbox to other using tab ... but its not working good ...means its going to first textbox then third then fifth as was copied so how can i make all this in order...
Last Visit: 31-Dec-99 18:00 Last Update: 21-Jun-21 22:11