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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
B

boon kian

@boon kian
About
Posts
28
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Autorun macro
    B boon kian

    Hi, The situation is like this: I have created a MCQ test using a excel spreadsheet and I have created a nice macro GUI which will display the "time left" and will save and close the application which the time is up. May I noe how can I prog the macro to run automatically when the spreadsheet is opened ? Please advise. Thank you !! With regards bk

    Visual Basic question

  • launch application
    B boon kian

    Hi, I have a simple problem here which i hope to ask : 1. how do I code in c to make my program open a specific file using the default appplication. 2. how do i code in c to make my program open another application. my program needs to satisfy 2 thing. one is to open a .ra file automatically using the real audio application. two is to open the real audio application only. btw i am using VC6. Please advise. Thank you !! with regards bk

    C / C++ / MFC help question

  • syntax question
    B boon kian

    Hi Steve and Mike Thanks a lot !! I think i roughly get the idea already ! bk

    C / C++ / MFC question

  • syntax question
    B boon kian

    Hi Mike, Thank you. But i still have some doubts to clarify: BOOL BOAPI ShowMessage (int, int) is a function. So when u need to call the function, u would do a normal ShowMessage (1,2) rite ? But when you call the function am i rite to say that a BOAPI macro would run first follow by the ShowMessage function ? If not, when would the BOAPI macro runs or how is it been used? Sorry for my poor command of the c-language. Please advise. Thank you. bk (btw u are rite abt the # typo and the missing * could also be a typo from the original source)

    C / C++ / MFC question

  • syntax question
    B boon kian

    Hi I have some syntax question which is bothering me. Can someone pls explain to me what these codes means or where to find answer to question with regards to syntax ? (I have access to MSDN library but I am still unable to find a satisficatory answer from there) 1. BOOL BOAPI ShowMessage (int, int) what does this function syntax means ?? esp BOAPI is it a data type ? something to do with dll convention ?? 2. #typedef bool (TYPEOF_InitP) (int *a); what does this syntax means ?? does it mean let TYPEOF_InitP be a function that return bool and take in 1 int variable ?? PLease advise. Thank you !! bk

    C / C++ / MFC question

  • restarting PC
    B boon kian

    Hi , I have a question here regarding how to use C to restart the PC. situation: I am using win2000 but however I would like to bootup using a win98 floppy disk to verify my systems settings. after checking I would like the PC to reboot so that it can boot from the HD into win2000. I am thinking of using autoexec.bat to help me to automate this process. So how can I write a simple c program to reboot my pc automatically so that i can activate the program through autoexec.bat ?? Please advise! Thank you bk

    C / C++ / MFC question help tutorial

  • accessing the boot sector
    B boon kian

    Hi Anyone knows how to access the boot sector using C programing ?? can someone please guide me so that i noe which part of C to read!! Really thanx a million !! please rest assured that i am definitely not trying to write a virus !!:) bk

    C / C++ / MFC tutorial json question

  • Any solution to class redefinition
    B boon kian

    Hi , Really thanx a lot for the help !!! bk

    C / C++ / MFC tutorial help question

  • Any solution to class redefinition
    B boon kian

    eg: base class : class Employee { } derived class 1: class Temp:public Employee { } derived class 2: class Perm:public Employee { } main: #include "Perm.h" #include "Temp.h" <- this is where the redefinition occur due to 2 copy of "Employee.h" void main (void) { Temp a; Perm b; ...... } so beside changing the structure any solution to solve this prob ?? thanx a lot !! bk

    C / C++ / MFC tutorial help question

  • Any solution to class redefinition
    B boon kian

    Hi Anyone have a solution for class redefinition ?? I have a based class and 2 derived class. When i try to write a main function using both the derived class i have a class redefinition problem. Can anyone guide me on how to solve the prob ?? Thanx a lot !!! bk

    C / C++ / MFC tutorial help question

  • Toolbars
    B boon kian

    Hi ROK Really thanx a lot !! Meanwhile i also found another method using ShowControlBar(&m_WndToolBar, true, false); bk

    C / C++ / MFC question help

  • Toolbars
    B boon kian

    Hi I have a simple problem regarding toolbars here. When we create a new SDI project, the codes for the standard toolbar is there. The toolbar will appear and disappear gracefully when we check the function inside the menu. But when i add a new toolbar, how do i make it appear and disappear gracefully ?? I try to use the "ShowWindow(SW_HIDE)" but the ugly gray patch is still there! Thanx you for ur kind attention !! bk

    C / C++ / MFC question help

  • SDI Limit ??
    B boon kian

    icic ... i got one .... but i must say they are a tough read !:confused: anyway really thanx a lot !! Have a good day ! bk

    C / C++ / MFC performance question

  • SDI Limit ??
    B boon kian

    Hi Anna, Thanx a lot !!:-O Btw when i delete away some of the bitmap resources in my project this prob disappear ! So it seems to me there is a limit... :omg: (I noe it sounds absurb as i think vc can cater for big projs!) I am pretty new in VC and in currently in a rush to complete a proj. So i am not really familiar with all the codings and hence more than often had to rely on ClassWizard. I am not sure of how to write those codes to associate a class with a dialog box and some of the codes to add a variable to a control. Perhaps if u are free can give me a advise or two ! I really appreciate it very much. Thanx you !! bk

    C / C++ / MFC performance question

  • SDI Limit ??
    B boon kian

    Hi Like to find out if there is a limit to the amount of dialog boxes ,controls items and classes i can put inside a SDI project ?? Because i keep getting the "out of memory" msg when i try to use the class wizards !! PLease advice !! Thank you bk

    C / C++ / MFC performance question

  • strange SDI "out of memory" problem
    B boon kian

    Hi, I have a very strange and frustrating SDI problem. I have created a SDI project dealing with image display. When i create a new dialog resources and try to use the class wizard (to assign variables to the controls) , a "Out of memory.Unable to complete command" error msg would occur. Worse still after this time occur, my workspace files seems to be corrupted and i am unable to open my workspace !!! and i would have to redo everything !! I am currently using VC 6. Anyone can tell me what happen and how can i solve this problem ?? Thank you for your kind attention !! bk

    C / C++ / MFC help question performance workspace

  • 'CDocument::UpdateAllViews' : illegal call of non-static member function problem
    B boon kian

    Hi trustnol, firstly thanx a lot for your help ... I am quite new in C++ so i am very bad in those object kind of things... therefore i still have some doubts which i like to clarify with u .... 1. constructor is like this ?? CmyDialog dialog (CDocument *pDoc) 2. becos wat calling my dialog is the doc class of my main program ... so do i do pass the "this" pointer over to the dialog constructor ?? CABCdoc::onopen() { Cmydialog efg(this); } is this correct ??? thank you very much for your kind attention !!

    C / C++ / MFC help question announcement

  • 'CDocument::UpdateAllViews' : illegal call of non-static member function problem
    B boon kian

    Hi I have a prob here as follow: I have a SDI program based on CView. From the program, a dialog box was called. However from the dialog box i need to call the UpdateAllView function (which is found as a based function of CView) to update all Views of my main program. Is it possible to do so ?? When i tried doing it i got a complier error "'CDocument::UpdateAllViews' : illegal call of non-static member function" How can i go abt calling a CView based class function from a dialog based class ?? Thank you !! bk

    C / C++ / MFC help question announcement

  • Multi threading with one processor??
    B boon kian

    Hi I am writing a program to process multiple independent datas. This program is very processing intensive. So i am wondering if multi threading would help to reduce the amount of processing time. I have doubts over it because I have only one processor. So wouldn't the time taken for the processing to be the same in multithreading case (or even more due to addition overhead)?? If it helps to cut down the time taken, how does it do it with only one processor?? Can someone please enlighten me ?? Thank you very much for the kind attention !!

    C / C++ / MFC help question

  • First-chance exception: Mem violation
    B boon kian

    Hi rechi, Really thanx a lot ... I guess i made a silly typo without realizing !! You save my day bk

    C / C++ / MFC help question database
  • Login

  • Don't have an account? Register

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