Click here to Skip to main content
15,884,990 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Error during print Pin
CPallini10-Jul-10 0:45
mveCPallini10-Jul-10 0:45 
AnswerRe: Error during print Pin
ashtwin14-Jul-10 23:19
ashtwin14-Jul-10 23:19 
AnswerRe: Error during print Pin
ashtwin15-Jul-10 2:47
ashtwin15-Jul-10 2:47 
QuestionHow to save IHTMLELEMENT of Tag IMG Pin
voo doo129-Jul-10 20:47
voo doo129-Jul-10 20:47 
AnswerRe: How to save IHTMLELEMENT of Tag IMG Pin
shichangone9-Jul-10 21:49
shichangone9-Jul-10 21:49 
GeneralRe: How to save IHTMLELEMENT of Tag IMG Pin
voo doo1212-Jul-10 15:49
voo doo1212-Jul-10 15:49 
QuestionHow can put here Vertical Scrollbar and Infotip or Tooltip for Items and Subitems? [modified] Pin
Le@rner9-Jul-10 20:20
Le@rner9-Jul-10 20:20 
QuestionCannot open the Dalog(DataBase error) [modified] Pin
raju_shiva9-Jul-10 18:33
raju_shiva9-Jul-10 18:33 
Hi sir,
I am not able to open the dialog.

Its showing the error as.

"C:\DataBase\Sample.MDB" is not a valid path.Make sure that the path name is spelled correctly and that you are connected to the server on which the field resides.

void CMainView::OnAdminlist() 
{	
	AdminList.DoModal();  // I am getting error here
	
}


When i go into that function,i am getting error as
i.e \MFC\SRC\DLGCORE.cpp
TRY
	{
		// create modeless dialog
		AfxHookWindowCreate(this);
Brekpoint error--------->		if (CreateDlgIndirect(lpDialogTemplate,
						CWnd::FromHandle(hWndParent), hInst))
		{
			if (m_nFlags & WF_CONTINUEMODAL)
			{
				// enter modal loop
				DWORD dwFlags = MLF_SHOWONIDLE;
				if (GetStyle() & DS_NOIDLEMSG)
					dwFlags |= MLF_NOIDLEMSG;
				VERIFY(RunModalLoop(dwFlags) == m_nModalResult);
			}

			// hide the window before enabling the parent, etc.
			if (m_hWnd != NULL)
				SetWindowPos(NULL, 0, 0, 0, 0, SWP_HIDEWINDOW|
					SWP_NOSIZE|SWP_NOMOVE|SWP_NOACTIVATE|SWP_NOZORDER);
		}
	}
	CATCH_ALL(e)
	{
		DELETE_EXCEPTION(e);
		m_nModalResult = -1;
	}
	END_CATCH_ALL


Actually first the application was in MS-Access DatBase.I changed it to SQL.
Now i am not getting what is this error.

Note : nd one more thing is
If i am trying to open the application for the first time(If the DataBase which is created with MSAccess) name is changed
For ex: I rename the database from"DatBase" to "DataBase1"


I am getting the error message before opening the application.



>"C:\DataBase\Sample.MDB" is not a valid path.Make sure that the path name is spelled correctly and that you are connected to the server on which the field resides.


If i dnt change the DataBase name i am not getting this error message when i open the application
Where may be the problem
Any idea will be helpful

Thanks
Raj

modified on Saturday, July 10, 2010 12:43 AM

AnswerRe: Cannot open the Dalog(DataBase error) Pin
Richard MacCutchan10-Jul-10 0:39
mveRichard MacCutchan10-Jul-10 0:39 
Questionunreadable text on Grid Control Pin
Max++9-Jul-10 14:54
Max++9-Jul-10 14:54 
AnswerRe: unreadable text on Grid Control Pin
Garth J Lancaster9-Jul-10 19:22
professionalGarth J Lancaster9-Jul-10 19:22 
QuestionWin32 + Direct2D Pin
Fareed Rizkalla9-Jul-10 14:33
Fareed Rizkalla9-Jul-10 14:33 
AnswerRe: Win32 + Direct2D Pin
Cedric Moonen9-Jul-10 22:02
Cedric Moonen9-Jul-10 22:02 
QuestionError in building QuickFix library in Exceptions.h Pin
arupsarkar9-Jul-10 8:54
arupsarkar9-Jul-10 8:54 
AnswerRe: Error in building QuickFix library in Exceptions.h Pin
David Crow9-Jul-10 9:04
David Crow9-Jul-10 9:04 
AnswerRe: Error in building QuickFix library in Exceptions.h Pin
Aescleal9-Jul-10 10:13
Aescleal9-Jul-10 10:13 
GeneralRe: Error in building QuickFix library in Exceptions.h Pin
arupsarkar16-Jul-10 6:46
arupsarkar16-Jul-10 6:46 
Questionerror C2440: 'static_cast' : cannot convert from 'LRESULT (__thiscall ................... Pin
deadlyabbas9-Jul-10 5:23
deadlyabbas9-Jul-10 5:23 
QuestionRe: error C2440: 'static_cast' : cannot convert from 'LRESULT (__thiscall ................... Pin
David Crow9-Jul-10 5:50
David Crow9-Jul-10 5:50 
AnswerRe: error C2440: 'static_cast' : cannot convert from 'LRESULT (__thiscall ................... Pin
Stuart Dootson11-Jul-10 0:46
professionalStuart Dootson11-Jul-10 0:46 
QuestionMFC crash occurs on DLL during language translation in string table entries Pin
Thirumalesh.U8-Jul-10 23:40
Thirumalesh.U8-Jul-10 23:40 
QuestionRun-time Error while word 2010 Automation, "A null reference pointer was passed to the stub." [modified] Pin
m_code8-Jul-10 23:04
m_code8-Jul-10 23:04 
AnswerRe: Runtime Error while word 2010 Automation, "A null refrence pointer was passed to the stub." Pin
Niklas L9-Jul-10 1:42
Niklas L9-Jul-10 1:42 
GeneralRe: Runtime Error while word 2010 Automation, "A null refrence pointer was passed to the stub." Pin
m_code9-Jul-10 2:07
m_code9-Jul-10 2:07 
GeneralRe: Runtime Error while word 2010 Automation, "A null refrence pointer was passed to the stub." Pin
Niklas L9-Jul-10 2:24
Niklas L9-Jul-10 2:24 

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.