473,722 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to find out what type of error it is: Failure sending mail.

Hi All,

How can I find the reason for such an error: Failure sending mail.

Some Code...

oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody
Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Appreciate any feedback

Thanks,

Joe
Dec 24 '07 #1
9 3463
Wrap the code in a try...catch block?
"JoeP" <No****@Hotmail .comwrote in message news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Hi All,

How can I find the reason for such an error: Failure sending mail.

Some Code...

oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody
Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Appreciate any feedback

Thanks,

Joe
Dec 24 '07 #2
oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody
Dim oSMTP As New SmtpClient

Try
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)
Catch ex as Exception
System.Diagnost ics.Debug.Write Line(ex.ToStrin g() )
End Try
Dec 24 '07 #3
Well I had actuallt the code like the below: The debugger poped up and just said that the Failure sending mail.
and did not provide the reason. But from some reason in my computer under Visual Studio 2005, the Alert message did not pop up.
Just wondering why? (The debugger did).

Thanks,

Joe

Try
some code.....
oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody

Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Catch smtpEx As SmtpException
ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email: {0}');", smtpEx.Message. Replace("'", "\'")), True)

Catch generalEx As Exception

ClientScript.Re gisterStartupSc ript(Me.GetType (), "General Problem", String.Format(" alert('There was a general problem: {0}');", generalEx.Messa ge.Replace("'", "\'")), True)

End Try


"Scott M." <sm**@nospam.no spamwrote in message news:%2******** **********@TK2M SFTNGP02.phx.gb l...
Wrap the code in a try...catch block?
"JoeP" <No****@Hotmail .comwrote in message news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Hi All,

How can I find the reason for such an error: Failure sending mail.

Some Code...

oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody
Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Appreciate any feedback

Thanks,

Joe
Dec 25 '07 #4
Thanks,
Dec 25 '07 #5
Hi All,

Ok, after checking into it I had some code after the End Try and that was the reason Alert() did not pop up.
Moving that code under the Try fixed the problem.

But I am trying to break the message into 2 lines:

ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email! Please call us by phone {0}');", smtpEx.Message. Replace("'", "\'")), True)

Now how do I bring the actual err line into the second line of the Alert()

There was a problem in sending the email! Please call us by phone.
Unable to cast object of type 'System.Int32' to type 'System.Net.Mai l.MailMessage'

Thanks,

Joe
"JoeP" <No****@Hotmail .comwrote in message news:eG******** ******@TK2MSFTN GP02.phx.gbl...
Well I had actuallt the code like the below: The debugger poped up and just said that the Failure sending mail.
and did not provide the reason. But from some reason in my computer under Visual Studio 2005, the Alert message did not pop up.
Just wondering why? (The debugger did).

Thanks,

Joe

Try
some code.....
oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody

Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Catch smtpEx As SmtpException
ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email: {0}');", smtpEx.Message. Replace("'", "\'")), True)

Catch generalEx As Exception

ClientScript.Re gisterStartupSc ript(Me.GetType (), "General Problem", String.Format(" alert('There was a general problem: {0}');", generalEx.Messa ge.Replace("'", "\'")), True)

End Try


"Scott M." <sm**@nospam.no spamwrote in message news:%2******** **********@TK2M SFTNGP02.phx.gb l...
Wrap the code in a try...catch block?
"JoeP" <No****@Hotmail .comwrote in message news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Hi All,

How can I find the reason for such an error: Failure sending mail.

Some Code...

oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody
Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Appreciate any feedback

Thanks,

Joe
Dec 25 '07 #6
When you are in a Catch section, notice that the exception is passed to the catch as "ex". If you check out the properties of "ex", you can find out about the exception. Start with this:

Catch ex As Exception
console.writeli ne("Exception type is: " & ex.getType.toSt ring)
console.writeli ne("Exception message is: " & ex.Message)
"JoeP" <No****@Hotmail .comwrote in message news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
Hi All,

Ok, after checking into it I had some code after the End Try and that was the reason Alert() did not pop up.
Moving that code under the Try fixed the problem.

But I am trying to break the message into 2 lines:

ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email! Please call us by phone {0}');", smtpEx.Message. Replace("'", "\'")), True)

Now how do I bring the actual err line into the second line of the Alert()

There was a problem in sending the email! Please call us by phone.
Unable to cast object of type 'System.Int32' to type 'System.Net.Mai l.MailMessage'

Thanks,

Joe
"JoeP" <No****@Hotmail .comwrote in message news:eG******** ******@TK2MSFTN GP02.phx.gbl...
Well I had actuallt the code like the below: The debugger poped up and just said that the Failure sending mail.
and did not provide the reason. But from some reason in my computer under Visual Studio 2005, the Alert message did not pop up.
Just wondering why? (The debugger did).

Thanks,

Joe

Try
some code.....
oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody

Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Catch smtpEx As SmtpException
ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email: {0}');", smtpEx.Message. Replace("'", "\'")), True)

Catch generalEx As Exception

ClientScript.Re gisterStartupSc ript(Me.GetType (), "General Problem", String.Format(" alert('There was a general problem: {0}');", generalEx.Messa ge.Replace("'", "\'")), True)

End Try


"Scott M." <sm**@nospam.no spamwrote in message news:%2******** **********@TK2M SFTNGP02.phx.gb l...
Wrap the code in a try...catch block?
"JoeP" <No****@Hotmail .comwrote in message news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Hi All,

How can I find the reason for such an error: Failure sending mail.

Some Code...

oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody
Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Appreciate any feedback

Thanks,

Joe
Dec 25 '07 #7
My question is now how can I concatenate the 2 strings together into the message box for the Alert()?

ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email! Please call us by phone {0}');", smtpEx.Message. Replace("'", "\'")), True)

String 1 is: 'There was a problem in sending the email! Please call us by phone!
String 2 is:smtpEx.Messa ge

Thanks.
"Scott M." <sm**@nospam.no spamwrote in message news:OA******** ******@TK2MSFTN GP06.phx.gbl...
When you are in a Catch section, notice that the exception is passed to the catch as "ex". If you check out the properties of "ex", you can find out about the exception. Start with this:

Catch ex As Exception
console.writeli ne("Exception type is: " & ex.getType.toSt ring)
console.writeli ne("Exception message is: " & ex.Message)
"JoeP" <No****@Hotmail .comwrote in message news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
Hi All,

Ok, after checking into it I had some code after the End Try and that was the reason Alert() did not pop up.
Moving that code under the Try fixed the problem.

But I am trying to break the message into 2 lines:

ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email! Please call us by phone {0}');", smtpEx.Message. Replace("'", "\'")), True)

Now how do I bring the actual err line into the second line of the Alert()

There was a problem in sending the email! Please call us by phone.
Unable to cast object of type 'System.Int32' to type 'System.Net.Mai l.MailMessage'

Thanks,

Joe
"JoeP" <No****@Hotmail .comwrote in message news:eG******** ******@TK2MSFTN GP02.phx.gbl...
Well I had actuallt the code like the below: The debugger poped up and just said that the Failure sending mail.
and did not provide the reason. But from some reason in my computer under Visual Studio 2005, the Alert message did not pop up.
Just wondering why? (The debugger did).

Thanks,

Joe

Try
some code.....
oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody

Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Catch smtpEx As SmtpException
ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email: {0}');", smtpEx.Message. Replace("'", "\'")), True)

Catch generalEx As Exception

ClientScript.Re gisterStartupSc ript(Me.GetType (), "General Problem", String.Format(" alert('There was a general problem: {0}');", generalEx.Messa ge.Replace("'", "\'")), True)

End Try


"Scott M." <sm**@nospam.no spamwrote in message news:%2******** **********@TK2M SFTNGP02.phx.gb l...
Wrap the code in a try...catch block?
"JoeP" <No****@Hotmail .comwrote in message news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Hi All,

How can I find the reason for such an error: Failure sending mail.

Some Code...

oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody
Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Appreciate any feedback

Thanks,

Joe
Dec 25 '07 #8
Generally, you don't want to take information from the exception and send it directly to the client as this can expose security holes & proprietary code. Instead you find out what exception you have encountered in the Try...Catch and then you write whatever you find to be appropriate to the client based on that information. If you really want to include exception information directly in your output, it is a simple matter of concatenation:

ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a {0} problem in sending the email! Please call us by phone {1}');", ex.GetType.ToSt ring(), smtpEx.Message. Replace("'", "\'")), True)
"JoeP" <No****@Hotmail .comwrote in message news:eL******** ******@TK2MSFTN GP06.phx.gbl...
My question is now how can I concatenate the 2 strings together into the message box for the Alert()?

ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email! Please call us by phone {0}');", smtpEx.Message. Replace("'", "\'")), True)

String 1 is: 'There was a problem in sending the email! Please call us by phone!
String 2 is:smtpEx.Messa ge

Thanks.
"Scott M." <sm**@nospam.no spamwrote in message news:OA******** ******@TK2MSFTN GP06.phx.gbl...
When you are in a Catch section, notice that the exception is passed to the catch as "ex". If you check out the properties of "ex", you can find out about the exception. Start with this:

Catch ex As Exception
console.writeli ne("Exception type is: " & ex.getType.toSt ring)
console.writeli ne("Exception message is: " & ex.Message)
"JoeP" <No****@Hotmail .comwrote in message news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
Hi All,

Ok, after checking into it I had some code after the End Try and that was the reason Alert() did not pop up.
Moving that code under the Try fixed the problem.

But I am trying to break the message into 2 lines:

ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email! Please call us by phone {0}');", smtpEx.Message. Replace("'", "\'")), True)

Now how do I bring the actual err line into the second line of the Alert()

There was a problem in sending the email! Please call us by phone.
Unable to cast object of type 'System.Int32' to type 'System.Net.Mai l.MailMessage'

Thanks,

Joe
"JoeP" <No****@Hotmail .comwrote in message news:eG******** ******@TK2MSFTN GP02.phx.gbl...
Well I had actuallt the code like the below: The debugger poped up and just said that the Failure sending mail.
and did not provide the reason. But from some reason in my computer under Visual Studio 2005, the Alert message did not pop up.
Just wondering why? (The debugger did).

Thanks,

Joe

Try
some code.....
oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody

Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Catch smtpEx As SmtpException
ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email: {0}');", smtpEx.Message. Replace("'", "\'")), True)

Catch generalEx As Exception

ClientScript.Re gisterStartupSc ript(Me.GetType (), "General Problem", String.Format(" alert('There was a general problem: {0}');", generalEx.Messa ge.Replace("'", "\'")), True)

End Try


"Scott M." <sm**@nospam.no spamwrote in message news:%2******** **********@TK2M SFTNGP02.phx.gb l...
Wrap the code in a try...catch block?
"JoeP" <No****@Hotmail .comwrote in message news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Hi All,

How can I find the reason for such an error: Failure sending mail.

Some Code...

oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody
Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Appreciate any feedback

Thanks,

Joe
Dec 26 '07 #9
Ok Thanks
"Scott M." <sm**@nospam.no spamwrote in message news:uk******** ******@TK2MSFTN GP06.phx.gbl...
Generally, you don't want to take information from the exception and send it directly to the client as this can expose security holes & proprietary code. Instead you find out what exception you have encountered in the Try...Catch and then you write whatever you find to be appropriate to the client based on that information. If you really want to include exception information directly in your output, it is a simple matter of concatenation:

ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a {0} problem in sending the email! Please call us by phone {1}');", ex.GetType.ToSt ring(), smtpEx.Message. Replace("'", "\'")), True)
"JoeP" <No****@Hotmail .comwrote in message news:eL******** ******@TK2MSFTN GP06.phx.gbl...
My question is now how can I concatenate the 2 strings together into the message box for the Alert()?

ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email! Please call us by phone {0}');", smtpEx.Message. Replace("'", "\'")), True)

String 1 is: 'There was a problem in sending the email! Please call us by phone!
String 2 is:smtpEx.Messa ge

Thanks.
"Scott M." <sm**@nospam.no spamwrote in message news:OA******** ******@TK2MSFTN GP06.phx.gbl...
When you are in a Catch section, notice that the exception is passed to the catch as "ex". If you check out the properties of "ex", you can find out about the exception. Start with this:

Catch ex As Exception
console.writeli ne("Exception type is: " & ex.getType.toSt ring)
console.writeli ne("Exception message is: " & ex.Message)
"JoeP" <No****@Hotmail .comwrote in message news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
Hi All,

Ok, after checking into it I had some code after the End Try and that was the reason Alert() did not pop up.
Moving that code under the Try fixed the problem.

But I am trying to break the message into 2 lines:

ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email! Please call us by phone {0}');", smtpEx.Message. Replace("'", "\'")), True)

Now how do I bring the actual err line into the second line of the Alert()

There was a problem in sending the email! Please call us by phone.
Unable to cast object of type 'System.Int32' to type 'System.Net.Mai l.MailMessage'

Thanks,

Joe
"JoeP" <No****@Hotmail .comwrote in message news:eG******** ******@TK2MSFTN GP02.phx.gbl...
Well I had actuallt the code like the below: The debugger poped up and just said that the Failure sending mail.
and did not provide the reason. But from some reason in my computer under Visual Studio 2005, the Alert message did not pop up.
Just wondering why? (The debugger did).

Thanks,

Joe

Try
some code.....
oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody

Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Catch smtpEx As SmtpException
ClientScript.Re gisterStartupSc ript(Me.GetType (), "E-Mail Problem", String.Format(" Alert('There was a problem in sending the email: {0}');", smtpEx.Message. Replace("'", "\'")), True)

Catch generalEx As Exception

ClientScript.Re gisterStartupSc ript(Me.GetType (), "General Problem", String.Format(" alert('There was a general problem: {0}');", generalEx.Messa ge.Replace("'", "\'")), True)

End Try


"Scott M." <sm**@nospam.no spamwrote in message news:%2******** **********@TK2M SFTNGP02.phx.gb l...
Wrap the code in a try...catch block?
"JoeP" <No****@Hotmail .comwrote in message news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Hi All,

How can I find the reason for such an error: Failure sending mail.

Some Code...

oMailMessage.Is BodyHtml = False
oMailMessage.Bo dy = cEmailBody
Dim oSMTP As New SmtpClient
oSMTP.Send(oMai lMessage) (in this line I am getting the above err)

Appreciate any feedback

Thanks,

Joe
Dec 26 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2483
by: kk | last post by:
Hi Guys, i am posting a cpp program contains runtime error, memory not allocated to char *x in class B. while accessing showx function it doesn't print values. if anybody knows send a reply plz. thanks in advance kiran #include <iostream.h> #include <string.h> #include <stdio.h>
108
6408
by: Bryan Olson | last post by:
The Python slice type has one method 'indices', and reportedly: This method takes a single integer argument /length/ and computes information about the extended slice that the slice object would describe if applied to a sequence of length items. It returns a tuple of three integers; respectively these are the /start/ and /stop/ indices and the /step/ or stride length of the slice. Missing or out-of-bounds indices are handled in a manner...
2
19053
by: MLH | last post by:
I cut a mail function off the m'soft site. Has always worked. However, I would like to include error codes returned by the sendmail Fn and be able to understand what they mean. I had my first occasion to experience a failure and got a code of 2??? Would like to know just what that means. Here's how I call the fn... Result = SendMail((F!Subject), (F!To), (F!CC), (F!Attach), (F!Message))
1
5533
by: Hennie7863 | last post by:
Hi all, At this moment I'm trying to get database mail working. According to some people it should be easy. Well...that is not the case for me. I'm having the following error: The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2 (2006-11-24T08:48:15). Exception Message: Cannot send mails to mail server. (Command not implemented. The server response was: Command not Supported).
2
17484
by: clevrmnkey | last post by:
I've had nothing but trouble from the System.Net.Mail objects, but I finally need to make them work, and I can't for the life of me see what I'm doing wrong. I pared back my mail transaction to the bare minimum: System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("<my mail server IP>", 25); smtp.Send("<one of my email addresses>", "<another of my email addresses>", "Hello", "World");
2
12175
by: =?Utf-8?B?QWRl?= | last post by:
HI All, I am encountering the following error when I try to send an email through a SMTP server. I believe the problem lies with the authentication part when the network crednetials are used, error is thrown at the .send point. Error is: The following error occured Sending an email: System.ApplicationException: An error occurred sending an email To helen@HerMail.com From ade@MyMail.com Cc Subject A test with Finlistener #1. The body...
2
1380
by: swapnilsane | last post by:
Hi All, I have written following asp.net code to send email. Dim mailClient As New SmtpClient("mail.yahoo.com") Dim Msg As New MailMessage() mailClient.Host = "mail.yahoo.com" Msg.To.Add(strToEmailId) Msg.From = New MailAddress(strFromEmailId, strDisplayName) Msg.Subject = strSubject Msg.Body = strBody
2
6094
by: Danny | last post by:
Hi all, Trying to send mail with System.Net.SmtpClient, using very simple code just for testing: SmtpClient smtp = new SmtpClient("mail.server.com", 25); smtp.Credentials = new System.Net.NetworkCredential("user", "password"); try {
5
4689
by: Don Quijote de Nicaragua | last post by:
Hi, everyone I try to send a simple e-mail witch this Code, but always send me a error messages: "ERROR: Failure sending mail." Thansk You. Don Quijote de Nicaragua. Elder Soto. Dim correo As New System.Net.Mail.MailMessage() correo.From = New System.Net.Mail.MailAddress("MyAco...@turbonett.com.ni")
0
8863
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9157
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8052
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6681
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5995
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4502
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3207
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2602
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.