Re: Why I have error message "not have an entry point defined"?
- From: "Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 18 Aug 2005 07:09:12 -0400
> Usually, I do not need to take care of it. The IDE generate what you need.
>
> I do not find a main() method in the class source code.
There's your problem. Depending upon the context, the IDE may or may not
include the Main() function in a C# Windows.Form. C# requires a bit more
understanding and control on the part of the programmer. VB.Net still tends
to hide some things, and "take care of them" for you. Still, you can control
these things in a VB.Net project when you need to. You just have to know how
to find them.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Paranoia is just a state of mind.
"david" <david@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6012BB2B-8756-4D3B-8B29-74902B6BE2A8@xxxxxxxxxxxxxxxx
> The window form client and service are developed by Visual Studio .NET.
> Usually, I do not need to take care of it. The IDE generate what you need.
>
> I do not find a main() method in the class source code.
>
> David
>
> "Kevin Spencer" wrote:
>
>> Does the Form have a Main() method defined? This is the entry point.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> ..Net Developer
>> Paranoia is just a state of mind.
>>
>> "david" <david@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:8940A930-68C3-4750-8F9B-EA736AD2D463@xxxxxxxxxxxxxxxx
>> > When I compile a window form client for web service, there is error
>> > message
>> > as follows:
>> > Program
>> > 'D:\usr\winVBcontrol\WinClient4WebServiceFileCS\obj\Debug\WinClient4WebServiceFileCS.exe'
>> > does not have an entry point defined
>> >
>> > Notice: I create a solution (perhaps for VB). In the sulotion, I
>> > created
>> > win
>> > form clients for web service with VB in a window form VB project and
>> > they
>> > worked fine. Now the current one is developed in a C# project under
>> > this
>> > solution. Does it cause the error message?
>> >
>> > Any help.
>> >
>> > Thanks.
>> >
>> > David
>> >
>>
>>
>>
.
- References:
- Prev by Date: Re: Loosing events
- Next by Date: Re: More on AJAX and Microsoft Atlas
- Previous by thread: Re: Why I have error message "not have an entry point defined"?
- Next by thread: RE: Why I have error message "not have an entry point defined"?
- Index(es):
Relevant Pages
|