Results for "Volume: 7_2009-2012"
Uses DTS (Data Transformation Services) from within VB
This creates a console window through API. This is very basic, but it teaches you the basics about calling/creating a console through API. Well first: 1.) Create an exe 2.) Delete Form1 3.) Add a Module (NOT a Class Module) 4.) Insert the code below into the module 5.) Run the program and a console window should come up I didn't document this very well because it is very basic concerning API. Feel free to use this code in your programs and also feel free to add on to this.
This Program encrypts and decrypts a file using antoher file, this when properly used can be a one time pad key. The Key file could be transfer to disc and used as a Key Card. Fully Commented
This article contains some optimization tips for both standard coding and game creation.
Select a database and a table and receive the sintaxe SQL to: Add Field, Alter Field, Avg, Count, Create Index, Create IndexUnique, Delete, Distinct, DistinctRow, Drop Field, Drop Index, Drop Table, Group By, Having, In, Insert Into, Max, Min, Order By, Select, StDev, StDevP, Sum, Top, Update, Var or VarP.
This is an update to the game I submitted a few months back called BOTMATCH, a fast moving action-packed game... Now with the new BOTMATCH I've completed the AI player, which is a worthy oponent for the best of arcade junkys, with 2 different skill levels (easy and hard), lots of options (different graphics levels etc) and an updated GUI which meets the standard of professional games. The game is HEAVILY commented and should provide at least some insight into the world of game design in VB. Hope you like it. PS - I was surprised but the AI actually beet me at my own game when I set the speed to FAST and the Difficulty to HARD. Enjoy!
This code eill cheat the system and make it believe that no task is currently running ! known that if you see your registery entry like HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run " You will see that the code still running silently in you Reg ...
Have you ever written an application that utilises Microsoft's Winsock control? have you ever found that when you tried to send data to a socket, that data becomes compounded with other data sent at a similar time, instead of in a separate transmission? Also applies to those who write multiple connection servers. Read on.
This will split a into parts of the given size. I know that there are a lot of these on psc (and other sites), but the code here is clean, neat and very well commented and keep in mind that this is for learning purposes. Good for anyone learning about file/string handling. The gui isn't up to much, but the code is centered around a module, so you can just add the module into another project and call the functions. You only need three things to use the module, a form, a label and a progressbar. The interface is entirly up to you. All checks are done internally, so the interface code is about as minimal as you can want. Any suggestions for improvements are welcome and feel free to vote :)
The program Creates a VB Class Module from a DTS Package on a SQL Server, with all events, and its own events(Progress, currentTask, etc) It creates a very compact script, so you can very large packages in a single routine. The Class Module "ClassDTSScript" is what is created when you get a package from the server and script it. Simply remove the example, and add one you have done to test it. The example execution asks you to navigate to the source and destination Access Databases, and uses the filepath to pass in an ADO style connection string for the source and destination connections. The parsing routine in the class module will work for SQL Server or ACCESS. I have not handled more complicated transformations such as Many to one column mappings and such, but Execute SQL and DATAPUMP Tasks work quite well. The Example "ClassDTSScript" module included was created from a package in SQL Server 7, and includes a couple of queries, two transformations, and running a stored procedure with a parameter, as well as demonstrating using the events that are called by the DTS Package object. Read the comments in the code carefully to better understand the uses.
This is one of the best programming guilds around since there is very few this is just a basic game engine tutorial for a adventure game like final fantasy and zelda . Enjoy dont forget to upload your games using my game engine to share with people. please vote if you have the time and send me some reviews that would be nice.
Ever tried using the listview control in your application to view files???? Well if you have you will probably know that it takes a few modules or about a few hundred lines of code! Well if you ever thougt in your mind... "I WISH SOME ONE WOULD CREATE A CONTROL JUST FOR VIEWING FILES................" Well your Dream has just come true! It only takes 1 line of code to load up all the files in a listview! Explore1.path (Dir1.Path) It can also load up the individual properties for any file - find size, type, location etc. and you have them this control is royalty free so you dont need to pay. All I ask is that you email me (by Clicking my name above) if you are using it in any examples of apps, and give me some credit! Otherwise, please vote, please, please, please, please, please, please, please, please, leave comments and VOTE! Please report and bugs by the comments below
This is a tile map maker that I made for my RPG. You can open and save maps. You can also zoom out and view the whole map. The zip file also includes hundreds of tiles to use in a game. But the file is still under 0.6 MB
This draws the shadow of the mouse cursor continuously. This is worth looking at if you want to learn how to skin forms. As you move the mouse around the screen, it always has a shadow. While this program does not skin a form and use that as the shadow, it does merge two bitmaps to prevent flicker and keep as much of the background as possible, current. There is one problem with this code : it won't detect the cursor changing over another program. Any suggestions on how to fix this would be greatly appreciated. Hopefully for the next version, I'll skin a form in the shape of a cursor and follow it around. Votes, suggestions and any feedback at all are very welcome.
Yes it is possible to put text into a picture box. You can use this code to display captions on pictures and make uneditable text!
Creating a ActiveX DLL in VB5 or VB6.
Cool little snake game I made. Better than all the other ones I've seen on psc. Play two player or one player with five different speeds and up to four computer players. I've commented it the best I can. There are heaps of little examples like playings sounds accessing files etc. Plz vote for it and comment! thx
This a beginners guide to VB, this also has a Zip file containing all the projects and the article as a text file. PLEASE VOTE!
Ive seen a lot of source code that can bring up the window asking the user to connect to a remote share, but none of which would work without user input. This API call (WNetAddConnection) is very easy and simple to use, altho i cant guarrentee it will work on 98/ME.... tHe_cLeanER
This is a set of 2 classes to make subclassing easier by handling all the hooking/unhooking and message routing involved. The SubClass object exposes a single event (Message) which passes the messages the window receives on to the subclassing application. SubClassEx exposes Message and many other events for messages that are commonly subclassed or intercepted. Both classes allow for over-riding a window message, additional processing, and custom messages.