|
Can any one point me to a tutorial on how to catch the stand by/Hibernate event on windows application.
Regards
Shajeel
|
|
|
|
|
|
|
np
|
|
|
|
|
xmldocument is resource consuming but i have to use XPathNavigator how can i use it with xmlTextReader.
If I use some thing like this
XmlTextReader reader = new XmlTextReader(strUrl);
XmlDocument xdoc= new XmlDocument();
xdoc.Load(reader);
reader.Close();
will it still consume resource.
I just want To use XPathNavigator with out using too much of resource my xml file can be upto 3-4mb. plz do help me
|
|
|
|
|
Wow!!
Justin Timberlake has had enough with music and now he's trying to cut it as a programmer.
|
|
|
|
|
I think coding is far more interesting than music..
|
|
|
|
|
How is using XmlDocument resource consuming? You mean execution time, memory usage or what else?
|
|
|
|
|
http://www.codeproject.com/soap/myXPath.asp
plz read point of interest
|
|
|
|
|
http://www.codeproject.com/soap/myXPath.asp
scroll down and plz read point of interest
|
|
|
|
|
Scroll down to the bottom of the page, at the Reference section. Follow the link that says "Improving XML performance". That article deals with many things starting with X, including XPath:
If your application contains large amounts of intensive XPath or XSLT code, use XPathDocument, instead of XmlDataDocument or XmlDocument, to process XPath statements.
In your case, with the 3-4 MB files I don't think you have to worry about performance.
|
|
|
|
|
thanx for the suggestion really appreciated that but i got it wrong my xml file can be 30-40mb will it still work. so what if i have to scan a file withing a minute
|
|
|
|
|
|
matjame wrote: Im as amature in this
I am amazed at how many people are writing code, presumably for money, and are posting questions that say 'I am an amateur', or 'I don't know C#'
The webbrowser control can be embedded on your page, and it can show a html file, either locally or from the web. You cannot use CSS to style a form, they are completely different beasts.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hai everyone!
Am new to this field(C#, ASP.net)!
Am working good in VB!
Can any one tell me the links abt the basics of C#.Net(For a web application)! i want detailed explanations! Help this fresher!
-- modified at 6:25 Monday 4th June, 2007
As am i fresher i know the basice concepts and overall idea about the software development! now am going to join a firm! so i want to learn all!
so please refer me some sites to learn from the basics in ASP.Net with C#
|
|
|
|
|
www.buyabook.com
www.thereisanASP.NETforum.com
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
www.GoogleIt.com
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
http://www.programmersheaven.com/2/Les_CSharp_0
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
Thank! tell me more websites if possible!
|
|
|
|
|
Google doesn't work where you live ? A clue, you've already found the best one...
If you really want to learn, you need to buy a book. The web is good for building your knowledge, books are better for starting off.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: Google doesn't work where you live ?
I like this quote of yours Christian
May be because they dont pay Google's bills;P
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
You can also use VB .NET for web application, as I imagine it would be easier for you. But without doubt, it's worth learning C#.
|
|
|
|
|
Hey Kumar,
You are in the good place. There are lot of Articles here itself.
But as our expert says first get a book published by wrox publications for Asp.Net C# and read it and start practicing it.
FOr more Details get it from our Friend Google,but it will be very much helpful for you to develop your knowledge.
So my better advice is first get a book and start reading it and start practicing the code it will be very much useful.
Regards,
Satips.
|
|
|
|
|
Hi EveryBody! sorry for the trouble, I have a problem, for delivry of my thesis by ten days.
My problemi s that:
I would like to manage onmousemove, onmouseup, onmousedown events on the web document opened in the browser.
I used the following code for that.
public delegate void DHTMLEvent(IHTMLEventObj e);
public class DHTMLEventHandler
{
//DHTMLEvent è un delegato
public DHTMLEvent Handler;
HTMLDocument Document;
public DHTMLEventHandler(HTMLDocument doc)
{
this.Document=doc;
}
[DispId(0)]
public void Call()
{
Handler(Document.parentWindow.@event);
}
}
DHTMLEventHandler Handler1;
DHTMLEventHandler Handler2;
DHTMLEventHandler Handler3;
public void controller_seleziona()
{
mshtml.HTMLDocument doc = this.br.Document as mshtml.HTMLDocument;
object old_move=doc.onmousemove;
if(old_move.GetType()==typeof(DHTMLEventHandler))Handler1=((DHTMLEventHandler)old_move);
else doc.onmousemove=Handler1=new DHTMLEventHandler(doc);
Handler1.Handler+= new DHTMLEvent(controller_Document_onmousemove);
object old_down=doc.onmousedown;
if(old_down.GetType()==typeof(DHTMLEventHandler))Handler2=((DHTMLEventHandler)old_down);
else doc.onmousedown=Handler2=new DHTMLEventHandler(doc);
Handler2.Handler+= new DHTMLEvent(controller_Document_onmousedown);
object old_up=doc.onmouseup;
if(old_up.GetType()==typeof(DHTMLEventHandler))Handler3=((DHTMLEventHandler)old_up);
else doc.onmouseup=Handler3=new DHTMLEventHandler(doc);
Handler3.Handler+= new DHTMLEvent(controller_Document_onmouseup);
}
It's all ok unless I also want to manage drag-drop over a div appended bymyself on the dom of the page.
To manage the drag drop I appended dynamically the javascript library wz_dragdrop.js v. 4.88
The latest version is available at http://www.walterzorn.com
Now the situation is that the management of onmousemove, onmouseup, onmousedown events on the document builded bymyself continues to work fine, but the drag-drop of the div doesn't work anymore, unless I don't handle the management of onmousemove, onmouseup, onmousedown events on the document anymore. If I don't handle the events, overthat if I don't call the method controller_seleziona then drag-drop work fine.
Even if I handle the management of onmousemove, onmouseup, onmousedown events and then in a second moment I remove that management with the code:
Handler1.Handler -= new TMLEvent(controller_Document_onmousemove);
Handler2.Handler -= new TMLEvent(controller_Document_onmousedown);
Handler3.Handler -= new DHTMLEvent(controller_Document_onmouseup);
The drag-drop continues not working.
Is there a way for let drag-drop live together with my personal handling of the onomousemove,onmouseup, onmousedown events on the document ?
Thanks in advance! I hope in some help please. I'm bit worried
Lula
-- modified at 5:29 Monday 4th June, 2007
|
|
|
|
|
Hai,
I tried the following code in order ro read the message from the Message queue in my machine in n/w
When there is no message it is not showing any error but it indefinetly waits i couldn't find out the error plz help me.
When i tried to debug it id executing till the 2nd line of hte try block.
try<br />
{<br />
queue = new MessageQueue(@"MyNetwork47\MyNewQueue");<br />
System.Messaging.Message msg = queue.Receive();<br />
msg.Formatter = new XmlMessageFormatter(new String[] { "System.String,mscorlib" });<br />
MessageBox.Show(msg.Body.ToString());<br />
}<br />
catch<br />
{<br />
MessageBox.Show("Error!!!!");<br />
}
Best Regards,
M. J. Jaya Chitra
|
|
|
|