Click here to Skip to main content
15,904,817 members

Comments by savita_Bgm (Top 8 by date)

savita_Bgm 16-Mar-11 2:09am View    
http://forums.asp.net/t/1400134.aspx please go through this, this is exactly same as my problem
savita_Bgm 16-Mar-11 0:33am View    
getting error for this line
std::ifstream file("myfile.xsd", std::ios::in|std::ios::binary|std::ios::ate);
savita_Bgm 2-Mar-11 0:43am View    
not able to open this website.
savita_Bgm 2-Mar-11 0:42am View    
ok thank you i m new for this website i don't know many things still now in this website.
savita_Bgm 25-Feb-11 3:33am View    
HI

this code for the Second View Class

<pre lang="cs">#include "stdafx.h"

#include "SecondView.h"
#include "ComputerDoc.h"
#include <afxwin.h>
#include <afxcview.h>


// CSecondView

IMPLEMENT_DYNCREATE(CSecondView, CFormView)

CSecondView::CSecondView()
: CFormView(CSecondView::IDD)
{

}

CSecondView::~CSecondView()
{
}

void CSecondView::DoDataExchange(CDataExchange* pDX)
{
CFormView::DoDataExchange(pDX);
}

BEGIN_MESSAGE_MAP(CSecondView, CFormView)
ON_BN_CLICKED(IDC_Browse_File, &CSecondView::OnBnClickedBrowsefile)
END_MESSAGE_MAP()


BOOL CSecondView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs

return CFormView::PreCreateWindow(cs);
}

void CSecondView::OnInitialUpdate()
{
CFormView::OnInitialUpdate();
GetParentFrame()->RecalcLayout();
ResizeParentToFit();

}



// CSecondView diagnostics

#ifdef _DEBUG
void CSecondView::AssertValid() const
{
CFormView::AssertValid();
}

CComputerDoc* CSecondView::GetDocument() const // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CComputerDoc)));
return (CComputerDoc*)m_pDocument;

}

#ifndef _WIN32_WCE
void CSecondView::Dump(CDumpContext& dc) const
{
CFormView::Dump(dc);
}
#endif
#endif //_DEBUG


// CSecondView message handlers

void CSecondView::OnBnClickedBrowsefile()
{
// TODO: Add your control notification handler code here
}
</pre>

please check it.