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

trustno1

@trustno1
About
Posts
40
Topics
31
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • can't get the debugger to work in visual studio .net
    T trustno1

    hi, i'm programming an opengl program using visual studio .net. my project uses standard windows library(no mfc or atl). when i try to set a break point on a variable or a function, i keep on getting the error message "intellisense couldn't not find the specific location". does anyone know how to set the break point properly? also, what file do i need to include in my project in order to use the "TRACE" function? is there a way to redirect printf's output to visual stuio .net's "output" panel/window? thanx in advance.

    C / C++ / MFC csharp c++ visual-studio debugging graphics

  • C++ object oriented programming question.
    T trustno1

    i was studying c++ object oriented programming notes today and have some questions regarding to this problem.. any suggestion is welcome.. thank you! for this question, i'm supposed to find the implementation error and fix it without changing the interface. i read thru the codes and realized that the method B::Init() was trying to initialize the private variable, pNum, that belongs to class A(Class B's super class).. I was wondering is there anyway to access to class A's private variable from class B? and also have i missed any other implementation error? class A { public: A() { Init(); } virtual ~A() { Destroy(); } virtual void Init(); virtual void Destroy(); long Get() { return *pNum; } void Set(long num) { *pNum = num; } private: long *pNum; }; class B : public A { public: B() { Init(); } virtual ~B() { Destroy(); } virtual void Init(); virtual void Destroy(); long Get2() { return *pNum; } void Set2(long num) { *pNum = num; } private: long *pNum2; }; void A::Init() { pNum = new long; } void A::Destroy() { delete pNum; } void B::Init() { pNum = new long; pNum2 = new long; } void B::Destroy() { delete pNum2; }

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

  • loading .chm help file with vc++
    T trustno1

    hi, i delcared htmlhelp.h and attempt to run HtmlHelp off one of the event handler, but i kept on getting error message saying that HtmlHelpA doesn't take 4 argument.. i've checked out the documentation on HtmlHelp, but it's not very helpful.. not much information given.. do you know where that i can find a example on hooking up .chm using HtmlHelp function? thx.

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

  • loading .chm help file with vc++
    T trustno1

    hi, i made a .chm help file.. i've create a command for it in the menu already.. i was wondering how do i load it? do i use shellexecute or is there another command in vc++ 7 that's create for loading .chm file? also, will this .chm file work in win95/98/nt/2000? thanx in advance.

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

  • help: odbc error:field data truncated during data fetch
    T trustno1

    hi, when i attempt to use odbc to retrieve data from ms access database, i get an error "error: field data truncated during data fetch" right after executing odbc's Open().. odbc crashed at retrieve data from a field, datatype: memo.. i did a couple test and found out if the field contain more than 255 characters the my program crashes.. is there anyway to fix the problem? thanx in advance..

    C / C++ / MFC help database question

  • mfc: tabbing order..
    T trustno1

    hi, how do you change the tabbing order of the different controls in a dialog? i had my dialog created, but i had to make some changes and now the tabbing order is all wrong.. is there a way to reset the tabbing order beside delete every single control and recreate the dialog? thx in advance..

    C / C++ / MFC c++ question

  • need help with odbc with paragraph of text..
    T trustno1

    hi, i'm having problem getting odbc to retrieve paragraph of text from a ms access.. whenever, odbc attempts to read the paragraph text, it alwasy crash.. however, i have no problem storing the paragraph text into the database.. anyone know any solutions? thanx in advance!

    C / C++ / MFC help database question

  • changing tilebar text
    T trustno1

    thx for the help, once again.. mike. :)

    C / C++ / MFC question

  • ON_WM_KEYDOWN() question
    T trustno1

    hi, by default using a tree control, if i don't declare on_wm_keydown() in my message map, the treectrl uses its own predefinied actions for the keydown operatiosn.. is it possible to use the predefined keydown operation with the ones that i implemented myself at the same time? ie, if keydown message is vk_up and vk_down, i want to use the default treectrl operation(moving the focus of a node in the tree up and down). if keydown message is vk_insert, i want to use my own function.. is it possible? thanx in advance..

    C / C++ / MFC question data-structures

  • changing tilebar text
    T trustno1

    hi, how do i change the titlebar text of a sdi program? i want the titlebar to display "My program", not "My program - Untitled".. is there a way to make the windows not displya "- Untitled"? i tried modifying idr_mainframe, but that didn't work.. thanx in advance..

    C / C++ / MFC question

  • Pig-Latin Translator
    T trustno1

    well, you get the input first, then get the length of the string.. once you done all that, you do your while loop.. lemme give you pseudo codes here: let x, y be variables x = input string from the user y = string length of x while(y) { ...do your pig latin thing... y = y -1 }

    C / C++ / MFC help

  • Pig-Latin Translator
    T trustno1

    without looking @ your code in depth.. i can suggest you a ways to solve your infinite loop problem.. instead of using while(cin>english), you can use the length of the string of the input as your while conditional variable.. every loop, you minus the conditional variable by 1.. by the time the conditional variable reach 0(meaning you have finished check every letter), your program will exit the loop for sure..

    C / C++ / MFC help

  • clistctrl in report mode: make the header not clickable.
    T trustno1

    hi, how do you make the header, in report mode(list control), not clickable? thx in advance!

    C / C++ / MFC question

  • AfxMessageBox: change the font size for the input string..
    T trustno1

    hi, when i create a message box using afxmessagebox, can i get afxmessagebox to display the input string(the 1st parameter) in different font, size and color? thx in advance!

    C / C++ / MFC question

  • 'CDocument::UpdateAllViews' : illegal call of non-static member function problem
    T trustno1

    modify the constructor of your dialog class so that it accept a document object.. once you done that, you should be able to call updateallviews from a dialog.. something like this: Cmydialog dialog(...,pDoc); pDoc is the document object that you use to call updateallviews from the your dialog.

    C / C++ / MFC help question announcement

  • toolbar programming question
    T trustno1

    hi, if i have an application, using windows explorer style(consist of left pane and right pane), i want to create a button in the toolbar that delete a selected/highlighted item in either left pane or right pane(can't delete both at the same time).. can this be done? or should i just use 2 buttons instead(one button for deleting items in leftpane and another one for deleting items in right pane).. thx in advance!

    C / C++ / MFC question

  • vc++ compilation question.
    T trustno1

    Michael Dunn wrote: That's impossible to answer without knowing what your program does. As long as you only use features that are in all those OSes, the app should work (in theory). my program uses mfc and odbc. it basically gets input data from the user, stores input data into the db(ms access db, .mdb file is included in the setup) and create text files on the db content(file io).. will these operations work in win2k, win98, and winnt? or do i need to include some .dll with the setup?

    C / C++ / MFC csharp c++ question visual-studio sysadmin

  • vc++ compilation question.
    T trustno1

    hi, if i create a vc++(/w visual studio.net under winxp pro) application and compile it using the option 'use mfc in static library'.. will this application work under win2k, win98 and winnt without crashing or require the user to download some kind of windows updates to get it working? if i create a setup files using visual studio.net's 'setup and deployment projects'>'setup wizard', will these setup files works on win98, winnt and win2k? thx in advance.

    C / C++ / MFC csharp c++ question visual-studio sysadmin

  • gui programming
    T trustno1

    hi everyone, i want to learn to create gui like the one in norton antivirus(with fancy buttons and animated menu..etc) or any gui that's similar to that.. can someone suggest me a good place to start? thx in advance.. merry xmas!

    C / C++ / MFC question

  • setup and delpoyment question
    T trustno1

    hi everyone, i tried to create a installer for my application using visual studio .net's 'setup and deployment project'/'setup wizard'/'create windows installer'. my project name is 'setup'. i create the installer after i choose all the files that i wanted to be included in the installer and 5 files are created. they are: setup.msi(88kb), setup.ini(23b), setup.exe(65kb), instmsiw.exe(1.8mb) are instmsia.exe(1.7mb). btw, i'm running winxp pro. my questions: 1) how do you create an executable installer with just 1 file(that will install the application) instead of 5 files? 2) what are the uses of instmsia.exe and instmsiw.exe? i've tried to install the application with these 2 files removed(instmsia.exe and instmsiw.exe).. my application is still installable without these 2 files.. can i just distribute my application without these 2 files? since my application is small in size and these 2 files are taking up alots of space..

    C / C++ / MFC csharp question visual-studio sysadmin workspace
  • Login

  • Don't have an account? Register

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