visual-studio-2008

Why is visual studio catching key events before autohotkey?

I recently switched to the dvorak keyboard layout as a bit of an experiment. One of the most difficult parts of the transition has been dealing with hot-keys. Most hot-keys are designed with qwerty in mind and, to make matters worse, hot-keys seem to be extremely muscle memory bound. Rather than relearn all the hot-keys, I've written a...

VS 2008-- one web project, one class library project. Each referencing a third CL.

Hi all, I have a VS2008 solution with two projects in it. One is a web project, the other a class library project. The web project has a reference to the class library project's generated assembly. Each project in turn references an assembly (call it "mydll") that's built from a class library project located in another VS solution. ...

The operation could not be completed. ClassFactory cannot supply requested class

In Visual Studio 2008, all of a sudden, when I try to Add Existing Item to a project, I'm getting this error: The operation could not be completed. ClassFactory cannot supply requested class Since I installed VS 2010 Beta 2 yesterday, I just now did a system restore to before that point to see if that was the cause. It wasn't. I ...

How to enter Text other than english and process the entered text

I have a doubt is it possible to give text other than English in my latest project I need to support Hindi ,Tamil and French so if user selects language as Hindi or Tamil or French so what ever value the user is giving in the textbox it must be displayed in the corresponding language selected . My Programming environment is vc++ ...

How to remove user control entries from toolbox in Visual studio?

There are dozens of user control in our project. All these controls loads in Toolbox. I think this slows down the system when we work in designer. Is it true? if so the how to remove these controls from tollbox? Thanks. ...

CUDA & Visual C++ & Windows Forms Applications

I'm using Microsoft Visual C++ 2008 Express Edition and I have to work with CUDA technology. I've understood how to work with it creating console applications. But I have no idea how to make it working in win32 applications with forms (dialogs, buttons, labels, etc.) Any idea? ...

How to change "devenv" command location?

I have two versions of Visual Studio 2005/208 installed in my system (windows7), when I am opening Visual Studio with "devenv" command from "Run" window then its opening Visual Studio 2005 but I want when I open it using "devenv" command so Visual Studio 2008 should open by default. How can I do this in windows. Thanks Note: I am not ...

Relative control position in .NET / Visual Studio Editor

Hi, I am editing custom control in control editor of Visual Studio 2008 My custom control has datagrid view on the left and buttons on the right. I want my control when resized to keep button size constant always and keep them aligned to right border and only my datagrid control to be resized so that horizontal distances between borders...

VB.NET Chat System

Hey guys, I made a simple chat system that connects to a server with a client one on one. I'm not really sure how to get multiple clients with the server so that you can see everyone's messages. Here is the source code. The Server only accepts one client at a time. how can I fix this? Thanks, Kevin ...

Expand/Collapse all regions in project using Visual Studio?

Is there away to expand and collapse all the regions, at the same time, in a project using Visula studio 2008? ...

VB.NET Chat Server Error...

Hey guys, I recently got into this article. It makes a chat server and people can connect to it like an AIM. The problem how would I disconnect from the server from the client. Because if I close the client application when its connected to the server it will crash the server as well. Please let me know if anyone has any solutions... T...

Device Emulator not recognized in windows when I press cradle

Hi Experts, Who can help me with this: I am working on Win7 x64, with VS.net 2008. I am developping for pocketpc. When my application is deployed to the device emulator it can't connect to my computer / db server. Both de emulator as well the mobile device center are configured to use DMA. When I cradle the device using device manager,...

Trying to create a game, and cannot get the counters to move. Please help!

Hey guys! I'm trying to learn c# (so go easy on me!) and as part of a coursework I have been asked to create a game called strikeout. The game rules are very simple. It is simply a case of knocking one counter into another, with the aim of leaving one counter left on the screen. I am having trouble simply moving one counter into an...

generate dynamic download link with deadline

hi everybody, i have some file on my server and want to download this file with one constraint by client. clients should register until download file that is for past date(e.g more than 9 day). for this reason, i decided that generate dynamic link to my files same as Rapidshare.com. how do i this? I am beginner! thanks in advance. ...

VB.NET Read Certain text in a text file

Hey everyone, I want my program to read certain text in a text file. For example if I have a text file that contains the following info.. acc=blah pass=hello I want my vb.net application to get that the account variable is equal to blah, and the password variable is equal to hello. Can anyone tell me how to do this? Thanks ...

VS2008 Web Service Project missing Data Menu and Data Sources

VS2008 Web Service Project missing Data Menu and Data Sources: Simply invisible, Can't find it and just cant add a connection to my database using that wizard. why is it missing? ...

UserControls, TabControl, Window confusion

I have a number of usercontrols inside tabitems in a tabcontrol in a main Window. One user control per tabitem all inside a window. After some code executes inside one of the controls (inside one of the tabitems), I want to enable/disable other tabitems. How can I do it? ...

What is the best practice when the database schema changes in entity framework?

I am using Entity Framework to do the ORM in .NET project. The problem I am facing is that when the database schema changes, there is no proper mechanism to update the edmx file. For example, If there is a column called "Salary", and I change it to "EmpSalary", then when I update the edmx from visual studio and it shows me two columns ...

Multiple Config Settings in Visual Studio Web Application?

I have different settings for production and development in my web.config file. I am constantly changing the file manually when moving between the environments. Is there a way to automatically have visual studio use the correct settings for the environment that I publish to? Or should I have 2 versions of the web.config file? ...

C# multicast communication by generate self-defining data pack and parse the pack

C# multicast communication by generate self-defining data pack and parse the pack. how to use C# to implement the function? thanks ! ...