Click here to Skip to main content
15,895,740 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionTo Fill DataSource of my ComBobox with Paper Orientation Enumeration Pin
mikobi2-Sep-08 19:52
mikobi2-Sep-08 19:52 
QuestionRAR compression Pin
dSolariuM29-Aug-08 19:38
dSolariuM29-Aug-08 19:38 
AnswerRe: RAR compression Pin
Paul Conrad30-Aug-08 8:05
professionalPaul Conrad30-Aug-08 8:05 
QuestionUpgrading vc 2003 project to vc 2008 Pin
Robin Imrie28-Aug-08 22:24
professionalRobin Imrie28-Aug-08 22:24 
AnswerRe: Upgrading vc 2003 project to vc 2008 Pin
Mark Salsbery29-Aug-08 9:19
Mark Salsbery29-Aug-08 9:19 
Questioncliext::list strange behavior Pin
ian__lindsay27-Aug-08 3:32
ian__lindsay27-Aug-08 3:32 
AnswerRe: cliext::list strange behavior [modified] Pin
George L. Jackson28-Aug-08 9:22
George L. Jackson28-Aug-08 9:22 
QuestionPlease check code update sqlserver with VC++6.0 Pin
aa_zz25-Aug-08 15:17
aa_zz25-Aug-08 15:17 
I am connecting Sqlserver2000 with VC++6.0(MFC) and ERROR when update information. please help me. thanks very much

----------------------------------------------------
void CReadDBDlg::OnRead()
{
// TODO: Add your control notification handler code here
CDatabase database;
CString SqlString;
CString sCatID, sCategory;
CString sDriver = "SQL Server";
CString sDsn;
CString sFile = "nhanvien_DATA.mdf";
int iRec = 0;

sDsn.Format("Driver={SQL Server};Server={EZITWK115};" "Trusted_Connection=no;""Database=NHANVIEN;Uid=sa;Pwd=sa;");
TRY
{
// Open the database
database.Open(NULL,FALSE,FALSE,sDsn,TRUE);

// Allocate the recordset
CRecordset recset( &database );



CString SS2 = "UPDATE nhan_vien SET hoten = 'nU' WHERE manv = '002' ";

//Execute query ====>> This is ERROR !!!
recset.Open(CRecordset::forwardOnly,
"{CALL " + SS2 + "}", CRecordset::executeDirect);


// Close the database
database.Close();
}
CATCH(CDBException, e)
{
// If a database exception occured, show error msg
AfxMessageBox("Database error: "+e->m_strError);
}
END_CATCH;
}
-------------
AnswerRe: Please check code update sqlserver with VC++6.0 Pin
Mark Salsbery26-Aug-08 5:56
Mark Salsbery26-Aug-08 5:56 
QuestionHow to load/use COM dll written in VS6 from VC++ .NET 2005 Pin
amalhotr25-Aug-08 10:03
amalhotr25-Aug-08 10:03 
QuestionRe: How to load/use COM dll written in VS6 from VC++ .NET 2005 Pin
led mike26-Aug-08 6:56
led mike26-Aug-08 6:56 
AnswerRe: How to load/use COM dll written in VS6 from VC++ .NET 2005 Pin
amalhotr26-Aug-08 7:37
amalhotr26-Aug-08 7:37 
QuestionPlease Guide I Update Sql2000 in VC++6.0 !!! Pin
aa_zz24-Aug-08 18:18
aa_zz24-Aug-08 18:18 
QuestionMultiple forms but with MDIParent container [modified] Pin
C# Beginner Nick24-Aug-08 16:56
C# Beginner Nick24-Aug-08 16:56 
AnswerRe: Multiple forms but with MDIParent container Pin
LionAM28-Aug-08 0:36
LionAM28-Aug-08 0:36 
QuestionMultiple Forms Pin
Polar_Sheep23-Aug-08 3:58
Polar_Sheep23-Aug-08 3:58 
AnswerRe: Multiple Forms Pin
teejayem23-Aug-08 4:50
teejayem23-Aug-08 4:50 
QuestionRe: Multiple Forms Pin
Polar_Sheep23-Aug-08 10:48
Polar_Sheep23-Aug-08 10:48 
AnswerRe: Multiple Forms Pin
dybs23-Aug-08 11:40
dybs23-Aug-08 11:40 
AnswerRe: Multiple Forms Pin
teejayem23-Aug-08 12:25
teejayem23-Aug-08 12:25 
QuestionRe: Multiple Forms Pin
Polar_Sheep23-Aug-08 18:13
Polar_Sheep23-Aug-08 18:13 
AnswerRe: Multiple Forms Pin
teejayem23-Aug-08 18:25
teejayem23-Aug-08 18:25 
NewsRe: Multiple Forms [modified] Pin
Polar_Sheep23-Aug-08 19:28
Polar_Sheep23-Aug-08 19:28 
QuestionOpenFileDialog example Pin
bkelly1322-Aug-08 14:03
bkelly1322-Aug-08 14:03 
AnswerRe: OpenFileDialog example Pin
teejayem22-Aug-08 15:43
teejayem22-Aug-08 15:43 

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.