Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

TrungHuynh

@TrungHuynh
About
Posts
35
Topics
20
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Error Link in VC++
    T TrungHuynh

    Hello I create a MFC aplication, and in my cpp file, i define a variable C++ string str; I know that, i can use CString, but i want to know why it appears "error link" when i compile project, it appears error (error link) like that "Linking... msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall std::basic_string,class std::allocator >::~basic_string,class std::allocator >(void)" (??1?$basic_strin g@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already defined in ocl.lib(ora.obj) msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(class basic_string,class std::allocator >::allocator const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV?$allocator@D@1@@Z) already defined in ocl.lib(ora.obj) LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other libs; use /NODEFAULTLIB:library Bin/BMSOracleView.exe : fatal error LNK1169: one or more multiply defined symbols found Error executing link.exe. "

    C / C++ / MFC c++ help question

  • VC and Crystal Report
    T TrungHuynh

    I get an error "the library PDBDAO.DLL could not be found" when i show or print report.

    C / C++ / MFC c++ database oracle help tutorial

  • VC and Crystal Report
    T TrungHuynh

    Thanks you vey much, but i live in VietNam, so the proxy not allow me to go out ( especially geocities.com) could you send to me that code thank a ton

    C / C++ / MFC c++ database oracle help tutorial

  • VC and Crystal Report
    T TrungHuynh

    could you , show me where to download sameple code thank a ton

    C / C++ / MFC c++ database oracle help tutorial

  • VC and Crystal Report
    T TrungHuynh

    I have write an application, use VC++ connect to Oracle database, and use Crystal Report to view data and print Any one can help me, how to connect to Oracle and use Crystal report. thanks.

    C / C++ / MFC c++ database oracle help tutorial

  • count Visitor without global.asa
    T TrungHuynh

    I have tried to write a asp page that count visitors on your web site at a point of time. Now i use global.asa (Session_OnEnd, Application_OnStart) but i don't want to use the global.asa, How can i do ? thanks.

    Web Development question

  • Retreive TRUE IP
    T TrungHuynh

    I have devepled a webstatus module,(user on line, traffic...) I have a problem with this code segment: written in "javascript" (ASP file) ////////////////////////////////////////////////////////// var szIP szIP = Request.ServerVariables("HTTP_X_FORWARDED_FOR"); if(szIP == "") szIP = Request.ServerVariables("REMOTE_ADDR"); ///////////////////////////////////////////////////////// szIP = Request.ServerVariables("HTTP_X_FORWARDED_FOR"); it returns nothing ????? please help me.

    Web Development help javascript question

  • ASP & JavaScript
    T TrungHuynh

    I have an error: Microsoft JScript runtime error '800a01b6' Object doesn't support this property or method /aspforum/onetimesetup.asp, line 4 -------- <%@ Language=JavaScript %> <% // create the database Server.Execute("createdatabase.asp"); //<--- line 4 // createdatabase.asp is same directory with current asp file. OS:win98, install PWS

    Web Development javascript database sysadmin help

  • download items
    T TrungHuynh

    I have designed a web site. In page download, user can download items by click on hyperlink (download example). I implemented this by add hyperlink, but user click on, it always open the download file on browser. I want it show the save dialog. How can i do this. Thanks.

    Web Development tutorial question

  • Not allow to save a web page
    T TrungHuynh

    ok, it's another aspect of problem, i only care about how to figure it out. Thank a ton.

    Web Development com sysadmin help

  • Not allow to save a web page
    T TrungHuynh

    hello I have designed a web site, and i had uploaded to server. I want the people who view my web site can't save it to local machine like www.msn.com (you can't save it to local host). (choose file,save or save as from menu of IE). Please help me. Thanks.

    Web Development com sysadmin help

  • CComboBox
    T TrungHuynh

    Hello every body I'm writting a GUI TOol Kit for MFC control, for every controls of MFC CButton,... I replace with CBMSButton... and i use the DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) function to draw. IT work fine with button,Titlebar, CheckBox, Radio But with CComboBoxEx i replace with CBMSComboBox and i call DrawItem but this function isn't called. I don't know why ? Please help me. Thank so much

    C / C++ / MFC c++ help question

  • Hide IP
    T TrungHuynh

    yes, the first i must write a program that can use the proxy ( it was exited). I think it's ok, because on this sites have alot source code of this problem. The big thing is that how can we change the private IP to another ip (how can we take this IP). I have an idea, if any one interested in this topic, can we do together.:) thanks.

    IT & Infrastructure sysadmin question

  • Hide IP
    T TrungHuynh

    you are right, but in some special situations,you must hide your IP address(mean thats: your IP alway exit but it becomes an IP in another country). For example, the www.hostdime.com website doesn't accept the connection from VietNam, or Chinna... So if your are in these country, you must change your proxy and your IP is something else (not in your country) to access these websites. I know some applications can do that: GhostSurf, AnonymousProxy... It can change your ip by change the proxy become another country. I want to konw, how can do that Thanks very much

    IT & Infrastructure sysadmin question

  • Hide IP
    T TrungHuynh

    Hello every body how can i hide my ip address on network. Have any software to do that, or some technology. thanks

    IT & Infrastructure sysadmin question

  • rich edit question
    T TrungHuynh

    ok. I have a small app, that i have tested with DHTML control, and RichEdit. you give me your email address i will send it for you bye

    C / C++ / MFC question help

  • how to insert a BMP resourse in resources
    T TrungHuynh

    OK, You right click on Resource, and then chose insert, chose Bitmap. IT's ok, if the bitmap is creater than 256 colors, it will not view on Editor, but when you run your app, and load your bitmap, you will see normally.

    C / C++ / MFC graphics tutorial question learning

  • rich edit question
    T TrungHuynh

    First you must init AfxInitRichEdit() in .h file you declare CString m_strRichEdit; with cpp file in DoDataExchange(CDataExchange* pDX) function DDX_Text(pDX, IDC_RECONTROL, m_strRichEdit); then you just do like that: m_strRichEdit = _T("Try"); UpdateData(FALSE); these steps you can do by wizard. CRichEditCtrl also has another function StreamIn: to load data from file to rich edit(MSDN)

    C / C++ / MFC question help

  • Toolbar Editor
    T TrungHuynh

    it's ok you need left click on button that you want to remove and drag it away from IDE, the button tool bar will disappear.

    C / C++ / MFC graphics help question announcement

  • Substitute Tite bar for window
    T TrungHuynh

    Hello I created a substitue title bar to replace the original title bar (gradient fill...) of Dialog or CMDIFrameWnd or CMDIChildWnd.First i remove the original titlebar of windows. Then i created a substitue window with style : WS_VISIBLE | WS_POPUP | WS_CLIPSIBLINGS | WS_CLIPCHILDREN and i put this window as the same place as original title bar: RECT rcWnd; ::GetWindowRect(m_pParentWnd->m_hWnd, &rcWnd); // The m_pParentWnd is the CWnd of Dialog or // frame that i pass to this class. TITLEBARINFO tbi; tbi.cbSize = sizeof(TITLEBARINFO); ::GetTitleBarInfo(m_pParentWnd->m_hWnd, &tbi); RECT rcTitlebar = tbi.rcTitleBar; //Calculate the rect we need to create substitute // window for titlebar RECT rcSubstitute = {rcWnd.left, rcWnd.top, rcWnd.right, rcTitlebar.bottom}; //pszTitle is text on title bar //The CBMSTITLEBARDIALOG_CLASSNAME is already register before create window DWORD dwStyle = WS_VISIBLE | WS_POPUP | WS_CLIPSIBLINGS | WS_CLIPCHILDREN; BOOL bResult = CreateEx(WS_EX_TOOLWINDOW, CBMSTITLEBARDIALOG_CLASSNAME, pszWindowName, dwStyle, rcSubstitute.left, rcSubstitute.top, rcSubstitute.right - rcSubstitute.left, rcSubstitute.bottom - rcSubstitute.top, m_pParentWnd->m_hWnd, NULL, NULL ); If the parent window is CMDIFrameWnd or CMDIChildWnd, it's ok the substistute title bar is put the same place with the original titlebar and have these effects that i want. But with dialog the substistue title bar was wrong. (Not the same place with original title bar). ??? I think because the Dialog has WS_POPUP style, and the Substitue title bar that i create has the same WS_POPUP style. So it's wrong, is it right ? or some another reason. Please help me. Thanks

    C / C++ / MFC help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups