Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.
Imports System.Data.SqlServerCe Imports System.Data Imports System.IO Imports System.Runtime.InteropServices Module modDatabase Public ds As DataSet Dim ipfilename As String = "\bin\debug\sqlceme30.dll" <DllImport("coredll", SetLastError:=True, CharSet:=CharSet.Auto)> _ Public Function ShowSQLCEME30(ByVal ipfilename As IntPtr) As String End Function Public conn As New SqlCeConnection( _ "Data Source=\My Documents\Warf.sdf") Public Sub createWarfDB() 'if database does not exist, create one Try If Not File.Exists( _ "\My Documents\Warf.sdf") Then Dim sqlEngine As New SqlCeEngine( _ "Data Source=" & _ "\My Documents\Warf.sdf") sqlEngine.CreateDatabase() //More Code Catch ex As Exception ex.Message.ToString() End Try End Sub End Module
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.