I am running my powershell from my machine as an administrator domain account that as local admin access on a server. I am trying to create a registry key with the below and the code works to copy my directory, but when trying to create the new registry key it fails.
# Check if you can ping...
I am working on extracting a variable with powershell for a Citrix farm.
I use:
$farmname = Get-XAFarm | Select-Object farmname
this puts the below into the variable
FarmName
--------
MY FARM NAME HERE
I just need to pull the farm name itself or trim the rest off. So i don't need...
I am trying to query a service to get it's state (running, stopped, etc). I am dumping it to a CSV file.
There may be an easier way to do this.
I have it working but when it dumps to the CSV file for status I see:
@{Status=Running}
I just want to see 'Running'.
I thought that I could just...
I was launching the above code with a button on the main form.
I tried to implement my code via a module but it still freezes the form until the process is closed.
I was able to successfully implement separate threads by the below code additions. I just copied my entire code that references...
I am working on a vb .net application to run a dos based executable that emulates old arcade systems.
The problem I am having is that i can execute one process only at a time. When I exit that process I can then execute another one. I want to be able to execute multiple processes of the same...
using the below code with 'softhemc' recommendation works, but now I would only like to display it if it errors. So currently with the below code it will display it if it errors or if you exit normally it will send blank string.
How can I only get it to work if it receives an actual error...
I am coding a GUI Interface to execute an executable that executes via a command line.
I want to retrieve any errors that when running the executable with arguments that it may generate.
the code below seem to work to display the last message if it runs successfully when you exit the program...
I am developing a program that runs an old emulator for some older type video game systems.
I want to be able to allow the process to be launched multiple times or maybe up to 10 instances of this to be running at one time in separate windows.
My current code is:
Dim MessProcess As New...
guess I should have worked on it for a few minutes longer.
I figured it out. it was syntax..
If chksbridge.Checked = True Then
Dim TIITProcess As New ProcessStartInfo
TIITProcess.FileName = "java"
TIITProcess.Arguments = "-jar tiimagetool.jar BRIDGE " &...
I am attempting to start java with arguments calling a jar file and other switches. the java pops up for just a millisecond but I don't know what its doing or not doing.
The code I am using is:
If chksbridge.Checked = True Then
Dim TIITProcess As New ProcessStartInfo...
I am coding a simple web site and wanting to pull in a text file to a text box but have it recognized html tags like <b> for bold, etc and display it correctly.
Is there a control that I need to use on the ASP.net form. I am using VB .net for my backend.
It's small amount of code to pull the...
that's what I get for trying to write this code when I was on ambien!
It should have been Cyan all the way through.
Good catch Andrzejek, i usually use Cyan, don't know why i typed Aqua. Must have been the ambien.. works like it should with the change to all the correct colors!
Thanks...
I have a form with some buttons on it and when the button is clicked it changes the background color. Pretty simple and that part works fine when the form is first ran.
The issue I am having is if I hit another button on the form that is a 'RESET' button, that resets the background colors of...
I am trying to create a script to follow a citrix doc to enable IIS and XML integration. (article CTX125107)
Link
One of the steps is to Edit Feature permissions within a Virtual Directory and Web Application. It must be changed to 'Execute'
I am sure there is a one liner for powershell that...
What is the best option to allow for an application to run on both 32bit and 64bit OS' regardless of CPU type.
I see options for 'Any CPU' which I select, should I select 'Prefer 32bit' ?
it does not. it has the default windows application icon, even though I have set it. when launched it shows the right icon in the task bar, but that's it.
That is what I thought, but I did that and it works as far as the icon in the task bar changes and the icon on the application title (left corner), but the shortcut or the icon in Windows explorer still shows the default windows application icon.
I am trying to figure out how to change the default windows application icon on my project. I can get the icon to change that appears in the task bar when the application is running, but I want to change the default windows application icon to the actual executable, so it shows the icon in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.