Try Dim SmtpServer As New SmtpClient() Dim mail As New MailMessage() SmtpServer.Cre…
Read moreIn this post, you will learn how to use OleDb to: Connect to data source Add records to database Modify an existing rec…
Read moreIn this post, you will learn, how to: Use OpenFileDialog to choose Jpeg files only How to display selected jpg image Op…
Read moreTo set environment variable, right click my computer > Properties > Advanced > Environment Variables Dim …
Read more.NET provides a wonderful control for charting plots. Here are basic steps: Drag and drop CHART control from toolbox to…
Read moreYou are right!!! Just put a counter inside the while loop reading .csv file row by row i.e. Dim ir As Integer = 0 Using…
Read moreSuppose I have .csv (Comma Separated values) file and I need to read certain columns of this file and plot them (relate…
Read moreIn ListViewBox, each item can have different color and also ListViewBox can display columnar data. Let us see code to: …
Read moreTo read all the files with ".csv" extension in all the directories under a folder selected through FileBrowse…
Read moreSometimes, your VB app need to get a selected folder for further operations. Say, a folder where to install your app. I…
Read moreWe have already created database in my post How To Create MS Access Database Using ADOX and Visual Basic and learnt ho…
Read moreLet us add table to database created in my post How To Create MS Access Database Using ADOX and Visual Basic Dim ADOXca…
Read moreDim acat As New ADOX.Catalog() Try Dim sCreateString As String sCreateString = _ "Provider=Microsoft…
Read more1. Adding a Row to DataGridView Programmatically, Dim col1content,col2content As String Dim col2content As Intege…
Read moreDim pProcess() As Process = System.Diagnostics.Process.GetProcessesByName("myprocess") For Each p As Proce…
Read moreTo access processes with given name and setting their affinity, Dim pa As System.IntPtr = 'integer Dim pProcess(…
Read moreDim oProcess As Object Dim lProcessID As Long Dim lRet As Long Dim runstr As String Dim …
Read moreTry 'Your piece of code Catch errorVariable As Exception MsgBox(errorVariable.Message) End Try
Read moreImports System.IO Dim readLineByLine As String Dim fileReader As New StreamReader("fileToBeRead.xtn") Do Unti…
Read moreImports System.IO Dim ValueOfVariable As String = "Hello, World!" Dim streamOut As New StreamWriter("fil…
Read more
Social Plugin