visual-studio

Symbol.WPAN.Bluetooth example that transfers data

I am trying to use Symbol.WPAN.Bluetooth that comes with the EMDK for Symbol devices. Does anyone happen to have a working example that transfers data? Symbol's example just pairs the devices. (They apparently think that transfering data is not really needed in a Personal Area network example.) Anyway, I know this is a long shot, but...

Best Visual-Studio Like tool for Linux Development

I need to write a few programs for a project I'm currently working on and I'm very much used to Visual Studio 2008 and I do not mind programming in Python but I need to have a comfortable GUI programming ontop of the language itself, and it has to be well integrated and fast. I know that's a lot to ask for but is there any such thing out...

C++ templated functors

Hi, I was wondering if anyone can help me with functors. I dont really understand what functors are and how they work I have tried googling it but i still dont get it. how do functors work and how do they work with templates ...

Add Edit menu back into the Main menu in Visual Studio 2008

Hi, I was just trying to set up a new key command for a command in the Edit menu of Visual Studio. I went to click the Edit menu and dragged it, as it can be dragged in this mode, and it disappeared off the menu, and I have no idea how to get it back! If anyone knows please help. Probably something really easy! ...

Can't display base interface in class diagram ("type not found")

I have a class diagram associated to a Silverlight class library project in Visual Studio 2008 SP1. One of the pieces of code displayed in the diagram is an interface I have made that inherits from System.Windows.Input.ICommand. Now I want the base class of that interface (ICommand) to be shown in the diagram as well. So I right-click i...

VS2008, no embedded application icon?

Hello everyone. I'm using Visual Studio 2008 and I can set the application icon using the My Project -> Application - Tab with a path. But, is there any way to set the application icon to an embedded resource instead of the file itself? 'cause it seems like that VS is embedding the icon again just for this purpose, instead of reusing an...

quickly compile cpp file

I work with Visual Studio 2008. Sometimes when i'm looking for certain small tools on the web, they are provided as single cpp files. I guess in linux it's very easy to build the tools using a single command (i'm no linux guy). So my question is, what's the quickest way to compile them under windows (which Visual Studio 2008 installed). ...

How to search a Visual Studio Solution for all the projects it contains?

How do I take a Visual Studio Solution (.sln) as input and get a list of all the projects it contains? ...

Why/how does this compile?

C++ in MS Visual Studio 2008. Warning level 4 plus a load of extra warnings enabled as well. I'd expect this to give a warning at least, but more likely a compiler error? Function declaration is as follows: int printfLikeFunction( const int bufferLength, char * const buffer, const char * const for...

Make Visual Studio 2008 or 2010 look like Expression Blend

I recently started using a black theme for Visual Studio and love it. I would also like it if I could get all the panels to change colour to something more like the Expression suite of programs. Im guessing this is not possible in VS2008, but can it be done in VS2010 since it uses WPF? ...

SetUnhandledException Filter

Hello I am using Visual Studio 2005. I am using SetUnhandledExceptionFilter to call my custom exception filter function when some unexpected error will happen. My custom filter function is called only if the unexpected error is Operating sytem error like Access Violation. When the exception is C++ exception , raised with throw, my cust...

URL Behaviour in a Visual Studio Web Reference

Hello, Please can some one explain exactly what the URL Behaviour (Static or Dynamic) property for a Web Reference in Visual Studio is for. I believe it affects where the URl for the Web Service is stored but I don't have a clear understanding. Thanks ...

Can I add a feature to Visual Studio to "Create Copy of Project For [XXXX]"?

If you are doing XNA Programming, you have an option in the context menu for your project similar to "Create Copy of Project For Windows" or "Create Copy of Project for XBox360". I would like to add the same functionality to extend VS.NET to duplicate a current project but target a different platform for an effort I'm working on. Is th...

Parameters and Datasources

I have a formview that I select data based on values I get from referencing a master page. I want to set my parameters to some value behind code instead of storing those values in a hidden field and setting my parameter source to a control(hidden field control) IS THIS POSSIBLE? If so - How? I'm using an SQL datasource ...

Double filenames arent compiled?

Hello all, I'm having a problem compiling files in Visual Studio 2008 (Express edition). I have two folders with an Entity.cpp file in them, they're both added to the solution but only the first is compiled. If I change the name of either one of them it compiles correctly, but if both have the same name they're ignored. (Though changin...

When developing Visual Studio add-ins, what testing options are there beyond manual testing?

I'm in the process of developing a Visual Studio add-in for a project at work, and have found debugging and testing it to be pretty tedious. So far, it appears to require the launching of a second instance of Visual Studio and manual execution of the add-in code. What techniques and/or tools are available for automating this sort of ad...

Visual Studio Database Professional GDR R2 takes a long time to serialize DBMDL file

The amount of time it takes to completely serialize the DBMDL (to finish "Your project will be available after 10000 operations are completed) is becoming a hindrance to productivity. I've done what I can to optimize disk activity (excluding my personal TEMP folder from the virus scanner, along with my local source repository). Short o...

Switch to other thread while debugging session in Visual C# Express 2008

I have app that uses two threads: one thread for regular application work and another that does some background processing. When I debug my app and have a error message displayed I click pause to get to the line when this error ocurred. But unfortunately I'm redirected to current line of the second background thread. My question is: ho...

Check if an object has focus

How can I tell if a certain textbox has focus or not? I'm writing in C# in .NET. ...

Is there a production grade SimpleDB .NET library?

Here you will find all the SimpleDB code samples on the AWS page. Here you will find a VB.NET SimpleDB library. Is there a production grade SimpleDB library, preferable built in C#. If not, May I use the VB.NET library on a C# project as a reference? ...