Set Default Page Setup in ReportViewer
Dim pg As New System.Drawing.Printing.PageSettings() pg.Margins.Top = 0 pg.Margins.Bottom = 0.25 p…
Dim pg As New System.Drawing.Printing.PageSettings() pg.Margins.Top = 0 pg.Margins.Bottom = 0.25 p…
Get Distinct Maximum Date Display the latest order of each customers. SELECT A.CustomerID, OrderDate, EmployeeID, Shippe…
MsgBox("Modal Message", MsgBoxStyle.SystemModal + MsgBoxStyle.Exclamation, "VB.Net Message Box Modal")
How To Embed Windows Media Player In Windows Form Using VB.Net 1. Go to "Tool Box" pane then right click 2. Se…
Function Get Movie Duration(ByVal MovieFullPath As String) As String If File.Exists(MovieFullPath) Then …
SELECT ((DATEDIFF(minute, '2013-06-30 08:30:00.0000000', '2013-06-30 10:45:00.0000000'))/60) AS TotalHour,…
Code in getting the windows user's fullname. Dim strComputer As String Dim strUserName As String Dim objUser As Obje…
When you query a multiple join in MSSQL you use this following query: SELECT a.columna, b.columnb, c.columnc FROM tablea …
Subtracting Date Time in MSSQL --YEAR SELECT DATEDIFF(year, '2012-12-31', '2013-01-01') --Quarter SE…
VB Send Email with a HTML Format body Private Sub Command1_Click() Dim EmailList, Mailbod As String, Myfile Dim objOutlo…
Copy File then rename the copied file with date and time using dos command C:\FileName.bak Z:\ /C /Y ren Z:\FileName.bak Fi…
When your developing an MS Access application make sure you remove the Ribbon so that your application looks clean. Here…
Our website uses cookies to improve your experience. Learn more
Ok