Click here to Skip to main content
15,920,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProblem with VC++ macro expansion for byte swapping Pin
joswr1ght9-Mar-07 9:24
joswr1ght9-Mar-07 9:24 
AnswerRe: Problem with VC++ macro expansion for byte swapping Pin
led mike9-Mar-07 9:34
led mike9-Mar-07 9:34 
QuestionRe: Problem with VC++ macro expansion for byte swapping Pin
David Crow9-Mar-07 9:55
David Crow9-Mar-07 9:55 
AnswerRe: Problem with VC++ macro expansion for byte swapping Pin
led mike9-Mar-07 10:07
led mike9-Mar-07 10:07 
AnswerRe: Problem with VC++ macro expansion for byte swapping Pin
Mark Salsbery9-Mar-07 12:29
Mark Salsbery9-Mar-07 12:29 
QuestionCPropertySheet notifications Pin
Byteman9-Mar-07 9:03
Byteman9-Mar-07 9:03 
AnswerRe: CPropertySheet notifications Pin
basementman9-Mar-07 10:00
basementman9-Mar-07 10:00 
Questioncrystal reports- setlogoninfo Pin
namratab9-Mar-07 7:28
namratab9-Mar-07 7:28 
hello,
I am building an application in VC 6wherein when the user clicks ona particular button, a query is fired to SQL SErver 2000 database and a report (crystal reports 8.5) is generated based on the data retrieved. I am having multiple clients which connect to the SQL server remotely. so while retrieving, i will need to specify the IP of the machine where the DB is stored.

I have heard of a function callled SetLogonInfo which allows a user to change the databse name on the fly. But when I add an Active X control to my app, the version of SetLogonInfo takes only 2 parameters...."void SetLogonInfo(short index, LPCTSTR lpszNewValue); ...instead of 4 which i have seen in most standard implementations. Could you please give me more details regarding this function and how do I connect remotely for crystal reports? What is the code that i need to include in this function?

Awating Your Reply
Thank You
AnswerRe: crystal reports- setlogoninfo Pin
Vinod Sankaranarayanan9-Mar-07 19:44
Vinod Sankaranarayanan9-Mar-07 19:44 
QuestionProgram configuration at start Pin
SimplCodr9-Mar-07 6:58
SimplCodr9-Mar-07 6:58 
AnswerRe: Program configuration at start Pin
Joan M9-Mar-07 7:04
professionalJoan M9-Mar-07 7:04 
GeneralRe: Program configuration at start Pin
SimplCodr9-Mar-07 7:28
SimplCodr9-Mar-07 7:28 
GeneralRe: Program configuration at start Pin
David Crow9-Mar-07 8:01
David Crow9-Mar-07 8:01 
GeneralRe: Program configuration at start Pin
SimplCodr9-Mar-07 8:09
SimplCodr9-Mar-07 8:09 
GeneralRe: Program configuration at start Pin
David Crow9-Mar-07 8:32
David Crow9-Mar-07 8:32 
GeneralRe: Program configuration at start Pin
SimplCodr9-Mar-07 8:38
SimplCodr9-Mar-07 8:38 
GeneralRe: Program configuration at start Pin
Wes Aday9-Mar-07 10:26
professionalWes Aday9-Mar-07 10:26 
GeneralRe: Program configuration at start Pin
SimplCodr9-Mar-07 12:42
SimplCodr9-Mar-07 12:42 
GeneralRe: Program configuration at start Pin
Bram van Kampen9-Mar-07 14:18
Bram van Kampen9-Mar-07 14:18 
QuestionRe: Program configuration at start Pin
David Crow9-Mar-07 8:02
David Crow9-Mar-07 8:02 
AnswerRe: Program configuration at start Pin
Joan M9-Mar-07 8:12
professionalJoan M9-Mar-07 8:12 
GeneralRe: Program configuration at start Pin
Bram van Kampen9-Mar-07 14:17
Bram van Kampen9-Mar-07 14:17 
GeneralRe: Program configuration at start Pin
Joan M10-Mar-07 3:57
professionalJoan M10-Mar-07 3:57 
AnswerRe: Program configuration at start Pin
Nemanja Trifunovic9-Mar-07 9:14
Nemanja Trifunovic9-Mar-07 9:14 
GeneralRe: Program configuration at start Pin
SimplCodr9-Mar-07 12:52
SimplCodr9-Mar-07 12:52 

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.