Advertisement

Results for "Volume: 7_2009-2012"

7_2009-2012 #217315
IDE Peek Expert

There are a variety of very dirty, and undoubtably illegal, things you can do with Delphi Experts if you know the names of the controls in the Delphi IDE. This expert examines the Delphi interface starting with Application for the components it contains. It does this by recursively iterating through the component arrays. Because not all components are simultaneously present, dialog boxes for example are only created when required, the expert puts a hook into the IDE which monitors WM_PARENTNOTIFY for WM_CREATE messages. When it sees one it knows something may have been added to the IDE so re-searchs the component arrays. The main interface for this expert a treeview which shows the heiracry of the IDE controls starting with Application. A memo box shows the available RTTI on a component when clicked on. By Grahame Marsh.

7_2009-2012 #226893
SQL Web Query

SQL Web Query using ASP.Net with VB.Net code behind. This is my first project with the new studio; I think this shows the intention of separating the presentation code from business logic. I have previously never done any ASP work so this is from a VB programmer. USES: ASP.Net, VB.Net, ADO, SQL DataAdapter and the web Data Grid. SETUP: Pretty simple really, all you really need to do is modify the connection string and you should be able to use it. For development I was using the Northwind DB from an SQL server. In the readme.txt I give more info on the setup. If anyone has a problem let me know, I hope I included all the right files. Enjoy

7_2009-2012 #219016
File Watcher

This example shows a way to use the System.IO.FileSystemWatcher object.

7_2009-2012 #224038
AgeCalculator

Updated the C# logic, since it was a bit messy. The purpose of this code is to calculate the age, given the BirthDate. Of course this is a trivial task, but is just to show one way to accomplish this task in VB.Net and in C#. The Zip file contains both projects. There is a slight difference in the logic since the VB one round the months, while the C# calculates the days too.

7_2009-2012 #222416
Domain Whois Lookup

do a domain whois lookup from your own site, just input the whois server & website (no www.)

7_2009-2012 #222417
Planet Source Code Latest Code *UPDATE #3*

Get the latest code from www.pscode.com (Planet Source Code), from any world. Makes use of looping & regular expressions (the hard part), since psc's latest code ticker had the code on 2 lines & had to use 2 regular expressions & 2 loops for each code, not easy. But bettter than most codes you see that will just grab the whole ticker code, mine parses & just takes the links. *UPDATE*, I changed it form lngWID=# to world=# (just seems easier), & now you dont just have to put the number in, you can put like: world=vb or world=c . *UPDATE #2*, Does the EXACT same thing as the first update but I changed it so it doesnt have the code to get & parse the source 9 times, I made it into a funtion (psccode) so it can just do psccode(number); example: psccode(1); would be for vb. Cuts the code down ALOT, bout 1/3 the size now. *UPDATE #3* lets you choose what PSC URL you want to use (only changed function and how it is used). hopefully ill get it working where you can choose how many urls you want to get & have 0 get them all done soon.

7_2009-2012 #223944
Session ID

Generate a random string of caracters to use for identifying your users on your web site. Can also be used to generate passwords.

7_2009-2012 #219115
How To Enable/Disable Ctrl+Alt+Canc Alt+Tab Ctrl+Esc Cool!

How To Enable/Disable Ctrl+Alt+Canc Alt+Tab Ctrl+Esc Cool! If you like it vote for me please! I need your vote!

7_2009-2012 #227586
BitBlt in VB.Net (GDI+)

In VB6 many people used BitBlt as a quick way of doing sprite animation of various types. This is a quick way of doing the same thing in VB.Net.

7_2009-2012 #221101
Delphi 5 w/ MS-ADO 2

Manipulate databases via Microsoft’s ActiveX ADO Libraries. A sample database has been included. Get schema and data information as well as load, store and save blob info to a file. Note: Works with Access 97/2000, Oracle 8i (drivers required), and Microsoft SQL Server 6.5 and 7.0. ---See Readme.txt!---

7_2009-2012 #219639
Form in popup targets parent

popup window how can I submit a form, close the popup window and target the results of the form into the main window? Found at: http://www.irt.org

7_2009-2012 #219728
strrtrim

Removes trailing spaces from the end of a string. See "trim" to remove leading spaces.

7_2009-2012 #219640
Open a window which will float above all others

How can I open a window which will always stay on top of all browser windows? Found at: http://www.irt.org

7_2009-2012 #219696
AllAdvantage ID Tool

Uses VCL Object TRegistry to read/write to AllAdvantage's information. Also includes and function that Decrypts AllAdvantage Registry passwords (AADecryptPass). I saw other things like this, but they didn't do anything with the password at all. Great example of registry interaction, and it's a cool way to change your ID#/password.

7_2009-2012 #219729
Tic Tac Toe with Human AI

The purpose for me was to create a simple game so that I could get exposure to Artifical Intellegence. I think I've suceeded in making a good bit of code with good, human like AI. I don't think you could find a more challenging player. If anyone can make this code shorter let me know.

7_2009-2012 #219731
blackjack 21: console game

BLACKJACK VS THE COMP, My code probably isn't that great, but it works...

7_2009-2012 #223435
Webhacker

Its shows you how to supply the login/password of a webpage from your code. it started when i see the Golden Eye brute force webpage hacker(www.deny.de). I tried to do it in vb but it only checks a l/p of a website one at a time. So i start to learn delphi quickly. With this program you can check 80 login/password of a webpage at a time. It uses non blocking calls.

7_2009-2012 #219641
Get login name/password in popup and return result

How can I capture a login name and password in a popup window and then pass it onto the next page? Found at: http://www.irt.org

7_2009-2012 #217215
CapsLock and NumLock

How to Activate CapsLock and NumLock from Code

7_2009-2012 #220188
Ball Move Around

Ball Bounces Around Screen NOTE: YOU MUST HAVE DELPHI X COMPONENTS INSTALLED OR ELSE YOU WILL GET AN ERROR...!! Please rate my code

Languages
Top Categories
Global Discovery