Profile cover photo
Profile photo
KapiL Chaudhary
40 followers
40 followers
About
Posts

Post has attachment
BLINKING TEXT COLOR CHANGE
 Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick         Dim str As String = "2017-01-01"         Dim c(str.Length) As Char         c = str.ToCharArray         If j = 0 Then             TextBox1.ForeColor = Color.Blue          ...
Add a comment...

Post has attachment
AUTOSIZE COLUMNS IN DATAGRIDVIEW
  //COPY AND PASTE IT ON FORM_LOAD EVENT DataGridView1.AutoResizeColumns()              DataGridView1.AutoSizeColumnsMode =         DataGridViewAutoSizeColumnsMode.AllCells
Add a comment...

Post has attachment
Time Difference Between Columns
SUBSTRING(CONVERT(VARCHAR(20),(enddatetime - startdatetime),120),12,8)
Add a comment...

Post has attachment
SQL ConnectionString with IP ADDRESS
<appSettings>    <add key="ConnectionStringsql" value="Server=103.245.119.115,1433;Network Library=DBMSSOCN;Initial Catalog=mydatabase;User Id=sa;Password=pass100;"/>        </appSettings>
Add a comment...

Post has attachment
Copy system files - visual studio 2015
       My.Computer.FileSystem.CopyFile("c:\myfiles\test.txt", "z:\process\documents\test.txt", FileIO.UIOption.OnlyErrorDialogs, FileIO.UICancelOption.DoNothing)
Add a comment...

Post has attachment
view PDF document on a cell click on datagridview - visual studio 2015
//first of all load pdf reader from toolbox->addtab->choose items->com components  Private Sub DataGridView1_CellContentClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick                 Dim ofd As New OpenFileDia...
Add a comment...

Post has attachment
view a PDF document on button click in a Windows Form - Visual studio 2015
Me.AxAcroPDF1.LoadFile("C:\Temp\PDF_DemoFile_2.pdf")
Add a comment...

Post has attachment
VBA pdf export from excel
//developer tab for create button, alt+f11 for vba open Sub PDFActiveSheet() 'www.contextures.com 'for Excel 2010 and later Dim wsA As Worksheet Dim wbA As Workbook Dim strTime As String Dim strName As String Dim strPath As String Dim strFile As String Dim ...
Add a comment...

Post has attachment
EXPORT TO EXCEL Visual Studio 2015
//go to project -> add reference ->  Microsoft office 16.0 object library // copy paste this code for EXPORT BUTTON  Dim xlApp As Microsoft.Office.Interop.Excel.Application         Dim xlWorkBook As Microsoft.Office.Interop.Excel.Workbook         Dim xlWork...
Add a comment...

Post has attachment
Google Map as a background HTML
//copy and paste this code in your html page <!DOCTYPE html> <html> <head>     <title></title> <meta charset="utf-8" />     <style type="text/css" >     #googlemaps {     height: 100%;     width: 100%;     position:absolute;     top: 0;     left: 0;     z-i...
Add a comment...
Wait while more posts are being loaded