Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > XML > XML with Visual Basic and VB.NET

XML with Visual Basic and VB.NET - Page 2

21-40 of 3593     Previous     Next
Disable the Standard Window Close (X) Button
by Hany Saad
This code disables the X button in the window form.
Printing Color Lines in VB
by Swaminathan Raghavan
Have you ever had a problem printing lines in color from VB6 (SP4)?
Prevent an IP from Connecting to Your WinSock Server Application
by Ahhb Ahhb
It's really quite simple to prevent an IP from connecting with your server or to allow only one IP address to connect to your server.
Make a Button Click When the User Presses Enter
by Ahmed Hosny
To make a button click when the user presses enter without the focus on it, simply add this code to the start of your onLoad event on your form.
Create a Control Array at Runtime Instead of Design-time
by Prabha Natarajan
To create and access the control arrays as though they were created at design time, simply follow these steps and use the code.
Move a Title-less Form
by Liam Goodacre
If you've struggled with setting static variables in MouseDown, and MouseUp commands to enable users to drag borderless windows around the screen, here's a simpler way.
Convert Numbers to Excel Column Names
by Yassine Moe
This algorithm converts column numbers (1-x) to Excel column names.
Retrieve Records from a Supplied SQL Statement
by Syed Mohamed
Learn how to retrieve records from a supplied SQL statement.
Clear All the Controls in a Form
by Syed Mohamed
Use this code to clear all the controls in a form.
Copy Selected Text Within a Browser to a Clipboard
by Mike McGlynn
Find out how you can copy selected text within a Web browser to a clipboard in VB.NET 2.0.
Using a Default Button and a Multiline Text Box on the Same Form
by Valpied Adam
Placing the following code into your click event on the default button on your form enables you to use a default button and a multiline text box on the same form.
The VS.NET 2003 DateTimePicker Control's Default Value
by Boris Eligulashvili
In some cases, the results of the use of the DateTimePicker control can be confused. This especially happens when the control has been implicitly initialized. This tip describes what you can do to avoid confusion.
Add Two Long Numbers Together Without Causing an Overflow Error
by David Day
This function adds two long numbers together as if they were unsigned, and does not cause an overflow error. You may need this when implementing the SHA-1 Hashing function.
Limit the Focus of an MSFlexGrid to a Certain Range of Columns and Rows
by Shuhaimen Ismail
Learn how to limit the focus in a big MSFlexGrid to a certain range of columns and rows.
Building .NET Projects with the Correct References
by Boris Eligulashvili
This tip explains how to work with the ReferencePath property in your VB.NET and C# projects.
Apply a Gradient to Any Control that Has an hDC
by Bryan Utley
This tip shares a class that allows you to apply a gradient to any control that has an hDC—forms, Pictureboxes, etc
Using Pixels in WinForms .NET
by Michel Posseth
This tip shows you a way to use pixels as a replacement for twips in your WinForms. This is especially handy for people who still need to use twips ocassionally (like, for Crystal Reports, etc.).
Masked Edit Control
by Raghavan Swaminathan
Learn how to include characters in your mask that are also part of the set of mask syntax characters.
Display itemdata in a ComboBox
by Nkata Levi
This code shows how to display specific itemdata in a ComboBox.
Sending Emails with Customized Attachment File Names
by Sander Kleykens
Use this code to create an application that allows you to generate email attachment file names on-the-fly when the attachment file is saved.
21-40 of 3593     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date