I just had a look in more detail at what I did. Remember Reflector is your friend. The class is in System.Design.dll. The class you are really intreasted in is
Simple answer is inherit your control from panel directly, that will give you drag and drop support. Other than that, have a look at this for ideas
I just had a look in more detail at what I did. Remember Reflector is your friend. The class is in System.Design.dll. The class you are really intreasted in is ParentControlDesigner
In outlook i think you can delete the recover items by going "Tools" -> "Recover Deleted Items.." and empty that.
The deleted Items policy is enforced on the server, I think that the default is 30 day, there is no way for a client to force the deletion of these messages.
If you really need to recover space you can set this down to zero and do an offline defrag, that should get all your space back but I don't really recommend that.
You need to add a designer atribute, if your control just fuctions like a panel, I think you can use the System.Windows.Forms.Design.PanelDesigner otherwise youll have to write your own designer.
Did something like this for an ASP.NET control some time back.
Does anyone have a good link about how a WM2003 device connects to the network, I thinking of the dialing profiles, and how a network connects to 'Internet' or 'Work'
How does it decide if a program is connectiong to the internet or private network, is it based on the RFC defined address ranges?
I need to define a different proxy depending on what wireless access point I'm using, an hints on how to do that?
A tad confussed at the moment...
Tyler Brown wrote: Can you give a little more information? Are yo behind a router? What network address are you talking about, and what do you mean when you say 'original IP'?
First router is a BT Voyager 205 ADSL Router, which used to connect to the original IP address, without another router.
So you mean 'original' = public IP address allocated to you by your ISP?
Second Router is the Actiontec Wireless Router. This is what the "another router" is. This just connects using a network address rather than my original IP.
By 'network' you mean a private address arange as in RFC 1597 as noted above? This is just a internal range to you home network as it is never directly connected to the internet.
When you take out the Actiontec router, and have the BT enabled, it still connects to a network IP.
The Actiontec router is most likly using NAT to share your 'original' ip address between multiple machines behind the router (doesn't matter that you may only have one connected). When you connect to a site on the internet your PC sends data to the router, which then goes and gets it for you under its IP and returns the response to you. As it was making the request for you, this is why sites like Whatsmyip still report your 'original' IP rather than your 'network' IP.
This is only an issue if you ever want to connect directly to you pc (behind the router) in that case you have to start using port forwarding. basically as you only have one really address and, say, ten internal ones, you have to tell that firewall that a certian port (say 80 for web) relates to a certain machine. But that a whole other story.
Install order went like this
Avalon/Indigo Beta RC runtime
WinFx Beta RC SDK
then it all works, apart from most of the samples on the web do not compile due to framework changes.
Also if you intall indigo, it seems to break you ability to import web references if thats import to you.
This is also a very good link, will tell you what works with what.
keeron wrote:This may sound like a stupid question, but here it goes:
What tools (baselines) do I need to be able to compile and run code written in Avalon and XAML?
I know that Visual Studio 2005 Beta 1 and Avalon SDK work. The Visual Studio Beta 2 does not work (found this the hard way). The other sad thing is Visual Studio 2005 Beta 1 has expired (again, found this the hard way after reinstalling - earlier had the beta 2).
You can see how desperate I am to get started on Avalon and XAML
I have the .NET framework 2.0 installed (since I use Monad/MSH). Is this enough (along with the WinFX/Avalon SDK)? If so, what's the best editor to use then?
Vs2005 Beta 2 and the Avalon Beta 1 RC work fine together.
Anyone know how to map a network printer using c#?
I have a webservice that needs to be able to print to a network printer and is running under the ASPNET account.
I have found that you can map a network printer on a machine wide basis with the command
rundll32 printui.dll,PrintUIEntry /ga /c\\machine /n\\machine\printer
So I guess I could just add a PInvoke wrapper onto the printui.dll?