473,320 Members | 2,110 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,320 software developers and data experts.

winservice on VS.NET

cs
I started a winservice on VS.NET and it was all going fine, I wrote over 500
lines of code and wanted to test them without installing the service, so I
added a main method and set a starting point to my project, now I have taken
both those things out and when I compile no exe is made and it says
Program 'blah blah blah' does not have an entry point defined
how can I make it realize its a winservice again?

Nov 15 '05 #1
3 1665
Try going into the appliocation at the code level and restructuring the
"blah blah blah". That will definitely improve your "stuff stuff stuff".
"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:uc**************@TK2MSFTNGP10.phx.gbl...
I started a winservice on VS.NET and it was all going fine, I wrote over 500 lines of code and wanted to test them without installing the service, so I
added a main method and set a starting point to my project, now I have taken both those things out and when I compile no exe is made and it says
Program 'blah blah blah' does not have an entry point defined
how can I make it realize its a winservice again?

Nov 15 '05 #2
cs
just noticed my service class had hte main method removed, i wonder when I
did that, cause I did all my tests on a different class.

"Road Warrior" <sp*****@getbounced.net> wrote in message
news:eK**************@tk2msftngp13.phx.gbl...
Try going into the appliocation at the code level and restructuring the
"blah blah blah". That will definitely improve your "stuff stuff stuff".
"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:uc**************@TK2MSFTNGP10.phx.gbl...
I started a winservice on VS.NET and it was all going fine, I wrote over

500
lines of code and wanted to test them without installing the service, so I added a main method and set a starting point to my project, now I have

taken
both those things out and when I compile no exe is made and it says
Program 'blah blah blah' does not have an entry point defined
how can I make it realize its a winservice again?


Nov 15 '05 #3
seeee I told yah restructuring the "blah blah blah" would work. sometimes
i amaze even myself.

"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:Oe**************@tk2msftngp13.phx.gbl...
just noticed my service class had hte main method removed, i wonder when I
did that, cause I did all my tests on a different class.

"Road Warrior" <sp*****@getbounced.net> wrote in message
news:eK**************@tk2msftngp13.phx.gbl...
Try going into the appliocation at the code level and restructuring the
"blah blah blah". That will definitely improve your "stuff stuff stuff".
"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:uc**************@TK2MSFTNGP10.phx.gbl...
I started a winservice on VS.NET and it was all going fine, I wrote
over
500
lines of code and wanted to test them without installing the service,
so I added a main method and set a starting point to my project, now I have

taken
both those things out and when I compile no exe is made and it says
Program 'blah blah blah' does not have an entry point defined
how can I make it realize its a winservice again?



Nov 15 '05 #4

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

Similar topics

2
by: cs | last post by:
I have a windows service that on the start method it launches a BackGround thread, and I am not certain if this is the issue. My problem is that my service never seems to finish starting, the...
0
by: satti | last post by:
Hi, I have the following problem: I want to enable data transfer between my WinService and the Desktop I tried to set the flag manually in the Registry at...
0
by: Visual Systems AB \(Martin Arvidsson\) | last post by:
Hi! I am trying to create a windows service that will add and remove items from outlooks itemlist. But when i create the outlook application instance i get the message "Rejected Safe Mode...
0
by: Macisu | last post by:
Is possible to use a timer in a WinService? Ideas
0
by: Eric | last post by:
Hi I'm trying to make a service that check if a new file is created in a specific folder. I use this code fwFichierImp.Path = "c:\Test\ fwFichierImp.Filter = "...
2
by: John | last post by:
Hi Are there any restrictions on a windows service app to not do any of the following; - accessing a webservice, - opening a local database, and - inserting,/updating records between the...
3
by: ChristianProgrammer | last post by:
Its been a month and a half now. I have tried to get my WSSF web service to reference a class library that IS a Socket Client. The Socket Client in question runs fine when called by a testing exe....
5
by: Jeff | last post by:
Hey ..NET 2.0 I'm working on a winservice created in .NET 2.0. Now I want to do some modications to this winservice. I want this winservice at every start of a new month to start a thread...
2
by: Jeff | last post by:
Hey ..NET 2.0 I'm developing a system which consist of a winservice and a client app. The client app accesses the winservice via .NET Remoting. In this winservice I'd like to add a method...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.