Visual Studio 2005 Winforms App on .Net 1.1

M

Mike

I recently compiled on VS 2005 a plain-vanilla Winforms application
originally written on VS 2003. This was out of curiosity due to a bug
I was unable to resolve. The bug went away. My organization does not
yet have 2.0 framework installed on workstations (still on 1.1). My
lead asked me if I can deploy the VS 2005 winforms app on 1.1 Framework
workstations. I tested and everything appears to work correctly. Am I
missing something? Theoretically, should I be able to deploy VS 2005
compiled Winforms apps to workstations with just 1.1?

Thanks much,

Mike
 
N

Norman Yuan

Where did you test the app compiled with VS2005? On a machine with only
..NET1.1?

AKAIK, .NET APP developed on .NET2.0 requires .NET2.0 Framework. I would not
run on .MET1.x only box. On the other hand, .NET 1.1 app most likely would
run on a machine with .NET2.0 framework only.
 
M

Mike

I tested the VS2005 compiled app on a device with only 1.1 Framework
and it seemed to work fine. I understand then that theoretically, this
app compiled on VS2005 should not work on a device with just .Net 1.1.
Is there anywhere I might be able to find more definite information on
this?

Thanks,

Mike
 
R

Randolpho

I don't see how your "bug" could have "gone away". If the bug actually
was a Microsoft bug in the 1.1. version of the framework, and was fixed
in 2.0, then running your program on a v1.1 runtime should duplicate
the bug. If the bug was in your code, then the bug should still be
there.

I suppose the problem may be a bug in the compiler itself which was
fixed in the 2k5 compiler. If that's the case, then yeah, you should be
fine using 1.1.

So what was this bug? Was it in the compiler?
 
M

Mike

The "bug" was that the first time the application was launched via DDE
command from another application (it's a kind of operative note editor)
the buttons on the toolbar were sized incorrectly (technical term is
'scrunched together'). After the application received a DDE 'hide' and
the form hid (this.hide) and then received another show (this.show) the
buttons were constructed the correct size. When I compiled it on
VS2005 the buttons always were constructed the correct size. I had
just compiled on 2005 because I was unable to figure out why else it
might be doing that. You have any ideas? My lead doesn't want to put
this app out compiled on 2005 right now if at all possible.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top