visual-studio-2008

Visual Studio 2008 MyMacros nowhere to be found

I'd like to assign a keyboard shortcut to a macro I've written but Tools/Options/Keyboard does not show MyMacros. I reset settings as specified here but that did not solve the problem. Any other ideas? UPDATE: I found it. Was looking in Tools/Options/Keyboard of Macro Explorer but found them in Tools/Options/Environment/Keyboard of mai...

installer for distribution visual studio 2008 express

Hi guys... I've been doing some research in to installers for visual studio express 2008. I don't much like the standard publish option. I'd rather have a proper windows installer. Am I right in thinking that the only way to do this is to upgrade to the standard edition? Are there any third party tools which can be used? I've tried goog...

VS2010: Why do my custom Toolbox tabs and contained controls keep disappearing?

This is how I expected the toolbox to work: Let's say I add a custom Tab to the Toolbox called "Ajaxtoolkit." To add controls to the new tab, I right mouse click and select "Choose Items" and browse to a file, Ajaxtoolkit.dll, that is of a particular version number. I would expect that when I save and reopen the solution, that the Ajax...

How do i Manage login in visual studio .net 2008? i have the page built but dont know how to use login controls.

Need of tutorials or better yet examples of managing the login controls and session variables. Can i pass the entire page to a c# class? ...

PREDICATE( name, arity )

Suppose I have the program below: #include files PREDICATE( add, 3 ) { return A3 = (long)A1 + (long)A2; } int main( int argc, char** argv ) { PlEngine e( argv[0] ); PlCall( "consult('myFile.pl')" ); PL_halt( PL_toplevel() ? 0 : 1 ); } When I compile it, it links Prolog and C++ and then launches the Prolog command pro...

GraphicsDevice is null in my XNA Windows Game project

Hello All, I have just started trying to make a simple game with XNA 3.1 to help myself learn C# and XNA. I have run into a bit of an interesting problem, however. In all of the tutorials, one is supposed to pass GraphicsDevice when instantiating a new spriteBatch object like this: spriteBatch = new SpriteBatch(GraphicsDevice); One ...

How to upgrade VS2008 reporting Schema from 2005 to 2008

As you all know Visual Studio using 2005 schema to create RDLC reports. SSRS 2008 use 2008 schema to create RDL reports. So I'm looking for a solution to change VS 2005 schema to 2008 schema. How to do this. will this issue fix with installing Report Viewer 2010 or not ? ...

After calling a COM-dll component, C# exceptions are not caught by the debugger

I'm using a COM dll provided to me by 3rd-party software company (I don't have the source code). I do know for sure they used Java to implement it because their objects contain property names like 'JvmVersion'. After I instantiated an object introduced by the provided COM dll, all exceptions in my C# program cannot be caught by the VS ...

How can i learn file name and create a folder?

i try to make TCP/Ip Application to listen any other roemote computer to recieve any file. So i try to get files. i can do that. on the other hand every sample on google about giving SaveDialogBox to recived path folder.Forexample my old server.cs is that: using System; using System.Collections.Generic; using System.ComponentModel; us...

Trying to Add Insert Row to Footer in GridView ASP.net

I'm trying to give the user the ability to create a new record from the footer row and my event handler doesn't seem to be working... or maybe I'm going at this all wrong. The insert button that I enabled in the gridview doesn't work either...checkout the site at http://aisched.engr.oregonstate.edu/admin/courses.aspx Here is my code in...

Visual studio 2008 Professional Edition acting weird

I have a weird situation on a winform project. I have user control (with 600 lines of code around) with a datagridview. I change de ColumnHeaderStyle of the font and save it. After I save the file I close it and open again, the changes were not saved (although the asterisk is dissapeared), because the ColumnHeaderStyle is back to the fo...

Can a DataTemplate be a Page?

I'm using the MVVM pattern to create a WPF standalone application. My program compiles in Visual Studio 2008, but I frequently get warnings in the editor for my DataTemplates. In my MainWindow.xaml, I've defined the following DataTemplate: <DataTemplate DataType="{x:Type ViewModels:TagViewModel}"> <Views:TagView /> </Da...

How can i get more than one jpg. or txt file from any folder?

Dear Sirs; i have two Application to listen network Stream : Server.cs on the other hand; send file Client.cs. But i want to send more files on a stream from any folder. For example. i have C:/folder whish has got 3 jpg files. My client must run. Also My server.cs get files on stream: Client.cs: private void btn_send2_Click(object sen...

Visual Studio removes System reference on project load

After solution load, Visual Studio 2008 removes reference to System from one of project files in solution. By diff-ing with svn's copy I see that VS removes this block from project file: <Reference Include="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> <SpecificVersion>False</...

Upgrade from .NET 2.0 to .NET 3.5 problems

I’m trying to upgrade our solution from VS2005 .NET 2.0 to VS2008 .NET 3.5. I converted the solution using VS2008 conversion wizard. All the projects (about 50) remained targeting to .NET Framework 2.0., moreover if I’m changing target framework manually for one of the projects, all referenced dll (i.e. System, System.Core, System.Data, ...

VSLauncher starts wrong version

I have 3 versions of Visual Studio installed, and 3 projects that require a specific version. VSLauncher USED to look at the SLN or VCPROJ file and open the correct version of Visual Studio. Now it only starts the most recent version, regardless of the project. Note that this has nothing to do with the commonly reported problem with be...

Can't use Visual Studio 2008 Designer with MVVMLight V3 SP1

I wish I knew what I did to cause this, but I cannot use the Visual Studio 2008 Designer at all with with MVVMLight templates. I receive a "Could not create an instance of type 'ViewModelLocator'. in any of my xaml pages. The application builds and runs fine but only the designer is broken. In the App.xaml is <Application x:Class="Ex...

Team Foundation Server Work Item customization -- Add a new Text Field

May I know how to add a new custom text field in TFS to show the lastest revision number? Can anyone explain in deatil about Making use of work item’s XML and customize TFS work items. How to create custom window form control to add to work item.And installation of custom control runtime ...

Tracking progress of 'Publish Web' action in VS2008

I'm using the "Publish Web" action to deploy my web application. Is there a way to track it (see the progress) of this action? Does the command line version report progress? Is there a better alternative? ...

Intellisense not showing exceptions in vs2008 C#

The intellsiense in my vs 2008 does not show the exceptions that might be drawn when im using a function. writing in C# 3.5. ...