|
Yes, manually is fine. I would like to do this in c#.
Thanks
|
|
|
|
|
arkiboys wrote: Yes, manually is fine.
Can you post how, or provide link to a source that shows how?
led mike
|
|
|
|
|
Hi,
By manually I mean, going to the printers list and manually go through the adding a new printer wizard. Do you see?
Sorry for the delay.
Thanks
|
|
|
|
|
arkiboys wrote: By manually I mean, going to the printers list and manually go through the adding a new printer wizard.
No that's not the same thing
arkiboys wrote: on to a remote machine?
I asked if you can manually add it to the remote machine. That is what my IT guys say is not possible. If you can't do it manually then there is nothing to automate now is there?
led mike
|
|
|
|
|
Hi All...
I've got a C# service (Windows Service) that does not show up in the services list after I install it. Does anyone know why this happens
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
Did you create an installer for it?
I'm guessing that you "installed" it using the installutil.exe but haven't created an installer in the service assembly.
Have a look at this[^].
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson Because programming is an art, not a science. Marc Clifton I gave up when I couldn't spell "egg". Justine Allen
|
|
|
|
|
That's the joke... It has an installer in the assembly
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
Hmmm... what's the install log say? No exceptions?
On a looooong shot - refresh services list in services.msc.
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson Because programming is an art, not a science. Marc Clifton I gave up when I couldn't spell "egg". Justine Allen
|
|
|
|
|
If it doesn't show up in the list of services, it didn't install correctly.
This probably means the installer class in your service is broken.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I replaced the installer class, stgill the same. No exceptions either
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
Without being able to see your installer class code, I don't think we can't help you any further.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John, I have searched the forums for one of your old replies involving drawing a chalk circle on the floor and other things , without success. I so wanted to use it the other day.
Can you repost that here or link to the old reply?
led mike
|
|
|
|
|
|
Hi I have a PDF file.Now I want to open the PDF file and append some more data on it.I tried with binary reader and binary writer.but it didn't work.Can anyone help me out?
|
|
|
|
|
Hi,
Try the following links:
Link #1[^]
Link #2[^]
Link #3[^]
I hope this would be helpful.
John Adams
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
thanx.those links are really helpful.
ARINDAM
|
|
|
|
|
Hello all,
I don't know if i posted on the correct forum (i'm thinking i should use the Architecture forum) but here goes.
There is talk at my workplace that we should move the DAL and Business Layer on a server and just ship the interface. The interface would connect to our server and use the Business Layer.
How can this be done, except of course, web services (and probably WCF)?
I would use Web services, but the project manager does not like that idea.
Thank you.
|
|
|
|
|
thoru wrote: move the DAL and Business Layer on a server and just ship the interface.
That's how most SAAS (software as a service) apps work. You'll need a mechanism to allow the client side presentation layer to communicate with the server; I've been using WCF to do this with much success. I highly recommend it.
/ravi
|
|
|
|
|
Yeah, i want to use WCF too, but i don't think that will happen.
I still hope though
|
|
|
|
|
If you want to implement SaaS, then you need to consider the mechanism through which the data is going to be transported over the wire. If it's anything other than an HTTP/HTTPS format, then you are going to have trouble convincing other companies to accept it because they may have to open up the firewalls - something that a lot of companies are against.
thoru wrote: I would use Web services, but the project manager does not like that idea.
It's not his place to like or dislike the idea. A project manager should not have the final say in technological decisions; that's not what he's there for.
|
|
|
|
|
I am currently opening a new form from my main form, then have that open another form. I can do this using the below code
List list = new List();
list.ShowDialog();
What i want to do is to be able to close the original form and the next form from the last form I open.
so there for
form1->open form2 from form1->open form3 from form2->close form1 and form2 from form3.
any help would be great thanks.
|
|
|
|
|
Hi,
You may try setting the Visible property to False on loading of the Form.
E.g. On Form1_Load, Open Form2 and and set the visible property of Form1 as False.
Similarly do it for the remaining Forms.
I hope this would be helpful.
John Adams
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
IMO you must have FormManager to show and close a form
the FormManager contains lastOpenedForm field, and a method (ShowForm) to show a form
i.e :
1. you call ShowForm to show a particular form
2. before form show check if lastOpenedForm wether null or not, if not null, call to close that form and dispose it
3. set lastOpenedForm with opened form
to do this you have to know about invoking a method and there are some articles about that in CP, or be friend with Google
hope it helps
dhaim
programming is a hobby that make some money as side effect
|
|
|
|
|
thanks for the answers but I dont think that is what i am after. When I press a button on form3 I want to close form2 and form1. How do i do this? I try to specify there name then .close() but it doesnt work. How do i pass the name of the old forms to the new form?
|
|
|
|
|
Listen,
USE USERCONTROLS
Create only the main form and create as many usercontrols as you wish and load then in the main form, that will solve you problem if i get it right.
You my have to type code from start.
If for some reason you need forms, use child/parent forms method(child forms that load inside a parent form).
Check here codeproject (i don´t recall the link)
Thats me, but, you are the boss
nelsonpaixao@yahoo.com.br
|
|
|
|