Click here to Skip to main content
15,902,908 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionGet Hostname Pin
Larry White30-Jun-06 6:12
Larry White30-Jun-06 6:12 
QuestionInfo for CreateObject("Excel.Application") Pin
jayleemaree30-Jun-06 5:05
jayleemaree30-Jun-06 5:05 
QuestionTextbox control bound to binding source? Pin
Rashar30-Jun-06 4:11
Rashar30-Jun-06 4:11 
AnswerRe: Textbox control bound to binding source? Pin
Rashar30-Jun-06 5:15
Rashar30-Jun-06 5:15 
QuestionNeed Some Help with Crystal Reports Pin
Jats_4ru30-Jun-06 2:46
Jats_4ru30-Jun-06 2:46 
AnswerRe: Need Some Help with Crystal Reports Pin
aransiola1-Jul-06 8:59
aransiola1-Jul-06 8:59 
GeneralRe: Need Some Help with Crystal Reports Pin
Jats_4ru2-Jul-06 18:58
Jats_4ru2-Jul-06 18:58 
QuestionBackup and Restore [modified] Pin
sujith3130-Jun-06 1:14
sujith3130-Jun-06 1:14 
-----------------------------------------------------------------------------

Hi ALL...Smile | :)

Using SMO I want to do backup and restore database thru my VB.Net application (2005).
The backup operation is working fine.
The restore is also working if i'm restoring to the same database in the same machine.
But, if i'm restoring as a different database name or in a different machine(where the MSSQL data files' folder path is different from the server from where i took backup), it is giving an error.
The problem i found is that i'm not able to change the path of the data files (eg; C:\Program Files\Microsoft SQL Server\MSSQL\Data)

Pls help Cry | :((
Have a nice day Smile | :)

-----------------------------------------------------------------------------

"I firmly believe that
any man's finest hour,
the greatest fulfillment of all that holds dear,
is that moment,
when he has worked his heart out in a good cause
and lies exhausted in the field of battle - victorious..."

-- modified at 7:24 Friday 30th June, 2006
QuestionCheckedListBox- How to ignore doubleClick event Pin
vsuganthan29-Jun-06 23:56
vsuganthan29-Jun-06 23:56 
AnswerRe: CheckedListBox- How to ignore doubleClick event Pin
pj1027-Jul-06 2:33
pj1027-Jul-06 2:33 
QuestionUpto what size we can store a data in a file Pin
himuskanhere29-Jun-06 20:18
himuskanhere29-Jun-06 20:18 
AnswerRe: Upto what size we can store a data in a file Pin
Dave Kreskowiak30-Jun-06 4:04
mveDave Kreskowiak30-Jun-06 4:04 
QuestionSocket Permissions Pin
elms29-Jun-06 18:25
elms29-Jun-06 18:25 
AnswerRe: Socket Permissions Pin
Colin Angus Mackay29-Jun-06 21:45
Colin Angus Mackay29-Jun-06 21:45 
AnswerRe: Socket Permissions Pin
Dave Kreskowiak30-Jun-06 3:58
mveDave Kreskowiak30-Jun-06 3:58 
Questionvs 2005 maskedtext box Pin
amilapradeep29-Jun-06 17:56
amilapradeep29-Jun-06 17:56 
Questionhow to validate a primary or unique key [modified] Pin
changeez29-Jun-06 14:10
changeez29-Jun-06 14:10 
AnswerRe: how to validate a primary or unique key [modified] Pin
Dave Kreskowiak29-Jun-06 16:43
mveDave Kreskowiak29-Jun-06 16:43 
GeneralRe: how to validate a primary or unique key [modified] Pin
changeez30-Jun-06 9:17
changeez30-Jun-06 9:17 
QuestionHelp: MS Access "Relationship" Style View Pin
jgyie229-Jun-06 9:54
jgyie229-Jun-06 9:54 
GeneralRe: Help: MS Access "Relationship" Style View Pin
User 171649229-Jun-06 13:53
professionalUser 171649229-Jun-06 13:53 
GeneralRe: thanks, Richard. A good, yet slightly complicated reference Pin
jgyie229-Jun-06 20:51
jgyie229-Jun-06 20:51 
QuestionReading File Records Pin
Thaddeus_jenkins29-Jun-06 8:49
Thaddeus_jenkins29-Jun-06 8:49 
AnswerRe: Reading File Records Pin
Dave Kreskowiak29-Jun-06 10:23
mveDave Kreskowiak29-Jun-06 10:23 
AnswerRe: Reading File Records Pin
Mekong River29-Jun-06 15:35
Mekong River29-Jun-06 15:35 

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.