|
Hi Friends,I have a 100 MB XML File.Got suggestions from linked in that In C# XMLReader is the best for reading XML File..But when i use that reader for reading of size 100 MB XML File,its reading but some times hanging...could any body help how to proceed with XML reader with out stucking..?
|
|
|
|
|
If you have a UI and you mean to say the UI is hanging then implement your
reading code in a different thread. Search CodePr.. for threading etc ....
Caveat Emptor.
|
|
|
|
|
I have written a code in VB.NET to send the mail...
Try
Dim ClientPC As New SmtpClient(ServerName, ServerPortNumber)
Dim Authentication As New Net.NetworkCredential(ServerLoginName, Password)
ClientPC.Credentials = Authentication
Dim mSender As New MailAddress(ServerLoginName)
Dim mReceiver As New MailAddress("myyahoomail@yahoo.com")
Dim sMail As New MailMessage(mSender, mReceiver)
sMail.Subject = SubjectOfMail
sMail.Body = MailBody
ClientPC.Send(sMail)
Catch ex As SmtpException
Throw ex
Catch ex As Exception
Throw ex
End Try
Mail goes perfectly ....
Now I want to add CC too in above code where can I add CC code into this ?
|
|
|
|
|
sMail.CC.Add(ccReciever) 'ccReviever is the email of the CC reciever as string or as MailAddress
Eslam Afifi
|
|
|
|
|
is anyone have code for cataract detection project in dot net???
plz help me
|
|
|
|
|
I'm curious - why would somebody give you the code? This site is about helping people who have tried, rather than just giving away code - if that's what you're after, try rentacoder.
|
|
|
|
|
|
Which doctor/opthamologist office are you "writing" this application for?? I really need to avoid that place. Please give me the full address of that office.
|
|
|
|
|
*Phew* He lives in the US. Thank goodness, otherwise I'd have to leave Canada to get my eyes checked.
Side note; isn't cataracts detected by shooting a gasp of air into your air to check the pressure?
I'd really hate to see an "out of bounds" error at that place... might be a little misleading...
|
|
|
|
|
Here is all the information you need.
Now just follow the simple steps of:
a) Implementing system from the documentation
b) Avoid getting sued for patent infringment
Good luck!
Is it just me or are the code-please requests getting crazier and crazier? Maybe I should just try "Wanted: $10 million of IP. Send now please? Urgent*."
* Seriously, if you are going to give me ten million bucks, you can take your time :P
|
|
|
|
|
Dear CodeProjects
I have a COM Windows application,writen using VC#.NET,running on a local LAN.My boss has asked me to find a way for this application to exchange data with other applications in company which are Windows App.,or some WEB App.s,I'm a beginner in SOAP,as I've studied,it's platform independent,but all documents I've read,told SOAP carries over HTTP,or other internet transfer protocols,now my question,is there any way for using SOAP without an Internet transfer protocol?if yes,only a small discusstion to follow up.
Any guide line is highly appreciaed.Thnaks in advance
Reza
|
|
|
|
|
RezaAsAdi wrote: now my question,is there any way for using SOAP without an Internet transfer protocol?
Not sure what you are asking. A SOAP message is just data so you could send it using a fax machine or whatever you want. If you are asking if there is existing support in the form of libraries or something for other transport mechanisms, I have no idea, but you don't need that since you can just send the data yourself.
RezaAsAdi wrote: I have a COM Windows application,writen using VC#.NET,running on a local LAN.My boss has asked me to find a way for this application to exchange data with other applications in company which are Windows App.,or some WEB App.s
Why wouldn't that scenario have a TCP/IP network available?
|
|
|
|
|
Thank you very much led,honesly i'm looking for a standard protocol like SOAP,so that i can exchange data with any other application in future too,provided that application(WEB or Windows) supports implements this protocol,I found part of answer of my question from your duscussion,so if I want,i can use for example Windows sockets to send SOAP message,but let me make my question more clear,can i use any library or object model to send a SOAP message over HTTP inside a Windows application?if I'm inside a WEB application I can use "Post" method to send a message,but what about a Visual C# Windows application,there is no any object which has "Post" method there.
Reza
|
|
|
|
|
RezaAsAdi wrote: can i use any library or object model to send a SOAP message over HTTP inside a Windows application?if I'm inside a WEB application I can use "Post" method to send a message,but what about a Visual C# Windows application,there is no any object which has "Post" method there.
Yes, in all forms of modern Windows development ( this includes .NET therefore C# ) you will find libraries available from Microsoft that simplify working with SOAP and making HTTP requests as a client. However, as with all standards, there is a possibility of two different library implementations producing an incompatibility. With SOAP being so pervasive the chance is small, but it could happen. The simpler your use of SOAP is, the less likely you will encounter any.
|
|
|
|
|
Thank you very much led for your immediate and clear answer
|
|
|
|
|
Hi Buddies...
I use clickOnce for publishig my application ...
But when It publish
Ex. I am publishing Version 1.0.0.2
then after publish it ask for "Whether To Install new version or not ?"
If user click on skip button It wont get the latest version and it still
uses older version,untillI dont publish next version ...
Is there any facility in VS that each time it ask for latest version
When user runs that application and if he is using older version.
|
|
|
|
|
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
when i try to read large amount of data from online and add it to my combo box this error occurs what can i do...
send me suggesstions...
|
|
|
|
|
Hi,
Is this exception raised when you tried to fetch data from database server,then
set the Connection Time out property to 0 (infinite).
Tarun Singh
|
|
|
|
|
public SqlConnection objCon = new SqlConnection("Data Source=VEESERV2;Initial Catalog=Inventory_VS;User ID=sa;Password=sa;Connect Timeout = 60");
is it right?
|
|
|
|
|
kulandaivel_mca2007 wrote: User ID=sa
Seriously - Never connect to your database as "sa" you've just punched a very large security hole in your application.
kulandaivel_mca2007 wrote: Connect Timeout = 60
This is the amount of time you are willing to wait for the connection to be established. It defaults to 15 seconds.
Your error message suggests that you have already made the connection, you are just waiting for the results. You therefore need to set the CommandTimeout on the command object. It defaults to 30 seconds.
I do not advise setting to 0 (infinite) as your program will hang until it has the result.
If your query is taking so long, you should also look optimising it. It may be that your query or database are set up very inefficiently.
|
|
|
|
|
That means that you wait for the connection for 60 seconds max. As Colin pointed out there are several issues in your connection string.
However, if you're executing a query, is it really a problem in geting the connection or is the problem occuring when executing the query (after a connection is made). If it's in the query, the connection timeout has nothing to do with the problem. In that case you should try to optimize the query itself.
|
|
|
|
|
Is there any place I can download Microsoft WinFS Beta 1 to have a look at ? Anybody have a copy in their archives or cds they can upload and share...
thanks in advance
abm_v@hotmail.com
|
|
|
|
|
About the only place you can get a copy of it is MSDN SUbscriber Downloads.
WinFS was cancelled in 2006. It was mentioned by Steve Ballmer that work on the project did not stop and the technology does still exist in various forms, but not as a complete file system. The various pieces of technology are being integrated into future versions of ADO.NET and SQL Server.
Is it completely dead?? Maybe, maybe not. The WinFS team blog stopped being updated back in June 2006. Draw your own conclusions...
|
|
|
|
|
please give the answer
sibasish
|
|
|
|
|
Please use a search engine, such as Google or Yahoo, to get this answer. It'll take you all of 5 seconds to find the answer.
All you have to type in is "What is a WebService", or "What is a Windows Service".
|
|
|
|