I'm sure this is quite simple but I can't seem to get it to work. I'm just trying to set the selection of a RadComboBox using its onDataBound function.
protected void ReTo_DataBound(object sender, RadComboBoxItemEventArgs e)
{
if (e == null) throw new ArgumentNullException("e");
var combo = se...
Hi;
I am trying to get RegPkg to register a Visual Studio 2010 extension package under HKCU rather than HKLM. Supposedly, the /RANU switch is for that (/? help lists the switch), but if I invoke "RegPkg.exe /RANU assemblyToRegister.DLL", RegPkg fails with "regpkg : error : Invalid Parameter 'RANU'"
Tried various other placements and ca...
I'm working on a project that's a .NET extension to a rather large classic ASP project, using a lot of C++ COM objects that have been around in our code base forever. Unfortunately, there's a lot of hack-ish code on the C++ side, and I fear that I'm not experienced enough to work out the problem I've encountered.
In a nutshell, I can i...
Hi,
I recently ran into some strange problems. Changes to files that are not code-behind (and not gets compiled to a DLL) should not require you to recompile the whole website, and this has never been I problem for me. These should actually get compiled dynamically when you first access the resource, e.g. the first time when browsing a...
I'm using MS SQL for a project, but have always used MySql in the past. MySql has a really nice interface which lets you build queries, offers help, backup etc.
What free programs are there for MS Sql that can do this. I'm currently a student so I have free access to MS Sql but the only interface I have for it right now is Visual St...
Try as I might to keep [SuppressMessage]s to a minimum in the codebase, new ones continue to get introduced. I would like some way to say in the code "I've reviewed this [SuppressMessage] and it is 'acceptable'".
One thought was to create my own My.CodeAnalysis.SuppressMessageAttribute class which inherits from System.Diagnostics.CodeA...
Hy,
How to loop through files matching wildcard and find the file that was last date created.
This is in VB ... So I have some files that are with a specific prefix and I like to find the one that is last datetime created! How can his be done?
Thank you!
Adrian
...
hello,
I'm trying to find out what my choices are when I'm going to use user (persistent) settings.
In vs Studio this is possible in the properties of your project but I'm getting to know the limits there:
Only values are allowed that can be converted to string.
Collections (e.g items in a Listbox, with a name and value) cannot be sa...
I have created a user control in a .dll.
I have a reference to that .dll in my project in visual studio.
How can I get the control to display in my toolbox pane?
...
My main domain account does not have local admin privileges and I start Visual Studio using RunAs and another account that has local admin privileges.
Our Team Foundation Server (2008) is configures to recognise the main domain accounts not the local admin accounts. This means I have to log into TFS after starting VS with the admin ac...
Possible Duplicate:
Developing Silverlight in Visual Studio Express?
I would like to learn to develop Silverlight applications. But I am not sure what software I need.
I got Expression Studio 4 Ultimate, I also know I will need Visual Studio. But which version. Is Express version enough for Silverlight apps or do I need Profe...
My applications have a handful of config files, each one particular to the machine it's being deployed to (dev, production, etc.) I'm wanting to add them to the setup project, use radio buttons to select one and then have a script (or maybe custom action?) rename the selected files to connectionStrings.config, settings.config, etc.
Is t...
Silly questions... purely aesthetic... given the picture above. How do you move the values up/down? For example, State belongs grouped with Height/Width/Top/Left (Window Position + state).
Not the only project where I later add stuff and it slowly gets out of order. Can delete/re-add, but that gets tedious and error prone. Can just le...
How can I drag a web user control (ascx file) into my page? It seems I can't put them into the toolbox. It seems I can drag them from project explorer into the page, but this only works in design mode. How can I make this work in source code view?
...
I need to develop a WCF server (basically a web service which will eventually run in IIS) and a client application that accesses the service. I have both the client and the server project in the same Visual Studio (2008) solution.
What's the recommended way to connect the client to the server during development?
Two possible solutions ...
I'm running VS2010, IIS7 w/ SQL Server 2008; programming a web application in C#.
So, I've got my database with all relationships carefully mapped; it has about 25 tables with 6 different schemas (e.g. [Account], [Customer], [Product], [Category], [Vendor], etc).
What tools, methods, and architectures are commonly used to quickly go fr...
Hello,
I would like to know if there is a programmatic way of determining at run-time if the application was launched via the debugger or by launching an installed version of the application. My app is currently being deployed via ClickOnce.
There are certain settings I would like to alter when the app is run in debug mode vs productio...
Is there any way to get TFS to display friendly names rather than user names in TFS Alerts (notifications) ? Our company uses ID numbers as usernames, which makes the alerts next to useless until I go into TFS through Visual Studio and dig up the changesets and view the metadata on it. Actually, even then, the history still isn't very u...
I have a project that builds in 32/64-bit and has corresponding 32/64-bit dependencies. I want to be able to switch configurations and have the correct reference used, but I don't know how to tell Visual Studio to use the architecture-appropriate dependency.
Maybe I'm going about this the wrong way, but I want to be able to switch betw...
We recently bought two new build machines that have the same specs/hardware. From what I understand, the same or very similar disk images were used to load onto that machine. But, I believe Visual Studio 2008 was installed later on both. We have started a build of the same source code on both machines, but one of the machines always fini...