CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: RoboMonkey

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Thread: AFXIMPL.h?

    by RoboMonkey
    Replies
    1
    Views
    1,982

    AFXIMPL.h?

    Can you tell me what this header file is for. I have Visual Studio V6 but don't appear to have the header file and need it to compile some source code. Is it a .NET file?

    Thanks in advance
  2. Cracked it

    Thanks for your help. Simple when you know how


    void CEstateView::OnDiary()
    {
    ((CEstateApp *)AfxGetApp())->m_ptStartup->CloseAllDocuments(TRUE);
    ((CEstateApp...
  3. Very strange

    It seems to work if I break the code down with message boxes which of course isn't that useful



    void CEstateView::OnDiary()
    {
    AfxGetMainWnd()->PostMessage( WM_COMMAND, ID_FILE_CLOSE );...
  4. I am doing all of the above thats why I am...

    I am doing all of the above thats why I am confused as to what is going on
  5. the latter

    Tried the the second suggestion and it closes and then opens the default document and not open the second document as required
  6. Can't

    Can't do that as the new document I am trying to open isn't the default one associated with FileNew();
  7. Help

    Again, this is the bit I don't understand as theApp is defined in the .cpp file as it can't be defined in the .h because "Recursive definitions of classes and structures are not allowed"
    ...
  8. ...

    That bits working fine it doesn't close the application just closes the default document. I.e. the equivalent of FILE -> CLOSE

    Its the other part the then opening of the new document which isn't...
  9. Problem: Opening new document programmatically

    I have created two form view documents in an MDI appilication. In a first form view document I have a button that will close itself and then open the other document. However, I can close the...
  10. OK but

    I don't know the size of the window it depends on the client.

    Is this what you are inferring that I will centre the controls at runtime?
  11. Centering a form in a maximized form view

    I have a small form that I want to centre in the middle of my form view. So dependent upon the size of the parent window it will always appear in the middle.

    Any ideas?
  12. Replies
    1
    Views
    525

    Modeless Dialog????

    I am trying to create a login dialog for my dialog application. I am not quite sure where to put the code as depending on the button pressed on my login dialog depends on the content of my main...
  13. Creating User Interfaces - Your opinion

    I am bored of the typical grey user interface that most VS apps are written in. I want to create something really vibrant and dynamic and more importantly unique and was looking for your opinions as...
  14. Firstly, thank you for your input but please lets...

    Firstly, thank you for your input but please lets not have a cat fight over this!

    As for further information. I perhaps poorly worded by explanation. Sam I agree it is poor programming standard...
  15. Language independent serial COM functions

    I have written a series of functions that controls a device via serial COMs. This is used via a visual C++ programme whereby a button will activate a function that will in turn perform the task on...
  16. Replies
    3
    Views
    722

    Thanks but....

    strSQL = "INSERT INTO [Subform - Car Details] ([Customer Number], [Registration Date], [Purchase Date]) VALUES (" & Forms![Date Entry].txtNumber.Value & ",'" & FormatDateTime(Forms![Date...
  17. Replies
    3
    Views
    722

    Inserting dates using VB & Access

    I have the following code that is in VB but is in Access. When I try to store the dates in a table with a submit button the wrong dates are stored. In fact what ever you type in the dialog box the...
  18. Replies
    1
    Views
    561

    Adding dates

    Do you know of a good function or algorithm that will allow be to add days, months or years to an existing date.

    I am working with Visual Basic in Access and I am interogating a date that is...
  19. Replies
    2
    Views
    727

    Which database type to use

    I am writing a database application using visual C++ and I want the end application to be as user friendly as possible so ideally I don't want incompetent end users having to fiddle around...
  20. Opinions on creating reports for queries

    In the past I have created reports by either hard coding through print preview or creating an html view class and creating a report that way.

    My aim is to replicate the query manager and resultant...
  21. Replies
    3
    Views
    789

    The databases aren't in the same format and I...

    The databases aren't in the same format and I only need to interogate updated and new records
  22. Replies
    2
    Views
    577

    Problem

    This is my problem in my client hasn't actually got a design and I'm having to work it out and therefore need ideas for inspiration have you got any sample code in mind?

    Also only one database...
  23. Replies
    2
    Views
    577

    Import / Export Routine

    I have to write an import / export routine between two databases in order to do a 24 hour update on a database.

    Any ideas?
  24. Replies
    3
    Views
    789

    Import/Export routine

    I have to write an import / export routine between two databases in order to do a 24 hour update on a database. Any ideas how this is done in Visual Basic as I am a C++ programmer?
  25. Replies
    1
    Views
    719

    Compressing files

    I am writing an FTP program and I want to be able to compress the files as much as possible. I can't rely upon users to use Winzip so I'll have to compress myself.

    Saying that information about...
Results 1 to 25 of 70
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured