Note: This code requires that you add a reference to the Microsoft Scripting Runtime type library.
This example will delete “C:\Temp” directory and all its sub-directories.
Dim fso As New Scripting.FileSystemObject
fso.DeleteFolder “c:\temp”, True
That was all.
Here is the most advanced technique probably you have ever seen in VB. Haven’t you been told by the “experts” that you can’t do low level programming stuff in VB which you can do in C/C++/ASM ? But here we will prove them wrong. This little code will demonstrate how to execute low level Machine [...]
This is very simple. All you have to do is:
Go to START > RUN, type ‘regedit’ and press ENTER. In the regedit window, navigate to ‘HKEY_CURRENT_USER\Software\Yahoo\Pager\Test’
Now in the right pane, right click New > DWORD Value. Name it as ‘Plural’. Now Double click the Plural DWORD you created and set its value to 1.
That’s it! Now [...]
February 24, 2010 |
Articles |
Read more... »
Artificial intelligence is part of computer science and is studying and designing intelligent agents who understand the environment and take action.
John McCarthy who founded the idea in 1956 defines artificial intelligence as “the science and engineering to achieve intelligent machines.
The challenge is to achieve an intelligent machine, like a Homo Sapiens. This raises philosophical issues [...]
February 7, 2010 |
Articles |
Read more... »