I all, I developped an application that use cmschart to draw some chart. on my pc it's work fine (I have,of corse, ms visual studio installed) I try to install my application on a win xp home pc. I registred my ocx using regsvr32.exe but when I run my application I receive an error: winocc.cpp line 345. there are some dll that I forget? Anyone could help me!? Thanx.
XAlien
Posts
-
MSCHRT20.OCX winocc.cpp line 345 -
Open CView from CMainFramehi, all I'm into CMainFrame, using menu I how want to open a CScrollView... how!? thanks
-
Print from clipboard/print bitmaphi all, I have an image saved into clipboard, it is possible to print it? how? If I save the file how to print it? tks!
-
From Access97 to Access2000Hi all, "I have inherited" from a my colleague a VisualBasic6 application that uses an Access97 database with Jet(I suppose). In the code I found hte following string "Provider=MSDataShape.1;Persist Security Info=False;Connect Timeout=15;Data Source=" & JCR_DB & ";Data Provider=MICROSOFT.JET.OLEDB.4.0" Now I would to use Access2000 but, when I try to connect it I receive an message error: "incompatible format"... I think that I have to change the Project->References using a new OCX (?!) but how? Anyone could help me? Excuse me if I have described the problem in little detailed way but I don't know VB programming. ...and sorry for my english! Ciao!
-
ViewScroll + Win XPHi all, I have a strange problem: my application end in error when I refresh a scroll view under XP. The error is an ASSERT at line 354 on VIEWSCRL.CPP (the vaule of x position is < 0). If I restore the old graphical interface (like win 98) all is OK. Anyone know what appens?! Thanks a lot.
-
Retrieve "Data traffic"But is not possible retrieve information about traffic using function like Ping?! I try to create a program like a sniffer but I don't want to retrieve data but only the quantity of data that transit on a IP address, only the traffic.
-
ListBox controlsIf you are in a dialog based project just add the control ListBox, create the global variable associted and use it.
-
ListBox controlsFor add a string into ListBox try: ListBox.InsertItem(0,"you string"); If you want scan a directory, find files and add this in the ListBox: CFileFind finder; BOOL bWorking; CString fullpath; strPath = strPath + "*.*"; bWorking = finder.FindFile(strPath); while (bWorking) { bWorking = finder.FindNextFile(); if ( !finder.IsDirectory()) { CTime FileTime; CString strFileName,strFileTime; strFileName = fullpath+finder.GetFileName(); finder.GetLastWriteTime(FileTime); strFileTime = FileTime.Format("%Y/%m/%d %H.%M"); SHFILEINFO shinfo; SHGetFileInfo( strFileName, 0, &shinfo, sizeof( shinfo ), SHGFI_ICON | SHGFI_SMALLICON ); int j = InsertItem(0,finder.GetFileName()); SetItemText (j,1,strFileTime); //2nd column } } //end while
-
Retrieve "Data traffic"Hi all, I searching the code for retrieve the data traffic of a computer(of a local network) using IP address, anyone could help me?! I find the code for retieve computer name and ip address and now i would retrieve the traffic. Thanks and sorry for may terrible english. Ciao!
-
User Breakpoint called from codeIf I try to debug my application the error doesn't occurs!
-
User Breakpoint called from codeHi all, running my application under debug sometimes I receive this message "User Breakpoint called from code at 0x77f9f9df". When I run the application without debug the message is "...unknown software exception (0x0000003) in application at 0x77f9f9df". The same error occurs when I press F12 running my application under debug. My environment is Win2000. Anyone know what it means, there is a solution?! Helpme please! thanks and sorry for my poor english.:confused:
-
Dialog based applicationHi all, how to create a main application and with a menu command open inside this main applicationa one or more dialog (but not called with a DoModal())?! Thanks!:confused:
-
.ini pathAnyone know how retrieve the path of an .ini file of an application? GetProfileString retrieve only the ini file name, I would the path! Grazie!:confused:
-
How move a CListCtrl item?!Hi all, I have a CListCtrl that contains some only-text item, I want to move(pressing a button) the selected item up/down in the list but how? I have to use "SetItemPosition"? There wasn't a method to move the item of only one position? Help me please, and sorry for my english! Thanks.:-O
-
How copy and paste a bmp?Hi all, anyone know how copy and paste a .bmp image? Thanx.:confused:
-
Handle Excel sheet from C++ programHi all, anyone know how to control an Excel sheet (if it is possible), create cells, create table, color it and similar... thanks a lot.:)
-
Main Dialog & TabPagehi, anyone know how transfer datas from the Main Dialog to a TabPage?:confused:
-
Radio controls!!Hi, to set a radiocontrol checked: m_RadioName.SetCheck(1); value 1 = checked value 0 = unchecked if you want to test the status: if (m_RadioName.GetCheck()==1){...}
-
Error when INSERT in Excel dbHi all, I have a strange problem, I have inserted a lot of row in a sheet excel using sql statement "INSERT INTO tabname (A,B) VALUES ('xxx','yyy')" and all is ok. then I open the excel file and copy and paste some row, from this moment the INSERT statement don't work! It send me a message: "impossibile espandere l'intervallo denominato" in italian, in english I think "impossible expand named interval"... Anyone know why? I'm sorry for my english...:-O