I'm building an add-in that reacts when the user selects a control in the designer window. I can get the selected control name and type from the Win Forms designer but the WPF designer seems to be a different animal all together.
How can I access the currently selected control on the WPF...
I've got a couple APS.NET RequiredFieldValidators on my web page. I also have some custom javascript that raises a confirm message box that prompts for OK/Cancel based on what the user entered. This confirm message box is triggered when the user hits "Save".
My problem is that the confirm...
I've got a couple APS.NET RequiredFieldValidators on my web page. I also have some custom javascript that raises a confirm message box that prompts for OK/Cancel based on what the user entered. This confirm message box is triggered when the user hits "Save".
My problem is that the confirm...
BlueWin,
You should look into http://safari.oreilly.com/.
They let you browse books and read them online for a monthly charge. I think it's around $15 a month. Cheaper than most single books anyway. They have tons of stuff on .Net.
I've done this in the past by just saving comma seperated data with line breaks at the end of rows. Then name the file with a .xls extension. Unless your trying to output formulas or something complex this should do it.
Thanks for the input everybody. But I needed to move on the issue so I wrote my own menu control. So far it works great and gives me lots of enhancement opportunities.
I have an MDI app with several child forms. The MDI form has a MainMenu control on it. My child forms also have MainMenu controls. By Windows defaults when a child form is opened in the MDI, the childs MainMenu is added to the MDI parents MainMenu.
How can I prevent this? I want the MDI...
Thanks Rick, but that doesn't do it either. I think the biggest problem is that I need to ask the form for it's handle. This seems to force it to display itself.
I'm starting to suspect that it can't get a windows handle without creating the window. DOH!
I've got this code in my MDI form:
Dim strHandle As String
Dim frmTest As New Form
frmTest.MdiParent = Me
frmTest.Visible = False
strHandle = frmTest.Handle.ToString
The problem is that frmTest displays itself when I read the Handle information. The...
We're looking to use it for storing site wide application settings. Current versions, server names, etc. We've tried using common network paths and such. Once one of those machines dies we're stuck changing config files on all the clients to point them somewhere else. AD seems like it should...
Hi All,
We have a need to use Active Directory to store settings for our program on the client’s site. I've run across several MS documents describing how to read these values in code. However, I have yet to find a document explaining how to create them in code. Does anyone have any...
I'm writing a custom charting control that has a long redraw time. When the form my control is on has been minimized or maximized I need to know when the operation is complete so that I can tell my control to redraw only once. Does anyone know if there is a Windows message that signals when...
jnavarro,
I've done exactly what you're after and it's actually easy. All you have to do is add the COM reference to the Microsoft Internet Controls. Place the WebBrowser control on your form and point it to your PDF. Since the WebBrowser control is just a wrapper around IE the PDF will open...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.