|
AFAIK, you need to handle the event which fires when a node is deleted, then find the same node in the XML file and delete it. Then save the file. You can use XMLDocument class for this.
|
|
|
|
|
Hello!
I was wondering if it is possible to monitor all the URLs visited from a Internet Explorer. Searched little bit, but wasn't able to find anything useful.
For further clarification, I want to keep the log of each and every URL visited/browsed/accessed from Internet Explorer, including all the links of files downloaded (even from save as dialog box).
Anyone have any idea where to start?
Regards,
Adeel
Do rate the reply, if it helps or even if it doesnot, because it helps the members to know, what solved the issue. Thanks.
|
|
|
|
|
Adeel Chaudhry wrote: any idea where to start?
Not sure. You might have to tap into the object instance of the url textbox. I've seen it done for other apps, but don't recall the exact approach.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Paul Conrad wrote: You might have to tap into the object instance of the url textbox.
Do you mean instance of Internet Explorer's URL textbox?!
Paul Conrad wrote: I've seen it done for other apps...
Can you let me know the names of such applications?
Thanks for quick reply!
Regards,
Adeel
Do rate the reply, if it helps or even if it doesnot, because it helps the members to know, what solved the issue. Thanks.
|
|
|
|
|
Adeel Chaudhry wrote: Do you mean instance of Internet Explorer's URL textbox?!
Yes.
Adeel Chaudhry wrote: Can you let me know the names of such applications?
I know QA Wizard does. It is commercial, and you won't find the code. A google search can probably bring something up as far as sample code goes.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
I think you need to get the handle to the window, then find the handle for the textbox from there. There should be articles on that sort of thing here on CP, though no doubt in c++.
My current favourite word is: Nipple!
-SK Genius
|
|
|
|
|
Can you provide me a link for how to create four sided handles on an image in C#. Thanks
|
|
|
|
|
netJP12L wrote: provide me a link for how to create four sided handles
Try google.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I didn't find anything related to it may be it's called something else. I even tried searching on CP.
Thanks for replying though
|
|
|
|
|
I have an idea of what you are trying to accomplish. You may have to create a custom image control that has the source image and the four handles.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
But how can i show 8 handles. how to generate them
|
|
|
|
|
Take an example, I'd like to see the source code of DataSource,
where can I find it?
|
|
|
|
|
DataSource? That's a property, several classes have one. Which interests you?
|
|
|
|
|
Download Reflector here
It will let you view all the internal workings of an assembly, in several different langauges as well . Great for learning.
Mark.
|
|
|
|
|
|
The .NET Framework source is being released under a read-only reference license. When we announced that we were releasing the source back in October, some people had concerns about the potential impact of their viewing the source. To help clarify and address these concerns, we made a small change to the license to specifically call out that the license does not apply to users developing software for a non-Windows platform that has “the same or substantially the same features or functionality” as the .NET Framework. If the software you are developing is for Windows platforms, you can look at the code, even if that software has "the same or substantially the same features or functionality" as the .NET Framework.
So don't look you naughty Mono boys, OK
|
|
|
|
|
I know that to display a custom control's attribute in a specific category in the PropertyGrid you use:
[Browsable(true), Category("SomeCategory"), Description("Some info....")]
What I would like to do is have one overriding category for my control's attributes (such as "Control Specific") and then have subcategories for more specific things (such as "Colors"). Sort of like under "Appearance" there is "Font". How do I do that?
Thanks.
|
|
|
|
|
In short, you can't define a sub-category. You can have properites be expandable though. In your example, the Appearance property would be of type (say) MyAppearance. MyAppearance type would define it's TypeConverter as ExpandableObjectConverter[^]. Then MyAppearance's properties would be shown in the PropertyGrid (which would include a Font property).
This[^] article describes how to use ICustomTypeDescriptor (which allows you to dynamically change what is shown in the PropertyGrid) and ExpandableObjectConverter.
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
|
My application can be minimized to the system tray. It also has code in it to stop from multiple copies of the app to be launched. The problem is that when I try to launch a second copy of the app it does what it should, looks for a running version of the app and if it finds it closes but it still has the taskbar icon till I run my mouse over it then it goes away. How can I clear that out when the app closes?
|
|
|
|
|
Hi Gene,
a NotifyIcon remains visible until you Hide() it or Dispose() it.
If you fail to do so (e.g. when the app crashes, or you stop it while debugging),
it will remain there until you hover it, unless you run a tool that cleans up,
see my TrayIconBuster article.
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
|
I have tried using couple of
AxSHDocVw.AxWebBrowser = new AxSHDocVw.AxWebBrowser(); control on my widows form. The problem with all of them is when i copy and and paste an image from MS Word it doesn't display except an empty box. Can you please point me to the right resource.
Thanks
|
|
|
|
|
I need to create a DateTime object on Daylight saving End day contain following value
2008-11-02T02:00:00.0-07:00
for year 2008, daylight saving end Nov 2 (above value is in local time zone, I am Pacific time Zone) -8PST / -7PDT from GMT
Is any way I can create Datetime object containing above value.
If am able to create
2008-11-02T01:59:59.0-07:00 (When I add one second it change to -8)
2008-11-02T01:00:00.0-08:00
I appreciate your help.
Thanks,
Samir.
|
|
|
|
|
DateTime instance, AddHour method. If you want to subtract, DateTime has a Subtract method that takes a TimeSpan but it's easier to use AddHour with a negative value.
|
|
|
|