I have a project called ManagedWrapper that is Managed C++ and builds as a DLL.
I have a second project called MyManagedTest that is Managed C++ and builds as a DLL.
When I try to include a header from ManagedWrapper in MyManagedTest, I get linker LNK2020 errors. I then add a reference to ManagedWrapper in "Frameworks and References" ...
What is the standard convention to save data in textboxes and other form data to be loaded the next time the program is opened?
...
I have Form1 that has a textbox and a button. When user clicks the button in Form1, Form2 opens up with a label control that carries the value of textbox in Form1.
What i did is set the textbox modifier of Form1 to Public, but when i call the textbox name of Form1 in Form2, i get an error that says "The name "txtbx1" doesn't exist in th...
I'm trying to make a wrapper for a COM object easier to work with when debugging by adding a DebuggerTypeProxy attribute - the attribute appears to work some of the time (when running unit tests etc...), but doesn't work when I'm actually debugging the target process and I don't know why:
I've checked to make sure that the correct asse...
Is it possible to compile using an older version of .net framework while using VS2010? (which requires .net 4 to run if I'm not mistaken).
If so -how is it done?
...
Hello everyone,
My problem is data that load at startup in a DataGridView and a cell containing large data that I want to display on multiple lines instead of horizontalScroll
...
Hi Everybody,
i have a problem when i create an executable file of my application created using VisualStudio 2010 and MSAccess 2010. I instal the application and I create a shortcut but when i run the application an error is generated saying that the Data Base file is not found in the same directory of the shortcut (when i create a shor...
Hi, in .Net 4 i'm using a menu apapter like so:
<asp:SiteMapDataSource ID="mainNav" runat="server" ShowStartingNode="false" />
<asp:Menu DataSourceID="mainNav" runat="server" MaximumDynamicDisplayLevels="0" />
But it's outputting a flyout type menu - all the top level links are showing and have arrows next to them. Then when you rollo...
so I have such code in my VS ffmpeg video encoder project in C++ which compies perfectly under CLR (inttypes.h part of ffmpeg's includes)
// ISO C9x compliant inttypes.h for Miscrosoft Visual Studio
// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
//
// Copyright (c) 2006 Alexander Chemeris
//
// Redistribution...
Hi,
The auto-comment option in my Visual Studio 2008 suddenly stopped working. o_O
Does anybody know how to repair it and enable this feature again?
I'm putting triple apostrophe above function and comment tags do not appear. :(
I was trying to reset vs settings but it doesn't help.
...
In OSX, I'm used to simply doing
./configure
make
But in MSVC when I do Project from existing code and try to compile I get hundreds of errors.
I'm trying to compile GLU from the Mesa3D library. How could I do this in MSVC? Thanks
...
So I want to see a wary simple class (like Class1) with 1 or 2 functions in lib used by C++ main app in one sln. A tutorial or zip... please help.
...
I have a claims based sharepoint2010 application. It is configured using LDAP role and membership provider and both windows and form logins are working perfectly.
Is there a good reference book on how to create custom claims and add to the claims collection? I have followed Steve’s blog on how to write custom claims. I followed every st...
I have a Telerik RadGrid on my aspx web page. I notice that when I run my web application I get an extra space at the end as the below picture illustrates. I'm not sure why this shows up, I checked the markup and there is no extra column, hidden or otherwise, after the last column with the Drop link. I also looked at the RadGrid prope...
In my Visual Studio project I have a folder containing a number of .sql files. I have set VS to open these files with SQL Management Studio by default. The problem is that a new instance of SMS is started each time a .sql file is opened. This is really annoying when doing a project-wide Find in VS, when VS opens every single .sql file - ...
I have heard some pretty bad review about source safe (VSS) but no real examples. Anyone have a good example/story?
...
I have defined a class with multiple constructors so that the underlying interfaces are immutable once the object is instantiated. I would like one of the constructors to be the "default" constructor for when a user types the following in Visual Studio:
var obj = new MyClass(
Dim obj As New MyClass(
Currently when I go to instantiat...
I have a method in C++:
HRESULT Foo(const ULONG bar, const ULONG baz, ODP& odp)
ODP is typedef'd to unsigned short.
When I call this method, I get a VS runtime check error when the calling method ends: "The stack around odp is corrupted."
When I look at the method being called, and hover my mouse, VS pops up this description:
Foo(c...
I'll try to do my best to explain my problem.
I have 2 separate projects which are part of the same application in Visual Studio. One of them is server-sided and the other is client-sided.
The client sided project uses an appSettings key called XMLFileName which is used to retrieve data from an XML and populate a dataset with the retr...
Hello all, I have 3 treeviews which looked like this:
1. Header 1
2. Header 2
a) sub header 1
b) sub header 2
3. Header 3
a) sub header 1
b) sub header 2
So I have three images which already at there. So when I mouse over on 1. Header 1 it will highlight my 1. Header 1 and also opacity my image. So ...