Senior & Expert .Net Developers Discussion Forum by Nyros Technologies

HIRE .Net Expert Developers Programmers Coders From India
Ruby on Rails PHP .Net Developers Community, Nyros Technologies, Kakinada
 
Log in  or IF not a member please REGISTER
Username:
Password:   


Keyword
Log in | Profile 

MessageBox.Show Method is not working in windows service

 
Post new topic   Reply to topic    Senior & Expert .Net Developers Discussion Forum by Nyros Technologies Index -> Developing Application Frameworks in .Net
View previous topic :: View next topic  
Author Message
david



Joined: 27 Aug 2007
Posts: 14

PostPosted: Wed Jul 16, 2008 10:09 am    Post subject: MessageBox.Show Method is not working in windows service Reply with quote

hi experts,

i am working with windows service. in this service i have display Message Box. but i am not getting MessageBox.Show() in my application. for this which namespace i need to refer?


Last edited by david on Fri Aug 01, 2008 5:35 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
manoj



Joined: 21 Aug 2007
Posts: 102

PostPosted: Wed Jul 16, 2008 10:15 am    Post subject: Reply with quote

Hi david,

to get MessageBox.Show() method you need to import the following name space. Using System.Windows.Forms;
if you not found the name space in global deceleration then
go to

Add Reference option in Project menu , then select .NET selection option. in that you will have Windows.Forms library reference . select it and press ok button.
now you will get MessageBox.Show() method. i hope this will helps you.


regards,
manoj
Back to top
View user's profile Send private message Send e-mail
mohsin_khan01



Joined: 18 Aug 2008
Posts: 9
Location: India/Mumbai

PostPosted: Sat Aug 30, 2008 11:38 am    Post subject: Reply with quote

Primary use of windows service is to schedule some functionalities to run at a particular intervals with the help of timer.

If you want to log messages then use logging techniques

eg. write to text files or event logs...

Mohsin Khan Wink
Back to top
View user's profile Send private message
Teena



Joined: 28 Aug 2007
Posts: 138

PostPosted: Tue Sep 16, 2008 3:18 am    Post subject: Reply with quote

Thanks for your valid response, it got working fine now....

regards,
teena
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Senior & Expert .Net Developers Discussion Forum by Nyros Technologies Index -> Developing Application Frameworks in .Net
Page 1 of 1


 latest topics 
 Topics   Replies   Author   Views   Last Post 
No new posts Is there any control like Gridview in WPF?
1 mukundh 12 Fri Jul 30, 2010 11:16 am
setty View latest post
No new posts Getting data from the other pages by sending a request.
1 pavani 8 Fri Jul 30, 2010 10:16 am
rajesh View latest post
No new posts Viewing or Reading an Assembly
0 sek 20 Mon Jul 26, 2010 10:33 am
sek View latest post
No new posts Multiple technologies to develop iPhone applications:
0 Ramya sree 21 Mon Jul 26, 2010 10:09 am
Ramya sree View latest post
No new posts What is the Difference Between CLR, CLS and CTS ?
1 pavani 27 Mon Jul 26, 2010 5:35 am
pavani View latest post
No new posts What is Android and How to install Android SDK.??
0 pavani 17 Mon Jul 26, 2010 4:46 am
pavani View latest post
No new posts Open-source libraries for iPhone application development:-
0 Teena 19 Sun Jul 25, 2010 8:17 am
Teena View latest post
No new posts Famous Mobile Sites:
1 kumar 17 Sun Jul 25, 2010 7:33 am
Teena View latest post
No new posts Introduction to PhoneGap framework
0 Dileep 24 Sun Jul 25, 2010 7:00 am
Dileep View latest post
No new posts Objective-C on Windows:
0 suraj 22 Sun Jul 25, 2010 6:16 am
suraj View latest post




Hire an expert .Net developer / coder / programmer or development team from India now!!

Other Forums : Ruby on Rails   ::   PHP   |   Free unlimited HTML CSS templates download

Nyros Technologies   |   Kakinada City Portal   |   Developers Blog   |   About .Net Experts   |   More