yes,sorry for the late, i have moved to another bug. so i am using the template "Visual studio installer" on win7 32-bit OS.all prerequisites are added successfully like vc runtime components, my application related dlls, from the prerequisites dialog box i checked "microsoft dotnet 4.0 client,4.5" and "windows installer 3.1" but it couldn't be included in it i think.after built successfully the setup is going to run on winXP, Win7 (32/64) bit Operating systems. now i installed it on XP machine ,its searching for dotnet framework in the web,when i installed it on win7(32-bit) machine its showing the error like msvcp100d.dll is missing. my mfc vc++ application's target framework is dotnet4.0 so that's why i have checked 4.0 version also from prerequisite window,but i got same result as above. so what would be the exact missing in my setup..? thanks for your patience...
I have found a source code for detecting new HDD on windows but it show GUI MFC. I want to convert this code to Win32 application, and running silent underground windows always wait when a new HDD plug it show message dialog "Detect new a HDD, do you want format it? Yes or No".
when you click "Yes" it will call diskpart and format new HDD and assign. I'm not a deverploer so I need your help.
link source:HWDetect.rar - Google Drive[^]
please to help me!
I have 3rd party . OCX file. which loads in HTML scripts and do desired work
Below Steps I have used while creating a Wrapper:
1: In visual Studio-> VC++-CLR-ClassLibrary project
2: Project add Reference (.ocx file)
3: Ref: i am abe to see Interop.Filelib.1.0
4: now in Project.h i am trying to use Filelib but not able to create any object or instance.
While i tried to create an Activex project and added .ocx file getting below stuff and i am not able to understand how to use it and create an wrapper for C#.
In the past, I use to be able to go to display settings and change it from 125% to 100% and reboot and the boxes would line up nicely with the form. But its on a 100% and I dont know why its not lining up.
Any comments or suggestions are greatly appreciated.
I'm trying to create a function that can loop through a list of Windows::Forms::Controls (I know there's no loop below, I'm just keeping it simple for sake of testing) and perform a task. Right now I have a function which works properly:
You are mixing C++ template and .NET generics. This is OK is you understand what are you doing.
In your specific case, this is classic C++ template problem. To call templated function C++ compiler must see the function implementation, and not only prototype. So, you can instantiate IsVisible function only in the same .cpp file. Or make it inline by moving the function implementation to .h file.
[Marking as NEWS - this is not a question but this is an appropriate forum IMO]
If you develop in C++/CLI with Visual Studio 2017, beware that update 15.9.6 introduced a very bad codegen bug. C++/CLI apps will crash if you use /std:c++17 or /std:c++latest. The workaround is to drop back to C++14 language support.
I am working on some examples of my own and now looking to include a new class for my Banking transactions.
Seems like I am doing something in the wrong place etc.
I typed in the new code ahead of the standard code created by Visual Studio (17) (I didn't add an item). The information I wanted to create appears in the right hand window CLASS VIEW but I get the errors.
shows the class and items above
1>------ Build started: Project: Santander01, Configuration: Debug Any CPU ------
1>C:\Users\HOME\Documents\Visual Studio 2017\Projects\Santander01\Santander01\Form1.cs(19,8,19,23): error CS0116: A namespace cannot directly contain members such as fields or methods
1>C:\Users\HOME\Documents\Visual Studio 2017\Projects\Santander01\Santander01\For
I am trying to build some simple examples as part of my learning process.
I have created a form which includes the dateTimePicker and tried several combinations which have failed. The output initially displays time as HH:MM:00 and only dis[plays correct time when I include
I'd like to format - say