Hi friends, What is maximum size of data we can write to port & read from port? Is there any limit to it?
Reagards Shiva
Hi friends, What is maximum size of data we can write to port & read from port? Is there any limit to it?
Reagards Shiva
Hi, I want to write a some data, as well read it from USB port. I am able to write the data, But unable to read it. Even the SerialDataReceivedEventHandler is not firing an event. I am getting TimeOut exception. Please help me to solve the problem.
Reagards Shiva
Hi friends, I am using VFW to display the video stream in my application. I want to connect two or more than two cameras and same no of display windows. I want to select a camera to display in particular window. So is there any way to find the camera name so that i choose from a list. So help me in this issue.
Reagards Shiva
Hi Friends, I have developed 3 MFC dll's. I am calling those in SDI application. I am using create fn to create the dialogs of dll. I placed the create code in initinstance of SDI app. The problem is strange...!! Only 2 of 3 get created other will throw an exception. I traced the code it hits at // separately create OLE controls in the dialog template if (pOccManager != NULL) { if (!SetOccDialogInfo(&occDialogInfo)) return FALSE; lpDialogTemplate = pOccManager->PreCreateDialog(&occDialogInfo, lpDialogTemplate); } (The error line is made bold) But same works with my other SDI app.Its only problem in main module.which is developed by other person(He modified the SDI to navigate to different views). Please help me to get out of this problem.....
Reagards Shiva
Hi, I am reading the jpeg image and writing the data to the text file(as binary). I want to reconstruct the jpeg image (like BMP) using the data written in text file. And I want to display it on dialog. Is it possible..?? If Yes let me know the procedure. Thanx in advance.
Reagards Shiva
How to convert GUID string of { 04C99667-DFF4-489F-92C5-5EFE5D18DDD5 } to { 0x00,0x7B,0x00,0x30,0x00,0x34,0x00,0x39,0x00,0x39,........}. Please help me.
Reagards Shiva
As i said earlier it wont paint the dialog.
Reagards Shiva
ya..
Reagards Shiva
I tried it.It wont paint the dialog.
Reagards Shiva
I traced it.Its crashing in following code. BOOL CWnd::CreateDlgIndirect(LPCDLGTEMPLATE lpDialogTemplate, CWnd* pParentWnd, HINSTANCE hInst) { ASSERT(lpDialogTemplate != NULL); if (pParentWnd != NULL) ASSERT_VALID(pParentWnd); . . . . . hWnd = ::CreateDialogIndirect(hInst, lpDialogTemplate, (CRASH)-----> pParentWnd->GetSafeHwnd(), AfxDlgProc);
Reagards Shiva
Ya..
Reagards Shiva
m_DlgClr.CreateSolidBrush(RGB(97,129,175)); I am creating it in OnInitDialog(). and in OnCtlColor(,,) HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); if(nCtlColor == CTLCOLOR_DLG) return m_DlgClr; return hbr;
Reagards Shiva
Hi Friends, I am creating the dialog in my application. in that using CreateSolidBrush() to paint the dialog. But CreateDialog() is throwing an exception(wingdi.cpp).If i comment CreateSolidBrush()it works fine. what could be the problem?
Reagards Shiva
I provided the right name.Here is the my code: SmtpMail.SmtpServer = "smtp.gmail.com"; msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate","1"); msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", textBox1.Text); // User name msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", textBox2.Text); // Password msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport","465"); msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl","true");
Reagards Shiva
Hi Friends, I developed a mail application in C#.Net. I am using gmail account to send the mail. Its working fine in my system,But not on other (of same config). Its throwing an exception "The SMTP server name is required, and was not found in the configuration source". Please help me.
Reagards Shiva
Hi Friends, I am using .NET component in VC 6.0 MFC application. I created tlb file for .NET using RegAsm.exe and importing it in my MFC application. (I referred this link http://support.microsoft.com/kb/828736). Its working fine in my system.But the problem is it wont work on other systems. I installed VC++ 6.0 & VS 2005 (.Net Framework)both on my system. But other systems are only installed with VC++ 6.0. Is it necessary to install .Net framework, If yes what all to install, which version? Please help me..
Reagards Shiva
Hi, I have developed an application in C#.Net, where Im converting Html file to word. I have two images embedded in html file.The converted word file shows the images also. But if delete the images from the disk (path), the images will not be displayed in word file.Please provide solution for this ??
Reagards Shiva
Thats gr8.These r good one. Thanx.
Reagards Shiva
Hi All, Given a data I want to write a pdf file. Is it possible to do it using MFC..???
Reagards Shiva
I am using Visual Studio VC++ 6.0. But that artical is specific to Visual Studio 2005..!!
Reagards Shiva