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
A

Atom

@Atom
About
Posts
23
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to capture a scrollable web page as an image file ?
    A Atom

    Hi, Does anyone have any c++ code that will convert a web page into an image file, even if all of the page is not displayed on the screen.

    C / C++ / MFC c++ tutorial question

  • How to capture a scrolling web page as an image file (bmp,jpeg, etc...)
    A Atom

    Hi, I need to capture a scrolling web page to an image file, ( Not just the images on the page ), c++ code preferred. Does anyone know of an sdk or any examples of how to do this. Many thanks.

    C / C++ / MFC c++ tutorial

  • Using command line parameters with ShellExecute() ?
    A Atom

    The error that I was getting was, SE_ERR_ACCESSDENIED The length limit is NOT nonsense. ! The following link describes the length restrictions on the parameter I am talking about: ShellExecute parameter limit. I guess my 1983 char length string has the .exe file path name appended to it taking the to total string length to > INTERNET_MAX_URL_LENGTH. Which is why I was getting the error. I've solved the problem now, using an intermediate file to get around any command line length limits. Thanks for the advice.

    C / C++ / MFC help question

  • Using command line parameters with ShellExecute() ?
    A Atom

    Hi, Thanks, solved the problems with the backslashes, now I can shellexecute() with a command line containing multiple file paths. The problem I am having now is that when I test the command line string with a string of length 1951 it works fine, but if I add one more file path to this string which takes the length to 1983 the function fails. So presumably the command line string has a max length between 1951 & 1983. I will test this further, maybe shellexecuteEX() is the way to go. Many thanks for your help.

    C / C++ / MFC help question

  • Using command line parameters with ShellExecute() ?
    A Atom

    This is what i've done already, The string I've included in the example is how it appears in memory(NOT in source code). I just can't work this out as when I double click a file that is associated with the exe in explorer the command line reads with quotes around that file name EXACTLY as I have in the source code.

    C / C++ / MFC help question

  • Using command line parameters with ShellExecute() ?
    A Atom

    Hi, I am trying to call ShellExecute() to run an .exe that takes 1 or more file paths as command line parameter(s). Although when I format a string like: ""C:\\file1.txt" "C:\\file2.txt" "C:\\file3.txt"" as the lpParameters param I always get an SE_ERR_ACCESSDENIED error. Am I using the correct command line formatting, as if I pass a "" (NULL string) as lpParameters the function runs the exe OK. Many Thanks.

    C / C++ / MFC help question

  • How to detect monitor resolution changes ?
    A Atom

    Just what I was looking for, Thanks.

    C / C++ / MFC c++ tutorial question

  • How to detect monitor resolution changes ?
    A Atom

    Hi, I need to know how to detect monitor resolution changes in my MFC application, is there a WM_MONITORRESOLUTIONCHANGE message or similar that I can use to check for this. Many thanks.

    C / C++ / MFC c++ tutorial question

  • Image transitions
    A Atom

    OK, I've found a solution, thanks for your help. Atom

    C / C++ / MFC c++

  • Image transitions
    A Atom

    Does anyone know where I can get some code written in c++(win32 or MFC), that performs transitions between 2 images( Fade, Zoom Out, Page roll etc...). I have tried various imaging libraries including - ImageStone & CXImage, but cannot find any support for transitions. Many Thanks, Atom

    C / C++ / MFC c++

  • How to use UpdateResource() with RT_ICON
    A Atom

    Hi, I do not know how to use the UpdateResource() function to create an ICON resource within an .exe file. I have managed to create raw data resources with this function, but not ICONs. Does anyone know how to make this work given a file path to an .ico file. I need to change the icon in an .exe file when it is displayed in explorer. Many thanks

    C / C++ / MFC tutorial learning

  • How to modify resources in a compiled exe file ?
    A Atom

    Thanks for the good advice, I need to know the API's to be able to modify exe resources programmatically, using visual c++ manually does not solve my problem. A simple example of the stuff I need to do: The program I am writing "Program B" needs to take user input, for example: "This is my String" is entered into an Edit ctrl. A string resource with a value of "This is my String" then needs to be created in "Program A"(ProgA.exe). So when "Program A"(ProgA.exe) is executed it is able to display "This is my String" in a msg box/window etc... I will look into the API's you have told me about, I think they will be a great help. Once again, Many thanks.

    C / C++ / MFC graphics json help tutorial question

  • How to modify resources in a compiled exe file ?
    A Atom

    I have come across what seems to be a complicated problem. I need to add string resources and bitmap resources to an exe file after it is compiled. Anyone have any ideas ???, any WIN API functions that can do this ???. Many thanks.

    C / C++ / MFC graphics json help tutorial question

  • How to create an .exe from my own program
    A Atom

    Hi, I need to create standalone .exe files from my own program. An .exe will simply play back a small video file when opened. This .exe needs to be independant and can't rely on the video file being seperate, it must somehow be embedded in the .exe (as a resource maybe). Many Thanks.

    C / C++ / MFC hardware tutorial learning

  • How to tell whether explorer is hiding extensions for known file types ?.
    A Atom

    Superb, just what I need. Many thanks.:)

    C / C++ / MFC tutorial question

  • How to tell whether explorer is hiding extensions for known file types ?.
    A Atom

    Thanks David your advice was very helpful. Although it hasn't entirely solved my problem, which is in code similar to this. CFileDialog D; if( D.DoModal() == IDOK ) { CString strFPN = D.GetFileName(); CString strExt = D.GetFileExt(); CString strFPNandExt = strFPN + strExt; // Do stuff here with strFPNandExt... } My problem is that when explorer is hiding file extensions, CFileDialog::GetFileExt() returns a null string. So what I really need to know is whether there is a way to get the file extension of a file that is selected in CFileDialog, (or maybe anywhere in the shell) when file extensions are hidden. I don't really want to have a registry value changed and then restored when CFileDialog::DoModal() has finished its business.

    C / C++ / MFC tutorial question

  • How to tell whether explorer is hiding extensions for known file types ?.
    A Atom

    Hi, Can anyone supply sample code that can get/set the state of the "Hide extensions for known file types" check box, which is in control panel "Folder Options". Many thanks.

    C / C++ / MFC tutorial question

  • Choices for easy-to-use installers for newbies (registry access a must)
    A Atom

    Dacris Acti Setup is a good alternative to Install Shield and Wise, It only costs $249 and does everything you need plus a lot more.

    C / C++ / MFC c++ windows-admin business question

  • Getting the attributes of special items
    A Atom

    Hi, Does anyone know of a function that will allow me to distinguish between normal shell items like a text file or a folder & special items like MyComputer, shared documents folder, C drive, CD drive etc. In other words how do I get the attributes of these special folders. Many thanks.

    C / C++ / MFC linux question

  • How to stop the window popping up when a CD is inserted
    A Atom

    Thanks for the reply Mike, but I need to be able to do this from within my program, so any code in C++ would be appreciated. I am writing a CD/DVD Burning application and I don't want to have this auto play dialog popping up every time the user inserts a blank disc and closes the drive. Many thanks.

    C / C++ / MFC tutorial
  • Login

  • Don't have an account? Register

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