When I compile a window form client for web service, there is error message
as follows:
Program
'D:\usr\winVBcontrol\WinClient4WebServiceFileCS\ob j\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 6 1711
david <da***@discussions.microsoft.com> ha scritto: When I compile a window form client for web service, there is error message as follows: Program 'D:\usr\winVBcontrol\WinClient4WebServiceFileCS\ob j\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
The VB entry point is the "nameclass" method.
--
AZ [Microsoft - .NET MVP]
Mia Home page: http://ciclismo.sitiasp.it
Asp.Net community: http://www.aspitalia.com
Il mio blog: http://blogs.aspitalia.com/az
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" <da***@discussions.microsoft.com> wrote in message
news:89**********************************@microsof t.com... When I compile a window form client for web service, there is error message as follows: Program 'D:\usr\winVBcontrol\WinClient4WebServiceFileCS\ob j\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
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" <da***@discussions.microsoft.com> wrote in message news:89**********************************@microsof t.com... When I compile a window form client for web service, there is error message as follows: Program 'D:\usr\winVBcontrol\WinClient4WebServiceFileCS\ob j\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
For VB form, I can not find the method in the source. But there is a
initialization method. My problem is the C# form.
David
"Andrea Zani" wrote: david <da***@discussions.microsoft.com> ha scritto: When I compile a window form client for web service, there is error message as follows: Program 'D:\usr\winVBcontrol\WinClient4WebServiceFileCS\ob j\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
The VB entry point is the "nameclass" method.
-- AZ [Microsoft - .NET MVP] Mia Home page: http://ciclismo.sitiasp.it Asp.Net community: http://www.aspitalia.com Il mio blog: http://blogs.aspitalia.com/az
Thank for both of you.
I have figured it out.
The cause is what I said in my notice above. That is, I mix C# project with
VB solution in development.
David
"david" wrote: When I compile a window form client for web service, there is error message as follows: Program 'D:\usr\winVBcontrol\WinClient4WebServiceFileCS\ob j\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
> 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" <da***@discussions.microsoft.com> wrote in message
news:60**********************************@microsof t.com... 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" <da***@discussions.microsoft.com> wrote in message news:89**********************************@microsof t.com... > When I compile a window form client for web service, there is error > message > as follows: > Program > 'D:\usr\winVBcontrol\WinClient4WebServiceFileCS\ob j\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 > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Randy Crockett |
last post by:
I have created a very simple DLL in VC++ 6.0, then created a very simple App in VC++ 6.0 to use the DLL and this works fine
When I try to use the same DLL in C#, with DLLImport, the app finds the...
|
by: Dmitry |
last post by:
Hello,
Sometimes on js code execution Mozilla 1.5
prints in JS concole the following error:
"Error: fn is not defined"
where "fn" is the function name surely defined _before_ the line
that...
|
by: MLH |
last post by:
I copied the following code snippet from A97 HELP. Am
getting an error at compile time suggesting there's a problem
with the first line (compile error, user-defined type not defined).
It is likely...
|
by: Dave |
last post by:
This morning I copied a C# console project file I was working on over the
week-end to my workstation and tried to run it. I got the message:
Program 'C:\Visual Studio\myProj.exe' does not have an...
|
by: Eric G. Harrison |
last post by:
We have a project with many other projects referenced (all of which are referenced at the project level and are included in the solution). Frequenly, if we make a change in project A (such as adding...
|
by: cherryparadise001 |
last post by:
Hi All,
I have moved an asp system from Window Server 2000 to Window Server
2003 recently.
Many error occured and most of them are unable to get the control's
value in the page. I am newbie to...
|
by: M G Henry |
last post by:
I have a tabbed form that contains 12 different "pages" and when I try
and run the form I get the error message too many fields defined ---
which I believe is the 255 field limit in the record...
|
by: jonathanemil |
last post by:
Hello,
I am a 1st semester Computer Science student in a Python class. Our current assignment calls for us to read a list from a file, create a 2-dimensional list from the file, and check to see...
|
by: jmike |
last post by:
I'm using some legacy code that has a user-defined exception in it.
The top level program includes this line
from TestRunError import *
It also imports several other modules. These other...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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,...
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |