So I've completed a project and I have it launch three separate applications from the menu bar. The problem is when I launch them, I cannot do anything with the main form? Is there some reading on this I can do? Or some guidance you fine people can provide?
The type of project is "Multi-Form Project"
Project
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- SAPIEN Support Forums
- Posts: 945
- Last visit: Thu Oct 22, 2015 1:10 pm
Project
This is an automated post. A real person will respond soon.
Thank you for posting, localpct.
Here are some hints to help you get an accurate and complete answer to your question.
Ask in the best forum:
Anticipate follow-up questions!
Did you remember to include the following?
*** Make sure you do not post any licensing information ***
Thank you for posting, localpct.
Here are some hints to help you get an accurate and complete answer to your question.
Ask in the best forum:
- - Scripting question? For questions about Windows PowerShell or other scripting languages, use Scripting Answers.
- Software question? For questions about PowerShell Studio, PrimalScript, or other SAPIEN products, use Product Support Forums for Registered Customers.
- Trial question? For questions about trial versions of any SAPIEN product, use Trial Software Questions.
Anticipate follow-up questions!
Did you remember to include the following?
- 1. Product, version and build
2. 32 or 64 bit product
3. Operating system, e.g. Windows 7 64 bit.
4. Attach a screenshot, if applicable
5. Attach logs, crash reports, etc., in a ZIP file
*** Make sure you do not post any licensing information ***
Re: Project
so using start-process, they'll need to have the file on the computer right? Doesn't that defeat the purpose of the "project" where it's all combined?
My project is this. An all in one tool aka Toolbox for IT support staff and I have other tools such as my PingIT, Move-OU, and Temp Cleaner that cannot be added to the main Toolbox app. Pictures will help The bottom shows the apps that I want to call but not limit it to just that one app. Please let me know if I'm not clear enough.
My project is this. An all in one tool aka Toolbox for IT support staff and I have other tools such as my PingIT, Move-OU, and Temp Cleaner that cannot be added to the main Toolbox app. Pictures will help The bottom shows the apps that I want to call but not limit it to just that one app. Please let me know if I'm not clear enough.
- Attachments
-
- toolboxmain.png (25.88 KiB) Viewed 3000 times
-
- toolboxtools.png (16.87 KiB) Viewed 3000 times
Re: Project
You said three separate applications. An application is a process which is a separate exe. An EXE must exist on the machine where you are launching it from.
Why is it that that won't work?
How would you be able t have tools like "ping" run if it is not installed.
If you run most external programs fro PowerShell the form will freeze until the program completes. "Start-Process" can run an external program without freezing the form.
Why is it that that won't work?
How would you be able t have tools like "ping" run if it is not installed.
If you run most external programs fro PowerShell the form will freeze until the program completes. "Start-Process" can run an external program without freezing the form.
Re: Project
Thanks for the reply!
So, let me clear this up. Let's call my project
Toolbox
The mainform ( aka toolbox.psf) is the core application that has the Asset Tools, Servers, Websites, and PCT Tools drop down.
I then import the PingIT, Temp Cleaner and Move-OU .psf files into the project and call them using the default method
$moveOUToolStripMenuItem_Click={
#TODO: Place custom script here
if ((Call-Move-OU_1_5_psf) -eq 'OK')
{
}
}
. When I do that, I cannot interact the toolbox app
So, let me clear this up. Let's call my project
Toolbox
The mainform ( aka toolbox.psf) is the core application that has the Asset Tools, Servers, Websites, and PCT Tools drop down.
I then import the PingIT, Temp Cleaner and Move-OU .psf files into the project and call them using the default method
$moveOUToolStripMenuItem_Click={
#TODO: Place custom script here
if ((Call-Move-OU_1_5_psf) -eq 'OK')
{
}
}
. When I do that, I cannot interact the toolbox app