473,769 Members | 2,100 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"Hello World" like application won't run on another PC

Hello,

I am having a problem. I have developed a couple of small apps using
Visual Studio 2005 C#. I am to the point where I want to test the app
on another machine. I copied it across the network to the target. When
I run the app I get a message saying

"WindowsApplica tion1 has encountered a problem and needs to close. We
are sorry for the inconvenience."

I even tried a hello world app with simply a form and a button. The
same thing happens. I installed dotnetfx.exe on the target machine to
ensure that it has .NET 2.0 Framework.

What else could the problem be?

Thanks.

Mike McWhinney
elja, Inc.

Sep 1 '06 #1
2 2122
Eljaninc,

Why not try a complete real Hello World application, than we know what code
you are using?

Cor

"eljainc" <el*****@sbcglo bal.netschreef in bericht
news:11******** *************@i 42g2000cwa.goog legroups.com...
Hello,

I am having a problem. I have developed a couple of small apps using
Visual Studio 2005 C#. I am to the point where I want to test the app
on another machine. I copied it across the network to the target. When
I run the app I get a message saying

"WindowsApplica tion1 has encountered a problem and needs to close. We
are sorry for the inconvenience."

I even tried a hello world app with simply a form and a button. The
same thing happens. I installed dotnetfx.exe on the target machine to
ensure that it has .NET 2.0 Framework.

What else could the problem be?

Thanks.

Mike McWhinney
elja, Inc.

Sep 2 '06 #2
Possibly trust issues; are you running it from a network area, or from
a local drive on the target?

Sep 2 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2195
by: ME | last post by:
I am trying to find a prewritten method for converting a string like this:"Hello World" to this "Hello\sWorld". I plan to use it to build a regular expression. Specifically I am looking for a method that can convert not just space (\s) but also any character that needs to be escaped in a given string. Thanks, Matt
6
4132
by: Matthew | last post by:
How would I go about creating a simple "hello world" program that will run in Unix. I am using MS Visual C++.
33
5581
by: ankursinha | last post by:
Hi, Is it possible to write a C program that prints "Hello World" on screen without having a single semi-colon in the entire program? The extra constraint here is that u r not allowed to use if,while,switch etc. So far,i figured this could be done by insertint the printf statement in main as shown: int main(int argc=printf("Hello world")
42
9899
by: Prashanth Badabagni | last post by:
Hi, Can any body tell me how to print "hello,world" with out using semicolon Thanks in advance .. Bye Prashanth Badabagni
8
7599
by: vijay | last post by:
Hello, As the subject suggests, I need to print the string in the reverse order. I made the following program: # include<stdio.h> struct llnode { char *info;
7
5540
by: randy collins | last post by:
I've installed Visual Studio 2005 Beta from the MSDN cd dated Aug 2004, which installs the 2.0 framework and ASP.NET 2.0. I write a simple aspx page containing <HTML><BODY>Hello world</BODY></HTML> and place it in inetpub\wwwroot. I run the page http://localhost/test.aspx and it fails with "Server Error in '/' Application." "Failed to map the path '/test.aspx'. " I can successfully run asp and htm pages from that same location, however. ...
3
2354
by: lovecreatesbeauty | last post by:
Both `K&R C, 2nd' and `C: A reference manual, 5th' introduce the "hello, world" thing using the name "string-constant". But `ISO/IEC 9899:TC2' does not include this kind of thing in section `A.1.5 Constants'.
4
6289
by: arnuld | last post by:
i am learning C and doing the exercise 1-1 of K&R2, where K&R ask to remove some parts of programme and experiment with error, so here i go: #include <stdio.h> int main () { printf('hello world\n'); }
0
1483
by: Gerardo Herzig | last post by:
Hi all. Im having some "problems" with a small concurrent plpython function. Based on a small example about concurrent programming, there is some code which works fine under python: #! /usr/bin/python import threading, random import time def myPrint(str):
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10215
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
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...
1
9996
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,...
0
9865
tracyyun
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...
0
8872
agi2029
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...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3564
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.