I have to setup an SQL database with an installation CD for my customers.
I copy the datafiles (*.mdf) with a little VB.NET 2005 program.
In Windows XP ip works well but in Windows Vista the datafiles are not copy in C:\Program Files\Microsoft SQL Server\ ....\Data but in some local\virtualstore directory.
Already I found that UAC could be the problem but how can this solved ?
code of the program that don't work anymore in Vista:
Dim oBronFile As New System.IO.FileInfo(pCDRomDriveLetter & "\Data\" & pNameDataFile & ".mdf")
oBronFile.CopyTo(pNameDataDir & "\" & pNameDataFile & ".mdf")
oBronFile = New System.IO.FileInfo(pCDRomDriveLetter & "\Data\" & pNameDataFile & ".ldf")
oBronFile.CopyTo(pNameDataDir & "\" & pNameDataFile & ".ldf")
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…