Click here to Skip to main content
15,914,013 members
Home / Discussions / Mobile
   

Mobile

 
QuestionUse of STUtil class in embedded apps? Pin
Mark Findlay11-Nov-03 14:49
Mark Findlay11-Nov-03 14:49 
QuestionHelp!!!---ATL COM Full Control can't cooperate with MFC? Pin
Dev-xiang10-Nov-03 5:28
Dev-xiang10-Nov-03 5:28 
GeneralLinker error for ConvertStringToBSTR() Pin
nigs_krec9-Nov-03 22:49
nigs_krec9-Nov-03 22:49 
GeneralRe: Linker error for ConvertStringToBSTR() Pin
João Paulo Figueira12-Nov-03 2:51
professionalJoão Paulo Figueira12-Nov-03 2:51 
QuestionCan I Link a checkbox to a TextBox? Pin
woaksie7-Nov-03 13:13
woaksie7-Nov-03 13:13 
GeneralEnabling bluetooth Internet bridge via LAN Access Pin
Moo2437-Nov-03 7:27
Moo2437-Nov-03 7:27 
GeneralProblem with _Connection::Open() ! Pin
nigs_krec7-Nov-03 1:54
nigs_krec7-Nov-03 1:54 
GeneralRe: Problem with _Connection::Open() ! Pin
João Paulo Figueira7-Nov-03 2:30
professionalJoão Paulo Figueira7-Nov-03 2:30 
From the adoce31.tlh file (generated using the #import directive, we can read the method prototype as:

HRESULT Open (
    _bstr_t ConnectionString,
    _bstr_t UserID,
    _bstr_t Password,
    long Options );


All parameters are optional. The ConnectionString parameter states the connection string(that can be optionally set via PutConnectionString) has a very specific format. For "Pocket Access" databases, use Data Source=\\FolderName\\DbName.cdb. Top open SQL CE databases, use:
_Connection::PutProvider(_T("Microsoft.SQLSERVER.OLEDB.CE.2.0"));
_Connection::Open(_T("Data Source=\\FolderName\\DbName.cdb"));


You can optionally do everything in one step:

Open(_T("Provider=Microsoft.SQLSERVER.OLEDB.CE.2.0;Data Source=\\FolderName\\DbName.cdb"));


Regards,
João Paulo
GeneralRe: Problem with _Connection::Open() ! Pin
nigs_krec7-Nov-03 2:53
nigs_krec7-Nov-03 2:53 
GeneralRe: Problem with _Connection::Open() ! Pin
João Paulo Figueira7-Nov-03 2:58
professionalJoão Paulo Figueira7-Nov-03 2:58 
GeneralRe: Problem with _Connection::Open() ! Pin
nigs_krec7-Nov-03 3:13
nigs_krec7-Nov-03 3:13 
GeneralRe: Problem with _Connection::Open() ! Pin
João Paulo Figueira7-Nov-03 3:19
professionalJoão Paulo Figueira7-Nov-03 3:19 
GeneralRe: Problem with _Connection::Open() ! Pin
nigs_krec7-Nov-03 3:48
nigs_krec7-Nov-03 3:48 
GeneralHelp with linker error for "vtMissing" !! Pin
nigs_krec6-Nov-03 0:05
nigs_krec6-Nov-03 0:05 
GeneralRe: Help with linker error for "vtMissing" !! Pin
nigs_krec6-Nov-03 0:12
nigs_krec6-Nov-03 0:12 
GeneralLinker error in eVC Pin
Jinoj5-Nov-03 17:55
Jinoj5-Nov-03 17:55 
GeneralRe: Linker error in eVC Pin
João Paulo Figueira5-Nov-03 22:43
professionalJoão Paulo Figueira5-Nov-03 22:43 
QuestionHow to make a wizard for embeded vc4?? Pin
fftongzhi5-Nov-03 15:46
fftongzhi5-Nov-03 15:46 
QuestionModeless Dialogs ??? Pin
#realJSOP5-Nov-03 6:37
professional#realJSOP5-Nov-03 6:37 
QuestionHow to synchronise from PocketPC to a SQL server ? Pin
nigs_krec5-Nov-03 3:12
nigs_krec5-Nov-03 3:12 
GeneralPalmOS Compiling using prc-tools gcc Pin
StalfoS4-Nov-03 23:15
StalfoS4-Nov-03 23:15 
GeneralDialog Error Pin
VanHlebar4-Nov-03 15:24
VanHlebar4-Nov-03 15:24 
GeneralRe: Dialog Error Pin
Daniel Strigl4-Nov-03 19:12
Daniel Strigl4-Nov-03 19:12 
GeneralDocumentation Pin
VanHlebar4-Nov-03 9:27
VanHlebar4-Nov-03 9:27 
Generalbattery level notification Pin
ibiteu24-Nov-03 5:38
ibiteu24-Nov-03 5:38 

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.