|
gohappy_1999 wrote:
thank you very much
My pleasure
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Why would anyone want to hide a modal dialogbox? A modal dialogbox remains the active window, until it is closed (for a given application). If you need to hide it for some reason, then it should be modeless.
INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
|
|
|
|
|
John R. Shaw wrote:
Why would anyone want to hide a modal dialogbox?
May be he Want to make Invisible Dialog Based Application.
John R. Shaw wrote:
A modal dialogbox remains the active window, until it is closed (for a given application).
Yeap, You are Right.
John R. Shaw wrote:
If you need to hide it for some reason, then it should be modeless.
May Be, But Modeless Dialog Box application need a parent application to run it, So better idea would be to make Hidden Dialog Box application.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Hello everybody!
I am using VS .NET 2003, trying to use axWebBrowser COM.When I draged and droped the axWebBrowser control from tool box to my windows form it added the references for SHDocVw and AxSHDocVw also. I compiled it, it compiled fine but when I ran my program it gave me a run time error:
An unhandled exception of type 'System.ExecutionEngineException' occurred in axinterop.shdocvw.dll
just to be on the safe side I have added "using namespace System::Runtime::InteropServices;" in my form's .h file but still I am getting the same error. For axWebBrowser I have wrote only this code:
1 String* url = S"c:\Test.XML";
2 axWebBrowser1->Navigate(url,0,0,0,0);
All I want to do is to display a .XML file in browser control which I did in my MFC application with the same control and with the same way as I have mentioned above.
Please help me!!!!!!
osAma
|
|
|
|
|
Hi all!
I have a problem with Visual Studio.Net to create Setup Package. My Setup Package requires a skin, so the form (For example: Welcome form, Licence Form, Progress Form) can not be nomal. Please tell me to stick the skin on the form.
Thank you very much
|
|
|
|
|
I found a special phenomena when I analyse the NTFS structure: the data in offset 0x1fe of some sectors was changed, so I cannot do something because the data is illegal. Why?,what can I do?
|
|
|
|
|
NOTE: I posted this on the 26th and received a great response in the form of e-mails from potential testers. However, I need roughly 4 more. The Developer Test Release comes with full documentation and source code, and weighs in at 68 Kilobytes (zipped).
I'm looking for any C++ developers interested in testing a new XML library focusing on a simplistic public interface. Developers of almost any skill are welcome to submit a request. Either e-mail me directly or leave a message along with your e-mail address in this topic. A lot of people have expressed a great interest in the project, and I along with them, believe it'll create a massive impact in the world of Open Source.
Just send the e-mails to skonen@gmail.com . Anybody who is interested in giving it a try needs to be proficient in English and have no fear with expressing their opinions.
|
|
|
|
|
If it will work on Windows CE 3.0, we definitely could use it!
Tom Archer
Visual C++ MVP
|
|
|
|
|
I'll give it a try.
Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
|
|
|
|
|
Me Too
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
For some reason, I can't send you e-mails, so I'll put my comments down here.
<br />
XML Dev<br />
-------<br />
<br />
Comments...<br />
<br />
- make the DevNotice.txt file wrap to ~80 columns<br />
<br />
[LoadDocument]<br />
<br />
- doesn't support the necessary character encodings:<br />
See http://www.w3.org/TR/2004/REC-xml-20040204/#charencoding for info<br />
<br />
- doesn't detect the appropriate file encoding:<br />
http:
<br />
- at a minimum, you should be able to load all of the sample files on<br />
this page:<br />
http:
<br />
- since you're trying to make this OS independant, you could use:<br />
http://www.unicode.org/Public/PROGRAMS/CVTUTF/ for your conversion code<br />
between utf-8/utf-16.<br />
<br />
[Other Stuff]<br />
<br />
Bug: Failure to check for empty/all spaces/invalid tag/attribute names.<br />
It's a problem with SetAttribute, AddChild, etc. <br />
<br />
i.e. pRoot->SetAttribute(_T(""), _T("a")); is allowed.<br />
pRoot->AddChild(_T(" ")) is allowed.<br />
<br />
- how do you set the XML declaration? (i.e. <?xml version="1.0" encoding="utf-8"?> )<br />
<br />
- I question the use of the text mappings. What's important is that you can<br />
handle reading Unicode files in an ANSI build, and vice versa. I would just<br />
store all the XML data using wchar_t/std::wstring. utf-8 files could be<br />
converted to ucs-2, and passed to the XML object. utf-16 files could be<br />
passed directly to the XML object.<br />
<br />
- Usage seems fairly logical and simple from the stuff I tried<br />
<br />
- Help file layout is very good. The only thing I don't like is lack of<br />
padding on the top and bottom of text in the gray boxes<br />
<br />
Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
|
|
|
|
|
I would like to give it a try
|
|
|
|
|
There are still a few more of you I need to e-mail the developer release to. I apologize for the delay but I've been rather busy working with Jack's suggestions. I am proud to say I have completed support for the standard encoding types and the conversion process is completely transparent to the developer using the class.
As for my GMail account not receiving every message lately, I'm not entirely sure about what is or isn't causing it. I can only hope it has nothing to do with my Google article which introduces a new class to avoid the official Google API.
I'll be sending the new and improved developer release to all of you very soon.
|
|
|
|
|
Hi all
I want to know if there is a way to refresh the window for the busy dialog. My dialog disappear and cover by the other windows that I open while it is working. The dialog is there working but doesn't see anything at all. How can I refresh the window so I can see the updating variables as well as other resource items.
Thanks
|
|
|
|
|
|
Is it possible to run two seperate applications (two EXEs) in the same Window?
The idea is that I have two applications, that use some type of Inter-process Communication (IPC) to query/modify common data. The two applications need to be integrated in such a manner that they appear to the user as a single application.
This doesn't appear to be something that OLE is meant to handle.
Any comments or references would be appreciated.
thanks.
|
|
|
|
|
Bill Chan wrote:
Is it possible to run two seperate applications (two EXEs) in the same Window?
Its other the way round. A window is owned by an exe. You cannot have two exes to own a same window. To be more specific a window is owned by the thread which created it. And the thread is inturn owned by the exe.
Bill Chan wrote:
The idea is that I have two applications, that use some type of Inter-process Communication (IPC) to query/modify common data.
One method is to have a window in any one of those exe. Which displays the common data. And when ever the data is modified from this exe just post a message to the UI window also, so that it can update the displayed values.
There can be other solutions also, btw where does your data reside. DB, file or registry ?
suhredayan There is no spoon.
|
|
|
|
|
Ideally the data would be loaded in memory of one of the applications.
We are investigating the feasibility of integrating our 2D drafting application (like AutoCAD) with someone elses solid modelling program. The drafting program needs to communicate with the solid modelling program.
|
|
|
|
|
Hi,
I use a __int64 value and calculate :
__int64 x = (0x00000000000005fa - 0x0000000000000660) / 2i64;
what I get : 0x7fffffffffffffcd instead of 0xffffff.....
That relates into a very big positive value. not a small negative I like to have.
Could anyone tell, what could go wrong here ?
I use VC++ 2003 (EnterpriveDev)
kind regards
|
|
|
|
|
How are you checking the value of x?
I'm not a complete idiot -- Some parts are missing.
|
|
|
|
|
__int64 x = (0x00000000000005fa - 0x0000000000000660) / 2i64;
You divided the result by 2, which gives you 0x7fffffffffffffcd.
|
|
|
|
|
evilhehe wrote:
You divided the result by 2, which gives you 0x7fffffffffffffcd.
Try that again.
1530 - 1632 = -102
-102 / 2 = -51 (0xffff ffff ffff ffcd)
[edit]
Sorry, you are correct if OP is using unsigned __int64 .
Maybe that is the problem
[/edit]
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
I tried this within two lines, and get the correct result. (like your example). Semm like anything switched the calculaten to unsigned (any variable). I ll check this.
thanks for help.
|
|
|
|
|
Hi all,
I try to access to VB com collection Item method but I got a bad type error.
I import VB COM library into vc++ application. From the smart pointer of the collection, the function requests a VARIANT* data type. I create a variant variable as assigned 1 to it to get first item in the collection.
Here is my code:
_clsMacManPtr Mac ;
if ( Mac->ReadDailyMachiningReport (bstrFilePath) != 0 )
{
Reports = Mac->GetDailyMachiningReport () ;
if ( Reports->Count > 0 )
{
vValue.iVal = 1 ;
Report = Reports->GetItem(&vValue ) ; // failed here
bstrValue = Report->NoWork ;
}
}
I appreciate for any comments
|
|
|
|
|