Advertisement

Results for "Volume: 5_2007-2008"

5_2007-2008 #172230
Extract Numerical Values from Text Strings

The purpose of this routine is to take a string of text (such as with a textbox) and extract a numerical value from it. let's say that you have a textbox in which people enter dollar amounts. Many users are likely to enter something such as "$ 4,335.49" and expect calculations to be performed on it. The trouble is, the value of that string is 0 (zero), not 4335.49!

5_2007-2008 #174691
Sending mail using Simple MAPI

CMapi v1.0 an MFC class to encapsulate sending mail using Simple MAPI Welcome to CMapi, 2 simple classes to encapsulate sending mail using Simple MAPI. Simple MAPI is a set of functions exported by MAPI32.dll which allows you to send and receive mail in a transport independent way. It is an optional part of all Win32 operating systems since Windows 95 (excluding Windows CE). MAPI is intended more for the corporate environment when compared with the Internet mail standard SMTP e.g. products such as MS Exchange Server use MAPI extensively. Transport providers are available for a number of messaging transports including Exchange Server, SMTP, Fax, cc:Mail CompuServe etc. To be able to specify different transports, MAPI provides the concept of profiles which are setup using the Mail control panel applet Features Simple and clean C++ interface. All the code is UNICODE compliant and build configurations are provided for this. Even though Simple MAPI only exports an ASCII versions of it's functions, the class internally performs the necessary conversions. The code can be used in a console application or without bringing up any Mapi dialogs if so desired. The code gracefully handles the case where MAPI is not installed on client machines. Internally the class loads the DLL and uses GetProcAddress calls. The enclosed zip file contains the source code and a simple test program to exercise all of the functions the classes provide. PJ Naughter at http://indigo.ie/~pjn/index.html

5_2007-2008 #172204
Fix for ASP .NET Web Forms acting 'buggy' after user presses 'back' button

If you do ASP.NET web forms, have you noticed that they seem to act buggy after the user hits the back button? For example, do events start firing off that shouldn't be, or does the state on the form get reset to what the user typed in 2 times ago, or worse? It's not a bug...and here's how to fix it.

5_2007-2008 #172205
How to send an email in ASP.net

Sending email in ASP.NET is a breeze! Check out this example. Note that docs say that the .SMTPServer property is optional...if you don't specify one, Windows queues up your email for you. However, I haven't tested out this method of sending mail.

5_2007-2008 #172231
Creating a Screen Saver

Create a screen saver in VB!

5_2007-2008 #172232
Creating Program Manager Groups & Icons

Create program manager groups and icons from your code!

5_2007-2008 #172233
Center an MDI Child Form Within the Parent

useful when you need to center an MDI child form within the parent windo

5_2007-2008 #178431
Image Converter Plus - has image filters in the byte level

This is an upgraded version of my first VB.NET app, it can load (clipboard & drag&drop) & save image files and now apply image filters: Invert, Grayscale, Brightness, Contrast, Color Adjustment & Gamma Correction. And all is done in the modification of the bitmap bits in real time and its really easy to understand how it works and try to add your own filters. I translated the code from C# from an article I found in: http://www.codeproject.com/csharp/csharpgraphicfilters11.asp I learned many new things in VB.NET while making this app, I hope it'll be helpfull to you as it was to me.

5_2007-2008 #186211
Adding any Windows control to a Data Grid Control

While developing application soft wares, representing data in the GUI In friendly and readable format is one of the most important Considerations. In C# application (or Windows/desktop applications), .NET provides Data grid control to achieve the above important and vital consideration. Sometimes while representing data in a data grid control user Wants to edit the details i.e. he/she wants to edit the details through a Combo control or a date time picker control etc. This article below sheds some light in above area i.e. user can add any control based on his/her choice and can use it to edit the details in the data grid.

5_2007-2008 #174679
DtWinVer - A comprehensive OS detection routine

DtWinVer is a routine which provides a comprehensive method to determine which OS the program that calls it is running on. All methods it uses are fully documented on various articles on the MSDN CD. The routine provides the emulated OS aswell as the underlying OS. e.g. to a Dos program Windows 95 looks like MS-DOS 7.0.

5_2007-2008 #179342
_ A Task Manager for VB.NET, displays processes on local / remote computer, can end / terminate them

The code lists ALL programs running on a local, or remote computer, and gives you the option to close or terminate them. It was originally styled like the XP/2K task manager, but i removed some of the performance tabs etc for simplicity. Enjoy! tHe_cLeanER

5_2007-2008 #174597
Password protect a page

How can I password protect a page? The simplist and most effective password protection using just clientside JavaScripting, relies on the user not knowing the target filename. Found on the web at:http://www.irt.org

5_2007-2008 #178762
File Upload !!!!!!!

Hope this will help! Good luck!

5_2007-2008 #172234
16 and 32 bit functions to create

16 AND 32 bit functions to read/write ini files--very useful!

5_2007-2008 #182583
XP Style Controls using Manifest

Give your .NET applications an XP style look using a manifest file.

5_2007-2008 #180527
Simple StatusBar Example

This example shows you how to setup a StatusBar through code. It also uses the ContextMenu, Timer and MainMenu controls. The timer give you dynamic time in the StatusBar.

5_2007-2008 #178763
Splice

Create a 2 dimentional array (rows and columns) out of a semicolon delimited text file. by Travis Barney

5_2007-2008 #172235
add a horizontal scroll bar to a listbox or combo

add a horizontal scroll bar to a listbox or combo box

5_2007-2008 #174598
Force browser to reload or refresh

How do I force a reload/refresh from the current page? Found at http://www.irt.org

5_2007-2008 #174599
Redirect a page after 5 seconds using Javascript

How do I redirect to another page after 5 seconds using JavaScript? Found at http://www.irt.org

Languages
Top Categories
Global Discovery