visual-studio-2008

Changing ASP.NET tag formatting

When I drag a Label control to my document, I get the following code : <asp:Label ID="Label1" runat="server" text="Label"></asp:Label> I prefer my code to look like the following instead : <asp:Label ID="Label1" runat="server" Text="Label" /> How can I get .NET to do this by default? I looked in Tools -> Options -> Text Editor, whe...

Using C# assemblies from VB6 code. Some issues.

I have a C# assembly, which is regasmed, but is not in the GAC. In my VB6 code, I added a reference to the generated type library (the .tlb file). Then I instantiate the C# lib in my VB6 code. If I run it from the VB6 IDE, it does not work. The Set in the code below: Dim obj as MyCSharpNamespace.MyCSharpObject Set obj = New MyC...

Create a dynamic project template in VS 2010?

This might sound a bit of an odd question but I know what I want to achieve, just don't know if it's possible. Firstly, I'd like to be able to create a visual studio project that the 2 developers that work with me can use as a basis for all new websites. I want to drop all the common files that we use in there, like jQuery, CMS files et...

Can Crystal Reports IBlobFieldObject in .NET be resized without skewing scale?

The crux of my problem is this: I'm using Crystal Reports (bundled) with Visual Studio .NET 2008. I'm using an IBlobFieldObject for a dynamically loaded picture. What I'm doing works perfectly, EXCEPT for the following issue: The default size of the field object is creating a problem for me, because the 1" by 1" square is sticking ou...

ssh tunneling with visualsvn

I have been asked to setup visualsvn for visual studio 2008 Due to firewall restrictions and server configuration. I need to use ssh tunneling. My problem is this. The local machine needs to connect to a gateway machine via ssh then connect to the subversion server so Local machine ---{ssh}--- gateway ---{ssh}-- subversion server I ...

how to access class and its functions from another class

This is my first major application using multiple classes. It is written in vb and I know about creating objects of the class and using that instance to call functions of the class. But how do I create an object with constructors to allow another program written in C# to access my classes and functions and accept things from the program....

What files do you check-in to source countrol management system when working in an ASP.NET web application?

We have a main web application that references several other projects. Do you check-in .csproj/.sln files into source control? If so, do you use these files for msbuild or do you just include *.cs to build your dll? Does ILMerge help in any way with performance? ...

understanding a Build c++

I think I know what a build is. But I am not sure. My definition of a build is another word for saying compiled application. Can someone please tell me what exactly a build is. And why do people ask for 3 types of builds. Such as Debug Build, Profile Build and a Release Build. What are the differences. [edit] the types of builds ...

Creating a good directory structure

This might be a silly question but I am still learning. I have read several books on creating application and creating a good directory structure. When people talk about creating a directory structure, do they mean the folders you make within the solution explorer (folders you actually find inside of a .sln file) or do they mean setting ...

XamlParseException due to DatePicker from WPFToolKit

Hello everyone, Error : UnhandledException: System.Windows.Markup.XamlParseException: '/WPFToolkit;component/DataGrid/Themes/Luna.NormalColor.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Could not load type 'System.Windows.Controls.Primitives.MultiSelector' from assembly 'Presenta...

Can Visual Studio 2010 be installed with Visual Studio 2008 side by side?

I'm using VS Team System 2008 and gonna install VS 2010 Express editions. ...

[VS2008, Javascript] What is Ext?

Hi guys: I at times glanced the Ext term in some reference. What's its feature? Thanks ...

Will we be able to use vs2008 with .NET framework 4.0 final release?

I know the answer for the beta was no (http://stackoverflow.com/questions/998090/can-i-use-net-4-0-beta-in-visual-studio-2008) but I was wondering if with the final release it would be different? Thanks Leo ...

wmi group in which user consist

i have the code which find all local users: ManagementObjectSearcher userSearcher = new ManagementObjectSearcher("SELECT * FROM Win32_UserAccount"); foreach (ManagementObject user in userSearcher.Get()) { if ((bool)user["LocalAccount"]) { string UserName = (string)user["Nam...

Visual Studio Team System 2008 - messy formatting/control characters/marks in source code

Hi, I don't know what I did but somehow the IDE has started displaying a green dot whenever I press spacebar and a green arrowhead whenever I press TAB. The source has become littered with these characters all over and I am finding it very difficult to code in the presence of so many formatting marks. I have tried to search a solution o...

EF 4.0 and Visual Studio 2008

Can I use EF4.0 relased with .NET framework 4.0 with VS2008? ...

Visual Studio 2008 - formatting/control characters/marks

Hi, I don't know what I did but somehow the IDE has started displaying a green dot whenever I press spacebar and a green arrowhead whenever I press TAB. The source has become littered with these characters all over and I am finding it very difficult to code in the presence of so many formatting marks. I have tried to search a solution o...

Guideline on Visual Studio 2008 Unit Test

Is there any guideline on how to use Visual Studio 2008 unit test development? I am developing a n-tier web application using entity framework. My problem is to create Unit Test for the methods which INSERT or UPDATE to the database. ...

PLKs and Web Service Software Factory

We found a bug in Web Service Software Factory a description can be found here. There has been no updates on it so we decided to download the code and fix it ourself. Very simple bug and we patched it with maybe 3 lines of code. However* we have now tried to repackage it and use it and are finding that this is seemingly an impossible ...

How do I get ELMAH to work with SQL Server (permission problems)

I've got ELMAH working on my (Cassini) development server, and was quite happy with it, but now that I'm trying to move everything to my production server (IIS7), the honeymoon looks like being over. I've got past the "gotcha" with IIS7, which frankly could have been better highlighted in the documentation, and if I just use the in-memo...