> Even on using process.]">

No process is associated with this object waitforexit. I am trying to deploy SNMP to my servers (all running Windows R2 Enterprise, SP2) and out of the 14 servers, 3 got the settings, but the remaining ones failed. All of the servers are configured the same. The error reads: #Unexpected error[No process is associated with this object.].

No process is associated with this object waitforexit

VHDL Beginners Tutorial

No process is associated with this object waitforexit. I came across a useful Microsoft Support sample called “How to wait for a shelled application to finish by using Visual Basic or Visual bobbyroel.com” at bobbyroel.com However, note that there are several gotchas with the code supplied there (just informed Microsoft on that, hope.

No process is associated with this object waitforexit

The process starts ok. I am trying to get the calling thread to block untill the process is exited. Is this the right way? I know for sure that process is still running at the time WaitForExit is called.

I do realize I am starting the process by means of a clickonce reference. If I start the process by just passing the path to start. Is there another way to start an application that is installed by a clickonce install shield other that by the reference? I would be interested to see if I could call the exe directly. Maybe then the WaitForExit function would know the process object.

Thanks for the reply. Hi Hans, I am having a little trouble putting this all together. I guess I don't understand this statement in link to the first article you gave me in the other post: So you use web querystring parameter syntax:. I just want to send people 2 install sheilds zipped up. Its still not clear to me what I have to do so that I can call up the program using the sytax above.

Do you mean stop calling it up by its reference or do you mean stop using it at all and use some other method of deplayment? I guess I really don't understand what Click Once means. Does the term Click Once just encapsulate the meaning of all install shields by means of the publish option in Visual Studio?

I hope you see what I am struggling with. There has to be somthing simple here I am missing. I tottally agree with NoBugz who very likely understands this better than I do. So lets think about this you and I. When you visit a URL you don't fire up a live process. You ask the server for some data and it returns some data and then your out of its life. There's no persistant state like a process that you can access. Your trying to use a clickOnce application that uses a URL so of course there's no process because of exactly what I just went through.

I know you guys are trying to help and I appreciate that but I still don't get it. If you are gonna to make a comment like that you might suggest an alternative. I just want to give someone a way to install two programs I made and call one up from the other and block the calling process until the called process returns. There seems to be some sort of difference between what I am trying to do and what you guys are trying to explain. I feel like both posts I have made have strayed so far from my actual problem.

Please can someone break this down in some sort of simple terms? Maybe something like this Step 1 Create an installable app like this Step 2. I don't agree that the posts are straying from your question.

Your example uses ClickOnce, the only problem your experiencing is due to the fact that you are using ClickOnce. That's why people say Perhaps you don't understand what ClickOnce is vs an executable? Thanks again for the reply.

I get what your saying. The whole problem is because I am calling the click once reference and not an actual exe. I have a couple of questions. Is the click once reference referencing an exe? I would like to call up the exe. I just can't find anywhere on the system its intalled on.

Is there a specific path where it is placed when a publish click one install shield is run? If the answer to the above question is no. Then this becomes a problem of installing the first application with the process exe I am trying to call and all it's dependencies Thanks you for your patience.

Sorry man I don't get it. Let'a go step by step. Let's assume you knew where the exe was. You launched it with a process. According to 2 there are dependencies, therefore your program blows up. How do you fix this? You need to install the program before you try to run the exe. Can you please supply the link to the documention that shows how to do it? Your Comment You need to locate the original program's solution file for visual studio and create an installer package and bust it out as an MSI file.

Then you can use the technique I posted earlier to install the package and run it. My Comment I have the original program's solution file for visual studio since I am the author. Where will it be located? If you need to install the package, you don't have the source code which is why I would assume you keep trying to using a clickonce , then you are essentially dead in the water with your requirements.

So I have all these customers with my application installed using the click once approach. Again thanks for your patience. Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site. The survey will appear here when you've completed your visit, so please do not close this window. This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use.

Remove From My Forums. Sign in to vote. Thursday, October 01, 8: Let's hit the reset button real fast. Ok, now you want to do this: Install the App see codeproject article on how to use msiexec to do it. Wait for the app to finish installing using Process. And you have the source code. Yea, all you need to do is create the msi and install it using the technique above. I'm not going to go through that entire process of installing an MSI because I cannot do as good a job as the article does in explaining such a thing.

Follow the directions and read the article. This is not going to be copy-paste, but that's why you get paid the big bucks right? Good coding involves knowing one's logical limits and expanding them as necessary. Marked as answer by Bin-ze Zhao Monday, October 05, 8: Friday, October 02, 9: That looks like the correct code. Alternatively, maybe WaitForExit isn't valid when something is opened via an association, rather than opening a specific program Do not start a ClickOnce application by specifying its installed location on your hard drive.

You can see this location by opening the appref-ms file with a text editor. Thursday, October 01, 9: Thanks for the reply Don. We've went through this before on your previous thread. Friday, October 02, So you use web querystring parameter syntax: Friday, October 02, 2: Friday, October 02, 3: Now, if you used an MSI and run msiexec. If you desire to check for existing versions of the app then your getting a level more complicated and should look at this codeproject sample.

Friday, October 02, 5: Then this becomes a problem of installing the first application with the process exe I am trying to call and all it's dependencies Thanks you for your patience Don. Then this becomes a problem of installing the first application with the process exe I am trying to call and all it's dependencies Thanks you for your patience Don There is a logic problem with your questions. So what do you do?


594 595 596 597 598