Search found 40 matches

by tirwin@iot.in.gov
Thu Jan 07, 2016 8:28 am
Forum: PowerShell GUIs
Topic: Application not working in Windows 10
Replies: 3
Views: 4912

Application not working in Windows 10

I have created an app for back up and restore of computers. I also allows modification of ADObjects through the use of custom Profile.ps1 file. The app runs fine in the ISE with no errors and works properly no errors in Windows 7. However when I try to run it in a newly imaged Windows 10 machine I ...
by tirwin@iot.in.gov
Mon Jan 04, 2016 9:54 am
Forum: Windows PowerShell
Topic: Active Directory Module
Replies: 6
Views: 8414

Active Directory Module

I have written a powershell script, an application that allow PC Refresh to set .Company, .DepartmentNumber, etc... On a ADOBject. In development everthing works fine. Obviously I have AD installed on my machine. I have compiled my app to a .exe and placed it on a network share where the techs will...
by tirwin@iot.in.gov
Tue Dec 29, 2015 5:41 am
Forum: PowerShell GUIs
Topic: Validation
Replies: 15
Views: 4917

Re: Validation

:evil: Ok thanks alot I got it now. Like I say I have always use a visual studio editor / web forms type editor where the compiler would recognize the code behind without manual creating the event. Thanks Again.
by tirwin@iot.in.gov
Mon Dec 28, 2015 8:53 pm
Forum: PowerShell GUIs
Topic: Validation
Replies: 15
Views: 4917

Re: Validation

I thought I was setting events when I say: $textboxFirstName_Validating = [System.ComponentModel.CancelEventHandler]{ #Check if the Name field is empty $_.Cancel = -not (Validate-IsName $textboxFirstName.Text -MaxLength $textboxFirstName.MaxLength) if ($_.Cancel) { #Display an error message $errorpr...
by tirwin@iot.in.gov
Mon Dec 28, 2015 8:00 pm
Forum: PowerShell GUIs
Topic: Validation
Replies: 15
Views: 4917

Re: Validation

Ok I am obviously missing something big. I come from a .net background were something like that would hook up automaticaly. Now when I click the desinger tab I get a list of controls at the bottom left hand side under the toobox, is that were I set the events. Or when I select the Script tab I get a...
by tirwin@iot.in.gov
Mon Dec 28, 2015 7:35 pm
Forum: PowerShell GUIs
Topic: Validation
Replies: 15
Views: 4917

Re: Validation

Here is my .psf1, thanks for your help
Validation1Sample.psf
(90.97 KiB) Downloaded 130 times
by tirwin@iot.in.gov
Mon Dec 28, 2015 7:17 pm
Forum: PowerShell GUIs
Topic: Validation
Replies: 15
Views: 4917

Re: Validation

Thanks jvierra for your reply and yes I do undersatand that the script events must match the actual control events and I apologize for not posting any pictures I will try to go in more depth this time. I have downloaded "Validation Sample Form" from this site at this url https://www.sapien.com/blog/...
by tirwin@iot.in.gov
Mon Dec 28, 2015 1:41 pm
Forum: Windows PowerShell
Topic: TFS version control Visual Studio 2015
Replies: 1
Views: 2509

Re: TFS version control Visual Studio 2015

I am sorry and feel like a fool. I needed to install the 64 bit version. disregard all the above.
by tirwin@iot.in.gov
Mon Dec 28, 2015 1:23 pm
Forum: Windows PowerShell
Topic: TFS version control Visual Studio 2015
Replies: 1
Views: 2509

TFS version control Visual Studio 2015

I recently began a project in Sapien Powershell Studio 2015. I would like to check it in to TFS version control Visual Studio 2015. I have mapped it in Visual Studio and can see my origianal version in Visual Studio. But now that I have made changes I can not seem to check it in. Under Tool> Source ...
by tirwin@iot.in.gov
Mon Dec 28, 2015 12:36 pm
Forum: PowerShell GUIs
Topic: Validation
Replies: 15
Views: 4917

Validation

I have been using the following tutorial Powershell Validation However, it does not work at all? Does not hit break point when I tab out of text box? I downloaded the authors code and ran it it works fine in his form. But when I copy his txtBox control and his code into my form it does not work? Can...