0
votes
0answers
17 views

How to give names to axis in chart-graph

How to give names to axis in chart-graph, Visual Studio? Name of the axis should be given in button click method.
0
votes
3answers
74 views

Unable to compare int? to null

Look at this code which I surrounded by textchanged event of a text box: string testString = comboIPAddress.Text; string[] parts = testString.Split('.'); int? ipclass = ...
1
vote
0answers
15 views

All projects referencing sub-project must install NuGet package Microsoft.Bcl.Build (C#/Windows Phone 7)?

I'm having a particularly difficult refactoring session involving a C# solution with multiple projects in Visual Studio 2012. I needed to pull out a bunch of code into their own assemblies so that ...
11
votes
2answers
4k views

How do you get the current solution directory from a VSPackage?

Following is how you would get the current solution directory from an add-in: _applicationObject = (DTE2)application; // retrieved from OnConnection method string solutionDir = ...
0
votes
1answer
31 views

How to set IP Address of Network adapters?

I have to change IP address very frequently for playing LAN games as well as for using internet at home. I am creating an application in C# which can do it quickly. I have made fields like Adapter ...
0
votes
0answers
23 views

How to create a drop down box in Visual Studio C# (Windows Game 4.0) file?

Currently I am working on a kinect project and I am having difficulties as in Windows Game file, there are 4 sections: initialize, load content, update, and draw. I know I should be using comboBox, ...
0
votes
2answers
42 views

Can I specify in Visual Studio that my program looks for a file in the same file location that the .exe is?

A feature in my program requires files from a folder. I would like to know if it is possible to specify that the folder will be in the same directory as the .exe for the program (so if the user ...
0
votes
0answers
7 views

What is the point of IVsPersistDocData.IsDocDataReloadable?

I'm slowly trudging my way through the Visual Studio SDK documentation, but I'm trying to understand what this means: (IVsPersistDocData.IsDocDataReloadable) Determines whether the document data can ...
0
votes
1answer
26 views

Adding Dependencies In C#?

In C# you can add references to DLLs to get functionality. But in C++ you can add dependencies that are included automatically when you compile so you don't have to copy them automatically into the ...
1
vote
5answers
4k views

Visual C# GUI stops responding when process.WaitForExit(); is used

I am creating a GUI application using Visual C# 2005 (net framework 2). I use the following code to start a process: Process process = new Process(); process.StartInfo = new ...
0
votes
0answers
30 views

c# WinForm Inherited child (Form) cannot access parent collection property when parent has item populated

I have a BaseForm with a collection or a list, containing some typed objects which I want to share with child form. The idea is I want my child form to be able to add/remove those object as well. ...
-1
votes
1answer
17 views

What is the best way to add customized button and link it to C# code in sharepoint designer 2007

I am trying to create a customized button in sharepoint designer 2007. What is the best way to do this? Using toolbox? or create a web part? And how to link the button I created to a piece of C# code. ...
-6
votes
1answer
66 views

What is a service reference? [closed]

In Visual Studio's solution explorer I see the words 'service reference' below a C# project. What is a service reference?
0
votes
3answers
473 views

New COM port available event

My C# application uses the COM ports. I am having some difficulty that should be common to most programs. I need to get an event when the list of Portnames changes. I have a selection box where the ...
0
votes
1answer
12 views

VS2012 Test explorer locks native .dll, making rebuilds fail

I am using Visual Studio 2012 for a solution with a C# and a C++/CLI .dll, with the C++/CLI dll referencing native .dlls such as boost. The C++ code is compiled as x64. When I open VS, I can clean ...

1 2 3 4 5 459
15 30 50 per page