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...
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...
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...
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...
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 ...
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....
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?
...
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
...
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 ...
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...
I'm using VS Team System 2008 and gonna install VS 2010 Express editions.
...
Hi guys:
I at times glanced the Ext term in some reference.
What's its feature?
Thanks
...
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
...
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...
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...
Can I use EF4.0 relased with .NET framework 4.0 with VS2008?
...
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...
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.
...
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 ...
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...