apatterno, I'm trying to load msxml4.dll. For more info. on the problem, check out http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/loadlibrary.asp
Specifically,"Windows Me/98/95: If you are using LoadLibrary to load a module that contains a resource whose...
Hi and thanks for reading.
I've developed an application that uses the LoadLibrary function to access a DLL dynamically. The app works fine except on a Windows '98 machine (I haven't tested it on Win '95 or ME, but I think it would probably crash there too). Does anyone know how I can get...
Hi and thanks for reading,
I'm using MSVC++ 6.0 and I'm having problems with the icons, specifically the 32x32 pixel one. I've modified the default MFC icon (IDR_MAINFRAME) in my application. In the IDE, the icon looks perfect and symmetrical, but when I run the program, the symmetry is lost...
apatterno and palbano, thanks for your replies. Since "there's no easy way to do it", I won't worry about it. After all, I am a beginner in VC++ programming! :-)
Thanks again,
OneSource
Hi .....
How do I center text in a multiline edit control vertically? In other words, I want the text to appear in the middle of the edit control's entire window instead of on the first line.
Thanks,
OneSource
Hi and thanks for reading.
How can I determine the position (coordinates) of a control on a form? I need the number of pixels from the left edge, from the top edge, etc. When I use RECT to get the rectangle of the control, it always says that left = 0. :-( How do I get this value?
Thanks in...
palbano and apatterno, thanks for your replies. I was able to get it to work. The problem I was having was due to some font manipulation that I was doing on the property sheet that contained the list control. I tried my code in a project from scratch and everything worked just fine. :-)
FYI...
Palbano,
Thanks for your response .... it got me closer to a solution because now the columns can be sized independently. But there is still a piece of the puzzle missing. I want to size the columns based on the width of the list control. I don't know how to get the width. Here's how my code...
Hi and thanks for reading.
As with most things in VC++ (as it seems to me), something simple takes forever to figure out. Here's the deal. I have a list control with 3 columns. I want to size the columns based on the total width of the list control and not on hard-coded values. Here's my...
Hi.
How do I remove an ActiveX Component from the Visual C++ Toolbox? I added a component and then discovered that I actually didn't need it: now I can't get rid of it! Does anyone know how I can make this unused component go away? [bigears]
Thanks.
hankgao0703,
Thanks for your reply, but I believe that you didn't read all of my first post. I said that I even created an application using MFC AppWizard without putting in any code at all and the error still occurred when I ran the program. Does anyone know why this is happening? [bigears]
Hi,
Whenever I run my app in debug mode, I get the error "User breakpoint called from code at "0xxxxxxxxx". This error occurs even if I don't set a breakpoint![nosmiley] Just to test things out, I created a new Dialog App, didn't put in any new code, compiled it and ran it in...
Hi and thanks for reading.
I'm having a problem with a CString variable. For some reason, it is truncating the string that I assign to the variable. When I checked the length of the variable after the assignment, it was 252 characters. Does anyone know why this is happening? I thought that a...
Hi.
I have been trying to figure this out for the last week, but with no luck. All I want to do is load an ASP page into the DOM using Visual C++ so that I can parse it. I've tried many variations of "loadXML" but with no luck. Does anybody know how to do this, or can point me to a...
CMR, thanks for the reply. I was able to figure the problem out. It wasn't actually the BSTR variable, but the way that "loadXML" operates that prevented me from getting at the data.
Thanks again.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.