15,904,817 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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.
savita_Bgm
22-Feb-11 23:00pm
View
Hi
Thanks for Suggestion But again it is showing the same error and if click on retry Button it's entering into endless loop. But when i put the same view name in the second line also it is running properly.
savita_Bgm
15-Feb-11 0:38am
View
Thanks, I got it.
savita_Bgm
11-Feb-11 1:26am
View
But in my application the GeselectedItem() is not taking current selected item, it is taking previos selected item
Show More