Click here to Skip to main content
11,429,687 members (73,874 online)

C / C++ / MFC

 
AnswerRe: porting my device driver 32 bit to windows 7 64 bit Pin
Clark Kent SuperCoder17-Nov-12 6:52
memberClark Kent SuperCoder17-Nov-12 6:52 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit Pin
navn199118-Nov-12 22:54
membernavn199118-Nov-12 22:54 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit Pin
Clark Kent SuperCoder19-Nov-12 1:15
memberClark Kent SuperCoder19-Nov-12 1:15 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit Pin
navn199121-Nov-12 3:40
membernavn199121-Nov-12 3:40 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit Pin
BilliousBob23-Nov-12 5:51
memberBilliousBob23-Nov-12 5:51 
AnswerRe: porting my device driver 32 bit to windows 7 64 bit Pin
BilliousBob23-Nov-12 5:50
memberBilliousBob23-Nov-12 5:50 
QuestionMemory usage Pin
john563215-Nov-12 22:48
memberjohn563215-Nov-12 22:48 
AnswerRe: Memory usage Pin
Orjan Westin16-Nov-12 0:23
memberOrjan Westin16-Nov-12 0:23 
AnswerRe: Memory usage Pin
DavidCrow16-Nov-12 3:27
memberDavidCrow16-Nov-12 3:27 
AnswerRe: Memory usage Pin
Rolf Kristensen16-Nov-12 4:30
memberRolf Kristensen16-Nov-12 4:30 
AnswerRe: Memory usage Pin
Arun S J18-Nov-12 19:13
memberArun S J18-Nov-12 19:13 
Questioninterp project in 64bit system Pin
Dang Vu Tuan15-Nov-12 22:46
memberDang Vu Tuan15-Nov-12 22:46 
AnswerRe: interp project in 64bit system Pin
Richard MacCutchan16-Nov-12 0:57
mvpRichard MacCutchan16-Nov-12 0:57 
QuestionSql server Database BackUp Pin
shibashish mohanty15-Nov-12 21:06
membershibashish mohanty15-Nov-12 21:06 
I want to take backup of my server database into my local system.so i have used the following sql query

DECLARE @name VARCHAR(50) -- database name
DECLARE @path VARCHAR(256) -- path for backup files
DECLARE @fileName VARCHAR(256) -- filename for backup
DECLARE @fileDate VARCHAR(20) -- used for file name


-- specify database backup directory
SET @path = 'C:\Backup\'


-- specify filename format
SELECT @fileDate = CONVERT(VARCHAR(20),GETDATE(),112)


DECLARE db_cursor CURSOR FOR
SELECT name
FROM master.dbo.sysdatabases
WHERE name IN ('Sutra') -- exclude these databases


OPEN db_cursor
FETCH NEXT FROM db_cursor INTO @name


WHILE @@FETCH_STATUS = 0
BEGIN
SET @fileName = @path + @name + '_' + @fileDate + '.BAK'
BACKUP DATABASE @name TO DISK = @fileName


FETCH NEXT FROM db_cursor INTO @name
END


CLOSE db_cursor
DEALLOCATE db_cursor

i have created the Backup folder in C: drive.but it returns the following error

Msg 3201, Level 16, State 1, Line 28
Cannot open backup device 'C:\Backup\Sutra_20121116.BAK'. Operating system error 3(The system cannot find the path specified.).
Msg 3013, Level 16, State 1, Line 28
BACKUP DATABASE is terminating abnormally.

Please solve it.Thanks in advance
shibashish mohanty

AnswerRe: Sql server Database BackUp Pin
Richard MacCutchan16-Nov-12 0:55
mvpRichard MacCutchan16-Nov-12 0:55 
AnswerRe: Sql server Database BackUp Pin
André Kraak16-Nov-12 1:48
memberAndré Kraak16-Nov-12 1:48 
QuestionNeed help compiling Pin
xLeonx15-Nov-12 9:51
memberxLeonx15-Nov-12 9:51 
AnswerRe: Need help compiling Pin
jeron115-Nov-12 10:51
memberjeron115-Nov-12 10:51 
QuestionRe: Need help compiling Pin
DavidCrow15-Nov-12 11:34
memberDavidCrow15-Nov-12 11:34 
QuestionRe: Need help compiling Pin
CPallini16-Nov-12 0:09
mvpCPallini16-Nov-12 0:09 
AnswerRe: Need help compiling Pin
xLeonx18-Nov-12 10:35
memberxLeonx18-Nov-12 10:35 
AnswerRe: Need help compiling Pin
Stephen Hewitt16-Nov-12 23:36
memberStephen Hewitt16-Nov-12 23:36 
GeneralRe: Need help compiling Pin
xLeonx18-Nov-12 10:31
memberxLeonx18-Nov-12 10:31 
GeneralRe: Need help compiling Pin
xLeonx18-Nov-12 10:33
memberxLeonx18-Nov-12 10:33 
AnswerRe: Need help compiling Pin
Arun S J18-Nov-12 19:15
memberArun S J18-Nov-12 19:15 
GeneralRe: Need help compiling Pin
xLeonx23-Nov-12 9:20
memberxLeonx23-Nov-12 9:20 
GeneralRe: Need help compiling Pin
Arun S J25-Nov-12 18:37
memberArun S J25-Nov-12 18:37 
QuestionVisual Studio 2003 on Windows 8! Pin
Hadi Dayvary15-Nov-12 5:23
memberHadi Dayvary15-Nov-12 5:23 
Question[RESOLVED] Message Box will not show on top of window Pin
Brandon T. H.15-Nov-12 2:14
memberBrandon T. H.15-Nov-12 2:14 
AnswerRe: Message Box will not show on top of window Pin
Richard MacCutchan15-Nov-12 4:16
mvpRichard MacCutchan15-Nov-12 4:16 
GeneralRe: Message Box will not show on top of window Pin
Brandon T. H.15-Nov-12 9:13
memberBrandon T. H.15-Nov-12 9:13 
GeneralRe: Message Box will not show on top of window Pin
Richard MacCutchan16-Nov-12 0:42
mvpRichard MacCutchan16-Nov-12 0:42 
GeneralRe: Message Box will not show on top of window Pin
Brandon T. H.17-Nov-12 5:30
memberBrandon T. H.17-Nov-12 5:30 
AnswerRe: [RESOLVED] Message Box will not show on top of window Pin
Arun S J18-Nov-12 21:16
memberArun S J18-Nov-12 21:16 
QuestionUsing make file Pin
HungryCPPDev15-Nov-12 1:55
memberHungryCPPDev15-Nov-12 1:55 
AnswerRe: Using make file Pin
Jochen Arndt15-Nov-12 3:20
memberJochen Arndt15-Nov-12 3:20 
Questionhow to create an Un-sorted map in c++ Pin
narmada Padhy14-Nov-12 19:04
membernarmada Padhy14-Nov-12 19:04 
AnswerRe: how to create an Un-sorted map in c++ Pin
Richard MacCutchan14-Nov-12 22:01
mvpRichard MacCutchan14-Nov-12 22:01 
AnswerRe: how to create an Un-sorted map in c++ Pin
Stephen Hewitt14-Nov-12 23:57
memberStephen Hewitt14-Nov-12 23:57 
AnswerRe: how to create an Un-sorted map in c++ Pin
Arun S J18-Nov-12 19:20
memberArun S J18-Nov-12 19:20 
NewsSoftware Engineer (C++) needed in Singapore!! Pin
darkxfire14-Nov-12 18:39
memberdarkxfire14-Nov-12 18:39 
GeneralRe: Software Engineer (C++) needed in Singapore!! Pin
Arun S J18-Nov-12 19:27
memberArun S J18-Nov-12 19:27 
QuestionError MSB6006: "CL.exe" Pin
john563213-Nov-12 23:41
memberjohn563213-Nov-12 23:41 
QuestionRe: Error MSB6006: "CL.exe" Pin
DavidCrow14-Nov-12 4:23
memberDavidCrow14-Nov-12 4:23 
QuestionUDP ports 500 and 4500 are busy? Pin
v_iv13-Nov-12 19:46
memberv_iv13-Nov-12 19:46 
AnswerRe: UDP ports 500 and 4500 are busy? Pin
Richard MacCutchan13-Nov-12 23:34
mvpRichard MacCutchan13-Nov-12 23:34 
QuestionI am Bemused about std::list<> Pin
yu-jian13-Nov-12 5:17
groupyu-jian13-Nov-12 5:17 
AnswerRe: I am Bemused about std::list<> Pin
Richard MacCutchan13-Nov-12 6:37
mvpRichard MacCutchan13-Nov-12 6:37 
GeneralRe: I am Bemused about std::list<> [modified] Pin
Stephen Hewitt13-Nov-12 7:03
memberStephen Hewitt13-Nov-12 7:03 
GeneralRe: I am Bemused about std::list<> Pin
yu-jian13-Nov-12 7:25
groupyu-jian13-Nov-12 7:25 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150428.2 | Last Updated 4 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid