Advertisement

Results for "Volume: 7_2009-2012"

7_2009-2012 #217374
TimeDelay

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.

7_2009-2012 #217400
Center a form - Short, Simple, and Sweet

This code allows you to quickly center a form within the screen without eating up alot of cpu time.

7_2009-2012 #224657
Shell (v2) for Borland C++ 5.5

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!

7_2009-2012 #224023
Quick & Easy encryption

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.

7_2009-2012 #223851
Link list (queue)

produces a link list as a queue. it is part of my billing project and so uses order placing. nothing complicated.

7_2009-2012 #227132
ErrorProvider

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!!!

7_2009-2012 #224467
Telnet Client By Ibrar Ahmad

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

7_2009-2012 #217397
Expiredate

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.

7_2009-2012 #224655
File I/O class.

a class to make using fstream easier. NOTE: after a call to openfile() it is HIGHLY recomended to call closefile()

7_2009-2012 #224656
Creating a DLL in C++

this shows an example of how to create a DLL in C++, and use it in visual basic... hope you like it :)

7_2009-2012 #224055
Creating and using DLLs in both formats

Creates a DLL, and shows how to link dynamically at run-time or compile-time.

7_2009-2012 #234836
Easy News Script

This is a very aesy news script that does not use mysql to be aviable on as much hosts as possible

7_2009-2012 #217402
Rotating Cube Demo

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.

7_2009-2012 #232591
Threads_Example

This example shows how to use threads and gives a breif explaination why to use them. threads stops you program hanging/ freezing up

7_2009-2012 #233640
PHP FOR DUMMIES

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?

7_2009-2012 #224560
Towers of Hanoi

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.

7_2009-2012 #217406
Convert Common Dialog Control Color to WEB Hex

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.

7_2009-2012 #220256
Progressbar in Status bar Panel

Draws a Progressbar into a Satusbar Panel Ever wondered how a stausbar gets onto a progress bar? EEEEEEEEZy!!!!

7_2009-2012 #224408
TabPage XP

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.

7_2009-2012 #223465
Memory Information

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)

Languages
Top Categories
Global Discovery