Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. OneSource

    LoadLibrary Windows '98

    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...
  2. OneSource

    LoadLibrary Windows '98

    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...
  3. OneSource

    Sliding Icon ...

    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...
  4. OneSource

    Edit Control Alignment

    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
  5. OneSource

    Edit Control Alignment

    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
  6. OneSource

    Control Position

    Thanks palbano. :-)
  7. OneSource

    Control Position

    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...
  8. OneSource

    List Control Column Widths

    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...
  9. OneSource

    List Control Column Widths

    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...
  10. OneSource

    List Control Column Widths

    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...
  11. OneSource

    Remove a Component from the ToolBox

    Come on, I know someone has wanted to do this (or has done this before). Back to the top!!!!
  12. OneSource

    Remove a Component from the ToolBox

    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.
  13. OneSource

    Weird Debug Error

    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]
  14. OneSource

    Weird Debug Error

    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...
  15. OneSource

    CString Problem

    Shyan, Thanks for the info. [2thumbsup] I'll be using "TRACE..." in the future!
  16. OneSource

    CString Problem

    I figured it out. The problem was that the debugger displays only 255 characters [evil] .... so I couldn't see the error in my SQL statement. [3eyes]
  17. OneSource

    CString Problem

    Here's my code:CString sz_sqlString = ""; sz_sqlString = "INSERT INTO UserTable (UserName, Password, Address, City, State, ZipCode, Country, HomePhone, WorkPhone, CellPhone, Pager, Message) VALUES (TRIM('" + m_UserName + "'), TRIM('" + m_PassWord + "')...
  18. OneSource

    CString Problem

    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...
  19. OneSource

    Visual C++ - ASP - loadXML

    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...
  20. OneSource

    XML - BSTR - CString

    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.

Part and Inventory Search

Back
Top