473,836 Members | 1,434 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1681
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******** ******@TK2MSFTN GP10.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*****@getbou nced.net> wrote in message
news:eK******** ******@tk2msftn gp13.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******** ******@TK2MSFTN GP10.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******** ******@tk2msftn gp13.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*****@getbou nced.net> wrote in message
news:eK******** ******@tk2msftn gp13.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******** ******@TK2MSFTN GP10.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
1683
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 little dialog that says starting service never goes away and the bar never fills up all the way. My thread of course must stay alive until the service is stopped.
0
1048
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 (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MHC\Type=0x00000110), but it didn't work. The flag was checked in the dialog, but the WinService didn't recognized it properly. Has anybody a idea??
0
6233
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 action : Microsoft Outlook" What is this?! Isn't this instance threadsafe? How should i connect to outlook from a windows service?
0
305
by: Macisu | last post by:
Is possible to use a timer in a WinService? Ideas
0
1006
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 = " fwFichierImp.IncludeSubdirectories = Tru fwFichierImp.NotifyFilter = NotifyFilters.CreationTim fwFichierImp.EnableRaisingEvents = Tru AddHandler fwFichierImp.Created, AddressOf ImpFichie
2
1122
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 webservice and the database? Thanks
3
2094
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. But when a web service tries to use it or a windows service or even if I try to "remote it up" in a windows service to a remoting client I get nothing..It just doesnt connect. Once again the socket client is fine(OK honestly theres a problem iterating ...
5
2183
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 which pulls data from several webservices and saves these data to table... So I'm wondering how to go about implementing this so that this thread is
2
2530
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 which does some processing and if an exception occur it will be catched in the client app. (below is an example code illustrate how I think about implement this). I'm unsure if an
0
9672
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10559
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
10601
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
10260
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
9388
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...
1
7794
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6981
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5652
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5829
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.