Click here to Skip to main content
14,978,617 members
Everything / Programming Languages / Visual Basic

Visual Basic

VB

Great Reads

by Fredrik Bornander
WPF Implementation of the spinning panel frequently used on the iPhone
by Steve Krile
Fully AJAX-enabled user control used to select names from a database in a drop-down format.
by JosipK, Marko Kozlina
C# and VB.NET console applications that demonstrate how to create and send an email reply with IMAP and SMTP protocols in .NET Framework
by Hung, Han
This article is a tutorial on how to code your own Sudoku game using VB.NET

Latest Articles

by W. García
To cover the need to import information from a CSV file directly into RAM, in an efficient, secure and stable way, from VBA, specialized libraries are needed to ensure the ease of use and integrity of the data.
by VisualMonsters
Simple game "table football", you can easily create and play with your friends and family
by Giovanni Bejarasco
A walkthrough in UDT programming with primary focus on database concepts
by Paul Srmnn
Using VisualBasic Express 2010

All Articles

Sort by Score

Visual Basic 

Please Sign up or sign in to vote.
13 Mar 2012
Fredrik Bornander
WPF Implementation of the spinning panel frequently used on the iPhone
Please Sign up or sign in to vote.
24 Aug 2009
Steve Krile
Fully AJAX-enabled user control used to select names from a database in a drop-down format.
Please Sign up or sign in to vote.
15 Jun 2016
JosipK, Marko Kozlina
C# and VB.NET console applications that demonstrate how to create and send an email reply with IMAP and SMTP protocols in .NET Framework
Please Sign up or sign in to vote.
9 Jun 2019
Hung, Han
This article is a tutorial on how to code your own Sudoku game using VB.NET
Please Sign up or sign in to vote.
15 Nov 2017
Graeme_Grant
A Modern Toggle Switch - From mock concept to a full custom WPF control that you can plug into your own apps
Please Sign up or sign in to vote.
13 Sep 2005
Jecho Jekov
Provides an easy way to use C calling convention callback functions in C# and VB
Please Sign up or sign in to vote.
12 Oct 2013
Kenneth Haugland
Implementation and theory behind TLM modelling for acoustic wave propagation with 2D and 3D view. Also includes a raindrop and boat wake simulation.
Please Sign up or sign in to vote.
27 Apr 2016
Clayton Rumley
There are those who think I am crazy, and this just might be the proof.
Please Sign up or sign in to vote.
4 Dec 2007
Ned Thompson
This article will demo how a free Flyout can help to save space on your webpage.
Please Sign up or sign in to vote.
1 Feb 2017
Mr. xieguigang 谢桂纲
How to build my own 3D graphics engine from ZERO step by step
Please Sign up or sign in to vote.
13 Nov 2011
Patil Kishor
Backup & Restore of SQL Server database using VB.NET
Please Sign up or sign in to vote.
24 Apr 2012
Ana Carolina Zambon
This is a demonstration of how to use the basics of Mono.Cecil by adding method calls to existing assemblies.
Please Sign up or sign in to vote.
20 Feb 2019
Igor Krupitsky
The ASP.NET pages let you upload, delete and browse files into a database.
Please Sign up or sign in to vote.
2 Jun 2020
Levie Rufenacht
Wisej brings a familiar desktop development experience to the web without losing any of its benefits.
Please Sign up or sign in to vote.
22 May 2013
Dejan Mauer
Free and easy way to access a web camera by using the Aforge library.
Please Sign up or sign in to vote.
11 Aug 2013
LarryCharlton
Dynamic data forms.
Please Sign up or sign in to vote.
9 Sep 2017
Gamil Yassin
This is a series of articles demonstrating .NET AI library from scratch
Please Sign up or sign in to vote.
16 Mar 2010
Bill9603
Many developers use ".cur" cursor files. Using them myself in Visual Studio 2008, they are not the easiest things to work with for many reasons.They are not easy to create without expensive software. (unless you are using the editor within Visual Studio)They cannot easily be ported in the...
Please Sign up or sign in to vote.
4 Jun 2011
MBigglesworth79
An introduction to Reflection in .NET as well as some examples of how it can be used.
Please Sign up or sign in to vote.
6 Nov 2012
Kurt Swaim
Describes an OPC wrapper DLL and an example of how to use it for communication to a device through an OPC server.
Please Sign up or sign in to vote.
3 Aug 2016
Avelino Ferreira
The easiest way to implement the ToolStripControlHost and ToolStripDropDown classes, in a UserControl, in order to display a Container/Control beyond the limits of its Parent Container and Parent Form, with very few lines of code. Let's uncomplicate ...
Please Sign up or sign in to vote.
28 Mar 2010
Vinit Yadav
A Yahoo! messenger clone application built with Silverlight and its Duplex Polling WCF service. Explains how to deal with the Yahoo! packet format named YMSG.
Please Sign up or sign in to vote.
1 May 2012
AspDotNetDev
4 alternatives  
Call a series of functions until the return value meets a condition without a chained-if or short-circuiting.
Please Sign up or sign in to vote.
4 Nov 2013
Meshack Musundi
WPF 3D cubes puzzle game for the AIO(All-In-One) PC
Please Sign up or sign in to vote.
24 Sep 2015
Stefano Castelli
The article will illustrate how to create a Code39 barcode in VB.NET and C#
Please Sign up or sign in to vote.
18 Sep 2017
Gamil Yassin
This is a series of articles demonstrating .NET AI library from scratch
Please Sign up or sign in to vote.
30 Sep 2017
Graeme_Grant
This article comprehensively covers the Microsoft ClickOnce Installer with a bare bones WinForm/WPF C#/VB Silent Updater framework plus covers how to implement, troubleshoot, test locally, to release.
Please Sign up or sign in to vote.
7 Mar 2010
Luc Pattyn
This is an alternative to "Week Numbers According to ISO8601".
Please Sign up or sign in to vote.
21 Jun 2010
Corey Fournier
gheat ported to C#
Please Sign up or sign in to vote.
16 Sep 2017
Gamil Yassin
This is a series of articles demonstrating .NET AI library from scratch
Please Sign up or sign in to vote.
9 Feb 2018
Meshack Musundi
How to highlight TextBlock text using attached properties
Please Sign up or sign in to vote.
2 Nov 2010
Nish Nishant
Looks like you are looking for an auto-complete textbox. If so, see:http://www.codeproject.com/KB/cs/AutoCompleteTextBox.aspx[^]It's written in C#, but you can use that from VB.NET.
Please Sign up or sign in to vote.
31 Mar 2011
Gregory Gadow
Prank your coworkers with a dialog box that appears and disappears randomly by using a notification area app.
Please Sign up or sign in to vote.
1 Jan 2012
wayvirgo
How to use the Google Calendar API from VB.NET.
Please Sign up or sign in to vote.
21 Apr 2013
Rob Culhane
Dynamically add access database columns at runtime using vb.net
Please Sign up or sign in to vote.
22 Nov 2013
dyma
Sunflower fractal, so that you can play and create a wonderful image
Please Sign up or sign in to vote.
6 Oct 2009
CS Rocks
This is a slideshow that works in a Silverlight 3 UserControl.
Please Sign up or sign in to vote.
2 Feb 2010
carl morey
A complete weather station using Arduino 2009 and Visual Basic
Please Sign up or sign in to vote.
21 Jul 2014
_Plutonix
An easy to use, customizable Collection Editor; with inheritance support
Please Sign up or sign in to vote.
28 Apr 2015
Mario Z
Note that both GetPrivateProfileString and WritePrivateProfileString Win APIs are very buggy and have been deprecated long time ago.You see these functions where provided only for compatibility with 16-bit applications, which I'm fairly certain that you are not developing so you should really...
Please Sign up or sign in to vote.
12 Apr 2016
bradyguy
An end to end view of how to integrate Jira REST API's with Excel.
Please Sign up or sign in to vote.
4 Nov 2016
Mr. xieguigang 谢桂纲
VisualBasic Darwinism Evolutionary computation Application and Super Computing
Please Sign up or sign in to vote.
17 Sep 2017
Gamil Yassin
This is a series of articles demonstrating .NET AI library from scratch
Please Sign up or sign in to vote.
22 Jan 2018
Dirk Bahle
Implementing text highlighting in a WPF TextBlock control with MVVM
Please Sign up or sign in to vote.
14 May 2009
CS Rocks
This article demonstrates how to upload a file to a (HTTPS) WebDAV server in VB.NET.
Please Sign up or sign in to vote.
7 Sep 2009
Christian Graus
12 alternatives  
I wanted to use AJAX in my VB application, under Vista.  I think it will make my charts work faster.  I don't know where to start.  How do I import the AJAX library into a windows application ? Where should I put my AJAX code ? Help, please, it's URGENTZ !!!!!
Please Sign up or sign in to vote.
16 Feb 2011
Sergey Alexandrovich Kryukov
There is a number of issues about it. There is no need to support surrogate pairs, they are supported automatically by OS (Windows 2000 needs a tweak to support them, later versions of Windows are bundled with surrogate support).The notion of surrogate pair is only relevant to two UTF-16...
Please Sign up or sign in to vote.
25 Feb 2012
Sander Rossel
On the importance of Option Strict...
Please Sign up or sign in to vote.
8 Mar 2013
Michael Haephrati
Generally speaking you need to use separate threads for the loading. I don't know what your application does during these long seconds, but whatever is done, can be done in the background. During that time you can display a Splash screen (static or animated one), so the end user will not feel...
Please Sign up or sign in to vote.
9 Sep 2013
The Myth
Databinding examples in WPF for VB.NET.
Please Sign up or sign in to vote.
26 Nov 2016
JamesFaix
Get a collection of all running Excel interop Application objects (not just the active one)
Please Sign up or sign in to vote.
11 Apr 2020
Cinchoo
Simple CSV file writer for .NET
Please Sign up or sign in to vote.
5 Jun 2017
Mahsa Hassankashi
phenomenon prediction and simulation by Markov Chain Mont Carlo
Please Sign up or sign in to vote.
8 Dec 2017
Dirk Bahle, Alaa Ben Fatma
Tips & tricks on visting and searching nodes in WPF TreeViews
Please Sign up or sign in to vote.
4 Sep 2019
Chris Boss
Visual Basic 6.0 just doesn’t want to disappear. Why ? Likely many have written vital applications using VB 6.0 and Visual Basic dot.net is so different that it is not a viable option.
Please Sign up or sign in to vote.
30 Mar 2015
SSDiver2112
Interactive Design Time Control Overlays to make editing custom controls easier.
Please Sign up or sign in to vote.
16 May 2017
Rene Bustos
WCF WebService IN VB.NET Response JSON
Please Sign up or sign in to vote.
22 Dec 2017
Dirk Bahle
Tips & Tricks on De/Serializing object graphs with XML
Please Sign up or sign in to vote.
21 Oct 2003
Duncan Edwards Jones
Part 2 in the series showing how to write a debugger in VB
Please Sign up or sign in to vote.
24 Aug 2011
OriginalGriff
Look at the Socket class[^]"hey OriginalGriff can u please explain in a bit more detail ... . I'm new to programming ... not able to understand how can I make a Tic Tac Toe Game that can be played on LAN"It's a bit too detailed to go into here - but there is a good tutorial on it...
Please Sign up or sign in to vote.
7 Jul 2012
Manoj K Bhoir
TreeView Explorer using VB.NET 2008
Please Sign up or sign in to vote.
19 Jan 2012
stuxstu
Job application tracker for those out of work built using Visual Studio Lightswitch 2011.
Please Sign up or sign in to vote.
12 Mar 2012
ledtech3
How to take a screenshot of a Windows form and then print it.
Please Sign up or sign in to vote.
13 Sep 2012
ljw1004
How to use UPnP on Windows 8
Please Sign up or sign in to vote.
4 Mar 2013
i00
Automatic port forwarding for your UPnP enabled router.
Please Sign up or sign in to vote.
12 Apr 2015
Jeffijoe
Writing properly formatted, grammatically correct, translatable UI messages
Please Sign up or sign in to vote.
29 Sep 2017
Gamil Yassin
This is a series of articles demonstrating .NET AI library from scratch
Please Sign up or sign in to vote.
10 Apr 2002
Len Holgate
This example COM component provides 3 COM objects for using the Win32 Mailslot IPC mechanism. The component may be useful if you need to communicate from VB using Mailslots.
Please Sign up or sign in to vote.
14 Jun 2007
Daaron
Automate web test recording into C#, VB.NET and PHP
Please Sign up or sign in to vote.
19 Jun 2009
Greenhorn999
A project that allows users to query Source and Half-Life-based master servers and individual servers
Please Sign up or sign in to vote.
10 Nov 2017
knockNrod
Creating Embedded Controls for WonderWare InTouch and WinCC
Please Sign up or sign in to vote.
10 Mar 2011
OriginalGriff
C# has no concept of global variables: everything is class scope.However (just like VB) you can declare a static class and access everything in it as if they were global:public static class Globals { public static int MyGlobalValue = 42; }...private void...
Please Sign up or sign in to vote.
5 Jul 2011
Sergey Alexandrovich Kryukov
I'm risking to get a lot of down-votes now, but I don't care — my warning is more important.Please, have a mercy for a little child: don't let starting from VB (not matter what kind) happen. Imprinting is a terrible thing. You're risking to kill the ability to learn any programming...
Please Sign up or sign in to vote.
30 Nov 2011
Cyborgx37
How to have mutliline string literals in VB.NET.
Please Sign up or sign in to vote.
11 Dec 2011
Manoj K Bhoir
ContextMenuStrip Control with Microsoft Office like Visual Style using VB.NET
Please Sign up or sign in to vote.
3 Jan 2012
bluesathish
1 alternative  
Fastest and most efficient method to insert large amount of records to a SQL Server database from our system generated datatable.
Please Sign up or sign in to vote.
6 Oct 2013
Mr. xieguigang 谢桂纲
Mathematical method of S-system equation to simulate a biochemical network system
Please Sign up or sign in to vote.
28 Mar 2016
Mr. xieguigang 谢桂纲
machine playing snake game
Please Sign up or sign in to vote.
5 Mar 2017
Jose A Pascoa
Part 1 - Using DMath from C#
Please Sign up or sign in to vote.
18 Aug 2017
VisualMonsters
Magic blocks -Simple logical game tutorial
Please Sign up or sign in to vote.
2 Aug 2009
Abhishek Sur
Gives an introduction of how to create SQL CLR managed objects in SQL server.
Please Sign up or sign in to vote.
21 Aug 2009
kirkaiya
A very simple, XAML-based month-view calendar that shows appointments, exposes events, and allows dragging appointments in the current month.
Please Sign up or sign in to vote.
13 Mar 2010
Richard MacCutchan
Sure, and while we are at it we could probably write you a program to manage the entire budget of the Indian Government.
Please Sign up or sign in to vote.
6 Apr 2010
seejay1120
A Fast Way to Update Treeview Nodes Using a Database as a Source
Please Sign up or sign in to vote.
21 Jan 2011
Nish Nishant
Google for "steganography". Also check out Corinna's articles here on Code Project:http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=475133[^]
Please Sign up or sign in to vote.
3 Jun 2014
DaveAuld
1 alternative  
Using Enum to provide a quick and easy option lists
Please Sign up or sign in to vote.
15 Mar 2011
Manfred Rudolf Bihy
Now what exactly does the title of your question have to do with the body of your question? Given that the body of your question holds the most relevant information I dare say you want to split a string in to separate tokens using the comma as a separator. Please have a look into the...
Please Sign up or sign in to vote.
19 Apr 2011
OriginalGriff
Yes: The Mod operator[^]
Please Sign up or sign in to vote.
2 Jul 2011
thatraja
Here you goAptitude Questions[^]Aptitude Test Interview Questions[^]I found these in CPAsp.Net Interview Question Part 1[^]Asp.Net Interview Question Part 3[^]Ado Dot Net Interview Question Part 1[^]ADO.Net Interview Question Part 2[^]Ajax Quick Start FAQ [^]SOA Interview...
Please Sign up or sign in to vote.
1 Dec 2011
Mehdi Gholam
The best method if your assemblies are not very large (which will not be the case for plugins etc.) is to do the following :byte[] b = File.ReadAllBytes(filename);Assembly a= Assembly.Load(b);// cache the assembly if needed hereThis will not lock your DLL files, and no marshaling...
Please Sign up or sign in to vote.
25 Apr 2012
Razi Syed
Easily bind a class to .NET data controls like GridView, FormView, etc., and get an updated object or list back in the code-behind effortlessly.
Please Sign up or sign in to vote.
22 Mar 2013
Terence Wallace
TexasQuest is a 2D side scroller platform game similiar to Super Mario
Please Sign up or sign in to vote.
31 Mar 2013
Melih Mucuk
Creating a WCF Service with JSON data for use on iOS
Please Sign up or sign in to vote.
3 Apr 2013
Chris Boss
The key to future versions of BASIC is to first view them as a professional language.
Please Sign up or sign in to vote.
5 Apr 2015
J.L. MacDonald
When supplied with a connection string and table name, this tool will read the field data types and create asp controls for you to copy and paste in your own project.
Please Sign up or sign in to vote.
4 Jul 2016
Avelino Ferreira
"Don't care about Google Maps/Routing/StreetView programming. This Control gives your WinForms applications the power of Google Maps API v3". - my previous article. Unfortunately, since Dec.2015, Google Maps JavaScript API applications requires authentication and the program stopped working properly
Please Sign up or sign in to vote.
19 Dec 2016
petrostherock
Machine Learning. What languages come to mind? R? Python? Matlab? Bet you didn't think Visual Basic.
Please Sign up or sign in to vote.
28 Jul 2000
Len Holgate
The ATL OLE DB Provider templates appear to rely on the fact that your data is kept in a simple array, but that's not really the case at all!
Please Sign up or sign in to vote.
7 Jan 2008
S.SRIVATHSAN
Implementation Nhibernate concept in VB.NET
Please Sign up or sign in to vote.
10 Mar 2009
nkrscorpio
This is yet another example for memory mapped files. What is cool though is unlike other samples, I have a SetData(TCHAR* Key, TCHAR* value) / GetData(TCHAR* key) pattern here.
Please Sign up or sign in to vote.
31 Jan 2011
Moreno Airoldi
As for differentiating MouseDown from Click, you can start a timer when MouseDown is fired. If you get a MouseUp before the timer expires, then it's a Click, otherwise it's starting a drag-and-drop.Highlighting the control can be done for example by using the OnPaint event and adding GDI+ code...
Please Sign up or sign in to vote.
21 Apr 2010
Rama Krishna Vavilala
A Microsoft tool named RegMaid does the same thing as what you want to do. The nice thing is that it comes with the full C++ source code. As you can see there is lot involved in removing ActiveX controls (CLSID, AppID, Interfaces, Typelibs etc). Download the tool and the source code...
Please Sign up or sign in to vote.
4 Aug 2010
Emilio Garavaglia
"Non Unicode character", like every non-concept, is vague.In plain English means "every character whose identity is not assigned by means of the Unicode tables".This merely can mean two things:every "number" that is treated be a machine as "character" but exceed the Unicode specification...
Please Sign up or sign in to vote.
21 Nov 2010
OriginalGriff
Try:string search = textBox1.Text;listBox2.Items.Clear();foreach (string val in listBox1.Items) { if (val.StartsWith(search)) { listBox2.Items.Add(val); } }
Please Sign up or sign in to vote.
1 Mar 2011
Pete Mourfield
Describes how to check for file existence on an FTP Server using VB.NET
Please Sign up or sign in to vote.
9 Mar 2011
Аslam Iqbal
2 alternatives  
Very simple way to restore form window to its previous state
Please Sign up or sign in to vote.
9 Mar 2011
Sergey Alexandrovich Kryukov
Absolutely. See Mono: http://en.wikipedia.org/wiki/Mono_(software)[^]. As CLI is the ECMA and ISO standard, compatibility of standard libraries is supported on a very fundamental level. Supportability of all other components (such as System.Windows) is ever changing subject, see Mono Web site...
Please Sign up or sign in to vote.
26 Sep 2011
MBigglesworth79
A good primer for getting into serialization
Please Sign up or sign in to vote.
17 Dec 2011
Not Active
There is more to life than money. Do what you enjoy and you will be happy and successful in more ways than just financially.
Please Sign up or sign in to vote.
15 Jan 2012
VIBlend
WinForms Button
Please Sign up or sign in to vote.
23 May 2012
VJ Reddy
For the properties of the object set at design to be persisted in the form the DesignerSerializationVisibilityAttribute with the argument DesignerSerializationVisibility.Content is to be used like _Public ReadOnly...
Please Sign up or sign in to vote.
30 May 2012
VJ Reddy
As can be seen from here http://msdn.microsoft.com/en-us/library/8460tsh1(v=vs.90).aspx[^], InStr is a VisualBasic specific Shared function, which returns the first occurance of one string in another string. The start index is 1 based. It returns 0 in case of non finding the string.As can...
Please Sign up or sign in to vote.
31 Jul 2012
Kenneth Haugland
How to calculate a reverbration time in a room
Please Sign up or sign in to vote.
4 Sep 2012
Sergey Alexandrovich Kryukov
First of all, what can help you in the career in general, is your education (not training, but education, experience is much better then training, but education is very important; it can be formal or informal but should be real), you real knowledge, experience and personal qualities. In my...
Please Sign up or sign in to vote.
21 Jan 2013
Kerem Guemruekcue
This short article shows how to use an undocumented internal class method from the System.Deployment.Application.Win32InterOp namespace to get a PE images manifest resource.
Please Sign up or sign in to vote.
20 Mar 2013
Terence Wallace
A VB.NET implemenation of using delegates and threading for game loops.
Please Sign up or sign in to vote.
12 Apr 2013
NightWizzard
...for example a WYSIWYG HTML editor to edit or display emails...
Please Sign up or sign in to vote.
21 Apr 2013
Mike-MadBadger
This is an alternative for "Pick Your Enumerator & Me.Understand Yield and IEnumerable (C#)"
Please Sign up or sign in to vote.
17 Aug 2013
Prince Tegaton
Building a Custom User Control for Messagebox
Please Sign up or sign in to vote.
5 Mar 2014
lw@zi
1. Read how to post a proper question here through FAQ.2. Learn basic security mechanisms one must employ.3. If needed, learn advanced security mechanisms one must employ.4. Implement security mechanism.5. Come back with specific question.Some really trivial mistakes(ensure you did...
Please Sign up or sign in to vote.
5 Aug 2014
Chris875
State pattern and procedural solution illustrated
Please Sign up or sign in to vote.
28 Jul 2014
hgbecker
Animated IOS like On/Off switch.
Please Sign up or sign in to vote.
11 Oct 2014
Nosey Parker
How to calculate subnet fast and get active ip-addresses
Please Sign up or sign in to vote.
24 Dec 2014
Prince Tegaton
This entails how to easily add mobile website feature to your ASP.NET website/app
Please Sign up or sign in to vote.
28 Dec 2014
Snesh Prajapati
In this article series, I am sharing how to create report using Report Builder by fetching data from Oracle DB.
Please Sign up or sign in to vote.
18 Feb 2016
Kuv Patel
Debug stored procedures in Visual Studio and SQL Server Management Studio.
Please Sign up or sign in to vote.
6 Mar 2016
Hiske Bekkering
A simple explanation of how to synchronize custom painting with a ProgressBar's default painting.
Please Sign up or sign in to vote.
25 Oct 2016
Cees Verburg
Writing /reading Unicode Characters and INI files in ASCII format
Please Sign up or sign in to vote.
8 Jan 2018
Cinchoo
Simple Xml file reader for .NET
Please Sign up or sign in to vote.
3 Mar 2017
Dracula
Run all rules for all accounts on all messages; also useful as Outlook Rule debug tool.
Please Sign up or sign in to vote.
26 Sep 2019
William Costa Rodrigues
This article explains an easy method to download and update your WinForms application
10 Nov 2014
Dirk_Strauss
Securing Your .NET Applications – A Summary Review Of Visual Guard
Please Sign up or sign in to vote.
24 Nov 2009
DABBee
Liquid Nitrogen. (he's cracked, I knew he would)
Please Sign up or sign in to vote.
9 Jul 2011
#realJSOP
Avoid exceptions when setting enumerators from unknown/untrusted sources.
Please Sign up or sign in to vote.
14 Oct 2010
Dave Paras
Generally this happen when solution is already build and in running mode. Then you make any change and add break point.So stop the running application.clean the solution,build again.Then you will not face prob. :thumbsup: :laugh:
Please Sign up or sign in to vote.
19 Oct 2010
Ziv Nitzan
There is also a Visual Studio extention called CodeMaid that has a lot of cleaning options http://bit.ly/diMTaR
Please Sign up or sign in to vote.
7 Jan 2011
Tim Corey
Learn how to use a dataset object to load a combobox (or other similar objects) at runtime instead of needing to set anything up at design time.
Please Sign up or sign in to vote.
11 Jan 2011
#realJSOP
I have a 2nd answer - if you google "strong password check", you'll find a site that suggests several regex clauses that you could use to do the very same thing. To maintain your scoring paradigm, put each regex into its own method that returns either 1 or 0. Here's a page that has several...
Please Sign up or sign in to vote.
25 Jan 2011
thatraja
At least you might included some more things about your project in your question(Also code relevant snippets, screen-shots,etc.,).Any way Have a Look at these articles.NET Best Practice No: 1:- Detecting High Memory consuming functions in .NET code[^].NET Best Practice No: 2:- Improve...
Please Sign up or sign in to vote.
14 Feb 2011
Manfred Rudolf Bihy
" I want to be able to take a document and convert it into a number or set of numbers ... "I'm not sure you know how anything that is stored or manipulated on a computer is handled internally. Anything processed on a computer is expressed as a single, a tuple or even a stream of bytes. Since a...
Please Sign up or sign in to vote.
16 Feb 2011
Espen Harlinn
"As I understand it, .Net represents 32-bit characters using a pair (or "surrogate pair") of 16-bit characters".Net uses UTF16 - and you may find this interesting:http://www.unicode.org/notes/tn12/[^]and this http://www.yoda.arachsys.com/csharp/unicode.html[^]Libraries like...
Please Sign up or sign in to vote.
27 Feb 2011
OriginalGriff
Reducing the resolution is very tricky: if you have filled the available screen space at 1280*800 then you would have to reduce the size of all your controls proportionately. While this is fairly simple in WPF, in Winforms there is nothing to really help you.I would suggest that the only...
Please Sign up or sign in to vote.
16 May 2011
Manfred Rudolf Bihy
After scratching my head some over the various responses the application gave me during debugging and then googling some on the internets I finally came up with this solution that works without a form to host your webbrowser control. Since I'm not used to writing programs in VB.NET I'll give you...
Please Sign up or sign in to vote.
24 May 2011
Sandeep Mewara
I am not sure why you put the table name and column names in single quote. Try:"SELECT * FROM tbl_permits WHERE tbl_permits.bid='" & txtSearch.Text & "' OR tbl_permits.company='" & txtSearch.Text & "'"You were missing the single quotes around the searchtext values passed to query....
Please Sign up or sign in to vote.
25 Jun 2011
Manfred Rudolf Bihy
The way you're doing the week number caculation is wrong as Vivek[^] already pointed out in his answer the correct way to do this is to use Calendar.GetWeekOfYear. In my example below I used the GregorianCalendar with GregorianCalendarType.Localized. For the method GetWeekOfYear to work...
Please Sign up or sign in to vote.
5 Jul 2011
Christian Graus
I found this[^] with google. What does your question have to do with asp ? Do you care if it's VB6 or VB.NET ? There's a VB.NET tag.
Please Sign up or sign in to vote.
29 Sep 2011
OriginalGriff
First thing to note is that BETWEEN is Inclusive of the first date, and Exclusive of the second. So if your user specifies BETWEEN 2011-02-01 AND 2011-02-02Only those entries for February 1st will be returned.In addition, do not convert dates to any format: if you have them as DateTime...
Please Sign up or sign in to vote.
27 Oct 2011
AspDotNetDev
I can't seem to import a generic type on an ASP.Net page set to a language of "vb":
Please Sign up or sign in to vote.
29 Nov 2011
Savalia Manoj M
You Can try it in MS-SQL Like Declare @Month BigintSet @Month =11Declare @date date;Set @date='2011-11-01'while DATEPART(Month,@date)=@MonthBegin --Select DATEPART(DAY,@date); --Select DATEPART( WEEKDAY, @DATE ) DECLARE @Name VARCHAR(20) SELECT @Name = CASE (...
Please Sign up or sign in to vote.
25 Jan 2012
Sion Cohen
An elegant programmatic solution for having multiple indexers in C#
Please Sign up or sign in to vote.
13 Feb 2012
Christian Graus
No. Microsoft wants you to use Word. SyncFusion has some controls you can buy to do this, I believe, but Word itself does not offer this. You can write VB.NET code to read and write Word docs, but not to show an editor.
Please Sign up or sign in to vote.
3 Mar 2012
Uday P.Singh
Check this out:Sending Email from ASP.NET using Formatted Text Editor and Attachments[^]hope it helps :)
Please Sign up or sign in to vote.
21 May 2012
OriginalGriff
Bad idea: do not even consider going down this route. The risk of your making a mistake and corrupting user systems is far too high. It is a very, very bad idea to ask for anything virus related on a professional programmers web site!
Please Sign up or sign in to vote.
24 Sep 2012
Maciej Los
Have a look here:Fill/Retrieve data from PDF Form Fields using VB.NET and Excel File[^]Read Pdf Using Csharp[^]Shareware software: http://www.softpedia.com/get/Office-tools/PDF/PDF-to-Excel-Converter.shtml[^]Hand...
Please Sign up or sign in to vote.
30 May 2012
Manfred Rudolf Bihy
Being able to google and reading what you find surely helps in this case:String.IndexOf[^]InStr()[^]So the former is an instance method of the class string and the latter is a Visual Basic runtime member (aka built in) function where the arguments may be nothing. IndexOf always needs...
Please Sign up or sign in to vote.
29 Oct 2013
Mike-MadBadger
How to discover all the controls on a form at design time for a property editor
Please Sign up or sign in to vote.
25 Oct 2012
OriginalGriff
Easiest way is to use a Regex:\[.*?\]will do it.Public Dim regex As Regex = New Regex("\[.*?\]")...Dim m As Match = regex.Match(InputText)If m.Success Then Dim matched As String = m.Value ...End If"That works, brilliant ... any chance you can explain what it's...
Please Sign up or sign in to vote.
11 Dec 2012
Sergey Alexandrovich Kryukov
You never ever should decrypt a password. And you never need it: it is absolutely not needed for authentication.Also, MD5 is cryptographic hash function; it does not allow "decryption" at all; more exactly, makes it infeasible. This is the whole point of such algorithms.Surprised? Keep...
Please Sign up or sign in to vote.
24 Feb 2013
S. M. Ahasan Habib
Signleton is not a language class or class specific attribute. It is a design pattern by which can can maintain a object lifetime of a class object for the whole application life.Sealed class is a class that you can not extended/inherit.Static Class is a class you need to create all member...
Please Sign up or sign in to vote.
18 Dec 2014
Sergey Alexandrovich Kryukov
It can be done using IPC. Any IPC, but, as it happens on on computer, it's the best achieved using remoting with IPC channel, which is actually implemented using named pipes.I actually have this mechanism implemented. It differs from other methods by one interesting idea: I use the same...
Please Sign up or sign in to vote.
8 May 2013
Aarti Meswania
ALTER PROCEDURE dbo.Addmonthslist @BeginDate AS Datetime, @EndDate AS Datetime, @ProjectID AS varchar(50)ASSELECT BeginDate, EndDate from tblProjects where ProjectID = @ProjectID SELECT DATENAME(MONTH, DATEADD(MONTH, x.number, @BeginDate)) + '-' +...
Please Sign up or sign in to vote.
31 Jul 2013
Hisham Abdullah Bin Ateya
Querying a family tree in LINQ fashion.
Please Sign up or sign in to vote.
10 Sep 2013
CPallini
const char * myBrainHurts(int n){ static const char * ans[] = {"Number is even", "Number is odd" }; return ans[n % 2];}
Please Sign up or sign in to vote.
21 Apr 2014
Amir Emamjomeh
This application integrates modification, simulation and visualization of Black-Oil model of hydrocarbon reservoirs
Please Sign up or sign in to vote.
28 Sep 2014
Bernhard Hiller
It might be caused by the use of keywords as column names - most likely candidate is Date. Try to "escape" all column names: sql = "INSERT into tbl_Record ([Name],[Date],[Toothno],[Procedure],[Amount_Charged],[Amount_Paid],[Balance],[IDrecord]) values (@Name, @Date, @Toothno, @Procedure,...
Please Sign up or sign in to vote.
8 Feb 2015
Emiliano Musso
How to apply GA techniques fo solving problems in VB.NET. The example shows how to create solutions for a 2D maze, which will evolve to find the shortest path between two points.
Please Sign up or sign in to vote.
21 Feb 2015
Anton Angelov
Manage TFS Test Suites in Microsoft Test Manager C# VB.NET code
Please Sign up or sign in to vote.
22 Feb 2015
Anton Angelov
Code examples how to connect to TFS Team Project using C# and VB .NET. The post - Connect to TFS Team Project C# Code appeared first on Automate The Planet.
Please Sign up or sign in to vote.
1 Oct 2015
Steve Aube 1
This article describes a new alternative approach for Automated Testing of User Interfaces (UI).
Please Sign up or sign in to vote.
3 Oct 2015
Mr.PoorEnglish
what is "typed" on typed Dataset, and how to use it
Please Sign up or sign in to vote.
15 Jan 2016
veen_rp
Big lists (>1,000,000 items) can cause out-of-memory errors raised by .NET. Manage them by a List of List(Of T)
Please Sign up or sign in to vote.
8 Nov 2016
Niemand25
A simple way to place any ObjectListView inside a ComboBox
Please Sign up or sign in to vote.
7 Oct 2016
Stefano12777606
How-to setup log4net logging tool, create different objects configured to store their own logs in their own log directory and zip older logs
Please Sign up or sign in to vote.
19 Jan 2017
Neha Ambasta
This tip describes how to convert the data table/grid into Excel sheet.
Please Sign up or sign in to vote.
29 May 2017
Kourosh K Tari
In this article I will show you how to update WebBrowser control to use the latest installed browser on the host machine.
Please Sign up or sign in to vote.
19 Sep 2017
Igor Krupitsky
Application lets you copy tables from Paradox to SQL Server
Please Sign up or sign in to vote.
16 Feb 2018
Len van den berg
GMaps Control Simplified in VB.NET
Please Sign up or sign in to vote.
15 May 2019
Maciej Los
Replace this: ' runat= "server" /> with: ' runat= "server" /> Do you see the difference?
Please Sign up or sign in to vote.
11 Dec 2019
honey the codewitch
If you use the CodeDOM, here's an indispensable package to make it awesome.
Please Sign up or sign in to vote.
9 Feb 2011
OriginalGriff
Instead of a MaskedTextBox, you can use a DateTimePicker with just the bits you want:1) Set the CustomFormat property to "hh:mm tt"2) Set the Format property to Custom (or DateTimePickerFormat.Custom if in code rather than designer)3) Set the ShowUpDown property to true.It now shows...
Please Sign up or sign in to vote.
17 Jul 2007
Miran.Uhan
Grayscale and color scale filters.
Please Sign up or sign in to vote.
29 Aug 2009
_Khallaf
How To Do Precise 2-Way Rijndael CryptoStream Communication
Please Sign up or sign in to vote.
18 Aug 2009
Sần Hải Quang
Quick Attach to Process by Macro
Please Sign up or sign in to vote.
26 Aug 2009
Martin Hinshelwood
WPF drag and drop behaviour
Please Sign up or sign in to vote.
4 Jan 2010
Athar Raza Faridi
Dont get upset dude [over the remark made so far].Actually ,the only thing which they are trying to tell you is to clear the concepts of AJAX [what,where and how],before even thinging to impliment it.No WORRIES... :)
Please Sign up or sign in to vote.
2 Apr 2010
William Winner
Try this: c# Discrete Cosine Transform 2[^]
Please Sign up or sign in to vote.
6 Sep 2010
Dalek Dave
I don't think you fully realise the size of the task you are thinking of undertaking.It is huge, and would be better done in a lower level like C rather than a .net language.I advise massive reading up on this subject...Basically anyone capable of writing one, wouldn't be asking.
Please Sign up or sign in to vote.
3 Oct 2010
E.F. Nijboer
It is actually kind of simple. You need to understand the three actual parts that are necessary for using delegates. Also, you must understand that delegates are used to call functions of which the actual code isn't known at time of writing. A good example is an event, that is also a delegate...
Please Sign up or sign in to vote.
8 Dec 2010
Scubapro
You could use Remove and Insert, like so:Private Sub BtnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnOK.Click Dim iplace As String = tbxEditor.Text.IndexOf(tbxFind.Text) tbxEditor.Text = tbxEditor.Text.Remove(iplace,...
Please Sign up or sign in to vote.
11 Jan 2011
OriginalGriff
Remove one of the "WHERE" words from this line:Private coomd As New SqlCommand("SELECT * from EM_TBL where Where EM_NAME =@ddd", sqlconn)When it lloks like this:Private coomd As New SqlCommand("SELECT * FROM EM_TBL WHERE EM_NAME =@ddd", sqlconn)It will work better...
Please Sign up or sign in to vote.
14 Jan 2011
Abhinav S
You have not defined the array size.You have declared an array that is then not initialized thus causing errors.Use Dim str(4) As String and you should be fine.
Please Sign up or sign in to vote.
17 Jan 2011
#realJSOP
You want someone to write it for you, or do you want recommendations as to what software to buy? I can tell you right now that nobody here will write code for you, at least not without suitable monetary compensation. So, that leaves the question asking what packages are available. I googled...
Please Sign up or sign in to vote.
26 Jan 2011
Chris Meech
Do we have to handle any baggage, too. :)
Please Sign up or sign in to vote.
20 Feb 2011
Espen Harlinn
A good place to start would be by going through the material found here:Windows Communication Foundation[^]This may be of interest: Deploying WCF Applications with ClickOnce[^]Then there is a number of how-tos':How to: Host a WCF Service in IIS[^]How to: Host a WCF Service in...
Please Sign up or sign in to vote.
22 Feb 2011
Nish Nishant
Here's a quickly put together example:static void Main(){ Console.WriteLine(GetString(20));}static Random rand = new Random();private static char GetRandomChar(){ return (char)rand.Next('a', 'z');}private static string GetString(int length){ StringBuilder...
Please Sign up or sign in to vote.
20 Mar 2011
RMittelman
Here is a way to do this without using the registry.In the project's properties, Settings pane, add the following settings. You can name these settings anything you want, but use the same setting name in the code shown below:Name: MainWindowStateType:...
Please Sign up or sign in to vote.
24 Apr 2011
Tarun.K.S
Check out this link : http://msdn.microsoft.com/en-us/library/system.windows.window.closing.aspx[^]Basically, you can set e.Cancel = true to cancel the closing and vice-versa.Hope it helped.
Please Sign up or sign in to vote.
25 Apr 2011
Nish Nishant
Yeah, you can.Google for "Reading Excel VB.NET" and you'll get tons of results.The usual tricks involve using Excel's COM interface via RCW, converting to CSV and then parsing that directly, connecting via ODBC/OleDB, and even using 3rd party API that can directly read and parse Excel....
Please Sign up or sign in to vote.
26 Apr 2011
Nish Nishant
You could download Gimp and then go through the source code.http://www.gimp.org/[^]
Please Sign up or sign in to vote.
12 May 2011
wizardzz
You don't have to bind the datagrid to a source. You can add rows and columns dynamically. For example:this.dataGridView1.Rows.Add(a, b, c);You can also bind to a data source that is not populated via database.
Please Sign up or sign in to vote.
19 May 2011
CPallini
Your best bet is probably a double Dictionary:Dim data As New Dictionary(Of String, Dictionary(Of String, String))data("shopping") = New Dictionary(Of String, String)data("shopping")("item1") = "item name"
Please Sign up or sign in to vote.
31 May 2011
OriginalGriff
This is the fifth question on the same theme today: If you want answers, it really helps if you let us see the code fragment that the compiler is complaining about.Otherwise we have to work out where you are, use our psychic powers to work out your IP address, then hack into you PC to find...
Please Sign up or sign in to vote.
8 Jun 2011
Tarun.K.S
This is how I did:Button button2 = new Button();//Using PackUri syntax where LoadImages is the name of the project and Images is the folder where the Images are stored as resources.BitmapImage btm = new BitmapImage(new Uri("/LoadImages;component/Images/Bear.bmp",...
Please Sign up or sign in to vote.
24 Jun 2011
Idle_Force
Please Sign up or sign in to vote.
28 Jun 2011
Pete O'Hanlon
By itself, no - because the messagebox runs on the primary UI thread. It's a dialog so it is, by the very nature of it, a blocking operation. You are going to have to write a custom dialog that can close itself automatically after a period of time. When the dialog gets displayed, kick off a...
Please Sign up or sign in to vote.
20 Jul 2011
DominicZA
Try these:http://msdn.microsoft.com/en-us/magazine/ee677170.aspx[^]http://msdn.microsoft.com/en-us/library/dd233103.aspx[^]
Please Sign up or sign in to vote.
25 Jul 2011
E.F. Nijboer
You would need to handle the DrawNode yourself. Using drawmode OwnerDrawText would be enough because you just want to customize the text style. Have a look at the link below: http://msdn.microsoft.com/en-us/library/system.windows.forms.treeview.drawnode.aspx#Y570[^] Good luck!
Please Sign up or sign in to vote.
26 Jul 2011
R. Giskard Reventlov
Start here[^].
Please Sign up or sign in to vote.
26 Jul 2011
#realJSOP
Or start here[^].
Please Sign up or sign in to vote.
27 Jul 2011
DominicZA
public string CalculateKundali(string name){ string[] s = new string[] { "_name_, will meet the girl of your dreams this week", "_name_, your health is important, eat healthy this week", "_name_, his week expect good luck", "Beware _name_, don't...
Please Sign up or sign in to vote.
21 Aug 2011
Simon_Whale
This is one that I use but be aware that the conversion is not always 100% accurateVB tp C# and C# to VB[^]
Please Sign up or sign in to vote.
15 Oct 2011
Sergey Alexandrovich Kryukov
Very interesting question, even though it is not quite correct.The answer is: of course you can cast from non-generic to generic. But…Let's try to sort things out.I will try to differentiate some things which look subtle and usually can be ignored, but is the exotic case you're...
Please Sign up or sign in to vote.
21 Oct 2011
Sergey Alexandrovich Kryukov
The whole idea of selecting just one is wrong. To understand things you really need to know several languages, and also you need to learn programming, something which goes beyond languages. Also, by many reasons it's better to start with C# rather than VB.NET. I explained it in my recent answer:...
Please Sign up or sign in to vote.
6 Nov 2011
thatraja
Check these articlesMemory Leak Detection in .NET[^]Best Practices No 5: - Detecting .NET application memory leaks[^]Finding Undisposed Objects[^]
Please Sign up or sign in to vote.
6 Nov 2011
Prerak Patel
http://memprof...
Please Sign up or sign in to vote.
9 Dec 2011
Prashant Srivastava LKO
www.developerf...
Please Sign up or sign in to vote.
13 Dec 2011
Sergey Alexandrovich Kryukov
This question is too broad to answer it in full. Basically, using data is much more than just avoiding hard-coding. It all depends on your requirements and different architectural option.Of course, hard-coding of data is very, very bad. But what do you consider data? Your whole program can...
Please Sign up or sign in to vote.
13 Dec 2011
Nikil S
Why don't you post such questions in Lounge[^]?It is not a programming question.
Please Sign up or sign in to vote.
13 Dec 2011
Richard MacCutchan
Take what they offer. A job with a low salary is far better than no job.
Please Sign up or sign in to vote.
15 Dec 2011
OriginalGriff
How do I put this, without actually being rude....No.If you want a complete application written to your specification, you have two choices:1) Write it yourself.2) Pay someone to write it.The first option is easy - get started and do it.The second option is harder. Try...
Please Sign up or sign in to vote.
17 Dec 2011
Wendelius
First thing I think you have to remember, is that what is 'hot' now (as a field of expertise) may not be so desired in the future. The main thing is what you feel where do you have most potential and you're comfortable with. That should guide your decision.Both areas have lots of different...
Please Sign up or sign in to vote.
26 Jan 2012
Dalek Dave
Read This[^] Helpful Archive Article.
Please Sign up or sign in to vote.
28 Jan 2012
Kanasz Robert
Hi,try to check following links:http://msdn.microsoft.com/en-us/library/wtzawcsz(VS.80).aspx[^]Deploy SQL Server databases easily with an Installer class[^]RegardsRobert
Please Sign up or sign in to vote.
30 Jan 2012
Dalek Dave
Use the DateTime method.This Should Help[^]It actually has the example showing the Days in Month that you need.
Please Sign up or sign in to vote.
22 Mar 2012
Dave Kreskowiak
Yeah, and it's never going to. SendKeys will only with with Windows. You cannot send a keystroke to Mac O/S running in a VM because Mac O/S has no idea what to do with the Window message.
Please Sign up or sign in to vote.
30 Mar 2012
Shahin Khorshidnia
ComboBox has has a property named Items that is a collection and you can access to each item with using Index. For example:MessageBox.Show(MyCombo.Items[2].ToString());You can use this method too:public object GetComboBoxItem(int index){ if (index >= MyCombo.Items.Count)...
Please Sign up or sign in to vote.
17 Apr 2012
OriginalGriff
Basically, you are screwed. You cannot have a single Access 2007 database that exceeds 2GB.You need to split the database. Look here: http://office.microsoft.com/en-us/access-help/access-2007-specifications-HA010030739.aspx[^] Follow the "split a database" link
Please Sign up or sign in to vote.
22 Apr 2012
VJ Reddy
Let us seeSub Main Dim House As Building = New Building("live") Dim House2 As New Building("live")End SubPublic class Building Public sub New (Name as string) end subEnd classThe IL generated for the above code isIL_0001: ldstr "live"IL_0006: newobj ...
Please Sign up or sign in to vote.
4 May 2012
thams
HItry this Dim ps As New ProcessStartInfo("cmd.exe") ps.Arguments = "yourbatfile.bat" Process.Start(ps)
Please Sign up or sign in to vote.
7 May 2012
OriginalGriff
Try converting the string to a Stream:Dim myString as String = "This String here should be send as Mail Attachment as (HALLO.txt or without any extension) File to the Mail Receiver without having to be saved on a file respectively on the HardDisk"Dim ms As New...
Please Sign up or sign in to vote.
19 May 2012
Sergey Alexandrovich Kryukov
I see no problem here at all. The interfaces may inherit one from another or not. A class or a structure can implement either of the two or both of them. How exactly you build this hierarchy depends on the application of all those types and does not depend on signatures of the methods you show...
Please Sign up or sign in to vote.
22 May 2012
OriginalGriff
Use a List instead:Dim myList As New List(Of String)()myList.Add("Hello")myList.Add("Goodbye")Console.WriteLine(myList(1))If you need it as an array at any time (to pass it to a method for example):Dim myArray As String() = myList.ToArray()
Please Sign up or sign in to vote.
30 May 2012
Sergey Alexandrovich Kryukov
The most important difference is this: System.String.IndexOf is a standard CLR method, a function of a standard part of .NET, Mono or any other standard CLR implementations and hence, fully compatible with any of them regardless of the language used; standardized under ECMA and ISO standard...
Please Sign up or sign in to vote.
8 Jun 2012
Manas Bhardwaj
Wow, that is interesting. You don't even know from where to download the component and you plan to use it?Though you could have surely googled it, here is the link to download[^].And here is the documentation which says 'How to use it'[^]
Please Sign up or sign in to vote.
12 Jun 2012
OriginalGriff
This is untried - it is an automatic conversion of my C# method to VB. It's based on my Tip here: Retrieving IP and MAC addresses for a LAN[^]''' ''' GetIpNetTable external method''' ''' ''' '''
Please Sign up or sign in to vote.
14 Jun 2012
Stephen Hewison
Try this:string addresses = "abc@123.com;def@123.com;ghi@123.com";foreach(string address in addresses.split(';')) mail.To.Add(address)
Please Sign up or sign in to vote.
5 Jul 2012
Matthias Böhnke
Bug Fixes for Reading Barcodes from an Image - III
Please Sign up or sign in to vote.
24 Jul 2012
StianSandberg
var path = @"L:\";int files = System.IO.Directory.GetFiles(path, "*.*", SearchOption.AllDirectories).Count();int dirs = System.IO.Directory.GetDirectories(path, "*", SearchOption.AllDirectories).Count();
Please Sign up or sign in to vote.
10 Aug 2012
Simon_Whale
Assuming you are using SQL server have a read of thisParse Large XML files into SQL Server[^]
Please Sign up or sign in to vote.
19 Sep 2012
Ben Freeman CBNL
How to add an Open Street Map overlay to a Map using MapWinGIS.
Please Sign up or sign in to vote.
27 Sep 2012
Sergey Alexandrovich Kryukov
Sure, but it depends on what sort of applications you need.I would suggest you start with simple console applications and use them well to start with .NET and C#. Before reading the tutorials, start with the...
Please Sign up or sign in to vote.
8 Nov 2012
aalvarez13
This is an alternative for "Microsoft Office Version Detector".
Please Sign up or sign in to vote.
23 Nov 2012
André Kraak
I found this on MSDN:Quote: Scope in Visual Basic[^]Even if the scope of a variable is limited to a block, its lifetime is still that of the entire procedure. If you enter the block more than once during the procedure, each block variable retains its previous value. To avoid unexpected results...
Please Sign up or sign in to vote.
18 Dec 2012
Ahmad Dekmak
In this project we learn how to resign a signed assembly with another one of your choice
Please Sign up or sign in to vote.
27 Dec 2012
Thomas Daniels
Richard is right. To get the same bytes in C# as the bytes in VB, use this:byte i1 = Encoding.Default.GetBytes("œ")[0];The GetBytes method returns a byte array, with Encoding.Default.GetBytes("œ")[0] you get the first value of the byte array.Hope this helps.
Please Sign up or sign in to vote.
30 Jan 2013
Mantu Singh
Use the following code as the Excel 2007 vcersion files are Excel 12.0Dim connectionString As String =[String].Format("Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties=""Excel 12.0 Xml;HDR=YES;IMEX=1;""", filepath)Best of luck!!
Please Sign up or sign in to vote.
14 Feb 2013
Alеksey Nemiro
Capture screen, edit, and send images to the Internet.
Please Sign up or sign in to vote.
24 Feb 2013
S R JHALA
Singleton is Design Pattern in which you make the constructor private so that its object cannot be declare directly, you will need to create Instance of the class and than you can use it.public class Singleton { private static final Singleton instance; private Singleton(){}...
Please Sign up or sign in to vote.
8 Mar 2013
Michael Haephrati
To access a hard drive's sector level, you need to use low level API.Basically, the two functions you will need here will be something like that:Private Function ReadHDBytes (ByVal ByteCount As Long, ByRef DataBytes () As Byte, ByRef ActuallyReadByte As Long) As BooleanDim RetVal As...
Please Sign up or sign in to vote.
16 Oct 2013
Chris Ross 2
It's kinda hard to answer that question - if all the columns are in one table, then it's just a single update statement and the speed is solely a factor of the hardware performance of your databse server.If the columns are spread across a number of tables, I'd expect to use a stored...
Please Sign up or sign in to vote.
3 Nov 2013
carcabot
Multi Language Switcher Dynamically written in WPF VB.NET using XMLDataProvider
Please Sign up or sign in to vote.
9 Dec 2013
Dave Kreskowiak
Transparent doesn't work the way you think it does in WinForms. You described exactly the behavior that is supposed to happen. The reason is because when a control is put on the screen it had sole ownership of the pixels it occupies on screen. Only one control paints itself into those pixels....
Please Sign up or sign in to vote.
11 Dec 2013
Sergey Alexandrovich Kryukov
Do something very different. Don't move any files or add anything. Do the following: If you want to preserve your existing application project(s) and solution (always a good idea), make a full copy of it to a different location not changing anything. Make sure it compiles and works.Go to...
Please Sign up or sign in to vote.
16 Dec 2013
Sergey Alexandrovich Kryukov
This is practically useless, and it is especially useless for .NET, due to very apparent openness of the technology, where all the metadata is present. You can use one of the obfuscators, but it cannot really stop anyone, only would make reverse-engineering more expensive and very unpleasant....
Please Sign up or sign in to vote.
17 Jan 2014
Neil Siegfried
Double Buffer a List View Control to eliminate all flickering associated with it.
Please Sign up or sign in to vote.
11 Feb 2014
Sergey Alexandrovich Kryukov
You scared me to death. :-)Well, not quite so; in fact, I first assumed that I rather should not trust you, but… it sounds quite troublesome enough, so I tested it. Of course, what you say turns out to be not true: everything works correctly with any delimiters, including the characters...