Results 1 to 9 of 9

Thread: MVC++ and resources

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member MPrestonf12's Avatar
    Join Date
    Jun 1999
    Location
    NY
    Posts
    330

    MVC++ and resources

    How do you create a resource file from scratch with MSVC++?. Every time I go to insert-->resource It makes me use the MFC.

    one other thing.
    Code:
    	char ch;
    	ifstream in("C:/FIGURE2.txt");
    
    	if(in.fail()) {
    		MessageBox(NULL, "Cannot open file","Error",MB_OK);
    	}
    
    	while(in.get(ch)){
    		SendMessage(editbx,WM_SETTEXT,(WPARAM)0,(LPARAM)ch);
    }
    I want to be able to load a text file into a edit box. But this does not seem to work.
    Any help appreciated
    Last edited by MPrestonf12; Jun 8th, 2001 at 05:35 PM.
    Matt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width