I have a Text Box that is a System::String^, I need to confirm that this only accepts 10 digits numbers and no letters, symbols, etc. How would I implement this in C++ visual studio? Do I need to convert the contents to a std::string first?
...
I've got several complex deployment projects that I'd like to combine into a single project.
All the deployment projects are in the same solution. I'm combining them to simplify the build and the installation process.
The individual deployment projects are obsolete, and going forward I only want to use the combined deployment project.
...
I've been documenting my Javascript with v-doc comments, as this works really nicely with Visual Studio.
I'm considering giving NetBeans a go, as it apparently has very nice intellisense/code completion.
Will NetBeans support vs-doc comments?
If not, then by what means does NetBeans provide intellisense for Javascript files?
...
In the Windows version of Emacs, Ctrl+Up and Ctrl+Down navigate between blocks of text by going to the prev/next blank line instead of line by line. Is there a way to reproduce this functionality in Visual Studio?
...
I used the Wizard to create a baisc input box with a OK and Cancel
I made the input box type "int" with min value 0 and max 99.
Now I want to edit the input box so that it is type string.
I have the MFC ClassWizard open and can see the ControlID, Type, and Member ID of the input box. However, there is no option to edit it...
How...
I'm using VB Express 2008. I know how to tell if code was built in debug more or release, but now I would like know how to tell if it is running in the Visual Studio IDE or not (so that I can add some debug MsgBox() and not worry about them showing if I ever accidentally ship a debug version).
...
I have a VB Express 2008 class library and would like to embed a version number and some copyright/contact info.
How do I do that?
...
Just another of those things that I have never done before but which is probably simple ... when you know how
I am using VB Express 2008 and need to create a very simple DLL.
I already built and tested it and now I find that it has to be a COM DLL. How do I go about that?
Edit: in reply to @Kman - I looked at http://msdn.microsof...
A change needs to be made in a DLL. The DLL was originally coded in VB6 (not by me), and the source code lost.
It is very simple in its functionality, so I recreated it from scratch, but I only have access to VB Express 2008.
I created it first as a normal DLL then realized it had to be a COM DLL. Fortunately, an excellent article at h...
My workstation has an AMD Phenom II x6, 4GB DDR3 ram, and Windows XP 32-bit (yes, still XP and still 32 bit).
When I am compiling projects using VS2010, I've noticed that it doesn't use more than 1 core (at least this is what task manager is telling me).
Is there a way to get it to compile the individual files using multiple cores? -- ...
After my laptop fell on the floor and its screen was a little damaged, I was able to continue working with it, but failed to build a project of mine. At some point, the system froze, and I was forced to restart the laptop. Ever since, I’m not able to start Visual Studio 2008 or 2010. Moreover, when I do try to start one of the versions, ...
I have made the experience that editing large XAML files is extremly faster when doing it in the standard XML text editor instead of the the split-screen cider XAML editor with the design view. This is also true when I have the "Always open documents in full XAML view" option enabled. Allthough it gets a little better when this option is...
Hi all:
Did you ever use Memory Window to go about debugging? If yes, can you provide some scenarios?
Thanks
...
I'm looking for a way to providing users (administrators) of a web application to automatically (meaning it's opt-in to update, but the installation should be automatic when started) update said web application when new versions are released.
The reason why I want an automatic approach is that I want the users to be able to update the ...
I'm reviewing our Visual C++ code base and see lots of helper functions with really short bodies. Like for example this:
inline int max( int a, int b ) { return a > b ? a : b; }
the problem is when code is debugged in Visual Studio debugger it's impossible to immediately see what a and b are upon entering the function with F11 ("step ...
When I try to debug a program in Visual Studio on my local server I get
Visual Studio has insufficient privileges to debug this process.
To debug this process, Visual Studio must be run as an administrator
How can I solve this? I am using Windows Server 2008.
...
I am looking at an abstract class in Visual Studio 2010's object browser. I would like to find all classes that descend from this abstract class so I can choose the best one to implement in my application. I do not have the source code for this assembly, so I can't use the find in files feature.
Unfortunately, I can't seem to find out h...
Hi, so I have a WPF web application which runs fine when run from Visual Studio. However, when I publish it and load appName.xbap (in a directory like C:\myApp) that in turn loads files located in \Documents and Settings\ ... \myApp. So what is happening is all the actual .deploy files I need are shoved in a place I don't want them.
The...
using VisualStudio2010;
After attaching to a Process and pressing Pause (Break-All), you switch to the desired thread and use the Quick Watch window to check out some data, say
MySingletonClass.Instance.Data
Sometimes I either get this
Cannot evaluate expression because the current thread is in a sleep, wait, or join
or this (w...
Hi, For drawing graphics on WinCE emulator in visual studio 2008, currently i am trying to use GDI in VC++.
is it possible to use OpenGL for drawing on WinCE platform ?
...