Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
VB VB (1648)
VB.net VB.net (736)
C# C# (15)
ASP.net ASP.net (779)
ASP ASP (41)
VC++ VC++ (25)
PHP PHP (0)
JAVA JAVA (4)
JScript JScript (5)
  Database
» SQL Server (708)
» ORACLE (5)
» MySQL (0)
» DB2 (0)
Automation
» C/C++/ASM (11)
» Microcontroller (1)
» Circuit Design (0)
OS/Networking
» Networking (5)
» Unix/Linux (1)
» WinNT/2k/2003 (8)
Graphics
» Flash (0)
» Maya (0)
» 3D max (0)
» Photoshop (0)
Links
» ASP.net (2)
» PC Interfacing (1)
» Networking (4)
» SQL Server (4)
» VB (23)
» VB.net (4)
» VC (3)
» HTML/CSS/JavaScript (10)
Tools
» Regular Expr Tester
» Free Tools

(Page 6 of 54) 1607 Result(s) found 

 

Getting StdPicture's Width and Height properties in Pixels
Total Hit (5005) In general, Visual Basic doesn't provide a way to determine the size of a bitmap loaded into a PictureBox control. But you can derive this information if you set the control's AutoSize property to True and then read the control's ScaleWidth and ScaleHeight properties. If you don't want to resize a v ....Read More
Rating
Create and verify digital signature to detect data tampering.
Total Hit (19137) In this article we will talk about digital signature and how to use it to detect any intended/unintended data tampering. Data can be tmpered in many ways it can be intentionally tmpered or it can be currupted during communication or may be some other reason. Anyways today I will show you the use of ....Read More
Rating
How to create memory DC and bitmap using CreateCompatibleDC and CreateCompatibleBitmap API?
Total Hit (18337) In this article you will learn how to create a DC in memory and create a bitmap for that DC with a specified height and width. To create memory bitmap you have to do the following steps «OL»«LI»CreateCompatibleDC to create the memory DC. «LI»CreateCompatibleBitmap (potential pitfall - use the Us ....Read More
Rating
Handling NTFS Permissions Part-5 (handling printer permissions)
Total Hit (11037) The Win32 Application Programming Interface (API) provides two sets of APIs for working with security descriptors and access control lists (ACLs): low-level and high-level. This series of articles provide a complete set of Microsoft Visual Basic code samples that use low-level access control APIs to ....Read More
Rating
Prevents and or Allows certain characters and Numeric in text box or any control that support the KeyPress event
Total Hit (2624) «Code LangId=1»Option Explicit 'Usage: Private Sub text1_KeyPress(KeyAscii As Integer) If OnlyNumericTextInput(KeyAscii, ".") = 0 Then Beep KeyAscii = 0 End If End Sub«/Code»
Rating
ValidateVBName - Check a variable's or procedure's name
Total Hit (1943)
Rating
UniqueWords - Extract all individual words in a string
Total Hit (1696) «Code LangId=1» ' build a list of all the individual words in a string ' ' returns a collection that contains all the unique words. ' The key for each item is the word itself ' so you can easily use the result collection to both ' enumerate the words and test whether a given word appears ' ....Read More
Rating
PermuteString - Generating all possible combinations out of a string
Total Hit (1827) «Code LangId=1»' Generates all combination possibilities out of a string Public Function PermuteString(ByVal Ztring As String, Optional Base As String = _ "") As String Dim TmpStrArray() As String, I As Long ' If there's only 1 element then If InStr(1, Ztring, " ", vbTextC ....Read More
Rating
SplitTbl - Split a string with multiple delimiters
Total Hit (1846) «Code LangId=1»' A variant of the Split function, that offers the following improvements ' You can pass a list of valid delimiters to the second argument ' (however, only single-char delimiters are accepted) ' Differently from the regular Split function, consecutive occurrences ' of del ....Read More
Rating
ExplodeString - Add a filling char between a string's chars
Total Hit (2834) «Code LangId=1»' "Explode" a string by inserting a given filling character ' between consecutive characters in the original string ' ' The source string cannot contain Chr$(0) characters Function ExplodeString(Source As String, Optional fillChar As String = " ") As _ String ExplodeSt ....Read More
Rating
GetStringBetweenTags - Returns a string between 2 delimiters
Total Hit (3021) «Code LangId=1»' Returns a string between 2 delimiters ' Parameters: ' sSearchIn: String to search ' sFrom: First keyword ' sUntil: Second keywords ' nPosAfter: Gets the position after ' ' Example: ' Debug.Print GetStringBetweenTags("<html>This is a sample of title</html>", ' ....Read More
Rating
Tips for debugging MTS components in the VB IDE
Total Hit (1551) It was and it is still easy to debug MTS components written on Visual C++ version 5 and higher. Debugging components written on Visual Basic 5 is possible under VC IDE. Starting with version 6, Visual Basic allows to debug under its own IDE. Here are the things you should keep in mind while preparin ....Read More
Rating
Hide or disable the desktop icons
Total Hit (3471) The Desktop is a window like any other window in the system, so you can hide/show and enable/disable it. The only details you need to know is how to retrieve the handle to the Desktop window. It turns out that this window is the first child window of the "Program Manager" window, so all you need is ....Read More
Rating
Add pizazz to your apps with an animated cursor
Total Hit (3306) Who said you can't use an animated cursor with Visual Basic? Actually, it's so simple! You just have to load your animated cursor through LoadCursorFromFile API function, then you get the current cursor using GetCursor, and finally you can set your cursor using SetSystemCursor. This is all the code ....Read More
Rating
Making a form appear as if it is disabled
Total Hit (2131) By changing the WS_CHILD style bit of a window, you can make it appear as if it is disabled, even if the form is fully active and functional. These are the statements you need:
Rating
Convert Hexadecimal numbers
Total Hit (4052) While Visual Basic offers the Hex$ function that converts a decimal value into its hexadecimal equivalent number, it seems that the inverse function is missing. Not true. Try out this one-liner: «Code LangId=1» Function HexToDec(HexValue As String) As Long HexToDec = Val("&H" & HexValue) ....Read More
Rating
Replicate a string of any length
Total Hit (2964) The String$ function can replicate only 1-char strings, so it seems that you need a loop to duplicate strings that contain 2 or more characters. However, this is a one-liner that does the trick: «Code LangId=1» Function ReplicateString(Source As String, Times As Long) As String ' build a s ....Read More
Rating
Write concise code with the Switch function
Total Hit (1722) Many VB developers don't realize that the Switch built-in function can often save a lot of code. This function takes any number of (expr, value) pairs, it evaluates all expressions and return the value related to the first expression that is found to be True. Typically you can use a Switch function ....Read More
Rating
Manufacture a Missing value
Total Hit (3837) Visual Basic doesn't provide you with a means for creating a Missing value, a feature that in some cases would prove useful in order to simplify the syntax of calls to procedures that expects a variable number of arguments. It isn't difficult, however, to create such a value programmatically, as fol ....Read More
Rating
This is a link to a different site XL97: How to Create a GIF File from a Microsoft Excel Chart
Total Hit (3224) To programmatically create a graphics file from a Microsoft Excel chart, use the Export method. This article contains a sample Microsoft Visual Basic for Applications macro that creates a .gif file from a chart in a Microsoft Excel workbook. NOTE: If you click Save As HTML on the File menu and u ....Read More
Rating
This is a link to a different site How to Change the ListView Header Style
Total Hit (1736) Depending on the needs of your application, the standard header font of a listview may prove inadequate for your needs. Unfortunately, the listview API structures and constants do not provide a direct means to specify the font attributes of the header. But by using several standard API functions not ....Read More
Rating
This is a link to a different site Disabling the Combo Edit Box
Total Hit (1353) OK, so you have a combo (Style 0) where you want to allow the user the ability to copy the contents, but not change the text. Setting the combo's locked property will do the trick, but the right-mouse context menu is still available. This shows how using FindWindowEx and SendMessage with the EM_SETR ....Read More
Rating
This is a link to a different site Creating a Custom PhotoShop-Style ProgressBar in a MDI App
Total Hit (944) The routine here is based on code originally developed to overcome some of the display limitations of the original VB3 SSPanel FloodPercent control, namely justification of text and positioning as a member inside a status panel. The routine was originally developed in VB3, and has been updated for u ....Read More
Rating
This is a link to a different site Presenting a Non-Selectable 'No Data' Picture in a ListBox
Total Hit (1590) The VBnet page Customizing the ListView's Appearance via API showed how to use SendMessage with the LVBKIMAGE structure to display images in the data window of a listview control. Although Windows' normal list box does not support such functionality, we can still fake this functionality using the B ....Read More
Rating
This is a link to a different site Create a VB Picture from an API Icon Handle
Total Hit (1883) This tip shows you how create a VB Picture object from an GDI icon handle. This is useful if you are dealing with real GDI icons.
Rating
This is a link to a different site Providing a proper VB Application Icon, Including Large Icons and 32-Bit Alpha Images
Total Hit (2166) If you set your application's icon using the built-in facilities of VB, you will find there's a few things that go wrong. 48x48 icons are not supported; neither are 32-bit colour depth icons. In addition, you can't provide an application icon which includes multiple colour depths and sizes so it wil ....Read More
Rating
This is a link to a different site Adding, Deleting and Viewing Recent Documents
Total Hit (1024) This sample demonstrates how to add, read and clear the Shell's Recent Document List from VB code. At the same time, it provides a useful ShellLink class for working with Shortcuts.
Rating
This is a link to a different site Animated Cursors in VB
Total Hit (1790) Nice feature in Office - you can set it to show customised animated cursors. For example, when Office is opening a document the cursor switches to an animation of a yellow handbag throwing up a small piece of paper (I think that's what it is, anyway). It would be nice to do it this in VB too, yes ....Read More
Rating
This is a link to a different site Scrolling on the Middle Mouse Button
Total Hit (1721) Provides a class that allows you to perform auto-scrolling from the middle Mouse button just like in IE.
Rating
This is a link to a different site CommonDialog/Direct
Total Hit (2974) Common Dialog/Direct is a new DLL or class library which shows how to completely replace COMDLG32.OCX through Visual Basic code. The main advantage of this is you no longer need to put a control on a form to use common dialogs - just declare an instance of the class and you have a straight replaceme ....Read More
Rating


(Page 6 of 54) 1607 Result(s) found  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ...

Recommanded Links

 

Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.