We 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 more1. To get number of command line arguments: Dim argc As Integer = Environment.GetCommandLineArgs().Length 2. To…
Read more#include "stdio.h" main () { int a , b , c ; int count = 1 ; for ( b = c = 10 ; a = &…
Read moreAdd following code to OnCreate function in MainFrm.cpp: int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) { …
Read more
Social Plugin