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,rig ht) 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. 2 1345
"RedLars" <Li***********@ gmail.comwrote in message
news:11******** *************@g 4g2000hsf.googl egroups.com...
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.
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.
"RedLars" <Li***********@ gmail.comwrote in message
news:11******** *************@g 4g2000hsf.googl egroups.com...
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,rig ht) 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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Olaf |
last post by:
I have a frameset page witch contains the myFuc() function. The
function is accessed from a page in one of the frames in the frameset.
An example is shown below.
<input onclick="javaScript:alert('document.forms(0)='+document.forms(0));
parent.myFunc(document.forms(0));" type="button" value="Open"
name="Button" ID="Button">
The strange part is that the debug alert says that the
document.forms(0) is an object så all seem to be well. But...
|
by: John |
last post by:
Hi
First of all apologies for posting so much code but this is rather involved
and I am totally stumped. Basically I have a main form (Staff Batch
SMS/E-Mail) which calls a function (SendSMS) in a module with in turn calls
a form (frmInet) which contains an ms internet control (Inet1). Problem is
that once the function Send SMS returns and the code tries to close the main
form a 'Runtime error 2486: You can't carry out this action at...
|
by: Spam Trap |
last post by:
I am getting strange resizing problems when using an inherited form.
Controls are moving themselves seemingly randomly, but reproducibly.
"frmBase" is my base class (a windows form), and contains a few controls
anchored to the sides of the form.
"frmChild" inherits from "frmBase"... and the controls appear on the
inherited form as expected. However things start going wrong when I place
addition controls on the "frmChild" form. When I...
|
by: Piedro |
last post by:
Can someone reproduce the following error?
I'm using the module at the bottom of my post to owner draw a menu
items, I call the module from a form like this:
Private Sub mnuOpen_DrawItem(ByVal sender As Object, ByVal e As
System.Windows.Forms.DrawItemEventArgs) Handles mnuOpen.DrawItem
Dim Ic As New Icon(Application.StartupPath & "\101_72.ico")
DrawItems(e, mnuOpen, Ic)
End Sub
|
by: Marc Robitaille |
last post by:
Hello group
I have a strange problem. I have a panel. On this panel, I can drop custom
Textbox that I create at runtime. I have a toolbar on witch a delete button
exist. When I click on this button, the application delete the select
Textbox on the panel. I allso give the ability to the Texbox to contains
others Textbox. That mean that my fonction is recursiv.
This is the code when I clik on the delete button
| |
by: Juan Pedro Gonzalez |
last post by:
I am a bit unsure about this "Effect"... My code:
Public Sub Main()
Application.EnableVisualStyles()
Application.DoEvents()
Dim myMainForm As New FormularioPrincipal
Dim mySplash As New MyClass.SplashScreen
If mySplash.ShowDialog() = DialogResult.OK Then
|
by: na |
last post by:
I am using form authentication and InProc cookieless session. The
strange thing is that when an authenticated user try to navigate to any
page that is in subfolder of the application root, the session is
restarted and new session id is generated. Thus the user would never be
able to access those pages because each page's InitializeComponent()
checks if (Session.Keys.Count == 0). If yes, then server transfer the
request to login.aspx...
|
by: Nonee |
last post by:
Hello-
I have a form with the mediaplayer referenced to play mp3's and avi's
and I believe that is what is causing the problem. I am not sure, but
I am hoping. Anyway, I "published" the vb.net app and moved it to
another computer and I get the following error msg when I load the
form with the mediaplayer on it. I upgraded this project from a
standard vb app to the .net version (vb express anyway) and that is
when the problem arose. ...
|
by: birdinhand |
last post by:
Hello, all.
After trying to wade through a great deal of undocumented and
uncommented code in order to speed up a frame capture rate, I've
decided that, for my sanity and that of my boss and any coders to
follow me, I should start over and write it myself.
I reuse a great deal of the old code, but I can't really get much
further until I get the passthrough working (Passthrough is the 'live'
video feed captured by the camera and card).
|
by: Paxxer |
last post by:
I use Forms authentication with a SQL Server database.
The portion of the Web.config Looks like this
.
<authentication mode="Forms" >
<forms
timeout="43200"
loginUrl="~/SimpleLogin.aspx"
cookieless="UseCookies"
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |