|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Distributing VB 2005 projectsHello everyone!
I just finished writing a small app in VB 2005. I paid very close attention to using only Framework 1.1 commands since my client has not yet installed the Framework 2.0 across their enterprise. When I tested my app on another system, my app tells me that I must install the 2.0 Framework for it to work even though 1.1 is installed. I thought .NET projects were backward compatible as long as the functions are compatible. What should I do to distribute my app? Any help would be gretaly appreciated. Sean "Sean Campbell" <SeanCampb***@discussions.microsoft.com> wrote in message afaik, Framework 2.0 is required for any VS2005 project, regardless.news:04F9017B-0DAF-4482-AAD5-03CA099E3D81@microsoft.com... > Hello everyone! > > I just finished writing a small app in VB 2005. I paid very close > attention > to using only Framework 1.1 commands since my client has not yet installed > the Framework 2.0 across their enterprise. -- Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com Please keep all discussions in the groups.. "Sean Campbell" <SeanCampb***@discussions.microsoft.com> schrieb: I strongly recommend to install .NET Framework 2.0. Almost any VB project > I just finished writing a small app in VB 2005. I paid very close > attention > to using only Framework 1.1 commands since my client has not yet installed > the Framework 2.0 across their enterprise. > > When I tested my app on another system, my app tells me that I must > install > the 2.0 Framework for it to work even though 1.1 is installed. I thought > .NET > projects were backward compatible as long as the functions are compatible. adds .NET 2.0-dependent stuff behind the scenes. If you want to target .NET 1.1, use VS.NET 2003 for development. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Sean,
> No forwards compatible. (should be because it is at the moment not true with > When I tested my app on another system, my app tells me that I must > install > the 2.0 Framework for it to work even though 1.1 is installed. I thought > .NET > projects were backward compatible as long as the functions are compatible. > 1.x to 2.0, I hope the new SP will fix that). A program language can be backwards compatible. Cor Cor, I'm a little confused by your answer. Suppose I have a machine that
only has .Net 2.0 installed. I have another machine that I developed my application using VB.Net 2003 and .Net 1.1 installed. Can I take my application I developed with VB.Net 2003 and .Net 1.1 and run it on the machine that only has .Net 2.o installed? -- Show quoteHide quoteDennis in Houston "Cor Ligthert [MVP]" wrote: > Sean, > > > > > When I tested my app on another system, my app tells me that I must > > install > > the 2.0 Framework for it to work even though 1.1 is installed. I thought > > .NET > > projects were backward compatible as long as the functions are compatible. > > > No forwards compatible. (should be because it is at the moment not true with > 1.x to 2.0, I hope the new SP will fix that). > > A program language can be backwards compatible. > > Cor > > > It is possible to run an app developed with framework 1.1 on a machine that
only has 2.0 on it. BUT, there are no guarantees that everything will work correctly. That is why it is recommended that you install the framework that the app was developed on , on the target machine. That way, there is less likely to be problems. And all of the frameworks ( 1.0,1.1, & 2.0) are supposed to be able to con-exist without any interference or problems between them. Before, a major hard drive failure, I had all three development enviroments and frameworks installled, along with Visual Studio 6.0 , and never had any problems. ( YMMV) james Show quoteHide quote "Dennis" <Den***@discussions.microsoft.com> wrote in message news:8E971478-284D-4548-A799-A9C8B6E56B0B@microsoft.com... > Cor, I'm a little confused by your answer. Suppose I have a machine that > only has .Net 2.0 installed. I have another machine that I developed my > application using VB.Net 2003 and .Net 1.1 installed. Can I take my > application I developed with VB.Net 2003 and .Net 1.1 and run it on the > machine that only has .Net 2.o installed? > -- > Dennis in Houston > > > "Cor Ligthert [MVP]" wrote: > >> Sean, >> >> > >> > When I tested my app on another system, my app tells me that I must >> > install >> > the 2.0 Framework for it to work even though 1.1 is installed. I >> > thought >> > .NET >> > projects were backward compatible as long as the functions are >> > compatible. >> > >> No forwards compatible. (should be because it is at the moment not true >> with >> 1.x to 2.0, I hope the new SP will fix that). >> >> A program language can be backwards compatible. >> >> Cor >> >> >> Dennis,
This is as it AFAIK should have been, however in version Net 2.0 are some classes working as they probably should (only fair to read in the documentation) have been. By instance the dataview is now on more places in 2.0 really dynamic. I don't know how Microsoft will solve this. I can not imaging a future with on one computer needed Net 1.0 (SP1, SP2), Net 1.x (SP1), Net 2.0 (Sp1, SP2, SP3, SP4), Net 2.1, Net 3,0 That is worse than the Dll hell. Cor Thanks for your insight...agree dll hell maybe wasn't so bad after all. I
wonder if Vista will come with all the frameworks. Anyway, best answer is just to try the application under framework 2.0 and see if it works. I did notice that Microsoft has kept quiet about this topic. -- Show quoteHide quoteDennis in Houston "Cor Ligthert [MVP]" wrote: > Dennis, > > This is as it AFAIK should have been, however in version Net 2.0 are some > classes working as they probably should (only fair to read in the > documentation) have been. By instance the dataview is now on more places in > 2.0 really dynamic. > > I don't know how Microsoft will solve this. > > I can not imaging a future with on one computer needed > > Net 1.0 (SP1, SP2), Net 1.x (SP1), Net 2.0 (Sp1, SP2, SP3, SP4), Net 2.1, > Net 3,0 > > That is worse than the Dll hell. > > Cor > > > On Mon, 27 Feb 2006 08:12:47 -0800, "Sean Campbell" <SeanCampb***@discussions.microsoft.com> wrote: ¤ Hello everyone!¤ ¤ I just finished writing a small app in VB 2005. I paid very close attention ¤ to using only Framework 1.1 commands since my client has not yet installed ¤ the Framework 2.0 across their enterprise. ¤ ¤ When I tested my app on another system, my app tells me that I must install ¤ the 2.0 Framework for it to work even though 1.1 is installed. I thought .NET ¤ projects were backward compatible as long as the functions are compatible. ¤ ¤ What should I do to distribute my app? Any help would be gretaly appreciated. If you compile your application in 2005 the minimum supported version of the Framework is 2.0. Paul ~~~~ Microsoft MVP (Visual Basic)
Show quote
Hide quote
"Paul Clement" wrote: My thanks to all who answered. I will have to copy/paste my 2005 code into a > On Mon, 27 Feb 2006 08:12:47 -0800, "Sean Campbell" <SeanCampb***@discussions.microsoft.com> wrote: > > ¤ Hello everyone! > ¤ > ¤ I just finished writing a small app in VB 2005. I paid very close attention > ¤ to using only Framework 1.1 commands since my client has not yet installed > ¤ the Framework 2.0 across their enterprise. > ¤ > ¤ When I tested my app on another system, my app tells me that I must install > ¤ the 2.0 Framework for it to work even though 1.1 is installed. I thought .NET > ¤ projects were backward compatible as long as the functions are compatible. > ¤ > ¤ What should I do to distribute my app? Any help would be gretaly appreciated. > > If you compile your application in 2005 the minimum supported version of the Framework is 2.0. > > > Paul > ~~~~ > Microsoft MVP (Visual Basic) > 2003 project. It does suck to have to do this but waddya gonna do? This would be a great enhancement to all Visual languages (VB, C# and C++) to have an option to be backward compatible at compile time. IMHO. Sean "Sean Campbell" <SeanCampb***@discussions.microsoft.com> schrieb: I agree with you that it would be great if new versions of VS could still be > I will have to copy/paste my 2005 code into a > 2003 project. It does suck to have to do this but waddya gonna do? This > would > be a great enhancement to all Visual languages (VB, C# and C++) to have an > option to be backward compatible at compile time. IMHO. compile for older versions of the .NET Framework. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> On Mon, 27 Feb 2006 10:19:27 -0800, "Sean Campbell" <SeanCampb***@discussions.microsoft.com> wrote: ¤ ¤ ¤ "Paul Clement" wrote: ¤ > ¤ Hello everyone!¤ ¤ > On Mon, 27 Feb 2006 08:12:47 -0800, "Sean Campbell" <SeanCampb***@discussions.microsoft.com> wrote: ¤ > ¤ > ¤ ¤ > ¤ I just finished writing a small app in VB 2005. I paid very close attention ¤ > ¤ to using only Framework 1.1 commands since my client has not yet installed ¤ > ¤ the Framework 2.0 across their enterprise. ¤ > ¤ ¤ > ¤ When I tested my app on another system, my app tells me that I must install ¤ > ¤ the 2.0 Framework for it to work even though 1.1 is installed. I thought .NET ¤ > ¤ projects were backward compatible as long as the functions are compatible. ¤ > ¤ ¤ > ¤ What should I do to distribute my app? Any help would be gretaly appreciated. ¤ > ¤ > If you compile your application in 2005 the minimum supported version of the Framework is 2.0. ¤ > ¤ > ¤ > Paul ¤ > ~~~~ ¤ > Microsoft MVP (Visual Basic) ¤ > ¤ ¤ My thanks to all who answered. I will have to copy/paste my 2005 code into a ¤ 2003 project. It does suck to have to do this but waddya gonna do? This would ¤ be a great enhancement to all Visual languages (VB, C# and C++) to have an ¤ option to be backward compatible at compile time. IMHO. That's fine as long as you aren't using any of the newer features that are not supported in the prior version. Paul ~~~~ Microsoft MVP (Visual Basic)
DateTimePicker + DataBinding + Null-Value: THE solution?
Is there a simple way to email? What is Instrumentation? ptr to string ? How to remove Volume Name on removable drive? Help please Creating web page of links and content AcroRd32.exe left open System.IO.Ports.SerialPort.GetPortNames return wrog names above CO Unit Testing and Test Cases NEWBIE question |
|||||||||||||||||||||||