visual-studio-2008

How to reference different assemblies with the same name?

I have 2 different assemblies with the same name I need to add to my project. When I try to add both references to the project, visual studio tells me the assembly is already referenced (because there is already an assembly with the same name). I tried renaming one of the files. I could add both references but then, when accessing meth...

Copying Data from DataSet Visualizer

I am using VS 2008.During debugging I want to copy all the rows from DataSet Visualizer to excel sheet. How to achieve it? ...

Writing a simple ActiveX control for IE that has one method

I'm learning how to write a scriptable ActiveX control. My goal is to have a tiny control that can check to see if something is installed on the system. What I've done so far is: Create a MFC ActiveX control project in VS2008 Add some 'safe for scripting' bits that I found here. Extend the IDL to provide my "IsInstalled" method, which ...

Getting "ActiveX controls could not be instantiated. Reinstall or register the controls and try again" message when viewing Dialog

I have an existing Visual C++ project using MFC that I'm running within Visual Studio 2008. The machine was just setup and installed and I have pulled the project from Source Control. The solution builds ok, but if I go into the resource file and try to pull up and view a dialog, I get the message 2 ActiveX controls could not be inst...

How can I generate an inheritance chart in C#? Are there any free tools?

How can I generate an inheritance chart in C#? I have a lot of classes in this project and it would be useful. Edit: I have VS2008 ...

Microsoft C++ Pre-defined Macros

Is there a cl.exe option to dump all the pre-defined Macros ( along with the defined values ). Something like gcc -dM -E - < /dev/null for gcc. ...

C++ calling child virtual member from parent virtual member

I create a parent class that calls it's own virtual member. But this virtual member is overridden by child class. class Parent { public: void doSomething() { doVirtual(); } protected: virtual void doVirtual() {} }; class Child : public Parent { protected: virtual void doVirtual() {} }; Parent *c = new Child(); ...

Organize and categorize "Help Favorites" In MSDN Document Explorer

hi experts how we could categorize and organize Help topics On Visual studio 2008 Msdn Help. I bookmarked very topics and articles but all of them are under "Help Topics" ,i want to group these bookmarks by put them in the related folders such as IE favorites,but thers is no any option. is there any pluge in or solution to do this thank...

How to align asp:Menu in DIV tag?

Hi guys. My CSS looks like this: #menu { width: 1024px; height: 25px; margin: 0 auto; text-align: right; background-color: Red; } My asp page looks like this, (in fragment): <asp:Menu ID="mnuMainMenu" runat="server" BackColor="#F7F6F3" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="Medium" ...

combobox always on top properites .

haw to make combobox always on top properites on vs 2008 c# . ...

Table is not getting updated , when used executeNonquery

Hi, I am trying to change the user password. I am not able to update the password :(. The message i am getting is password changed where as its not getting changed. . My code is as follow.. Please if anyone can suggest where i am going wrong . I am just a beginner ... protected void Button1_Click(object sender, EventArgs e) { Datab...

Why is Visual Studio Web Server Browsing the directory?

Hi, this could be seen as a follow-up to this SO question here. Now we have moved on more than a year and ASP.NET MVC2 comes along without a default.aspx I must have done something to my project in that when I hit the root, the server lists the directory and does not route through my default route. The Routing seems to be accepted, thou...

How to do ASP.NET MVC Model Validation with DataAnnotations where ViewModel contains objects from an external Web Service?

I would like to use DataAnnotations for basic client and server-side validation of my MVC ViewModels. My ViewModel looks like this: public class MyViewModel { public Client Client1 { get; set; } public Client Client2 { get; set; } public Product Product { get; set; } } So I would like to check that both client objects have...

MS-Word to iXBRL

Hi, I need to develop a MS-Word plug in application using VS2008 that converts a docx file having content controls to iXBRL format. iXBRL format is a relatively new financial statement standard. Are there any APIs to help me out or can anyone give me idea to go ahead with it? Thanks in advance. Regards, Saubhagya ...

Rebinding DGV Combobox Column. C#.Net 2008, Framework 3.5.

I have a dgv that's bound to a table tblQuoteItems. One of the columns of the dgv is ItemID which is a combobox column. Its value is obtained from ItemID field of tblQuoteItems. Before binding the dgv, the ItemID column is populated from tblItems table containing fields ItemID and Item. The ItemID column of the dgv has ItemID as val...

Nant refusing to use .Net 3.5

I am trying to use nant 0.90 with a visual studio 2008, .net 3.5 project. The nant script is being called by team city. Nothing too complex here. <?xml version="1.0"?> <project name="IPSA System" default="build" basedir="."> <property name="nant.settings.currentframework" value="net-3.5"/> <msbuild project="FS.IPSA.WebAdmin\FS.IPSA....

IVsSingleFileGenerator equivalent for multiple files?

I'm writing a custom tool for Visual Studio and am currently using the IVsSingleFileGenerator interface. This works for the most part, but now I'd like to generate more than one file output. Does anyone know how do go about doing this? I'm really hoping there is just a different interface to implement. ...

How do you turn off pre-build error checking in Visual Studio 2008 (particularly when working with SSIS)?

I'm working on an SSIS package and the error checking is really causing it to lag. If you delete a component in the middle of a large dataflow, the error list gets populated by hundreds of Validation errors and it keeps refreshing every time you try to do anything. I turned on the DelayValidation property for the package, but that doesn'...

VS2008 post-build events: include directory

I have a data directory in my VS2008 Project that is "Excluded from Project". How can I use the Post-Build Event (Properties - Build Events) to have that directory included in the project output after compilation? ...

Any one know why changes made to a .aspx page in the designer are not saved by visual studio 2008?

Hi, im developing an asp.net website application but suddenly all changes i make to the page in the visual studio designer are not being saved for some reason. Every thing i do in the code behind file is saved with out any problem, also if i edit the .aspx file but in sourceview, the changes are saved, but if i drag a control from the to...