Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

Strange forms problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RedLars - 05 Sep 2007 10:55 GMT
Got this strange problem that I need some help in solving.

An application (uses .Net 1.0) developed by our company is showing a
simple form dialog incorrectly on one computer (so far). I'd like to
stress that this piece of software has been around for several years,
running on lots of computers and we've never come across this problem
until now.

The form in question contains two multi-line textboxes, several
checkboxes and a button. The two textboxes are set to dock=fill and
dock=button, the checkboxes are located next to the top textbox
(anchor=top,right) and the button is located next to the button
textbox  (anchor= button,right). This configuration, as said above,
has worked perfectly so far, it constructed using vs2002 editor.
However, on this one computer only the two textboxes appear. It seems
to me like the textboxes are hidding the checkboxes and button.

Any thoughts? It seems to me like there must some kind of local
environmental setting og bug thats causing this problem. Have tryed
adding .Net 1.0 sp3 without any help. Switching .Net version is not an
option at this point.
Alberto Poblacion - 05 Sep 2007 11:20 GMT
> An application (uses .Net 1.0) developed by our company is showing a
> simple form dialog incorrectly on one computer (so far). I'd like to
> stress that this piece of software has been around for several years,
> running on lots of computers and we've never come across this problem
> until now.

  One thing to examine: maybe the computer where the application fails has
the screen resolution set to 120 dpi, while all the other computers where
the form displayed correctly were set to the default of 96 dpi? The dpi
setting sometimes causes unexpected effects on programs that are not
dpi-aware.
AlexS - 05 Sep 2007 12:25 GMT
Change dock's to anchor's, this should resolve the issue

Ii I remember correctly in 1.0/1.1 dock.fill was somewhat unpredictable for
some controls and I stopped to use it since.

> Got this strange problem that I need some help in solving.
>
[quoted text clipped - 17 lines]
> adding .Net 1.0 sp3 without any help. Switching .Net version is not an
> option at this point.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.