Results for "Volume: 2_2002-2004"
You can get all sorts of useful information on the browser, using Request.Servervariables. However, one of the problems with the Visual Interdev help is that it doesn't list ALL the information you can get. Here is the most complete list I know of...if you have any additions, please feel free to append them as a comment!
this lets you edit the system menu on your form. you can make it perform functions also. the only downside to this is that the form is not movable by titlebar. i've seen other codes posted on this but the one i was looking at didn't show how to perform commands on click. anyways hope this helps you out.
This Shows you How to Manipulate Message Boxes Using some Simple API. You can change the font size, add a strike-through, underline, bold or italic to the text of the Msgbox. You can Also Position MessageBoxs other than having them appear in the center. Also you can create self closing messageboxes that close after a period of time you specify in microseconds. Enjoy.
This is a simple ASP counter, it takes very little to set up, just include code on page and you are ready to go. The summary page uses a MS Access database to store total hits per page. You can control counter style. It has a main page where you can keep track of number of visits by page. You can sort your statistics by URL or number of visits. All information is store on a MS Access database for you to use on any report...
This code is a windows system information. You can retrive your system information in an *.INI file. The informations you can retrieve are: OS version(Win version, licence number, licence owner, licence company, time zone) - Sys Report(bios, processor) - Video (bios, chip, size,..) - the SET variables - NetWork (hostname, ip, mask, dns, dhcp,domain,...) - Keybord Type - IE version - Disk(type, filesystem, space, freespace, ...) - Services started, ... - Services Stoped, ... - Input host file - Input LmHost file.
This is the redirection component, for Paul Woodlands previous submission of MSMS Core Component.
This module demonstrates how to generate a Window using the API. Why use the Visual Basic FormDesigner when you can use the API? Okay it's much easier to use the Designer, but a good VB-Developer has to see and understand a module like this ;-). I have translated the C++ - Code (MSDN\SDK) to VB.
Record and Play Back your own Voice Messages using the MCI Control, Moving Borderless Forms, Read and Write to INI Files, Custom Colors Screen, Custom Web Browser, Custom Forms, Treeview Control with Images, Keeping forms always on top, Accessing Access 2000 databases with a password in code and more. Make a sub-directory called C:\CODE\CONTACTOR and then unzip to that location. Load the program up in VB and go from there. The Login name is "Guest" and the Password is also "Guest". If you have any questions, email me at [email protected] and I will try to answer them.
The code checks if the User is online or not. If he's online it will prompt a MsgBox "You are connected to the net.") or it will Show: "You are NOT connected to the net.". You can also insert your code. This code is useful when your application uses the internet. So if the user is not connected the net, the program will simply unload.
Create a 3 of 9 bar code without using a TTF, DLL or OCX.
ASP comes with a control named MSWC.BrowserType that can be used to detect the user's browser. In another article I posted, it detailed how to use it. However, if you have a heavy use web site, you need to read this warning.
This is an ASP poker script. What it does is it gives you five cards. From those five cards, you need to select which cards you want to keep. You can do that by checking the checkbox of the card. After pressing the OK button, you will get 5 new cards. Below those, you will see the result of the previous hand. The non-held cards will be replaced, and score will be setteled. Anything starting from a pair of jacks give you points (the better the hand, the better the score), anything else will result in losing 10 points. When the game is over (after 20 hands), you will be able to submit your score. This is saved to an access database. The highscore page will then show the 10 highest scores. The highscore page also has a protection that it will only accept submissions from the poker.asp so this prevents cheating a bit. The poker.asp will check to see that you don't get the same card twice in the same hand (althoug the GetHandValue function is prepared for this) This submission could be usefull for: a) someone who likes a (cool?) game on his/her asp site b) someone interested in how to validate a poker hand c) someone who's just after all the card images i've included d) someone who needs a highscore script for his/her own asp game If you want to see a live example, I've put it up at http://developer.domaindlx.com/cakkie/scripts/aspoker/poker.asp . If you get popups, i advice you to minimize them rather than closing them (they keep coming back), but it's a free asp provider, so i can't complain, can I?
Woke up one morning like I always do and started my computer. Went to the MSDN site, and I saw something that interested me. For some reason, I checked the frame properties to find that their frameset was done in one file. I Thought it was a great idea, so I made one that I thought I'd share. This file will load three web pages that are all stored within one file recursively. Have fun.
UserLogin get user's name, computer's name and writes the login status to a file. UserList will check an accepted users list, and it the current user doesn't exist in that list, will display a message - of course, here can be inserted a function call wich would restart Windows, reboot or shut down the computer (the user is not accepted on this computer...)
Ever wanted to scan a picture and save it to the Hard Drive? Well Now You Can. With a Few Lines of Code you're ready to capture a picture from a webcam or scan something from a flatbed. This may only be compatible with certain brands of scanners and webcams but should work with most. The only thing not coded by me in this sample is the control which is included. I think it was built by kodak. Anyhows enjoy. Be sure to Extract the .OCX to your Windows\System directory or most likely this will not work.
Provides an updateable web-based calendar that can be viewed from both the Web and through a Mobile device, such as a cellular phone. Written in ASP 3.0 using MS Access for Data.
you have an xml document and maybe want to convert it to a recordset, but how? this article shows how you can do it. first of all you have to give path of the xml file to the function, then it opens a recordset in the memory, appends all the field names in the xml file, then adds all the values as records to inside, returns a recordset. you may also use this function in asp just put the function inside asp code and use it as in example
This code compares 2 files (EXE, BMP or whatever) using the fastest possible way in VB, only asm is faster. its about 1MB/sec. If you have problems opening the project in VB5 just remove : Retained=0 ThreadPerObject=0 MaxNumberOfThreads=1 from the projekt1.vbp using notepad (or just create a new project and add the form and the module) greets, Tom
The purpose of this is to educate people about the wounderful world off A.P.I.. This has over 100 API stuff. In the screenshot there is only like 10. But there are the codes for over 100 stuff in this baby!
Easy to set and use online poll using an XML file instead of a database. Lightweight and fast. Uses cookies to track visitors, so they cannot vote more than once. All you need to do is to edit the XML file and to set up some links. Please, refer to the documentation included into the zip file.