Discount Web Design Blog

Just another Web Design Blog

Entries for the ‘Perl, Python and Other Languages’ Category

Help about ws.RegDelete Problem:

Hi to all,
Need Help guys hope you can share your opinion and suggestion.
I need to delete this file name "C:\sample\txt.exe" but error message still appear. Here is my shell codes ws.RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\Run \C:\sample\txt.exe")
here is the error message:"OLE IDispatch exception code 0 from WshShell.RegDelete: Invalid root in registry key" "HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\Run\C:\Sampl e\tx t.exe"

Failed Perl Module install (Perl extension for the Mcrypt cryptography library)

I get errors while trying to install the Perl extension for the Mcrypt cryptography library module. I am on a GD hosting acct, and running the latest libmcrypt (libmcrypt-2.5.8-4.el5.centos).
I have tried the top two Mcrypt modules @ http://search.cpan.org/search?query=mcrypt&mode=all but both give errors (as below).
I need Mcrypt as it is integrated into all my custom order [...]

Is it possible to edit/update create a registry key using limited account?

Hi to all,
I have a question guys. Is it possible to edit/update create a registry key using limited account? Any suggestion procedure will be a great help. I always thanks in advance.

How to modify, save, update, delete files using limited access?:

Hello to all.
I have a question about how to create, save, modify a file in a platform with a limited account access. anyone who can share their opinion give any sample codes or any procedure regarding this matter will be a great help. thanks in advance.

Is it possible to edit/update create a registry key using limited account?

Hi to all,
I have a question guys. Is it possible to edit/update create a registry key using limited account? Any suggestion procedure will be a great help. I always thanks in advance.

Perl-Embed YouTube video-in Form while in edit mode

Howdy! I have a program to take notes while watching online video lectures and it’s a hassle alt+tabbing between the two windows all the time. The program for taking notes is written in Perl. It has a form to save a new notes page to a file and then a form to edit those notes. [...]

HTTP Error 500.0 – Internal Server Error

Module CgiModule
Notification ExecuteRequestHandler
Handler CGI
Error Code 0×800700c1

Requested URL http://localhost:80/mt/mt.cgi
Physical Path C:\inetpub\wwwroot\mt\mt.cgi
Logon Method Anonymous
Logon User Anonymous

Im using active perl
I’m getting this error and this error message when I tried to set up Movable Type on IIS.
Im using windows 7.
can any one throw some light on this?

Applying PCA in python using MDP.

Hi everyone!
I am trying to use MDP – Modular toolkit for Data Processing for image processing in Python. I am unable to use PCA commands for python properly, I read it from tutorial but could not understand a lot. Can anyone please help me with this?
Thanks in advance.

How to find the url turned to by perl?

I’m sending a post to an url, and after successfully sending the post, it will turn to another page, now how to find the another page url?

Quote:

#!/usr/bin/perl
use LWP 5.64;
my %form;
$form{"name"} = $name;
$form{"email"} = $email;
$form{"grade"} = $grade;
my $res;
my $url = "http://www.mydomain.com/register.php";
SIG{ALRM} = sub {print "timeout";};
eval{
alarm(30);
$res = $ua->post($url, \%form);
[...]

New to the Program Your Site forums? Please read this.

Useful Tips
The members of the Programming Team offer the following suggestions to help you get the most from your time here.
1) Try a search.
Your problem or a similar one has probably been discussed/answered before. SitePoint has two search features.
The vBulletin search http://www.sitepoint.com/forums/search.php
And an advanced search http://search.sitepoint.com/
2) Use a descriptive thread title.
Posting "HELP!", "newbie" or a [...]