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 bkrike 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: *

  • Users: Thrakazog
  • Content: Threads
  • Order by date
  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

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

    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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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)...
  11. Thrakazog

    Usercontrol Event Propagation

    I'm building a user control that contains label controls. I have a mouseup event for this user control on my form. My problem is that I can't get the mouseup events from the labels to raise the mouseup event for the user control on the form. In the usercontrol I have this code: Private Sub...
  12. Thrakazog

    Button calling a Bookmark?

    I need to have my page reload to the position it left after the user hits a button. I'm having trouble figuring out how to get the button click to also make the call to go to my bookmark. I'm starting with this code: <a name="C4">Area 1</a> <asp:button id="btn8" runat="server" Width="24px"...
  13. Thrakazog

    Image file name

    I'm loading the image in the picturebox using the image.fromfile command. Later I need to read the path back to know where the image came from. Is there any way in VB.net to get the path of an image displayed in a picturebox? Thanks,
  14. Thrakazog

    Overriding wndproc

    I'm overriding the wndproc sub to watch for Windows messages. Does anyone know where I can get a complete list of the messages that Windows can send? Thanks.
  15. Thrakazog

    javascript distorts table width

    I need to pull some javascript content into my website and put it in a html table. The problem is that when I do this the javascript completely distorts the table width. I can't change the code in the script I'm getting. How can I prevent the javascript from changing my table width? Thanks.
  16. Thrakazog

    specifying start page

    How do i specify what page should be loaded first in my asp project? I have a directory structure: /root/myproject/my.asp I currently have a index.html page in the root directory that redirects to the my.asp when somebody browses to my site. How can I eliminate this step and have my.asp be...
  17. Thrakazog

    .Net memory hog

    I've been noticing that VB.NET is a huge memory pig. Can anyone tell me why even a &quot;Hello world&quot; program consisting of 1 form and 1 label would need to take up 7 meg of ram?? That is after it has been compiled for release.
  18. Thrakazog

    What happens first TOP or ORDER BY

    I am seeing sporadic results from a query. I'm using: SELECT TOP 200 * from tblProfile order by IDNumber Is this statement going to: A. Sort by IDNumber then grab the top 200 from that list? or B. Grab the first 200 records it finds and then sort those by the IDNumber?
  19. Thrakazog

    Excel macro from webbrowser

    I'm trying to find a way to run a Excel macro when the .XLS is loaded in the webbrowser control. My code looks like this: WebBrowser1.Navigate &quot;C:\MyDoc.xls&quot; WebBrowser1.Document.CommandBars(99).Controls(1).Text = &quot;GO&quot; 'Need to call macro here! The spreadsheet displays...
  20. Thrakazog

    IsSecurityEabled = false for server application

    I have my MTS components setup to run as a Server Application. All the books I've looked in say that doing this forces ObjectContext.IsSecurityEnabled to be true. However, it shows up as false anytime I check it. Anyone have any clues as to why this is not working? This is driving me nuts.

Part and Inventory Search

Back
Top