|
can we draw lines in autocad file from windows application
devi
|
|
|
|
|
Maybe with a third-party library (is such exists) or if you understand th dwg format and modify it directly in binary mode.
Anyway, you will have more chances to get an answer if you post this on Autodesk's forum.
|
|
|
|
|
I using ASP.NET 2.0 to try and send email, but i keep op getting this error "Failure sending email", "Unable to connect to remote server"
Here is my code to send email
try
{
System.Net.Mail.SmtpClient smtpClient = new System.Net.Mail.SmtpClient(mailServer);
smtpClient.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;
smtpClient.Credentials = new System.Net.NetworkCredential("username", "pass");
smtpClient.Send(from, to, "Test Email", "Test Body");
}
catch(Exception ex)
{
throw new Exception("Error sending email: " + ex.Message);
}
Please help....
|
|
|
|
|
Are you using the right mailServer-address? Is the server running?
Do you have some kind of virus scanner at work (some scanners block the outgoing smtp-ports to stop mass-mail worms and spam bots) - or some kind of softwarefirewall, .... the list goes on (it's no problem with the code as far as I can see)
|
|
|
|
|
The server is running as i can send and recieve email via outlook, and i have McAfee 3.6.0.569 running on my PC
Is the a way a can configure the virus scan not to block outgoing mails
|
|
|
|
|
Outlook is not sending over the SMTP-ports so this don't have to say much.
McAfee might block outgoing mails (search for Port rules or try to deactivate it).
|
|
|
|
|
Soneliso wrote: smtpClient.Credentials = new System.Net.NetworkCredential("username", "pass");
Are you actually using these values?
Small angry dogs
|
|
|
|
|
No i am using my domain username and password
|
|
|
|
|
Hi All,
I need to replace words in TEXT BOX of MS WORD, how can I do this?
I tried:
Microsoft.Office.Interop.Word.Application oWordApplic = docxapp;
oWordApplic.ActiveDocument.Content.Find.Execute(ref findtext, ref findmatchcase, ref findmatchwholeword, ref findmatchwildcards, ref findmatchsoundslike, ref findmatchallwordforms, ref findforward, ref findwrap, ref findformat, ref findreplacement, ref findreplace, ref varMissing, ref varMissing, ref varMissing, ref varMissing);
With the above method, I can only replace word in TABLE and DOCUMENT. When I wanted to replace those in textbox in the documents, it failed.
Can you give me a suggestion? Thank in advance.
|
|
|
|
|
have you looked through all of the documentation for Interop?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hello everybody ,
I want to set a option for exit the application (Console). what should be the code for that?
Dipak
|
|
|
|
|
|
Thank you for help :
Environment.Exit(1) is working. but what is 1.
Application.Quit() is NOT working. Application is not available.
Thank you.
Dipak
|
|
|
|
|
'1' is the exit code which will be supplied to the the operating system.
|
|
|
|
|
Pass 0 to Environment.Exit() if it's a normal exit; use a non-zero value *only* if it's abnormal.
Cheers,
Vikram.
"If a trend is truly global, then that trend ought to be visible across ANY subset of that data" - fat_boy
|
|
|
|
|
|
If you are in the Main method you can also use return;
|
|
|
|
|
Good Morning everybody,
In console base application when i use Console.Write() or Console.WriteLine(), these writes simple text. Is it possible to write Bold text, underlined text or Italic text?
Dipak
|
|
|
|
|
Not on the console.
You can do it in a Rich textbox in a Winforms app though.
Cheers,
Vikram.
"If a trend is truly global, then that trend ought to be visible across ANY subset of that data" - fat_boy
|
|
|
|
|
You MIGHT be able to use the following to send ANSI codes for blinking and underlined text. I have not tried this code at all, so I'm not sure if it will work. You might also be required to load ANSI.SYS in your config.sys or config.nt.
Good luck and let us know if that works out.
|
|
|
|
|
Hello,
I am a .NET Programmer. I am trying to use Selenium functions and writing a c# code to test the sites. The problem I am facing is with the versions. Below, I am listing various softwares that I am using with their versions. Please let me know where the conflict is occuring and how do I solve it.
Selenium RC 0.9.0
NUnit Framework 2.4.1
Mozilla FireFox 1.5
Visual Studio 2005 (c#.NET 2.0).
I get the error saying "Version 2.0 is not a compatible version".
Same code works fine in Visual Studio 2003 (c#.NET 1.1); the versions of other softwares kept constant.
I feel the problem is with Visual Studio 2005. But if that is the case , how do I test the sites that are developed using Visual Studio 2005?
Help Needed......
Thanks in advance....
Vruddhi
|
|
|
|
|
Where and when do you get the error?
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
hi, how do i set the decimal place of a float?
i have,
double Value = 3.40292e+038;
then i want to get the float value with 5 decimal place. First i need to cast double into float,
float x=(float)Value;
what code should i use to be able to get x==3.40282e+038?
modified on Thursday, December 13, 2007 12:12:20 AM
|
|
|
|
|
Do you have this working yet?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
hi there,
while working on my project i got to know that ListView supports "Text" Property but it dont show.
can someone tell why?
Becoming Programmer...
|
|
|
|