Results for "Volume: C_Volume2"
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!
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
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.
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.
Create a screen saver in VB!
Create program manager groups and icons from your code!
useful when you need to center an MDI child form within the parent windo
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.
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.
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.
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
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
Hope this will help! Good luck!
This article explains how to use the new GDI+ system with vb.net, this is the replacement for the old graphic drawing functions with loads more features.
16 AND 32 bit functions to read/write ini files--very useful!
Give your .NET applications an XP style look using a manifest file.
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.
Create a 2 dimentional array (rows and columns) out of a semicolon delimited text file. by Travis Barney
add a horizontal scroll bar to a listbox or combo box
How do I force a reload/refresh from the current page? Found at http://www.irt.org