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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Cambridge10

    Calling a method within an other method

    I've just started to work with Php 5 OO. function totalVehicleWeight calculates the total weight of the vehicle. It return that to the screen of the user. function diffFrontRear calculates the diff of the front and rear but it's also need the input of function totalVehicleWeight. How should I...
  2. Cambridge10

    Regex: how to delete characters at a certain position

    I would like to create a regex which would replace any character from position six with ~1 Example: input: This Is A Text.abc output: Thisis~1.abc I'm stuck on this one.
  3. Cambridge10

    Perl Tk: How to configure the cancel button

    Hi, I've created a file dialog where an user can choose a txt file. There is also a cancel button which I need to configure but I don't know how to approach it? Disabling the cancel button will also be fine. sub Load_file { $file_path_entry -> delete('0.0', 'end'); my $file; my...
  4. Cambridge10

    How to terminate a running process

    system ("mbrola $db extern.pho extern.wav"); system ("bruceplayer.exe extern.wav"); Extern.wav has a duration of ten minutes. I've created a Stop button so that the user can stop bruceplayer.exe anytime. How can I terminate this process?
  5. Cambridge10

    Auto play wav file in wplayer from script

    Hi, I've a wav file which should be automatically played with Windows Media Player but it doesn't. $wmp_path = "C:/Program Files/Windows Media Player/wmplayer.exe"; $wmp_path =~ s/\//\\/g; #convert / to \ system ($wmp_path external.wav); Windows Media Player is automatically started but it...
  6. Cambridge10

    Tk : Running windows commands without a dosbox

    I'm using perl Tk and I have to call a couple of Windows commands but they are executed in a dosbox. I want to prevent a dosbox is opened or at least hidden for the user. Is there any way to prevent that? system ("test.txt|perl prep|afbreek.exe|klank.exe|perl kleur >output.pho"); system...
  7. Cambridge10

    Regex : Use of unintialized value $_ in pattern match

    Hi, I'm new to Perl using regex. I wrote a simple program which search the userinput for a match. When I start the program it works fine but I get the error message below. I'm doing something wrong but what exactly? The error message : Use of unintialized value $_ in pattern match (m//) at...

Part and Inventory Search

Back
Top