|
Hello,
I have problem with ActiveX server included in MS Internet Explorer 5.5.
The aplication changes several pages in circle and all events are handling by Javascript.
After som time IExplorer shows message, like : "script on this page is causing internet explorer to run slowly".
I found this IExplorer bug in MSDN and I Set Timeout Period for Script by creating a new value in registry "MaxScriptStatements"=dword:ffffffff.
But after some time of running aplication, IExplorer shows this message again.
Have you any other idea how to fix this problem? (e.g. where IE saves total number of tracks of executed script statements ?)
Please help me.
Thanks.
|
|
|
|
|
How to can i create Setup of my Application
i have saw Visual Studio Installer.
But i not saw here the Changing of Dialogs Text as displayed on them ,, only can change there properties that is a Bmp banner ..
i want to create my own Dialog or want to change backgruods of dialog.
there is also a InnoSetup. but i not know abut its Script ,,
any other easy way or tools
some one said may there is a Installer for VC++ 6 in Visual Studio.
but there is a combine VS intaller is it that one ..
it makes only .msi file .. not a Setup File
thanx
|
|
|
|
|
You can create your own dialogs in a Windows Installer installation. I have never done it. See if Installsite helps you.
http://www.installsite.org/[^]
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
Check out InstallShield.
Kuphryn
|
|
|
|
|
hi,
i got an MDI app uses view/doc.
i have 3 views (and docs) that every one of them got a grid control and a button to Add new row.
i want to make a menu that will have the option to Add new row.
the problem is that in the AppWizard i can attach the menu item to only one function in the view.
but i want that no matter which wiew is opened, when i press the Add new row menu item it will work like the button on the view itself.
how can i do that?
|
|
|
|
|
each view should allow you to write a handler for the menu item. Or, you could add a function to your Document class called SetView(ViewType* pView), and depending on the view's type call the appropriate function. Or send a function pointer into the document so that when that menu item is called, it will call which ever function that pointer points to.
If it's broken, I probably did it
bdiamond
|
|
|
|
|
HI,
On pressing Escape Key , my application dialog disappears .... Some one asked me to Override OnOk() and OnCancel() ...but there is no result ...
Plz tell me a good one .
thanx
|
|
|
|
|
Did you remove the call to the CDialog implementation in OnCancel ?
|
|
|
|
|
i got it,,
thanx ,, but wts a relation between Escape key and OnCancel() can u tell me littlte detail
thanx
|
|
|
|
|
Removing Oncancel .... escape key ok
But Clsoe Button in System menu near maximize not works to close application
another problm now
any help abut it
|
|
|
|
|
If you only want to filter the physical keyboard key, look at Anthonys answer below.
|
|
|
|
|
To catch enter key, override OnOK() and do not call CDialog::OnOK()
To catch esc key, override OnCancel() and do not call CDialog::OnCancel()
To have the close [x] button work when you override OnCancel() you have to override OnClose(). In the override call CDialog::OnCancel(). The default behaviour of OnClose() is to call your overridden OnCancel() which you have told to do nothing.
Do not override PreTranslateMessage(). That is just the lazyman's way of hacking things together.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04
Within you lies the power for good - Use it!
|
|
|
|
|
Please check out the reply in your previous thread..
It has a sample implementation. It might help you...
if not, do not know where the prob is..
|
|
|
|
|
I normally use PreTranslateMessage to prevent unwanted key presses
BOOL CDialogClass::PreTranslateMessage(MSG* pMsg)
{
if (pMsg->message == WM_KEYDOWN)
{
if (pMsg->wParam == VK_ESCAPE)
{
return TRUE;
}
}
return CDialog::PreTranslateMessage(pMsg);
}
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain)
|
|
|
|
|
Hi All,
We have a set of applications developed in ASP, VB , Visual C++, SQL Server currently running On NT. Now These applications need to be migrated to XP from NT.
Please provide us information on the following
1. Migration\Upgrade strategy.
2. Issues\Risks involved in migration
3. Back up mechanism
4. Data conversion issues.
Any pointers to existing documents/ whitepapers are very useful.
Please guide us in framing the strategy.
Also share your experience while performing such migration.
Thanks and Regards
Balachandar Ganesan.
I want to fully utilize every thing.
|
|
|
|
|
1) I would ensure the applications were tested on XP. The test strategy should endevour to test all code paths. Ideally unit testing should be performed and compared against know good results.
2) Issues, I have had problems with the vanilla XP. You may want to specify at least SP1 as the base OS.
3) Are you going to migrate your development environment to XP? If so why would you not set up a test system to ensure things are running smoothly.
4) No data conversion issues to be worried about.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain)
|
|
|
|
|
i have declared a public structure in a class. and want to use the same in another class. Following is the how i tried ---
class Aclass:public CTrayDialog
{
public:
struct mine{
int days[7];
int mins;
}count;
.......
.......
}
In the initDialog of the other class
Bool Bclass::OnInitDialog()
{
.......
Aclass *a = new Aclass;
int x = a->count.days[0]
.....
}
Now x is not getting the correct value.
rather i think i m not correctly accessing the structure count declared in class Aclass.
need some help in these regard, so that i can fix the problem.
|
|
|
|
|
Please some1 reply my question
|
|
|
|
|
|
How is any1 supposed to be able to answer? You show a declaration, and say that it's not working. What's wrong with the access?
I suspect that your problem might be the difference between classes and instances, that is, if you have different instances of a class, you'll get different values from the "same" element, but it can only be a guess.
|
|
|
|
|
Where are you setting the data for days in the first place. If it isn't in the class Aclass constructor then the values you are accessing will be the default ones when you create a new instance of the class Aclass and access its data. If the days array has not been initialised they can be anything.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain)
|
|
|
|
|
No,i m not setting the data in the constructor; i m setting it in member function of Aclass. Is this the reason that i m not getting the value in Bclass?
|
|
|
|
|
Anonymous wrote:
Is this the reason that i m not getting the value in Bclass?
maybe ...
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Anonymous wrote:
.......<br />
Aclass *a = new Aclass;<br />
int x = a->count.days[0];<br />
.....
Since you create a new instance of Aclass in Bclass. This calls the constructor of Aclass. If Aclass constructor does not call the member function that initialised the data for days then it will contain uninitialised data.
You can either call the initialise member in the constructor of Aclass or change the Bclass code to call the initialise member function
.......<br />
Aclass *a = new Aclass;<br />
a->initialisefunction();
int x = a->count.days[0];<br />
.....
IMO it is better to do the appropriate initialisation within Aclass.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Williams (Little Britain)
|
|
|
|
|
Hi, we have found that the last version of crystal reports that was compatible with windows 95 was version 8.5.
Can anyone recommend a good commercial alternative to crystal reports, that works with mfc 7.1
|
|
|
|