|
And me as of the last couple of days, so that makes four
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Hello,
I created with Visual C++ 2003 - a Beta 2 Version - an dialog based application. I inserted a menu in the Resourccen view.
In VC6 I clicked onto the Dialog, said in proberties dialog "IDR_MENU1". That's all. But here in VC NET how can I connect these both (dialog & menu) ? Because if I run the App I don't see anything.
Thank You for help!
|
|
|
|
|
|
Hello,
I use Vc NET 2003. The way you described is the way by using VC6.0. I already know it. But in VC NET there is no Property of the dialog where I set to the menu ID...
|
|
|
|
|
sure there is one, but it simply have not the same look... it is a docked tabed window, in which the proterties are exposed as an array...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
Yes, right, there is the property window with 6 small buttons and a combobox. In the combobox I select the IDD_MyDlG (Dialog). The 6 small button with names "kategory", "alphabet", "properties", "Messages", "Control-Events", "PropertiesSites"
Only the button "Messages" is enabled, the others are not enabled. If I click the button "Messages" I see a list of:
"WM_ACTIVATE"
"..."
"..."
That's all. I think because of the BETA VERSION of VC NET the game is over here for me?
|
|
|
|
|
|
Yes I did. Which other properties did you mean? The list of the "Messages" is very long:
"WM_ACTIVATE"
...
...
...
"WN_WINDOWSPOSCHANGING"
"WM_INICHANGE"
|
|
|
|
|
the windows messages are not what you must look for...
open the dialog box in design editor, then select the dialog, right-click on it, choose Properties, then you should have a property called Menu...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
Yes, I did it. But nothing with "menu". I think the Beta Version doesn't have it!
Or this is the bug, therefor it is a BETA.
|
|
|
|
|
Thank you for help!
I think I 'll better go back to DevC++ go on console
To much bugs in this IDE! It's just aborted...
|
|
|
|
|
can't you get a release version of the IDE ?
it's been 3 years that is released, and now, Visual Studio 2005 is released too !!!
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
|
Hello,
the Version is Visual Studio.Net 7.0.9254 (Beta 2). I got it in 2003.
What do you mean with "you could always add the meny at runtime (in OnInitDialog())... "?
-- modified at 15:42 Tuesday 24th January, 2006
Oh, sorry you are right because of the old release. I wanted to try this old release (3 CDs), because I already have it here, cannot download the trial 2005 (too big) from the internet. I should reinstall it now 
|
|
|
|
|
toxcct wrote: meny
Menu;P. Back to primary.
Jesus Loves <marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#aabbcc;border-bottom:thin solid 1px #6699cc">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
|
I need someone to solve this bug for me: I can't get the password from this piece of code. I am getting the username fine but the prog can't seem to get the password and display it or compare it.
AnsiString a=AnsiString(DataModule1->DatabaseProjectTracking->Params->Values["Password"]).c_str();
DataModule1->DatabaseProjectTracking->LoginPrompt=false;
ShowMessage(DataModule1->DatabaseProjectTracking->Params->Values["User Name"]);
ShowMessage(a);
if(a=="flx")
{
ShowMessage("Ok");
}
if(a!="flx")
{
ShowMessage("Not Ok");
}
Many Thanks,
Priya
|
|
|
|
|
Hi Guys ,
I hav posted this earlier too but did't get any solution .
I hav to instal my VC++ application on MS Server 2003 , I copied all the dlls manually (with help of Depends Tool), but my application did't ran. Then after searching from every where I just installed MS Visual C++ 6. on that machine and it solved my problem . Now uninstalling MS Visual C++ again cause my application not to run.
I get a RunTime error without any details. I think problem is that I have to register some dlls or need to copy some dll that DEPENDS Tool is not showing !
Any suggestions of Tips plzzzzzzzzzzzzzzz !
Regards,
ZINC
|
|
|
|
|
Does your application do any explicit linking?
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
Hi ,
What do u mean by explicit linking ? I am using standard MFC libraries .
And using SQL Server with CRecordset and CDatabase clases.
I will be really grateful if anyone could help me out here.
Thanks in advance
ZINC
|
|
|
|
|
zinc_z wrote: What do u mean by explicit linking ?
As opposed to implicit linking.
Implicit linking: static load or load-time dynamic linking.
Explicit linking: dynamic load or run-time dynamic linking (e.g., LoadLibrary() ).
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
Hi ,
No I m not using any explicit linking .
I read somewhere on web that If you select "USE MFC IN STATIC Library" option in Project Settings menue , you dont need to copy dlls explicitly but i have tried this one too buts its not working also.
I will really appreciate if you could provide me any alternative solution .
Regards,
ZINC
|
|
|
|
|
zinc_z wrote: I read somewhere on web that If you select "USE MFC IN STATIC Library" option in Project Settings menue , you dont need to copy dlls...
True, because all of the code has been mashed into the single .exe file.
Is your application compiled in Debug or Release mode?
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
My Code is in Release mode , there is no external dependcies , Its a multithreaded socket based database application.
Now is there any way that I could run it on MS Server 2003 without installing MS VIsual C++6.
I have already tried by copying all Dlls(with help of Dependency Walker ), and also by setting option 'MFC IN Static Library', and by running REDIST package of microsoft and also by making project through InstalShield .
Any other solution ??????
ZINC
|
|
|
|
|
With your application running, you need to make a note of each of the DLLs that have been loaded into its address space. Use Process Explorer for this.
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|