Results for "Volume: 1_2002"
This Tutorial will teach you the Ins and outs of creating custom Application Servers. Get the power to make true killer VB web applications, and give more scalability to your existing applications. If you are new to the term 'Application Server', just consider that it is an application that runs between a thin front end (in this case the web browser) and back end servers: After reading this article, you can (a) Understand what is an 'Application Server'(b) Create an Application Server, with a general handler(c) Extend the Application Server with additional logic.(In this case, a 'Banner Creator', which can create Banners with respect to user requests, and writes the picture back to them) Also, kindly VOTE for me, if you find it interesting..b'coz I took 6-7 solid hours to write it Your's Anoop M Nedumkunnam
Generates "Word Search" puzzles with ease. Original code by Dr. John A. Nyhart. I added a better printing function and a few other bells and whistles. All credit should still go to him.
gets your external ("real") ip address by connecting to an IRC server, getting your external hostname, and converting it to an ip
Just a small program to show how to show a screen saver in a picture box from within VB. Also has some other usefull functions. This is just a small program I was playing with. It is not complete and I don't know if it would be usefull to anyone, but I thought I would upload it anyway.
This is a fully commented working demo of the VB GetSetting and SaveSetting registry calls. In other words hopefully an end to all the confusing code and comments that are currently available on this subject. This code lets you save your specific program/exe/user settings in the registry and retrieve them as required. Simple code, but fairly confusing for beginners. Hope this helps a few of you out there. Also covers loading a menu into a drop down combo box and shell a browser to a specific url. Please vote for me if you like the prog :)
This code is a demonstration of a 3-tier application and contains excellent structure and coding practices. It is based on the Microsoft Northwind database. This is a must for any supposed 3-tier serious developers of wanna be developers. Uses COM+ and ADO 2.5 but can be easily changed to run in MTS.
This is the source code for a textbox that has an hDC handle! ***THIS IS NOT A LABEL*** This means that you can paint a picture / skin onto it, thus simulating transparency . . .or whatever you want it to look like. My textbox supports ALMOST EVERY function that a MS-textbox supports . .including selection of text, jumping to words and scrolling. ***PLEASE TAKE A LOOK*** Included in this code-download is also my newest 'low-memory' version of transparent buttons, which is a class-module that automates on-the-fly skinning of command buttons. A MUST SEE!
Read this to learn how to create arrays and resize them at runtime for efficient and unlimited memory storage. You will also learn how to resize arrays based on user input. This is something every vb programmer should know.
This code will create an internet shortcut on someone's computer. All you have to do it call it with a path and hyperlink!
As a lot of people asked, I added orientation property. This is a horizontal/vertical slider ActiveX. You can drag the pointer from minimum to maximum positions with your mouse. Or you can click on any visible part of slider to set pointer at this position. Or you can set position programatically. Includes PositionChanged Event. Control can be transparent or opaque. Now you can control the appearance of disabled image. You can configure your slider in the way you like it most. Source codes, readme and demo project included. Enjoy!!!
At last!!! Something that nearly matches the great functinallity that macro substitution gives in Visual FoxPro through the & Command... in this case we simulate it using the Microsoft Script Control, which allows you to run VBSCRIPT code through the control's methods, simply passing it code as a string parameter.
This is good for beginners because i have put examples of some loops(Do loop, Do while, For loop) Case statements, If statments (If else, if elseif, else)
This code can be used to shutdown/restart/logoff the windows environment in both win 95/98 and NT/2000. It also detects which platform you are running on. Other code posted here does not shutdown NT/2000 as it does not give the user the correct privileges. This code does. I can not take the credit for this code though as I found it on the MSDN disks.
This is just some various RunDLL32 calls to do system functions, this may be my first addition to PSC but by far not my best, Keep an eye out for more.
Shows how to use MCI API to play AVI Video Files, give it a look (and vote for me?). Enjoy it!
Ever forget an API call, and have to find out what it is, and tinker with it for a looonnng time before you can ever get it to work? Well now you can just add this OCX to your project and API is a breeze! All you have to do is add this to your project (Ctrl + T, then press browse and select my .OCX file and it will become one of your tools to pick from) then you type something like this in the code: CompControl1.ShutDown (this shuts down windows!!!) This OCX includes API for: ShutDown, Restart, LogOff, TaskBarHide, TasksBarShow ,ScreenSaverOn ,ScreenSaverOff, DesktopIconsHide, DesktopIconsShow, ALT-CTRL-DEL Enabled, ALT-CTRL-DEL Disabled, OpenCDROM, EmptRecycle, MinimizeAl, OpenExplore, FindFiles, OpenInternetBrowser, InternetConnect, InternetDiconnect, SendEmai, Add_Remove, Add_HardWare, Time_Date_Settings, Regional_Settings, Display_Settings, Internet_Settings, Keyboard_Settings, Modem_Settings, Mouse_Settings, System_Settings, Network_Settings, Password_Settings, Sounds_Settings, Copy_File , Delete_File, Move_File, FlipMouseButtons and More! could also be easily changed into a module for your project! If you like it please vote!
All-in-one client server example using Winsock's TCP/IP.
CHECK THIS OUT! This is a really cool effect. Stand in the middle of a 3D world and use the mouse to rotate the camera around. All running at over 60 frames per second!!! The pictures look beautiful (thanks to Craig Nisbet - it's his artwork, but my programming). How is such a high res 3D image made to run at 60 FPS in VB? Well, I cheated ofcourse! I just used a cylinder and wrapped and image round it, then put the camera in the centre of this cylinder. But the effect looks just the same as if I were using the best quality 3D graphics using thousands of polys! You really can't see the difference. Plus, like my last submission it has the advantage of compression - why use a huge 3D file when you can just use a jpeg? This demo also features both hardware and software rendering, (BTW software = very slow) and adjustable rendering quality. There will be many more features added but I won't be able to release the source code of the final version, sorry. I hope that you agree that this deserves a decent vote, if not then please tell me why not so I can improve the program. Enjoy!
IRCFileTool is a complete application that scans IRC for offer bots and the files they are offering. It lists them all and lets the user download them. At it's core is a Winsock control handling an IRC connection complete with DCC sends. It could easily be modified to function as an IRC bot.
Source Code Routine Add In's A Visual Basic add-in which provides 2 functions. Both functions scan the current code module and build a list of routine names. From this list you can select the routine on which the function is to be performed. The first function will add comments at the beginning of the selected routines- including lines for parameters and return value descriptions. The second function will add basic error checking to the selected routines. Note that for this function, the routine list will only include routines which do not already contain some type of error checking. Various bug fixes made: 27/10/2000