Results for "Category: Miscellaneous"
Automatically rescales a form to keep the layout identical at any size. For those of you out there who lock your forms to a certain size because rescaling is such a pain, give this a try...you will love it! NOTE: Although this code works as is, it is JUST AN EXAMPLE. You should be able to take the same logic and apply it to all of your forms, but please note that this example does not handle every type of control. For special controls (dbGrid, etc.) you will have to write a little code yourself to make it work.
Simple API call that tells whether or not a particular form is open. Useful for managing popup forms or a series of forms. Sample usage: If FormIsOpen("Color Picker") Then ' ....Do Something Here Else ' ...Do Something Else Here... End If
Class object that gets the systems available screen workspace dimmentions and can also position a form to one of 9 screen quadrants. All API.. No SysInfo Control!
ANOTHER starfield (like there is not enough already) this is faily basic code using X,Y,Z distances, VERY simple 3D.
This code will dial a touch tone phone if the phone is held close to the computer's speaker. A good example of embedding several wave's in a resource file. Enjoy. Sorry, forgot RES file, now included.
This code shows the basic function of the HScroll and VScroll bars.
This program converts fahrenheit to celsius and back again. Very good working example.
You can make you form just like a Window.. in fact just like microsoft windows, window... :)
Hello, this example shows you show to view powerpoint (.ppt) files inside your vb project. You can also change the file and change some viewing options. Every line is commented. please vote! Thanks hope this help, Matt!!
Adding A sound to your forms to spice them up a little!d
This code is a simple cam viewer. You must register the quickcam ocx first (use register.bat). You can capture images, change format, size, etc. No exe added, u gotta compile it. Remember to vote 4 me! :)
Generates registration key based on name.
*FIXED* Ever wanted a form to stay next to another while you moved it or on load? This example shows how to do it in a few simple lines of code! Anyone can use this code it's so simple. Try it for your self!
This Full Example Show how to control winamp. It also includes a Full Winamp Forntend .mod file which include all the function to control winamp. I create this because i was making a Mp3 Player for the car and i need a winamp control and LCD Display to display songs.. and have cool function with the program Have fun with it.
Bouncing elastic text effect
Hi Folks, hi Ian, this site has the title 'Free(!) Source Code for the Taking' and I just cannot believe that the production plus handling plus P&P plus administration plus extras (mind No Profit) will cost a hundred bucks per CD. The community may wish to know, how you, Ian, have arrived at that figure, and it would be a nice and decent gesture if you could publish that. I am not greedy or anything like that, I just think, we have a right to know. Anyway, if you cannot publish that, I wish to have all my submissions deleted. Btw I consider it an insult to give us back what we submitted as a 'Price for Superior Coding'.
I still need to Do Colors, DCC and Ident Server, if your intrested in helping my ICQ# 52567840...
Ok, if any of you out there have the free version of vb, you have probably noticed that it will not let you compile your projects.. (DUH!!!)Well I think you will all be pleased, cause I found a way to do it.. If you have vb5 or vb6 free edition, then just copy link.exe into your dir were vb5.exe or vb6.exe is located, (Dont worry, I have included link.exe for both vb5, and vb6 in the zip file) Then goto the command prompt, and type the following command... 1st make sure your in your vb dir, in the command prompt. Should be something like this, C:\Program Files\Microsoft Visual Studio\vb98\ Something like that, just make sure your in the correct dir were vb5.exe or vb6.exe is stored, Then type the following command, vb5 /m project.vbp or vb6 /m project.vbp If you have copied the new link.exe into your vb path, your project will compile fine. Please vote for me...
Gives the Altitude and Azimuth angles of the sun at any time of the year, as well as giving the position in rectangular coordinates for use in positioning the sun in Lightwave. The program also creates a motion file that can be loaded into Lightwave to create animations involving the sun at a given location over a given period of time.
I'm re-posting this because I've fixed a few minor things and made a few minor improvements. This demo runs at about 70 fps on my Pentium 3 450mhz. One executable runs in a window, the other runs fullscreen. It is a simple textured tunnel effect. The texture is wrapped around the tunnel and the bitmap is scrolled to simulate motion through the tunnel or rotation in the tunnel. The code involves methods that provide for very fast graphical manipulation, including lookup tables with mathematical formulas and pointers to a bitmap. The code includes gaussian blurring to smooth the texture and pointers to quickly change the screen. You can change the tunnels texture in the code. To exit the program, double click on the screen. Please vote for this project and leave a comment! I don't care if you give it a bad vote, just vote what you think... I really like to see what people think of it in general.