473,395 Members | 2,446 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Application does not contain a definition for 'Run'


In a windows form app (which acts as a front end to my quickfix
application), I get the following error on compiling

Application does not contain a definition for 'Run'.

What does this mean, thanks for any pointers.

Nov 17 '05 #1
3 11937
ohayo wrote:
In a windows form app (which acts as a front end to my quickfix
application), I get the following error on compiling

Application does not contain a definition for 'Run'.

What does this mean, thanks for any pointers.


That application does not contain a definition for 'Run'. B-|
Nov 17 '05 #2
Hi,

Humm, Do you by any chance have a class named Application?

Change the name of it, or locate this method :
[STAThread]

static void Main()

{

Application.Run(new Form1());

}

and change the line for this: System.Windows.Forms.Application.Run( ... )

cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation



"ohayo" <kr************@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...

In a windows form app (which acts as a front end to my quickfix
application), I get the following error on compiling

Application does not contain a definition for 'Run'.

What does this mean, thanks for any pointers.

Nov 17 '05 #3
Can you show the code where you're accessing the Application object?
If you are creating and instance of it, then Run would not be
accessible as static members are not accessible from an instance of the
class.

Nov 17 '05 #4

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

Similar topics

1
by: G.D | last post by:
hi i create an excel application (MS Excel 2000 installed) in vb.net. At the end, i close all workbook and quit from excel aplication. I also set them nothing and call garbage collection. But excel...
4
by: Newbee Adam | last post by:
will an application created in .NET run a windows 98 and 2000 machines -- Adam S
3
by: Hughsie | last post by:
Hi I have created an installation package for my app and I have installed the application onto another machine together with the framework and the correct MDAC version. The problem is when I...
4
by: Charts | last post by:
I have a C# console application and I need pop up a Messagebox. However the IntelliSense does not show for using System.Windows.Forms; So, the application does not recognize the MessageBox. Please...
0
by: stephen | last post by:
Hi, Please oblige if this is a repeat message. I was working on W2k OS and hd a windows application to monitoring my folders (FileSystemWatcher)... it writes any changes to a log file, due to...
5
by: Allen | last post by:
I wrote many classes. In a class, there is a member variable which is declared as char szMTreeBuf. On both Windows XP and VxWorks, it cannot work. Then I try to declare the member variable as...
0
by: billmiami2 | last post by:
I have a machine (XP PRO x64) with both the .NET 2.0 (v2.0.50727) and 1.1 (v1.1.4322) frameworks installed. I have both VS2005 and VS2003 running. I'm using Dennis Bauer's ASP.NET version...
0
by: abrosey | last post by:
The error is surrounded in stars near the bottom of the code, any help would be appreciated! namespace USDP.eCFUtilities { /// <summary> /// Summary description for CatalogHelper ///...
0
by: naveenkumarbant | last post by:
Good morning sir sir am developing an web application like online game using java,j2ee,apachetomact,struts. in that i have one module that module developed in php how to integrate this php module...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...
0
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...
0
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...

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.