|
http://www.systemwebmail.com/faq/4.2.10.aspx#4.2.10
|
|
|
|
|
This happens generally due to the mail server authentivcation problem. Try providing valid credentials for the mail server you are using.
MailMessage sms = new MailMessage();
sms.To = smsTo;
sms.From = from;
sms.Subject = smsSubject;
sms.Body = smsBody;
sms.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
sms.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",username);
sms.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",password);
|
|
|
|
|
Can I Exporti Excell Sheet into database.
I need to enter all the data in an Excel sheet.when i select and submit the sheet it should store in database according to the cells
|
|
|
|
|
check this
http://www.c-sharpcorner.com/winforms/ExcelReadMG.asp
|
|
|
|
|
Who can give me some articles about Alpha blend, i'm beginner of C#,and i wanna some simple articles and info. about it. Thanks!
in addition,i'm chinese and not very good at english,so maybe i don't explain my meaning clearly,sorry!For your more help in english.....Thx
|
|
|
|
|
are you looking for this
http://www.codeproject.com/cs/media/perpxalpha_sharp.asp
|
|
|
|
|
thank U!
i‘ve downloaded this code already,but it's a little hard to me,art there any simple articles else?
|
|
|
|
|
Hi, i am using Log4Net followed the article on the same site, I dont know why, the log it writing in this format.
here, if you notice that the [Header] is on the same line and \r\n is also not working properly, where as the [Footer] is missing,yes the footer tag will appear but when I will write any entry again, can anybody tell me why it is happening.
[Header]\r\n2006-01-04 12:50:39,281 [2832] INFO ChangeMobile.Confirm 1 for each Loop
2006-01-04 12:50:39,281 [2832] INFO ChangeMobile.Confirm 1 for each Loop
2006-01-04 12:50:39,281 [2832] INFO ChangeMobile.Confirm 2. IsOldDate = True
I am expecting the log in this format.
[Header]
2006-01-04 12:50:39,281 [2832] INFO ChangeMobile.Confirm 1 for each Loop
2006-01-04 12:50:39,281 [2832] INFO ChangeMobile.Confirm 1 for each Loop
2006-01-04 12:50:39,281 [2832] INFO ChangeMobile.Confirm 2. IsOldDate = True
[Footer]
Can anybody help me out.
Thanks and best regards
|
|
|
|
|
in C#, I call an API func CreateWindow to create a new window, and I have its handler which the type is IntPtr. Although I created it with WS_CHILD property and set it parent to a Form (get a handler by property System.Window.Forms.Form.Handler) but my window is still seperate from it parent form.
So how can I convert my window to a control in order to add it to my form?
Thanks for your attention
|
|
|
|
|
This has worked for me in some cases but in others it is kind of flaky.
IntPtr hWnd = //your handle from CreateWindow
Control control = new Control();
Type type = typeof(Control);
MethodInfo method = type.GetMethod("WindowAssignHandle", BindingFlags.Instance | BindingFlags.NonPublic);
method.Invoke(control, new object[] {hWnd, false});
{parent form/control}.Controls.Add(control);
|
|
|
|
|
what version of .NET framework do you use? I listed all the NonPublic methods of type Control to find the function named "WindowAssignHandle" but it doesnt exist , whats wrong with me????
|
|
|
|
|
I am using 2.0. If you are using 1.1, try the following although I have not tried this:
IntPtr hWnd = //your handle from CreateWindow
Control control = new Control();
Type type = typeof(Control);
FieldInfo field = type.GetField("window", BindingFlags.Instance | BindingFlags.NonPublic);
Type windowType = typeof(NativeWindow);
NativeWindow window = (NativeWindow)field.GetValue(control);
MethodInfo method = windowType.GetMethod("AssignHandle", BindingFlags.Instance | BindingFlags.NonPublic);
method.Invoke(window, new object[] {hWnd, false});
{parent form/control}.Controls.Add(control);
|
|
|
|
|
hi,
i my application i have a main form,on click of some button i am showing a new form.
I want to make the main form as immovable.
i tried setting the form borderstyle of main form as none,but this removes the border.
is there any way to do this without setting the formborserstyle as none.
thanks & regards
vinutha
|
|
|
|
|
Try using the following code
Form2 frm = new Form2();
frm.ShowDialog();
|
|
|
|
|
how to morphing between two images in C#
|
|
|
|
|
hello
i need a simple code to do a ping to aremote computer and get answer.
to detriment if is on or off.
chen
|
|
|
|
|
|
|
How to broadcast audio-video streams on Internet at optimum(Say Dial Up) bandwidth
Hi All,
I am developing a Video Chat where i wish to broadcast(multicast) vedio-audio streams over Internet. I am using DirectX(Direct Show) technology for the same.
I wish to know
- the "Best Practices" for the such an application.
- How to send streams in the most optimal manner so that application can run at lowest bandwidth
- How to trace the IP Address of a machine on LAN connected to a router for such a chat
- How to go about starting development of such an application.
HI I AM NAEEM
|
|
|
|
|
HI,
I would like to know, can we change the style of some rows in a listbox, such as change backgound colour or font size? Thank you
|
|
|
|
|
Set DrawMode property to OwnerDrawFixed, then do your own drawing in the DrawItem event handler
|
|
|
|
|
In my project i have one form.i would like to make that form as popup window.
when i run the project that window popups from right bottom corner where we see the time clock.
Amit Grover
CDAC R&D
|
|
|
|
|
you can refer the followinf link for that
http://www.codeproject.com/cs/miscctrl/taskbarnotifier.asp
Regards,
Pramod
|
|
|
|
|
thanks for help. u have send me the link in which there is an image which popups but i want my form to popup. how would i achive that functionality
Amit Grover
CDAC R&D
|
|
|
|
|
Actually the image is set on the form
u dont set the image
just use the methods that have been used in that link
to display the Popup
Regards,
Pramod
|
|
|
|