supposed to return a value?
No, SmtpClient is a class, not a method. Perhaps you were thinking of the SmtpClient.Send() method? But it also doesn't return a value. If something goes wrong, it will only throw one of six exceptions, documented here[^].
Anybody know right off the top of their head how
to ping /poll the SMTP server before hitting
You can ping the target server, but there is nothing that says that the target server has to respond to that ping. It's also entirely possible that the target is sitting behind a firewall, blocking ICMP Echo requests, thereby neutering your attempt to "test" the server's presence.
Basically, you can try to ping the server, but it's no guarantee that the server is, or isn't, actually there and responding. The only thing you can do is try to send the message and see what happens.
I have a problem when I use an Add-in to word, I want to get the filename / path of opened document.
(i.e i have a opened a document in word, now when i click my button it should return the filename / filepath of opened word document.
I think it will mostly depend on how the application is written. Keep in mind that WPF is a vector based display technology, but it shouldn't have a problem.
The better option will probably be to rewrite the application to take advantage of WPF and the data binding capabilities rather than to just port it. WPF is a completely new beast and there are better/different ways to do things than we had in WinForms.
In just two days, tomorrow will be yesterday.
I am making simple screen capture win32 application using VC++.NET. I am able to capture it in the memory and getting handle of that bitmap but I am not able to show that bitmap in Picture Control in dialog box. Can I know what wrong with my code??
I am pasting my code here.
I have two requirements of my religiously applied XML comments. I would like some way of also using shared documentation, e.g. a glossary of terms. The only way I can think of achieving this is including an external file at the assembly level. Then the generated overview documentation for each assembly can contain this information. Is there any other way of going about this?
My second wish is to extend the actual schema, to include tags that I can use to document relevant unit and integration testing information for types and members. I don't think this is possibly in pure VS 2005, but I suspect that something like doxygen may be able to allow this. I just can't get to experimenting yet so I thought I'd check if someone knows more than me.
iam working on asp project here i need some datareport generated has to be exported to excel for this i wrote one dll and its working fine when i checked that using vb code but it is not working from the asp page?
i am unable to catch the error
its not giving any error and giving message as done (i placed as output)only
but it is not exporting to excel
can any body help
(not in asp.net its asp only)
iam working on asp and here we r implementing completely 3-tier architecture
and i want to shift to .net and know .net little.
actually before that iam very interested to know how to implemet .net in 3d
can any body give clear explanation plz
thanks in advance
Last Visit: 16-Oct-19 4:07 Last Update: 16-Oct-19 4:07