PM Laptop Scheme 2017 Distribution Date, Schedule - soomro4u
Phase 2 have been complete university of Sindh and there campuses are done .
HEC Merit List 2016 PM Laptop Scheme Selected Candidates ...
comming soon...
The Best Keylogger software free download key Board lookup 2016
The Best Keylogger software free download key Board lookup 2016Link coming soon wait for some days...
Change extension of file using vb.net

How can I change extension of file using vb.net
here
example ahsan.txt rename as ahsan.png or ahsan.doc
import system.io
ex:1
Dim path as String = "c:\ahsan.txt"
Dim ChangeEx as String ="c:\ahsan.doc"
System.IO.File.Move(path,ChangeEx)
ex:2
System.IO.File.Move("SoftwareData\DatabaseFiles.accdb", SoftwareData\DatabaseFiles.Files")
How can i move Border less form in Vb.net , easy method to move Border less Form in Vb.NET

How can I move Border less form in Vb.net , easy method to move Border less Form in Vb.NET visual studio 2015...
How can i move Border less form in Vb.net , easy method to move Border less Form in Vb.NET
visual Basic 2015 programming.
Private IsFormBeingDragged As Boolean = False
Private MouseDownX As Integer
Private MouseDownY As Integer
'Using Mouse Down Event in selected Form.
Private Sub Form1_MouseDown(ByVal sender As Object, ByVal e As MouseEventArgs) Handles MyBase.MouseDown
If e.Button = MouseButtons.Left Then
IsFormBeingDragged = True
MouseDownX = e.X
MouseDownY = e.Y
End If
End Sub
'Using MouseUp Event in selected Form.
Private Sub Form1_MouseUp(ByVal sender As Object, ByVal e As MouseEventArgs) Handles MyBase.MouseUp
If e.Button = MouseButtons.Left Then
IsFormBeingDragged = False
End If
End Sub
'Using Mouse Move Event in selected Form.
Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As MouseEventArgs) Handles MyBase.MouseMove
If IsFormBeingDragged Then
Dim temp As Point = New Point()
temp.X = Me.Location.X + (e.X - MouseDownX)
temp.Y = Me.Location.Y + (e.Y - MouseDownY)
Me.Location = temp
temp = Nothing
End If
End Sub
[Solved] Error .accdb access file added in vb.net Error Name : unrecognized database format .accdb

[Solved] Error .accdb access file added in vb.net Error Name : unrecognized database format .accdb
In access old version file extension is .mdb and new version is .accdb
In Visual Basic .mdb file add successfully no error will occur but .accdb file have error that
unrecognized database format .accdb.
so first you need to download AccessDatabaseEngine than install it and restart your computer.
ConnectionString = "Provider=xyz;Data Source=YourDataBase"
for .mdb we use Provider=Microsoft.Jet.OLEDB.4.0;
and for .accdb we use Provider=Microsoft.ACE.OLEDB.12.0;
Example for Access database Connectivity
Private conn As New OleDbConnection
Private cmd As New OleDbCommand
Private DR As OleDbDataReader
Private DT As New DataTable
Private path As String = "C:\Database.accdb"
'Put this code where you want to fetch the data
Try
conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source='" & path & "'"
cmd.Connection = conn
cmd.CommandText = "Select * from TableName"
conn.Open()
DR = cmd.ExecuteReader
DT.Load(DR)
'feedTable is GridView in vb.net
FeedTable.DataSource = DT
conn.Close()
Catch ex As Exception
conn.Close()
MsgBox("Error : " & ex.Message)
End Try
Thank You Give your Comments for help others.
Daily Horoscopes - Soomro4u
Daily Horoscopes - Soomro4u
Daily Horoscopes - Soomro 4u .com here available daily update for your horoscope enjoy :) Online Quran (Holy Book ) reading PDF file
after loading complete you can read every page of (Quran Kareem ) if pages are not open complete press F5 for refresh page don't forget to share this. click below link to download file
Quran Kareem.pdf
Free Download Internet Download manager with keygen
www.soomro4u.com
Free Download Internet Download manager 6.05
with keygen
password to unrar file : soomro4u
crack license key of IDM.
just download this file and run exe pitch file.
Easy and fast. only just 4.62 Mb File Size.
Free Download Internet Download manager 6.05
with keygen
password to unrar file : soomro4u
crack license key of IDM.
just download this file and run exe pitch file.
Easy and fast. only just 4.62 Mb File Size.
Subscribe to:
Posts
(
Atom
)
1 comment :
Post a Comment