|
hi
i build a setup programe for my vc++ application useing Inno programe and vcredist.exe after i extracted and also add MFC42D.DLL file from C:\\WINDOWS\system32 (XP)
when i install the program in my computer (Win XP) at home no VS installed their it work but when i tried to installed
at the computer in my company (Win 2000,Network)
it give me an error message that MFC42D.DLL cannout be found their!!!!!!!!
so why that happend ?
and how i can fixe it?
|
|
|
|
|
At home you must have installed Visual Studio, so the necessary files had come along with the VS and your application.
Incase of office installation that machine had no VS installed hence could not find the necessary files.
You should build ur app in Release mode to solve the problem.
If you had build the app in release mode and still the problem persisted, check while building you got a warning as ... use /NODEFAULTLIB:libname
if yes add the following line in the link tab of the project setting
/NODEFAULTLIB:mfc42d.lib in project setting at the bottom.
add for all the lib that is giveing conflict warning.
This should solve your problem,
Still Alive!!!
Thank you God.
|
|
|
|
|
hey "Mr.Prakash",
Are you a looser ???
if you want to be well seen on that discuss chan, you'd better stop to vote as an anonymous person for your own articles...
thx in advance
TOXCCT alias Nicolas C.
|
|
|
|
|
toxcct wrote:
Are you a looser
May be may be not, but surely I know that you dont know what u are talking about.;P
toxcct wrote:
you'd better stop to vote as an anonymous person for your own articles...
I did not vote myself as anonymous, i dont go that great extend to get vote 5 message which personnaly does not affect me.
And plus for your kind information you cant vote as anonymous;P
Just give a thought to it.
I have lost more blood shaving than on the battlefield - Adolf Hitler
|
|
|
|
|
i installed on second computer at home where no vs files their and about the relese mode i rebuild my project(batch build) in release mode and include the relese folder files to the project
i added the missing files manually then it works
Note: no of errors and warning is 0
|
|
|
|
|
hi all,
I am reposting the question, How do i enable/disable the menu items like File->Open ,File->Save As in Internet Explorer and other menus items.
Here is what i am going
-Get handle to IE Window
-Find the WorkerW Window
-Get the RebarWindowHandle
-Get the Toolbarwindow32 handle
After spying the IE window I come to know that MenuBars in IE window is hosted by window with a class name "ToolbarWindow32".
The problem is spy shows three ToolBarWindow32 windows all of them having the same parent window i.e "RebarWindow32".
1.How do i identify the window which host Menubars.
2.After getting the window handle is it possible to send the windows messages to the menu.
3. Is there any way of doing things in better way.
Can somebody help.
Thanks in Advance
Abhi
|
|
|
|
|
IE employs rebar to that extend that even the menubar is also a rebar.
Still Alive!!!
Thank you God.
|
|
|
|
|
i'm making a program to read data from file and display it. i tried to insert the activeX control "microsoft datagrid control 6.0" to display data. but how do i access each cell of grid to assign member variable to update data onto the grid? or what address of each cell?
|
|
|
|
|
catngo wrote:
i tried to insert the activeX control "microsoft datagrid control 6.0"
You mean the Microsoft FlexGrid Control?
If yes, you can set text into a cell using the SetTextArray(long index, LPCTSTR lpszNewValue) funtion.
Cell index start from 0 and it goes from left to rigt (and then to the next line).
Hope this helps.
|
|
|
|
|
no, it said Microsoft Datagrid Control 6.0 . but i also see Flexgrid in the chooses. any grid will work, i'll try insert the flexgrid and see how it work. thank you.
|
|
|
|
|
sorry, i'm a noob here. can you be more detail on this? okay, let say i want "mom" in cell B2. how the code goes?
|
|
|
|
|
Ok. In quick, here is a picture of the indexes of the cells (for a 3X3 grid):
Col A Col B Col C
Row0 0 1 2
Row1 3 4 5
Row2 6 7 8
So, if you want to put "mom" in cell B2, you'll have to write:
m_Grid.SetTextArray(6,"mom");
6 is given by: RowIndex * Number of column + ColIndex
(In your case: RowIndex=2, ColIndex=0)
|
|
|
|
|
Okay, this what i use:
CMSFlexGrid FlexGrid;
FlexGrid.SetTextArray(2,"mom");
got an "assertion failed" error.
|
|
|
|
|
got it, thank you much. i was trying to access the class function instead of variable member control. that how i got the error msg, it work now.
|
|
|
|
|
One last question, is there anyway to print the grid with data out just like excel?
|
|
|
|
|
In which format sends Word the images to the clipboard? Because in clipboard when I choose Dispaly the only options available are Auto and Picture.
Thanks,
Adriana
|
|
|
|
|
I would be inclined to copy something from Word, and then call EnumClipboardFormats() to figure out what formats were currently on the clipboard.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
OK, but I want to copy pictures from Word.
|
|
|
|
|
While in Word, right-click the picture and select Copy from the context menu.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
Yes, I know this, but I cannot copy the image in my rtf editor which is a dialog box based app.
|
|
|
|
|
|
I have a program which load the child dialog first as in LOGIN screen. then, transfer user info to the main program. the problem is if user decide not to login and press the cancel button, the child dialog will exit but still load the main program. what function do i put in the cancel button to terminate the program? i tried to use DestroyWindow(), it will exit program but also give application error. any help?
|
|
|
|
|
Use PostQuitMessage .
Robert-Antonio
"A flower walked around a meadow. She saw a beatiful human and plucked off his head."
|
|
|
|
|
Thank you much! btw, the main program shadow still flash before exit. any idea to fix this?
|
|
|
|
|
What type of application are you using ? SDI/Dialog based ... ?
In the case of the SDI application, you can show the child dialog in the OnNewDocument function and if the user selected cancel, return FALSE in this function. This will not load the document and will exit automatically the program.
|
|
|
|