hi i am adding chart to excel from c# as follows
Excel.Worksheet ws =
(Excel.Worksheet) Globals.ThisAddIn.GetActiveWorksheet();
Excel.Shape chart =
(Excel.Shape) ws.Shapes.AddChart(Type.Missing,100,100,100,100);
is it possible now to add let's say Rectangle on the chart above for example like
chart.Add(msoR...
I was searching for options for a plugin for MKS version control within Visual Studio 2008. I found the main website mentioning a plugin availible, but so far it sounds like it was orginaly for visual studio 2005. Is there any confirmation that it works ok with visual studio 2008 also? I assume it might work fine, but I have not seen ...
I'm having trouble finding a way to prevent the VS2008 debugger from automatically jumping to the currently executing line of code when I click "Break All" to edit a source file. I want to keep my editing cursor where it is in a specific method.
A possible workaround is to use Bookmarks to jump back once debugging, but with frequent bre...
Currently the local webserver exectutes at http://localhost:51377
Is there any option of customizing the web server in order executing under http://192.168.1.2:51377 (where 192.168.1.2 is my static intranet ip address)
...
So, I'll be soon working on porting two APIs (C++ and C++/CLI) to use the VS2010 compiler. I think it'd be a good idea to have a head start on this. Any tips?
...
hi i have inserted image on an excel worksheet...
how is it possible to refer to this image from c#, thanks a lot!
...
I'm using VS2008, writing a C# .NET app. I have an SQL Server 2005 database server with a database which contains several stored procedures. I want to show the stored procedure data in a report.
So, as a test I created a brand new VS2008 C# project based on the "Reporting -> Reports Application" project type.
I went through the wizard,...
I don't know why but for some reason I am not able to refer to my tbText control in my code behind file. Here is the XAML part:
<ComboBox.ItemTemplate>
<DataTemplate>
<ItemsControl x:Name="ic">
<Grid>
<Grid.ColumnDefinitions>
...
I'm using VS2008 SP1 and TFS 2008 for version control.
The other day, I had a merge conflict in a .sln file when doing a Get-Latest. I resolved the conflict, and all appeared to be well.
Now however, the VS2008 source control integration has gone wrong.
What used to happen when editing a non-checked out file was that VS2008 would sile...
When the following line is called when running a website from the VS2008's web server i get a "The trust relationship between this workstation and the primary domain failed." exception.
if (User.IsInRole("SomeRole"))
...
I have turned UAC off, and set VS 2008, and it's built-in webserver, to run as an Administrator, and i have also re...
Hi,
I have 2 asp.net web applications, one of which is the main application and the second one is referencing the first application for like master pages , themes etc, and the main frameset that will point to the second application's webform based on database values (menu generated from database);
All my actual forms are in the second ...
Perhaps this is a stupid question, but for the life of me I cannot find a way to do this.
How would one go about adding an event handler to a control in a form in Microsoft Visual Studio (2008) with C#?
I can do it manually, but opening the Designer.cs file for the Form, but I cannot find a way to do it through the interface. In MSVC 6...
Not sure what's going on here.
I have an Windows console app written in C. When I run it from within VS2008, it runs fine. If I run it from the cmd.exe prompt, it crashes, usually in malloc(). I am guessing it is a race condition due to a mismatched CRT library.
The app is simple.
It calls into the WinHttp layer to send a GET reque...
Note:
Using Windows Forms
preferably C# .NET
Question:
Best method for implementing a drag-over-window tool, similar (or identical) to that featured in process explorer, to obtain the process ID corresponding to the selected Window
...
I have a strange problem, and hopefully someone can help me.
I have a solution with 13 separate C# projects. I am using Vista x64 to develop on, and I would like to build these projects to target the x86 platform. This is normally quite easy. I can go to solution properties -> Configuration properties and change the platform to x86. The...
Is there a key combo in VS2008 that will allow me to quickly jump to my using statments and then jump back to where I was after entering the required using statement?
...
I'm using Visual Studio 2008 (C++) and would like to produce a list of all classes that are defined in that project. Does anyone know tools that extract those easily?
A simple 'Find in files' will not be sufficient, of course.
Edit: The list of classes should be created automatically and the result should be a simple file of class name...
I'm using Visual Studio 2008 and I have been wondering why doesn't the autocompletion of Visual Studio kicks in automatically every time I start typing something in C++, unlike C#.
It does show me the list member box when I use the "." or "->" operator but not when I start typing randomly. I can make it appear using alt + right arrow bu...
hi let's say i have images on my excel worksheet, how is it possible to delete/remove them from the sheet using c#,
following code gives me exception
Excel.Worksheet ws = Globals.ThisAddIn.GetActiveWorksheet();
foreach (Excel.Shape sh in ws.Shapes)
{
sh.Delete();
}
thanks!
...
I have very little experience with ASP.NET and I am doing some self-training before I start writing my first web site/application, which will be a calibration utility. How that utility works is not my concern right now. However, the utility eventually needs to end up embedded in someone else's web site, either just as a URL to the page w...