Click here to Skip to main content
15,903,385 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Wanted: control for entering datetimeoffset values in Winforms (similar to datetimepicker) Pin
atrus27114-May-15 2:30
atrus27114-May-15 2:30 
GeneralRe: Wanted: control for entering datetimeoffset values in Winforms (similar to datetimepicker) Pin
Kenneth Haugland4-May-15 2:46
mvaKenneth Haugland4-May-15 2:46 
GeneralRe: Wanted: control for entering datetimeoffset values in Winforms (similar to datetimepicker) Pin
atrus27114-May-15 4:00
atrus27114-May-15 4:00 
GeneralRe: Wanted: control for entering datetimeoffset values in Winforms (similar to datetimepicker) Pin
Richard Deeming6-May-15 1:40
mveRichard Deeming6-May-15 1:40 
QuestionVisual Basic Pin
scofield_scott_stonebridge3-May-15 17:32
scofield_scott_stonebridge3-May-15 17:32 
AnswerRe: Visual Basic Pin
Richard MacCutchan3-May-15 21:34
mveRichard MacCutchan3-May-15 21:34 
QuestionProtect my sql server backup database file Pin
satc2-May-15 19:49
satc2-May-15 19:49 
AnswerRe: Protect my sql server backup database file Pin
Dave Kreskowiak3-May-15 4:46
mveDave Kreskowiak3-May-15 4:46 
satc wrote:
s there anything that I can do when create the .bak file in order that :
- The file can be restored only within my application


No. The backup file is written by SQL and you don't have any part or control of that process.


satc wrote:
Is there anything that I can do when create the .bak file in order that :
- When I do a restore , to check if the .bak file is a file that is created with my application , otherwise an error should be displayed and no restore should be made.


No, see point 1.


What you CAN do is put the backup files in a location that is protected by normal Windows NTFS security so that only Administrators and the SQL Server process has read and write access to it. Nobody else will be able to see the contents of the folder, nor read/write it even if they knew what the file names were.


satc wrote:
Inside my application I have 2 commands : Backup and Restore that create a backup of database and restore a backup file to sql server.


Are you making multiple backup files instead of directly overwriting the previous one? Think about what would happen if your SQL Server died in the middle of overwriting the previous backup file. Just something to think about...
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Protect my sql server backup database file Pin
satc3-May-15 5:24
satc3-May-15 5:24 
GeneralRe: Protect my sql server backup database file Pin
Dave Kreskowiak3-May-15 10:59
mveDave Kreskowiak3-May-15 10:59 
GeneralRe: Protect my sql server backup database file Pin
satc3-May-15 20:16
satc3-May-15 20:16 
GeneralRe: Protect my sql server backup database file Pin
Sascha Lefèvre3-May-15 23:25
professionalSascha Lefèvre3-May-15 23:25 
SuggestionRe: Protect my sql server backup database file Pin
Richard Deeming6-May-15 1:32
mveRichard Deeming6-May-15 1:32 
GeneralRe: Protect my sql server backup database file Pin
satc6-May-15 16:48
satc6-May-15 16:48 
QuestionDrag and Drop DatagridViewCell Pin
bellatriks28-Apr-15 21:09
bellatriks28-Apr-15 21:09 
AnswerRe: Drag and Drop DatagridViewCell Pin
Abhinav S28-Apr-15 21:18
Abhinav S28-Apr-15 21:18 
GeneralRe: Drag and Drop DatagridViewCell Pin
bellatriks28-Apr-15 22:49
bellatriks28-Apr-15 22:49 
QuestionList of, Delete records before and after date range. Pin
jkirkerx28-Apr-15 10:25
professionaljkirkerx28-Apr-15 10:25 
AnswerRe: List of, Delete records before and after date range. Pin
Sascha Lefèvre28-Apr-15 10:50
professionalSascha Lefèvre28-Apr-15 10:50 
GeneralRe: List of, Delete records before and after date range. Pin
jkirkerx28-Apr-15 11:45
professionaljkirkerx28-Apr-15 11:45 
GeneralRe: List of, Delete records before and after date range. Pin
Sascha Lefèvre28-Apr-15 12:16
professionalSascha Lefèvre28-Apr-15 12:16 
QuestionRDLC Expression for Address in textbox Pin
jkirkerx27-Apr-15 9:46
professionaljkirkerx27-Apr-15 9:46 
AnswerRe: RDLC Expression for Address in textbox Pin
jkirkerx27-Apr-15 10:45
professionaljkirkerx27-Apr-15 10:45 
QuestionFinding the index of a Listbox item, based on search criteria. VB6 Pin
EdwardX227-Apr-15 6:25
EdwardX227-Apr-15 6:25 
AnswerRe: Finding the index of a Listbox item, based on search criteria. VB6 Pin
Richard MacCutchan27-Apr-15 7:04
mveRichard MacCutchan27-Apr-15 7:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.