Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Thrakazog

    Visual studio add-in working with wpf designer

    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...
  2. Thrakazog

    asp.net client side validation

    Found my answer. You can call Page_ClientValidate(); at any time to validate a page. Then you can use Page_isValid to see the results.
  3. Thrakazog

    asp.net client side validation

    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...
  4. Thrakazog

    asp.net client side validation

    oops, i'll re-post in the other forums.
  5. Thrakazog

    asp.net client side validation

    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...
  6. Thrakazog

    from VB .Net to VB 2005

    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.
  7. Thrakazog

    How to generate report as excel file?

    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.
  8. Thrakazog

    MDI menu merge prevention

    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.
  9. Thrakazog

    MDI menu merge prevention

    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...
  10. Thrakazog

    How can I load a MDI child form without displaying it?

    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!
  11. Thrakazog

    How can I load a MDI child form without displaying it?

    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...
  12. Thrakazog

    Active Directory Application Settings

    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...
  13. Thrakazog

    Active Directory Application Settings

    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...
  14. Thrakazog

    Maximized/Minimized Complete WndProc?

    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...
  15. Thrakazog

    Open a PDF or JPEG

    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...
  16. Thrakazog

    Streaming PDF to Acrobat Reader

    Hi All, I'm working on a program that creates PDF documents. Currently to view these documents we save them to disk and then open them by shelling out to Acrobat Reader. I would like to cut the saving step out and just have Acrobat open the PDFs from an IO steam. From there the user could...
  17. Thrakazog

    C# to VB.NET

    Your syntax for adding the event in VB is wrong. VB doesn't use += for events, it uses AddHandler. Try: Addhandler me.theClient.eventAdding, addressof theClient_eventAdding
  18. Thrakazog

    Inherited form Enable/Disable bug

    Yo, I'm inheriting a base form we have written that mostly handles button arrangements. Every time I disable/enable the derived form it gets moved behind any other windows that are currently open. There is no code in either form that should be causing this behavior. We are not overriding or...
  19. Thrakazog

    @@Error problem

    There error I get is this: Server: Msg 245, Level 16, State 1, Line 5 Syntax error converting the varchar value 'CauseError' to a column of data type int.
  20. Thrakazog

    @@Error problem

    Hi, I've got a stored procedure where I need to convert values to an int. If the data can't be converted, SQL is throwing an error that I can't catch in the stored procedure. Here is some example code: DECLARE @ID int DECLARE @err int SET @ID = 12 SET @ID = cast('CauseError' as int)...

Part and Inventory Search

Back
Top