How to circumvent Windows security when app is installed in Program Filew...
THERE IS A PROBLEM WITH WINDOWS 7 ULTIMATE SECURITY WHEN YOUR PROGRAM IS DEPLOYED IN Program Files (x86): - IT WILL NOT LET YOU DOWNLOAD A FILE - IT WILL NOT LET YOU CREATE A NEW DIRECTORY IN THE APP...
View ArticleI'm having trouble with my Merge Sort - tried it a couple different ways and...
I have created a program that first sorts a series of numbers that are input dynamically then an option is given to either use a sequential search or a Binary search. my sequential search works fine...
View ArticleSending Byte to serial port
Hi all I need to send a packet of type byte: 0x00, 0x01, 0x02, 0x11, 0x00, 0x00 to a device via the serial port and then I receive and store data coming from device like this: 0x01, 0x01, 0x01 , 0x00,...
View ArticleFind and Open a File on Remote Computer
I have a file on one server(Windows 2003) and need to access from another server (IIS server - Windows 2008) , I have written the program for the same which works fine and I can access the file. But...
View ArticleCMFCRibbonColorButton automatic color selection seems broken - VS2010
I am hoping someone can explain the functionality of the Automatic button on this control (also the CMFCColorButton). I have an MFC app that has a ribbon. I used the ribbon designer to add a couple of...
View ArticleOdd Dialog creation... when deleting unused line of code
I ran into a very weird problem and after a lot of trial error, narrowed it down to a single line of code that should NOT be causing this problem... A little background.... We have a very very large...
View ArticleHow set font style for button in MFC ?
I want to set font size and font color for button in MFC. But MFC differrent from win32. It have no font style in property. please help me , How set font color and font size for button in MFC ?
View ArticleDisplaying an icon in a simple dialog with winapi
I made a dialog to have a customizable msgbox. (custom icon, custom caption on buttons). This is how I try to display an icon on the dialog but it is not working. Can anyone help? HICON hIcon =...
View ArticleInstall Visual Studio 2012 with Visual Studio 2010
I'm using Visual Studio 2010 professional on Windows 7 x64 Ultimate. All fully patched. Can I install Visual Studio 2012 professional ALONGSIDE Visual Studio 2010 so that both can be used? If yes, are...
View ArticleWindows Service in Win7 would be nice ... but ...
Through courtesy of: A basic Windows service in C++ (CppWindowsService) This code sample demonstrates creating a basic Windows Service application in VC++...
View ArticleHow to encapsulate a winapi Dialog in a class?
I have made a simple Pane class so that I can encapsulate a winapi Dialog. I call it as: Here the code I have, but it displays no dialog. Here is what I do in main: Code:...
View ArticleHow to pass a struct to a dialog (winapi)
I want to pass some parameters to a dialog. I am trying to pass a struct as LPARAM in CreateDialogParam. How to access this structure from ONOK for example? Code: struct DlgParam{ std::wstring...
View Article[RESOLVED] Displaying an icon in a simple dialog with winapi
I made a dialog to have a customizable msgbox. (custom icon, custom caption on buttons). This is how I try to display an icon on the dialog but it is not working. Can anyone help? HICON hIcon =...
View Article[RESOLVED] Install Visual Studio 2012 with Visual Studio 2010
I'm using Visual Studio 2010 professional on Windows 7 x64 Ultimate. All fully patched. Can I install Visual Studio 2012 professional ALONGSIDE Visual Studio 2010 so that both can be used? If yes, are...
View ArticleHELP: UNICODE conversion sprung up problems with CString & CHARFORMAT2
I converted an old example code (SteveKing's SpellEdit): SpellEdit[^] to UNICODE. Also it was made for Visual Studio 7.1 (2003) but I managed to fiddle with it to get it compiling/working under Visual...
View Articleerror c2678:binary'>>'...
i am trying to learn c++ from a book, c++ primer plus, and visual studio 2010. i am stuck on an exercise in chapter 5 where i am suppposed to use a loop to take user input and keep a running sum until...
View ArticleProblem with compiling Matrox imaging Library
Has any body compiled Matrox Imaging Library using Visual Studio 2010. I have downloaded MIL and trying to compile a simple program in the installed directory called 'msimple.cpp', but getting the...
View Article[RESOLVED] How to pass a struct to a dialog (winapi)
I want to pass some parameters to a dialog. I am trying to pass a struct as LPARAM in CreateDialogParam. How to access this structure from ONOK for example? Code: struct DlgParam{ std::wstring...
View Articlecalculate pi
hi everyone I feel so stupid asking help for these. i NEED HELP with these part of my code my prompt said : (computing Π (PI) ) You can approximate (PI) value by using the following series: Π = 4( 1 ...
View ArticleOdd error from VS 2010 C++
1>------ Build started: Project: Lab 5, Configuration: Debug Win32 ------ 1> data.txt 1>c:\users\anthony\documents\visual studio 2010\projects\lab 5\lab 5\data.txt(1): error C2059: syntax...
View Article