Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDynamically change SAPI grammar file Pin
clmckinley11-Jul-03 10:30
clmckinley11-Jul-03 10:30 
General:-D VST hosting Pin
Mad Docs Hairy Belly11-Jul-03 10:06
Mad Docs Hairy Belly11-Jul-03 10:06 
QuestionLimiting display of decimal places? Pin
cbruno11-Jul-03 9:44
cbruno11-Jul-03 9:44 
AnswerRe: Limiting display of decimal places? Pin
Mike Dimmick11-Jul-03 9:56
Mike Dimmick11-Jul-03 9:56 
AnswerRe: Limiting display of decimal places? Pin
David Crow11-Jul-03 10:34
David Crow11-Jul-03 10:34 
GeneralCustomizing CColorDialog Pin
mcguile25711-Jul-03 9:21
mcguile25711-Jul-03 9:21 
GeneralStrange Behaviour of GetAdaptersInfo() Pin
Hashim Saleem11-Jul-03 9:01
Hashim Saleem11-Jul-03 9:01 
GeneralProblem accessing remote datasource Pin
Terry O'Nolley11-Jul-03 7:51
Terry O'Nolley11-Jul-03 7:51 
Hi All,

I am using VC++ 6.0 on a client running Win98.
I need to access a datasource on a webserver running NT 4.0.
The remote database is Access97.
The remote datasource is already set up as a System DSN via ODBC.
The remote datasource is not accessible via a LAN - it must be accessed by domain name or IP address.

I have searced the CDAO documentation but can't determine how to connect to a remote datasource via tcp/ip

Can anyone help with this?

My goal is to populate a combo box with a query from this remote datasource.

I tried ActiveX controls, but the intricacies of creating wrapper classes is beyond me at this time.
It would be faster for me to rewrite the entire project in Visual Basic just so I can use an ActiveX control but I really want to do this in C++.

Does anyone know of perhaps a pre-built class I can drop into my project?

My workaround at this time involves calling a Cold Fusion page on the server and parsing the returned text into the combobox. Very ugly.

Thanks!!!

EDIT
====

Thanks anyways! I cut the Gordian knot and just ported the Access DB over to a MySQL DB and I can connect with a standard ODBC string Wink | ;)


Questionwhat function will convert a char to its number value Pin
johnstonsk11-Jul-03 7:39
johnstonsk11-Jul-03 7:39 
AnswerRe: what function will convert a char to its number value Pin
John M. Drescher11-Jul-03 7:43
John M. Drescher11-Jul-03 7:43 
GeneralRe: what function will convert a char to its number value Pin
johnstonsk11-Jul-03 7:56
johnstonsk11-Jul-03 7:56 
GeneralRe: what function will convert a char to its number value Pin
John M. Drescher11-Jul-03 7:59
John M. Drescher11-Jul-03 7:59 
AnswerRe: what function will convert a char to its number value Pin
Shay Harel11-Jul-03 7:45
Shay Harel11-Jul-03 7:45 
GeneralRe: what function will convert a char to its number value Pin
johnstonsk11-Jul-03 7:54
johnstonsk11-Jul-03 7:54 
GeneralRe: what function will convert a char to its number value Pin
John M. Drescher11-Jul-03 7:56
John M. Drescher11-Jul-03 7:56 
GeneralRe: what function will convert a char to its number value Pin
johnstonsk11-Jul-03 7:59
johnstonsk11-Jul-03 7:59 
GeneralRe: what function will convert a char to its number value Pin
John M. Drescher11-Jul-03 8:02
John M. Drescher11-Jul-03 8:02 
AnswerRe: what function will convert a char to its number value Pin
John R. Shaw11-Jul-03 9:21
John R. Shaw11-Jul-03 9:21 
AnswerRe: what function will convert a char to its number value Pin
Terry O'Nolley11-Jul-03 9:27
Terry O'Nolley11-Jul-03 9:27 
GeneralRe: Whoops Pin
John R. Shaw11-Jul-03 10:15
John R. Shaw11-Jul-03 10:15 
GeneralRe: Whoops Pin
Terry O'Nolley12-Jul-03 3:58
Terry O'Nolley12-Jul-03 3:58 
GeneralRe: what function will convert a char to its number value Pin
johnstonsk11-Jul-03 10:26
johnstonsk11-Jul-03 10:26 
GeneralRe: what function will convert a char to its number value Pin
John R. Shaw14-Jul-03 7:23
John R. Shaw14-Jul-03 7:23 
AnswerRe: what function will convert a char to its number value Pin
Mike Dimmick11-Jul-03 9:47
Mike Dimmick11-Jul-03 9:47 
GeneralRe: what function will convert a char to its number value Pin
Daniel Turini11-Jul-03 10:15
Daniel Turini11-Jul-03 10:15 

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.