Advertisement

Results for "Volume: 1_2002"

1_2002 #110616
Screen Magnifier =D

Its really simple - I think that it comes with windows (dunno which one), but its little form in the top of the screen that takes screen shots of the screen every millisecond and zooms in a few times. So I decided to make one myself :) only took about an hour, but i had to get the screen size right. Mine puts it in an image box and streches it a number of times, it is always ontop and in the system tray so you can hide and show it at anytime to save memory :) If you like this please please vote and leave feedback and suggestions, Thanks

1_2002 #108072
A Guide To Common Dialog Boxes Including Fonts

This is for anyone who is having trouble with common dialog boxes. Common Dialogs I have seen many examples on pscode.com , that have messed up Common Dialogs , mainly when it comes to the font dialog. This tutorial should teach you all you need to know for common dialogs. Definitions: Flags - These are simply options or choices you can use. Using the flags: 'Setting it for use CommonDialog.Flags = &H1 'Setting it for use of more than one CommonDialog.Flags = &H1 Or &H4 Activating Dialogs: This is simply the code to start up each dialog box. CommonDialog.ShowColor 'Lets the user pick a color CommonDialog.ShowFont 'Lets the user pick font CommonDialog.ShowOpen 'Lets the user pick a file to open CommonDialog.ShowPrinter 'Shows Printer Setup CommonDialog.ShowSave 'Lets the user pick a file to save to ShowColor: The following are some flags for using the Color dialog boxes. &H1 - This is one i personally like. This makes the common dialog start showing its current color. &H2 - This starts with the custom color tab open. &H4 - This makes it so they can not create custom colors. &H8 - This adds a help button to the dialog. &H10 - This will reset the common dialog to default. ShowFont: The following are some flags for using the Font dialog boxes. &H1 - Allows the dialog only to list fonts supported by the system. &H2 - Allows the dialog only to list fonts supported by the printer. &H3 - Lists the fonts from the two above. &H4 - Adds a help button. &H100 - Allows the choices of underline strike thru and color selection. &H2000 - Shows only font sizes between the min and max. &H20000 - Allows only fonts that can be scaled. &H40000 - Allows only true type fonts Applying to a textbox - For each property you must set it here is an example that sets it assuming you have &H100 and have a textbox named Text1 Text1.FontName = CommonDialog.FontName Text1.FontItalic = CommonDialog.FontItalic Text1.FontBold = CommonDialog.FontBold Text1.FontStrikethru = CommonDialog.FontStrikethru Text1.FontUnderline = CommonDialog.FontUnderline Text1.FontSize = CommonDialog.FontSize Text1.ForeColor = CommonDialog.Color ShowOpen And ShowSave: The following are some flags for using the Open dialog boxes. &H2 - Forces a warning before overwriting a file &H8 - Stops default directory from changing &H10 - Shows help button. &H200 - This makes it so more than one file can be selected. &H1000 - This makes it so the file must exist. &H2000 - This warns the user before creating a new file. Opening a file: CommonDialog.ShowOpen Open CommonDialog.FileName for Input as #1 'Opens The File Do until Eof(1) "Loops till complete file added to Textbox Line Input #1, Tmp Text1.Text = Text1.Text & Tmp Loop Close #1 'Closes the file Saving a file: CommonDialog.ShowSave Open CommonDialog.FileName for Output as #1 'Opens The File Print #1, Text1.Text 'Creates The File Close #1 'Closes the file ShowPrinter: The following are some flags for using the Printer dialog boxes. &H4 - Makes it so they cant choose to print only selected text. &H8 - Does not allow you to choose to print certain pages like 4-7. &H800 - This shows the help button. &H40 - This shows the print setup dialog box rather than the printer dialog box. &H100000 - This gets rid of the print to file option box. Printing Landscape - Printer.Orientation = 2 Printing Portrait - Printer.Orientation = 1 Please vote and leave comments.

1_2002 #110512
Determine Mem of Var in Prog

Another thing i made because i was bored. It came as a use to me probably not anyone else. I have an obbession with how much my program uses. So i made this program to determine the amount of room my data types took up.

1_2002 #110409
Mp3 subdir Search w/path/duration/size

Well I Made this for myself as a quick search/player to get all the songs on my drive or in a folder's subdir's also i added a simple version that uses a listbox for beginers that dont know how to use a listview --- its pretty quick for me but for slow comps u might want to take off the duration check...

1_2002 #110364
UNICODE From ANSI Pointer

The Most difficult Thing in VB..How to Get UNICODE From Pointer Of Ansi String..

1_2002 #110961
COOL Instant Messanger Check This out

Every line is commented teaches you how to understand winsock use list controls, databases, string manipulation, multiple connections via internet, send and receive files via internet and much much more to come So check back for the latest updates Feel free to vote / Leave a comment let me know what you think about this submission to PSC Just uploaded newest code /fixed few bugs/ did some major changes to the client side and minor changes to the Server. Also i created my own menus' status bar etc.. Shows how to easily use the TreeView cntrl and much more. So leave your comments if you would like the code to keep on!

1_2002 #108184
Intergrated Shareware Registration with PayPal

This is a form I created to encourage shareware registration. Instead of the user having to navigate to and through my website just to get to a PayPal link, they can select their level of registration, and the program will launch their default browser to the appropriate PayPal x-click payment page. I put the sub to open the users default browser in a BAS file with the appropriate declaration so you can use it in other projects by just dropping in the module. If you like this code and find it useful, please vote.

1_2002 #105164
Store 24 Booleans in just 3 bytes!

This will store 24 boolean statements in just a 3 byte file! (3 bytes = 24 bits). I harness the power of bits here and use it to store true and false values. Please vote if u like it and leave a comment.

1_2002 #110820
Splitting Strings

The purpose of this article is to teach the reader how to split a string into fragments and use the fragments effectively. Useful for Winsock programs, date commands, and other possible needs.

1_2002 #111035
A Very Simple Clock

Displays a very very simple digital clock. This code is the simplest way to create a digital clock

1_2002 #109854
Hooking Message Boxes!

Download the article code. My last upload didnt go through for some reason ... !

1_2002 #108992
Circumventing Novell

Ever need to get around the security setup by Novell? well this program may come in handy when trying to do just that. Edit msdos.sys file, disable/enable display properties, visible and invisble task list, registry file merger, referesh explorer.exe(windows) so effects can take place without restarting computer which would make you lose many of the changes. See screenshot.

1_2002 #105999
Even More Web Browser Tricks

Here is the third part of my Web Browser Tricks This time as a Web Browser(nearly). What's here ? - a nearly exact clone of Internet Explorer's Favorites menu, autocomplete Address combo, menu's enabled/disabled by the Webbrowser, text resizing including identification of current size, progress bar in the Statusbar, plus all the standard WebBrowser stuff.

1_2002 #110793
SimpleWebServer

This is a Simple Webserver Program, which accepts requests from Internet Explorer. Really, some of you could'nt have imagined to make Internet Explorer as client. The Application has a round circle shape interface, made this using api,and also animates according to request from Internet Explorer.I am not sure whether the actual Web server works as this. This Application provides a greater scope on reading Header information from Internet Explorer. You can never leave the application without rating as excellent.Readme file also included. Note: Run the server, open the IE and type the URL as http://localhost:1001/server.html to access an html page, Type http://localhost:1001/ANIMATE to Animate the form Type http://localhost:1001/STOP to stop the Animation You need to have Microsoft Winsock control and Scripting run time library.

1_2002 #110632
[ScreenShots] - For techs everywhere

Ever need a Screen Shot to show on the web or email to a client but hate the hassle of having to take the screenshot, import it, save it to your computer then upload it to a server? Well this program takes that out of the picture, by having all of your screenshots listed and easy to get to with a few click of the mouse. All screen shots are hosted on your server or your host for that matter. With the direct link shown above the image to make it easy to link, or display in a support forum. This code doesn't use a database, so its much easier to understand, and setup. If you like it then please vote & leave a comment! Thanks.. Make sure to read the read me it explains how to set it up!

1_2002 #110998
Word Frequency Analyser

Paste the contents of a plaintext document into the main multiline text box, click "Parse," and this program creates an array for each unique word and the frequency at which the word occurs in the string. I made this to check my own writing for over-used words; if you're a writer you may notice how you tend to use the same words over and over again; in conjunction with a thesaurus this could be a powerful tool to liven up your use of vocabulary.

1_2002 #109147
Direct3D 1st Person Game (With Collision Detection)

This is the UPDATE of my first DirectX program. I've read one tutorial about DirectX 7 last week, I think DirectX 7 is easyer than DirectX 8. The EngineX of Simon Price and other excellent Engines at PSC gave me desire to make my own 3D Game. Well, it was made some days ago, so it's not finished. I need some help to use DirectInput to look around with the mouse and to add a more realistic sky. I'd like to know how to make a landscape, like in TrueVision. I made the map style, I think it is a good method. I also made 5 subs that are very usefull, AddWall, AddFloor, AddRoof, AddLight and AddMesh, It is all explained in the source. **** UPDATED **** I've added Collision Detection to my project. I hope you enjoy it. PLEASE, VOTE FOR ME IF YOU LIKE IT AND LEAVE SOME FEEDBACKS, TELL ME WHAT YOU THINK. Sorry, I couldn't upload it to PSC, I don't know why. Please download it at: http://planeta.terra.com.br/informatica/fredisoft/downloads/Direct3DGame.zip ** IMPORTANT ** Do not use any downloader, like GetRight, Gozzila, etc... Turn it off.

1_2002 #109390
Convert from fractions to decimal and back

This code will convert a Fraction to a decimal, and also convert a decimal to the lowest common denominator. It has now been updated to handle repeating decimals.

1_2002 #106766
Simple Calendar Calculator

This is a simple program that is capable of calculating the number of days between two dates and it can also determine the date n days before the reference date. Plus, we can calculate the number of days from Jan. 1, 1 up to the present date!

1_2002 #111002
NOPOPUP

NOPOPUP is an application that remove the tedious popup when surfing on the web with Internet Explorer. It use the shdocvw.dll (Microsoft Internet Control) to enumerate and grab the Internet Explorer Window. Then control when then parent window is an object. Also this application is a demo of how - to manage the Sys tray with no dll or ocx - to set that un aplication start at window start-up (and then how to manage the registry) - to read and write on a text file

Languages
Top Categories
Global Discovery