Results for "Volume: 5_2007-2008"
TimeDelay fuction is good for when you want to time out a loop, in milliseconds. Does'nt use a timer control, Uses simple api declare.
This code allows you to quickly center a form within the screen without eating up alot of cpu time.
If you don't like compiling from DOS when you use borland C++ 5.5.. well this is the solution for you. UPDATED!!! It now compiles windows programs as well as DOS, and can edit CPP source files too!
Learn how to write a simple DLL in C++ and then call it in Visual Basic. I scoured the web trying to look for beginning tutorials on how to write DLL's in C++ but came up with NULL examples. All the examples were to complicated for a beginner. Some of them were out-dated i.e. "Learn how to write a DLL to communicate with an ISA card". I soon gathered enough information to write a very simple one. Check it out.
produces a link list as a queue. it is part of my billing project and so uses order placing. nothing complicated.
The way of validating user inputs.! Throws a error if the expected type is not appropriate! Simply checks user input if numeric or not, if the text is not numeric error provider throws a exception to warn user!!!
Introduction This is a telnet console application that implements the Telnet client protocol (rfc854.) I have run it on VC6, NT4.0 SP3 Telnet The purpose of the TELNET Protocol is to provide a fairly general, bi-directional, eight-bit byte oriented communications facility. Its primary goal is to allow a standard method of interfacing terminal devices and terminal-oriented processes to each other. It is envisioned that the protocol may also be used for terminal-terminal communication ("linking") and process-process communication (distributed computation). General Considerations A TELNET connection is a Transmission Control Protocol (TCP) connection used to transmit data with interspersed TELNET control information. The TELNET Protocol is built upon three main ideas: first, the concept of a "Network Virtual Terminal"; second, the principle of negotiated options; and third, a symmetric view of terminals and processes. When a TELNET connection is first established, each end is assumed to originate and terminate at a "Network Virtual Terminal", or NVT. An NVT is an imaginary device, which provides a standard, network-wide, intermediate representation of a canonical terminal. This eliminates the need for "server" and "user" hosts to keep information about the characteristics of each other's terminals and terminal handling conventions. All hosts, both user and server, map their local device characteristics and conventions so as to appear to be dealing with an NVT over the network, and each can assume a similar mapping by the other party. The NVT is intended to strike a balance between being overly restricted (not providing hosts a rich enough vocabulary for mapping into their local character sets), and being overly inclusive (penalizing users with modest terminals). This Project has five Main Classes CSocketDx CSocketDx Class is used to establish TCP connection. It has 3 functions CSocketDx(char *,int); ~CSocketDx(); int Create(); int Connect(); SOCKET TelnetConnect(); CSocketRx CSocketRx Class is used to Receive data. It has only one thread. CSocketRx(); CSocketRx(SOCKET,HANDLE&); virtual ~CSocketRx(); static DWORD RdTh(CSocketRx *); CSocketTx CSocketTx Class is used to Send data. It has only one thread. CSocketTx(SOCKET,HANDLE&); virtual ~CSocketTx(); static DWORD SendTh(CSocketTx*); CProtocolRx CProtocolRx Class is used Implement Telnet protocol. inline void yesreply(SOCKET server, _verb verb,_option option); inline void noreply(SOCKET server, _verb verb,_option option); inline void askfor(SOCKET server, _verb verb,_option option); void TelentProtcol(SOCKET server,unsigned char code); Platforms I have run it on VC6, NT4.0 SP3; I did not test it on 95 and VC5 Limitations Cannot handle arrow keys
Expiredate, it's very usefull for makers of shareware. It can worked for 30 days long or 60 days long. you can make new demo for. After expiredate your programma will not worked until customer pay to you.
a class to make using fstream easier. NOTE: after a call to openfile() it is HIGHLY recomended to call closefile()
this shows an example of how to create a DLL in C++, and use it in visual basic... hope you like it :)
Creates a DLL, and shows how to link dynamically at run-time or compile-time.
This is a very aesy news script that does not use mysql to be aviable on as much hosts as possible
The HELLO WORLD of 3D programming :) A rotating cube demo. You can adjust the rotation (clockwise or anticlockwise) and the speed by moving the mouse cursor towards the right and left edges of the form.
This example shows how to use threads and gives a breif explaination why to use them. threads stops you program hanging/ freezing up
PHP FOR DUMMIES This article is for people who are not aware what PHP is , who have not heard of PHP ,This article will refresh you about what PHP is with some of the important highlights . PHP!!! PHP!!!! PHP!!!! WHAT IS IT???? Don’t worry; I am here to tell you, what it is?
This code allows the user to input the number of disks for the classic Towers of Hanoi problem. The instructions on how to solve the tower in the fewest moves possible are written to HANOI.DAT Thanks goes out to my Computer Science teacher for his suggestions.
This code takes the common dialog color, extracts the R, G, B values, and converts each value to the correct HEX equivilant supported by HTML.
Draws a Progressbar into a Satusbar Panel Ever wondered how a stausbar gets onto a progress bar? EEEEEEEEZy!!!!
I keep seeing messages posted about the lack of support for Visual Styles in TabPages. Well, I thought, that can't be too difficult to overcome, and I was right it wasn't. OK so I already knew how to use the API's from VB6 and it was simply a case of getting those to work in DotNet(not quite as simple as I'd like). One problem though, I am using VS2003 Beta so this project will not load in VS2002. However, the TabPageXP.vb file is just plain text so you can add that to a VB2002 project, and really thats all you want. Full instructions for usage supplied in the TabPageXP Class file.
Under Win32 , get memory information, - total physycal memory, free physycal memory and free system resources (like in the shell about dialog, using the rsrc32.dll)