|
Hi There,
I am using the Microsoft Web Browser ActiveX control component in a
a dialog container to display a web page in Visual C++ 6.0. Basically the web page
on the server is small rectagular area and thus the full IE acreen
area is not required. Despite disabling the member variable's for the
WebBrowser class Horizontal and Vertical scroll bars through EnableScrollBarCtrl
the Web container page produces a greyed out disabled scroll bar. Is there
any way over riding this and preventing it being displayed. Do I have to access
the COM interfaces and set the property that way.
Regards
Rezwan
|
|
|
|
|
use tag if the page is yours.
includeh10
|
|
|
|
|
We have tried this and we own the webpage but a greyed out scroll
bar appears on the right of the screen any ideas?
includeh10 wrote:
use tag if the page is yours.
|
|
|
|
|
Dear (whatever you want),
I have two questions:
1. I'm trying to make an active Document Server application in MFC in the VS2003.
The problem is that I don't have any MFC experience and I'm just longing for some easy programming with those arraylists and window forms. I think I could link my MFC project and my Managed C++ (or C#) with a CCW.
The question: Any hints or tips?
2.
The question: Is this the right discussion board?
thanks,
Paul
I would love to have a funny signature
|
|
|
|
|
Pauwl wrote:
...a CCW.
Computer Communications Workshop
Close Combat Weapon
Command/Control Workstation
COM Callable Wrapper
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
lol
DavidCrow wrote:
Close Combat Weapon
lol
Sorry I was refering to the Wrapper.
*still chuckles*
Paul
|
|
|
|
|
|
|
|
Can i get help on xml parser which convert xml file to wbxml using mfc class.
Thank you.
|
|
|
|
|
I HAVE CREATED A XML USING IXMLDOMDOCUMENT.NOW I WANT FETCH A NODE . WHICH FUNCTION IS USED TO FETCH A NODE
|
|
|
|
|
let consider your XML to be something like this
<xml>
<cp>
<article>visual c++ is best</article>
<author>best</author>
</cp>
<cp>
<article>learning VC</article>
<author>Mes</author>
</cp>
</xml>
Now Assume you loaded it into your interface
IXMLDOMDocument object say pXmlDom
now for enumerating the data/node inside the XMLObject Read this little piece of code.
<font color=#008000>
CComPtr<MSXML2::IXMLDOMNodeList> pNodeList=NULL;
<font color=#008000>
CStringArray arrArticleName,arrAuthor;
<font color=#008000>
pNodeList=pXmlDom.getElementsByTagName(L"cp");
USES_CONVERSIONS;<font color=#008000>
<font color=#008000>
if(pNodeList)
{
<font color=#008000>
for(long i=0;i<pNodeList->Getlength();i++)
{
<font color=#008000>
arrArticleName.AddString(W2T(pNodeList->Getitem(i)->selectSingleNode(L"article")->text));
<font color=#008000>
arrAuthor.AddString(W2T(pNodeList->Getitem(i)->selectSingleNode(L"author")->text));
}
}
Now arrAuthor , arrArticleName will contain the data of nodes
[Vote One Here, Complete my Survey....]
Alok Gupta visit me at http://www.thisisalok.tk
"I Think Believe this Will Help"
|
|
|
|
|
ALOK
YESTARDAY I WAS TRYING getElementsByTagName(); FUNCTION.BUT I COULDNOT UNDESTAND IXMLDOMNodeList.but now what I HAVE UNDERSTOOD IS THAT WHAT TAG NAME,SAY <cap>, I MENTION IN THE ARGUMENT OF getElementsByTagName()
IXMLDOMNodeList OBJ=getElementsByTagName("CAP");
. THE OBJECT OF IXMLDOMNodeList,OBJ, KEEPS THE TRACK OF ALL THE TAG NAMED <cap>AND ITS CHILD NODE.IF I AM WRONG PLS RECTIFY IT
|
|
|
|
|
|
Does anybody know some free resurce (.rc) editor which is
able to edit the dialogs ?
Moving/resizing the existing windows/changing text is all what I need.
I just want designer to correct dialogs without need
to buy him expensive visual studio and learn him how to use it
without destroying sources and other things in the project.
Thanks !
rrrado
|
|
|
|
|
It's not WYSIWYG but you could always use Notepad. Back in the early 90s, this is how I created and modified resource files before I started using Borland's Resource Workshop.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
unfortunately the designer have no clue about programming and now it's annoying for me to move controls by few pixels as he wants
rrrado
|
|
|
|
|
Did you consider 'Resource Hacker' ? You can directly extract, modify and compile resources using it. Nice and pretty sophisticated tool. Not exactly what you want - but should serve your purpose - without even giving out the source
|
|
|
|
|
... or else PEResourceExplorer
|
|
|
|
|
Thank you, but both the programs can edit only compiled resources or .exe, I need to edit resources source (*.rc)
rrrado
|
|
|
|
|
Hi,
I do not know if this has been covered before nut I am in need of an example which will show how to take an HTML file with special tags (maybe in the form of comments) and allow me to replace those special tags with additional customized HTML code.
I guess it's kind of like a search and replace text but at a file level.
I am not sure how to proceed with doing this. Any ideas and/or sugggestions would be appreciated. I've looked at several articles here but can't seem to find exaqctly what I need.
Thanks
Rolando
|
|
|
|
|
Are you looking to do this on the server side or as a client (after downloading the page). If it's the latter, this[^] article may help.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
1. open HTML file, open output file
2. while lines left to read
3. read a line
4. scan the line for the special tags
5. for each one you find, replace it with the additional HTML
6. write the modified line
7. go to 2
8. close the files
Image Toolkits | Image Processing | Cleek
|
|
|
|
|
Thanks,
Of course this is the way to do it!! I must have had a temporary mind meltdown, I've been for focused on the project I just could not see what I needed to do.
Rolando
|
|
|
|
|
Is it possible for the Visual Studio to renumber the resources contained in file resource.h. I have tried to find an option in the IDE but no luck.
I have several hundred, but some are using the same number; e.g. (short extract)
#define IDC_CHECK_QT15 1059
#define IDC_CHECK_QT13 1060
#define IDC_CHECK_QT12 1060
#define IDC_CHECK_QT23 1062
#define IDC_CHECK_QT00 1063
#define IDC_CHECK_QA00 1064
#define IDC_PITCH_LABEL 1065
#define IDC_CHECK_QT27 1066
#define IDC_AMVIXBIT_LABEL2 1066
#define IDC_CHECK_QT17 1067
#define IDC_LPOD_BIT_LABEL3 1067
#define IDC_CHECK_QT29 1068
#define IDC_RPOD_BIT_LABEL 1068
#define IDC_AAA_LABEL 1069
To many to do by hand.
Many thanks,
|
|
|
|