Advertisement

Results for "Volume: ASP_Volume2"

ASP_Volume2 #34452
Excel : A tip for you that deal with add-ins, Menus and Submenus

This is the source that i've been looking for, when i was trying to create an add-in that installed a new menu option with submenus in the shortcut menu of a workbook. (Look at the screenshot). The whole project is designed to be as simple as possible and it is an Excel Add-in. It is very helpfull for those of you that try to develop professional Add-ins. Any comments or suggestions are always welcomed (A special "Thank you" to all of you who voted for me)

ASP_Volume2 #34453
Preventing Bugs Before They Occur

Wow, I'm writing another tutorial for Beginner, Intermediate, and Advanced. I hope that this tutorial will help like all my others did. In this tutorial, I will attempt to explain how to prevent bugs before they occur. How, you may ask? Well, I will explain to you bug preventing techniques like using Option Explicit, applying the KISS and SMILE principles, taking advantage of Object-Oriented Programming, using Comments and Coding Conventions, and following Coding Conventions by using Variable and Routine names and avoiding certain statements. I will also throw in what I call the Ten Commandments of being a Lazy Programmer. Is being a 'Lazy Programmer' good? Well, yes it is and you'll find that out soon enough! Maybe some of you are already 'Lazy Programmers'. So, without further eddo, lets begin!

ASP_Volume2 #34454
Easy File Replicator v2.0

Check out new, more powerful version of a replicator. I've added folders and trees manipulation functions and a fixed a few bugs.

ASP_Volume2 #34455
ADO-Connection to database made easy

I have used SQL queries for Add, Modify, Delete, Update and Search in the databases. Everything neatly coded and commented for each line. A very good example for beginners, who needs to know the coding standards for connecting to the database using ADO. Comments appreciated.

ASP_Volume2 #34456
burst

This code will generate and plot "random number distribution" Any input or comment, just send to [email protected]

ASP_Volume2 #34457
Computer Identifier and SMS in LAN

This code will list all the computers in the "LAN" network. (It takes a minute to list). To send short messages you have to select/multiselect the user and then send messages. I have used "net send" in WINNT. I got this code "network computer name identifier" here only. I have modified and added codes to use it for chat. This chat will work only on WIN NT machines. Comments awaited.

ASP_Volume2 #34458
VeryLongConvert (bases)

VeryLongConvert is a function that converts a huge number as string from a base to another one . INPUTS : * Word As String : the huge number, up to 32,000 digits, to convert * FromBase As Integer : the base in witch Word is written * ToBase As Integer : the base in witch Word is to convert * Separator As String : this Optional variable is the decimal separator, usely the point and sometimes the comma OUTPUTS : * the function returns the huge number converted from FromBase to ToBase as string. It returns "" if Word is empty or if FromBase or ToBase is not between 2 and 36 Here is the public code : Public Const B_BIN As Integer = 2 Public Const B_OCT As Integer = 8 Public Const B_DEC As Integer = 10 Public Const B_HEX As Integer = 16 Public Const DEFAULT_SEPARATOR As String = "." Public Const COMMA_SEPARATOR As String = "," Public Function VeryLongConvert(Word As String, FromBase As Integer, ToBase As Integer, Optional Separator As String = DEFAULT_SEPARATOR) As String Example : This example illustrates the VeryLongConvert function. To try this example, include the module ModConvert, paste the code into the Declarations section of a form that contains two TextBox controls and a CommandButton control, and then press F5, enter a number in Text1 and click on Command1. It will convert it from decimal to hexadecimal. You can convert from any base to another by replacing 10 and 16 by the bases you want. Private Sub Command1_Click() Text2.Text = VeryLongConvert(Text1.Text, 10, 16) End Sub How it works : I won't go in the details but it works with divisions to convert a number from a base to another. e.g. : if I want to convert 247 from decimal base to binary base I'll do that way : LSB : Less significant bit MSB : Most significant bit numerator|denominator remainder/quotient 247|2 LSB 1/123|2 1/61|2 1/30|2 0/15|2 1/7|2 1/3|2 1/1|2 MSB 1/0 So, 247 in decimal is written 11110111 in binary Try the example you can download. Vote and give your comments ! Thanks !

ASP_Volume2 #34751
AI Chat! Chat with your computer using MS Agent!

This is to find out information about your computer and ask it questions. It also saves settings like your name in the registry! You can ask it its name, its favorite kind of music, and even if its gay! It uses the merlin MS Agent so you can actualy hear what it says. If you dont say any thing for 30 seconds it will says something. Most responses have about 5 randomized thins to say. Enough explainig! Just get it! Email me at [email protected]

ASP_Volume2 #34752
LightWorks

Illustrates use of classes and collection classes in VB Showing nice Lights effect. Each little particle(Which Leaves the light Ray behind) is an independent object.The code is almost the same as OO FireWorks I Submitted the other day. Any comments/suggestion on how to improve speed/memory Usage are welcome. please vote for the code even if its negative but please do leave a comment to let me know the reason.

ASP_Volume2 #34753
GFX_Fire - A fire demo

This code will draw on a form an animated flame, using a simple algorithm. I don't use any API declaration, so I use only standard VB functions. The code is full commented (sorry my english) and there are 61 line of code only; If you like it please vote (^_^)! Or leave a useful comment (better thing)!

ASP_Volume2 #34754
Animated Gif in vb games

A simple example how to handle animated gif file to create vb games.

ASP_Volume2 #34755
alarm & clock in systray...

a simple alarm clock, but it shows a message into the systray.

ASP_Volume2 #34756
Creating a resource-only dll (Revised)

In response to a many VB programmers wanting a better alternative to using resource files to store their bmps,wavs, etc. This code presents a simple way to store those resources in a resource-only ActiveX dll that can be loaded from their VB application.

ASP_Volume2 #34757
How to connect using Winsock 4 beginners wanting 2 learn Winsock

This code is for beginners wanting to learn winsock **Fully Commented** Only today i have learned Winsock and this is thanks to someone called carrot in vbchat (irc.vb-chat.com #vbchat) which is also known on PSCODE as "Andrewm1986" I am at the moment increasing my skills in winsock i have made a chat client and server which later on today will be able to kick & Ban the user which i will upload when i have finished well have fun and people who want to learn Winsock this is your chance!!!

ASP_Volume2 #34758
GurhanButton - Major Updates

Major Updates...Now, Picture shadow on OfficeXP buttons, easier button setup...etc.

ASP_Volume2 #34759
Directory Protector

This is a nice tiny utility program for a beginner of Visual Basic…! With this program one can lock his folder with password! Mainly this program changes a folder to a system folder like Control Panel or Recycle bin or Printer. It can also make a folder to HTML Document. Try it, It's simple, easy and I wrote it for beginners so, there is no Hard code! If any beginner of VB has any problem to understand it, just email me. Don't Forget To SEE SCREEN SHOT! Thank you. Mahatab-ur-Rashid

ASP_Volume2 #34760
A D O - Access 2000 VB Code Generator

I catalogue this program like an utilitiy this utility generate a function that you can use inside your apps to create an Access 2000 Database With ADO Reviewed Version 1.1.0! Vote Please! Just copy and paste the code generated to new VB project and two references Microsoft ActiveX Data Objects 2.5 Library Microsoft ADO Ext. 2.5 for DDL an Security

ASP_Volume2 #34761
Getting the status of the selected printer from Visual Basic

Shows how you can use the Windows API to return additional information about the printer above and beyond that which is available through the Visual Basic Printer object.

ASP_Volume2 #34762
Smooth Scrolling DataGrid

This code allows you to have the smooth-scrolling effect seen in better applications on your datagrids(could also apply to other scroll bars in VB) When you grab the trackbar and move it, VB doesn't do anything until you let go. Or if you click on the trackbar itself, the grid just jumps. This code shows you how to change these effects so that the grid(or text) will scroll smoothly as you drag or click.

ASP_Volume2 #34763
Code Statistics v2.0

This will get various statistics of your code. it can scan projects, forms, modules, classes and controls. The informations retreived.. well, just look at the picture. The code is a definate improvement on the last version which only scanned projects, forms and modules. This version can scan classes and controls, plus gets the amount of declared variables, properties and api decalrations. The code itself has also been slightly re-structured for ease in inserting any other files you wish to scan for. Let me know if you have any suggestions, as these improvements were suggested in the feedback from the last version. Any votes are also appreciated :) Thank you.

Languages
Top Categories
Global Discovery