Application in .NET isn't working under Windows ME or 98

S

sp

The application is written in Visual Basic / .NET and working without
problems under Windows XP, Windows 2000, Windows 2003 but it isn't
working under Windows ME and Windows 98 - the computer hangs. After
computers hangs you can move mouse but can not press any key. Alt -
Ctrl- Del isn’t working so you have to reset the computer by pressing
button. I checked several Win 98 and Me - clean install to - always the
same!

At the beginning the application is working I can see splash screen and
use some data from MS SQL (so framework 2 is working OK!), but it hangs
when the large screen should be displayed.


Any ideas what is wrong?
 
L

Linda Liu [MSFT]

Hi Kofa,

Have you installed .Net framework 2.0 successfully on Win98 and Me? You may
refer to the following link to check if the computers installed Win98 and
Me meet the requirement for installing .Net Framework 2.0.

http://msdn.microsoft.com/netframework/technologyinfo/sysreqs/default.aspx
At the beginning the application is working I can see splash screen and
use some data from MS SQL (so framework 2 is working OK!), but it hangs
when the large screen should be displayed.

Is the .Net application you run on Win98 and Me a WinForms application? If
yes, would you tell me what the program does, e.g access database when the
main form is loaded?

You may set up a simple Hello World WinForms application and run it on
Win98 and Me to see whether the simple program can run sucessfully. If yes,
the problem may be related to actual code in your application.

I look forward to your reply.


Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

Cor Ligthert [MVP]

Kofa,

Be aware that not all classes are running on W98, Me or NT4Sp6 the best
example for me is SMTP, which was introduced on Windows 2000 and therefore
although you can make a program for it in Net, does it not go.

Just an addition to the message from Linda

Cor
 
S

sp

Have you installed .Net framework 2.0 successfully on Win98 and Me? You may
refer to the following link to check if the computers installed Win98 and
Me meet the requirement for installing .Net Framework 2.0.

http://msdn.microsoft.com/netframework/technologyinfo/sysreqs/default.aspx



use some data from MS SQL (so framework 2 is working OK!), but it hangs
when the large screen should be displayed.

Is the .Net application you run on Win98 and Me a WinForms application? If
yes, would you tell me what the program does, e.g access database when the
main form is loaded?

Yes it is WinForms application and it display login screen with some
data from MS SQL, so connection is working OK. Before main screen
appears the program connect to the internet and display web form (ie).
You may set up a simple Hello World WinForms application and run it on
Win98 and Me to see whether the simple program can run sucessfully. If yes,
the problem may be related to actual code in your application.

Login screen appears as I said before so the problem is with the code,
but I thought that .NET was make to provide compability beetween
operating systems (like JAVA).
I look forward to your reply.

I would like to debug application under Win ME, but I can not run Visual
Studio 2005 under ME. Sometime ago I read that there is a free (open
source not from Microsoft) program for making aplication in .NET but I
can not find it. Do you remeber the program name? I believe that it will
be runing under Win Me and in this way I will be able to debug application.
 
S

sp

Have you installed .Net framework 2.0 successfully on Win98 and Me? You may
refer to the following link to check if the computers installed Win98 and
Me meet the requirement for installing .Net Framework 2.0.

http://msdn.microsoft.com/netframework/technologyinfo/sysreqs/default.aspx



use some data from MS SQL (so framework 2 is working OK!), but it hangs
when the large screen should be displayed.

Is the .Net application you run on Win98 and Me a WinForms application? If
yes, would you tell me what the program does, e.g access database when the
main form is loaded?

Yes it is WinForms application and it display login screen with some
data from MS SQL, so connection is working OK. Before main screen
appears the program connect to the internet and display web form (ie).
You may set up a simple Hello World WinForms application and run it on
Win98 and Me to see whether the simple program can run sucessfully. If yes,
the problem may be related to actual code in your application.

Login screen appears as I said before so the problem is with the code,
but I thought that .NET was make to provide compability beetween
operating systems (like JAVA).
I look forward to your reply.

I would like to debug application under Win ME, but I can not run Visual
Studio 2005 under ME. Sometime ago I read that there is a free (open
source not from Microsoft) program for making aplication in .NET but I
can not find it. Do you remeber the program name? I believe that it will
be runing under Win Me and in this way I will be able to debug application.
 
C

C-Services Holland b.v.

sp wrote:

At the beginning the application is working I can see splash screen and
use some data from MS SQL (so framework 2 is working OK!), but it hangs
when the large screen should be displayed.

Does the large screen have a lot of controls on it? If so, Win9x might
simply run out of resources. I've run into this problem once in a vb5
application so I had to reduce the number of controls on the screen.

The state of the system resources can be monitored using Windows
Resource Meter (C:\Windows\rsrcmtr.exe).
 
L

Linda Liu [MSFT]

Hi Kofa,

You have mentioned that the program connect to the internet and display web
pages when the main form is loaded. Which control you are using to browse
web pages on your form, WebBrowser or Microsoft Web Browser? Whatever
control is used to browse web pages, they all make use of the Shdocvw.dll
file. If the Shdocvw.dll file doesn't exist on the machine, the program
would fail to run.

The Shdocvw.dll file is installed in the %Windir%\System folder in Win95,
Win98 and WinMe. If the Shdocvw.dll file doesn't exist, you may reinstall
the Internet Explorer.

You may also have a try open the web pages the .Net program tries to open
when it starts in IE on the machine installed Win98/Me to see if these web
pages could be opened in IE. If not, the IE version may be a little older
and you may update it.
Sometime ago I read that there is a free (open source not from Microsoft)
program for making aplication in .NET but I can not find it. Do you remeber
the program name?

I am sorry that I don't know the free progam for making applications in
.Net and that VS 2005 couldn't be installed on WinMe. You may refer to the
following link to learn more about the system requirements for installing
VS 2005.

http://msdn.microsoft.com/vstudio/support/readme/default.aspx

Hope this helps.



Sincerely,
Linda Liu
Microsoft Online Community Support
 
C

Cor Ligthert [MVP]

Sp,

As there is for an OS no Java runtimers, than it will not run.
As it is incomplete or referening to non existent or old software, than you
will have the same problems as you have now.

Cor
 
C

Cor Ligthert [MVP]

Linda,

This can be a very good catch given the information that you got, my
compliments,

:)

Cor
 
S

sp

Sorry web forms working good!!!

.... program crashes when the MDI Parent Form should be opened - at the
moment it should be opened I see that the screen is flashing... but I am
not sure...

On the MDI Parent Form there are 11 icons and one window.

I read that The state of the system resources can be monitored using
Windows Resource Meter (C:\Windows\rsrcmtr.exe) but I have not this
program and I think that 11 icons are not tu much...


any ideas what to do?
 
L

Linda Liu [MSFT]

Hi Kofa,

If the .Net program you are running uses some specific API of some OS, for
example Win2000, the program couldn't run on any machine installed a lower
version of OS.

I think you could narrow down the problem by commenting out some code in
the program or removing some controls on the form. Then rebuild the project
and test it on Win98/Me to see if it could run on Win98/Me.

Hope this helps.


Sincerely,
Linda Liu
Microsoft Online Community Support
 

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