Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bneese

  1. bneese

    Pass VB Checkbox value to VBScript

    also, is there a way to add a memo box? If I am going to use this as a login script "GUI" then I will not know how much data will be displayed.
  2. bneese

    Pass VB Checkbox value to VBScript

    can you also hide the window bar on top to remove the close button? that is biggest thing I am trying to get rid of.
  3. bneese

    Pass VB Checkbox value to VBScript

    Thanks for the post. What I am actually looking for is the VBSCRIPT that would be able to read form check box.
  4. bneese

    Pass VB Checkbox value to VBScript

    That is a good suggestion. I wonder what the speed is like... I went to the link but I couldn't see any sample scripts. Can you email me some of them? I would like to take a look. Thanks for the info
  5. bneese

    Pass VB Checkbox value to VBScript

    I am writing a VB form that is called from a vb script to display login info for our domain login script. I am able to pass variables to the VB app from my vbscript, but I want to pass the values to my vbscript from the VB. Basically I have a check box on the VB app that I want to read from the...
  6. bneese

    Use GUI window to gather data

    Is there a way to create a nice GUI window to gather data input from a user when a Perl script is running? From what I can see a DOS like window is generated. I would like to have something that looks a like better. Any ideas?
  7. bneese

    Perl as a service

    I have a Perl script that I would like to install as a Windows service and have it run every x minutes. I know this can be done with PerlSvc. Could someone give me a little sample script on how I should accomplish this?
  8. bneese

    Perl and MYSQL insert/update using quote

    Actually I have never used "Use Warnings" do I need to load a new module for that or is it built in?
  9. bneese

    Perl and MYSQL insert/update using quote

    And yes, you are right. I should use the placeholders for all 4
  10. bneese

    Perl and MYSQL insert/update using quote

    This is what I ended up with after cleaning it up some: foreach my $PRINFO ( in( $WMIServices->InstancesOf( $WIN32_PR ) ) ) { $PRNUM = ++$PRNUMCount; $sth=$db->prepare("UPDATE win32_product set Caption=?, Description=?, IdentifyingNumber=...
  11. bneese

    Perl and MYSQL insert/update using quote

    Thanks for all your help guys. This is what I finally did and all your input helped greatly. $Caption=$PRINFO->{caption}; $Vendor=$PRINFO->{vendor}; $sth=$db->prepare("UPDATE win32_product set Caption=?, Vendor=? WHERE PCID = $PCID AND PRNUM =...
  12. bneese

    Perl and MYSQL insert/update using quote

    1 more thing. This script will be compiled as an exe on run as a service on Windows boxes if that makes any difference.
  13. bneese

    Perl and MYSQL insert/update using quote

    Here is my code: my $Caption=param('PRINFO->{caption}'); my $Vendor=param('PRINFO->{vendor}'); my $insert=$db->prepare("UPDATE win32_product(Caption,Vendor) values(?,?)"); $sth->execute($Caption,$Vendor); $sth->finish();
  14. bneese

    Perl and MYSQL insert/update using quote

    Do I need to setup a subroutine for param? I am getting an error when I run the code: Undefined subroutine &main::param called at C:\Perl\scripts\client.pl line 178.
  15. bneese

    Perl and MYSQL insert/update using quote

    Maybe should have explained a little better. When I query WMI I get "Daemon's House" back as the result. This result could change depending on what record is returned from WMI. I will never know the result up front. Is there a way to take a string and tell PERL to ignore it? Hopefully I...

Part and Inventory Search

Back
Top