http://digitalpbk.blogspot.com/2007/09/windows-and-c-programming.html
Register the class (RegisterClassEx)Create Window (CreateWindowEx)Display Window (ShowWindow)Get the message loop running(while(GetMessage(...)))The contents in italics is the functions used for doing the specified actions. Check them out in the
code.the Window ProcedureThe window Procedure is the link between your program and windows. It is the window procedure that windows calls to send messages to your application.That's all for nowstay tuned. ...
Published 4 years, 8 months ago
http://digitalpbk.blogspot.com/2006/12/setting-up-apache-php-on-windows.html
the "php.ini-recommended" file from C:\apache2\php\ to C:\apache2\Rename it to "php.ini".Add 2 lines to the end of the file httpd.conf: LoadModule php5_module C:/apache2/php/php5apache2.dll AddType application/x-httpd-php .phpTest the php installation by making a php file. test.php<?phpphpinfo();?>Access the test.php (http://localhost/test.php) from your browser. If you see the source
code, installation has failed.If you see the php info file . PHP installation was successful.Test the apache server ...
Published 5 years, 4 months ago
http://digitalpbk.blogspot.com/2006/11/network-traffic-calculator-using-vc-6.html
= WSAIoctl(s,0x98000001,&lnInpBufr;,sizeof(long),&lnOutBufr;,sizeof(long),&retd;,NULL,NULL); if(err) { if(s>0)closesocket(s); return INVALID_SOCKET; } err = WSAAsyncSelect(s,hwnd,0x401,FD_READ); if(err) { if(s>0)closesocket(s); return INVALID_SOCKET; } return s;}Dont know what to do with the
code?Take VC++ 6,File > New, In Projects tab, new Win32 Application, give a name also like "trafficcalc",Choose empty project.Next File > New, In Files tab, take C++ source file, give filename "main.cpp"repeat the step for filename "winsocks.cpp"Copy ...
Published 5 years, 5 months ago
http://digitalpbk.blogspot.com/2009/07/perl-update-code-500-architecture.html
upgrade while we are running...CPAN: LWP::UserAgent loaded okFetching with LWP: ftp://ftp.jaist.ac.jp/pub/CPAN/modules/03modlist.data.gzLWP failed with
code[500] message[Errno architecture (i386-linux-thread-multi-2.6.18-53.1.14.el5pae) does not match executable architecture (i386-linux-thread-multi-2.6.18-53.el5) at /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11.Compilation failed in require at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/Socket.pm line 17.BEGIN failed--compilation aborted ...
Published 2 years, 10 months ago
http://digitalpbk.blogspot.com/2007/07/captcha-what.html
only moderately secure (ie Keeps the kids away)Now on the checking part the users text is passed through the same hashing function and top-secret function. Then the cookie value and the newly calculated value is compared to catch the bot ;)....A disadvantage of using CAPTCHA is for the visually challenged people. People with unclear eyesights colour blindness etc may face a problem in reading the CAPTCHA
code. So the other CAPTCHA method is to use an AUDIO file, an MP3 instead of a JPEG or PNG ...
Published 4 years, 10 months ago
http://digitalpbk.blogspot.com/2007/05/perl-script-to-login-to-orkut.html
LWP;WWW::Mechanize;DescriptionScript that logs you into orkut, It has its own Fail-retry methods and all the action is presented neatly in the terminal, using color
codes (ANSI Escape sequences for LINUX)There is more of this script currently in the beta version, for mass scrapping etc. For more information about the beta
codes, leave your email as a comment.Bugs ?Please do let me know the bugs , so that i can update the script here...It works for me... Did it work for you? Let me know... (else I may think this is all crap!) Happy ...
Published 5 years ago
http://digitalpbk.com/windows-gadgets/how-make-windows-gadget-windows-7
.
true
Full
The above
code is almost self explanatory, but I will explain some of the important parts of it.
autoscaleDPI : For enablng automatic zooming of images in the widget
base : The src attribute deteremines the main HTML file that is shown when the widget is added to the desktop.
defaultImage : The image choosing the icon that is shown in the gadget selection ...
Published 1 year, 6 months ago