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 strongm 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: RebLazer
  • Order by date
  1. RebLazer

    Resizing form based on individal enduser's screen settings

    Regarding the code on http://vbnet.mvps.org/code/system/, I contacted the author asking him how to get it to work in VB.NET (which it supposedly does), and he replied: Hmm... you've got me there. I don't develop with .net, so have not tested the code in that tool. However, I'd be surprised...
  2. RebLazer

    Resizing form based on individal enduser's screen settings

    Brian, Thanks so very much for all of your help on this! It worked and I deployed the project! Many stars to you! Lazer
  3. RebLazer

    Resizing form based on individal enduser's screen settings

    This function looks great but always returns FALSE for me. I've got my own Desktop set at 1280 x 1024 with SMALL fonts. That means that is should return TRUE. Using the debugger, I see the variables have values that seem way, way off: hWndDesk = 5326858958733322 hDCDesk =...
  4. RebLazer

    Resizing form based on individal enduser's screen settings

    Brian, Wait a second. I think we're on different channels. I am referring to the setting one can change when doing the following: Right-click on the Desktop (not .NET related at all) then: Properties | Settings | Advanced You know - the Display Properties for one's computer - there's...
  5. RebLazer

    Resizing form based on individal enduser's screen settings

    1.1 (or more specifically - 1.1.4322)
  6. RebLazer

    Detecting an individual enduser's system font size

    This question is an offshoot of a previous discssion found in thread796-789479. Lazer
  7. RebLazer

    Detecting an individual enduser's system font size

    How do I detect whether the font size set is to "LARGE font" (125% normal size - 120 dpi) or "SMALL font"? I am referring to the setting one can change when doing the following: Right-click on the Desktop then: Properties | Settings | Advanced Thanks! Lazer
  8. RebLazer

    Resizing form based on individal enduser's screen settings

    Brian, I get a 'System.NullReferenceException' when I use that line. And just to clarify - I am referring to the screen properties that one sets by right clicking on the Desktop, etc. Thanks, Lazer
  9. RebLazer

    Resizing form based on individal enduser's screen settings

    But one more question on the topic... Aside from the enduser's 1280 x 1024 screen size - they also have the screen properties set to LARGE font size (125% normal size - 120 dpi). How do I detect that? Thanks very much, Lazer
  10. RebLazer

    Resizing form based on individal enduser's screen settings

    Oops... I had these lines reversed when calling my sub: menu_form = Me screen_size(menu_form) Thanks! Lazer
  11. RebLazer

    Resizing form based on individal enduser's screen settings

    Thanks, guys, for your help. One more related question... When I try to go ahead and resize the form, it doesn't seem to work: Sub screen_size(ByVal form_name As Form) If Screen.PrimaryScreen.WorkingArea.Width() = 1280 Then 'resize form to 90,70...
  12. RebLazer

    Resizing form based on individal enduser's screen settings

    Brian - that's what I was looking for! RiverGuy - Great ideas. I might look into AutoScale, actually - now that you got me looking at those properties... Thanks very much - stars for both!!! Lazer
  13. RebLazer

    Resizing form based on individal enduser's screen settings

    I forgot to mention that this is a Windows form app. -Lazer
  14. RebLazer

    Resizing form based on individal enduser's screen settings

    I was all ready to deploy an app onto a couple endusers' machines. I went over to the first one's computer to watch the big launch of my app with the marching band and balloons to celebrate ...well, maybe the band and balloons part is a bit exaggerated. In any case, after she ran the install...
  15. RebLazer

    A NullReferenceException guaranteed to have you scratching your head

    Chiph / all, I now call Dispose() on all "suspect" objects and it seems much better. Without Dispose, out of about 30 times, it crashed 5 times. With Dispose, out of 30 times, it didn't crash at all. Now don't get me wrong - I do not understand how a garbage collection issue leads to a NULL...
  16. RebLazer

    A NullReferenceException guaranteed to have you scratching your head

    Chiph, Thanks for your reply. No, I'm not currently doing that. Which object should I dispose - the CrystalReportsViewer? But even if I need to call Dispose, how would you explain why replicating the same scenario repeatedly - on completely static data sometimes be null and almost all of the...
  17. RebLazer

    A NullReferenceException guaranteed to have you scratching your head

    I have a VB.NET Windows form that I've been developing for about a month. The app consists of several forms. Aside from all of the usual Windows Forms controls manipulation (i.e. the GUI), it executes some simple SQL statements against a SQL Server 2000 database that is on the network, and...
  18. RebLazer

    Showing forms from Sub Main

    Bigfoot, Did you try Application.DoEvents? Lazer
  19. RebLazer

    how to import text file into tables

    It's not writing a routine like you asked, but the first thing that comes to mind is to use the Import Wizard to make a DTS (from Enterprise Manager) to do it. It can parse text files into SQL Server. Lazer
  20. RebLazer

    Two questions regarding packaging an application for distribution

    After packaging my app for distribution, I ran it on my enduser's computer. Question #1 Although I set the "Add/Remove Program" icon with an icon that I already have in the project, the actual "Add/Remove Program" icon itself is not the icon I chose, but rather that of a...

Part and Inventory Search

Back
Top