|
Hi, i have written one windows sevice and i have been build that service.
An exe file is generated for that service. using installutil.exe that file has been installed. but the service is not showing under Administrtaivetools->services.
Is the service not created? or any other reason.
I am getting succesful message in command prompt after using istallutil.
please help me regarding this.
G. Satish
|
|
|
|
|
You need to create installer class also. Did you ? Also this question has nothing to do with ASP.NET.
|
|
|
|
|
Actually i am new to windows service. This is my first windows service. I dont know how to create installer. Can you explain briefly how to do this?
G. Satish
|
|
|
|
|
hi Satish,
this is not the correct board to search for the answer.
Better, post this question in C# board
happy coding
|
|
|
|
|
How To Authenticate Clients to printing From Server Using ASP.NET C#
hello
i have one server in which the printer is installed, the clients are printing from server. So, i want to authenticate those clients before printing using asp.net?
can anyone give me idea or code for print authentication from client computer to server?
|
|
|
|
|
You totally missed the concept. AFAIK, ASP.NET can't print anything. It's handled by the browser where the pages are displayed.
|
|
|
|
|
hello brother navaneeth
i am talking about print authentication using asp.net
means if in server client architecture of any company,
clients are printing from any type of application like
word, power point, excel or even from web browser,
i want to stop them to printing unlimited prints,
one asp.net application is currently running, clients logins are also available in it, so using those login i want to give rights for printing.
i am talking about system printing from any application and authenticate them using asp.net application.
if it's possible?
|
|
|
|
|
As I said, you can't do this with ASP.NET. It is a server side scripting language which emits HTML tags to the browser. You can't set permissions to a printer using ASP.NET. Also the printing is handled by your browser, not ASP.NET. ASP.NET just renderer the tags into appropriate HTML and sends to browser via HTTP/HTTPS protocols. Buy a beginner level ASp.NET book and learn how it is working.
|
|
|
|
|
thank u for giving me sugession
but i want to system programming using asp.net
it is possible
but u r saying that it's not possible
but if u don't know, doesn't matter.
but if u can find solution please give me.
and if also possible using VB or VB.Net, then if u having idea then give me ,
& last thing i am working on expert level programming, just for ur knowledge, so i don't need to review asp.net beginner book.
thank u for giving me replies.
|
|
|
|
|
ashish bhakhar wrote: hank u for giving me sugession
You are welcome.
ashish bhakhar wrote: but i want to system programming using asp.net
it is possible
Nope. ASP.NET is for web development.
ashish bhakhar wrote: & last thing i am working on expert level programming, just for ur knowledge, so i don't need to review asp.net beginner book.
That sounds strange. If you were an expert level programmer, you won't post such an odd question.
|
|
|
|
|
Navneet:If you were an expert level programmer, you won't post such an odd question.
Ashish: U R right. But, this is the requirement of our client, through their web app, they requires printing authentication using this.
And this is one type of challenge for me to give them best from my side.
i am looking forward about this problem,
that three things can help me
1) timer
2) threading
3) spooling & shell32.dll
currently i am looking on these three things to develop 'print auth' app.
u can focus on these thing and can make any sol
So, if u can find ur best, then it's 'hats off' to you from my side.
thank you.
|
|
|
|
|
ashish bhakhar wrote: But, this is the requirement of our client, through their web app, they requires printing authentication using this.
Well, your job, if you have any idea at all, is to educate your client on technical possibilities. The fact that you ask the same questions here over and over b/c you don't like the answers, shows you are far from an 'expert'.
ashish bhakhar wrote: 1) timer
2) threading
3) spooling & shell32.dll
If you had the slightest clue about how ASP.NET works, you'd know why these things are not going to help you. I second the recommendation that you buy a beginners book on ASP.NET and read it. You can run a .NET control inside the browser, but I doubt even then you can get that sort of access to the system. It's possible that would work, but it means your users will need to give your site full trust. At this point, your code would have nothing to do with ASP.NET, obviously.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Isn't this the same guy you were struggling with yesterday ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Well
Thanks 2 navneeth & christian
|
|
|
|
|
Ha ha, he didn't came today. This is a newbie to CP
|
|
|
|
|
hello to everyone...........
i want to provide downloading of a document in my project.
but how?
thnx in advance
yogesh
|
|
|
|
|
Just redirect (Response.Redirect(filename) ) to file would do that.
|
|
|
|
|
how to convert html,pdf,xml into doc
|
|
|
|
|
Obviously not an ASP.NET question.
HTML/XML, paste into Word. PDF, buy a library.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Expanding CG's answer, use XSLT to style your XML file and save the output as doc extension.
|
|
|
|
|
I want to import data from any database system to SAP database,
so if u have any idea about this then please tell me
|
|
|
|
|
This is the ASP.NET forum, this question is off topic here.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi When i installed Vs2003,
I just create some web projects and to run that i will give
http://systemname/projectname/formname
So it will display consider page,
Now i installed vs2005,
I created one project,
If i give same like vs2003
Its giving error in webconfig file as Configuration Error:
Whats the probs?,
Plz any one help me
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
It's because you have some issue with your configuration. If you tell us the error you get and show us what's going on, I'm sure we can be more specific.
ASP.NET 2.0 is very different from 1.1 tho. And, the machine you're browsing to needs to have IIS configured to use 2.0, not 1.1.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
U can try this.
Check your project's Property in IIS then lookout for Version of ASP.NET
Now if u want to run the project for VS2005 then set ASP.NET version to 2.0.
HMagesh wrote: If i give same like vs2003
I m not getting what this line mean?
It will be easy for us if u post error.
Believe Yourself™ ™
|
|
|
|