visual

string comparisons

I have a database of tables that I needed to do some comparison work on and sql server is limited to the means of doing string comparisons. I put all the data into lists and thought of using string.compare or string.contains but does not seem like it is working right. Perhaps someone has a better suggestion on how to do this. It is larg...

How this controller can get the values it needs?

Say I have set up a url structure as follows (ASP.NET MVC2) http://localhost:XXXX/Product/ Click on link browse by color http://localhost:XXXX/Product/Color/ Click on link browse red color items by type (i.e. pen's) http://localhost:XXXX/Product/Color/Red/Pen In the controller, I will need to do a select based on these criteria. Ex...

How do I use libcurl in Visual C++ 2010?

Hey guys, I was wondering if you would be able to help me use libcurl within Visual Studio to resolve the errors in the image below: ...

SQL Server Compact. There was an error parsing the query.

I cannot figure out why this is not working. I get the same thing when I try to do an update query as well. Here is the error " There was an error parsing the query. [ Token line number = 1,Token line offset = 43,Token in error = where ] " Here is the actual Query INSERT INTO ads (title,price,body,enabled,where,interval,posted) VALUE...

I am getting Timeout expired Error while Migrating application to VS2005 to VS2008

Message: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. ...

Install Visual Studio 2008 AFTER 2010?

Have a shiny new Windows 7 64-bit machine and got a bit over zealous and installed Visual Studio 2010 before I installed VS 2008. Still need 2008, can I install 2008 after 2010 or do I need to uninstall 2010, install 2008, then SP1, then reinstall 2010? ...

iBatis schemas not working in Visual Studio 2010

iBatis comes with three schema files that provide intellisense to VS.Net. According to the iBatis help docs, the location should be this: C:\Program Files\Microsoft Visual Studio 10.0\Common7\Packages\schemas\xml or this if you have x64 installed: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\schemas\xml The...

Visual Studio DLL project with DLL dependencies, unresolved external symbols

I'm new to Windows concepts. I'm trying to develop a DLL that also dynamically links against other DLL's. I'm using Visual Studio 2010. At linking time Visual studio tells me it's trying to link against a bunch of .lib files. I don't think Visual Studio should attempt to read any .LIB files if I want my code to perform dynamic linkin...

Problem with FlowLayOutPanel

I am using C#, Visual Studio 2005, and SQL Server 2000. My problem is as below. Here is my code: private void textBox2_KeyPress(object sender, KeyPressEventArgs e) { if ((Keys)e.KeyChar == Keys.Enter) { foreach (Control abcl in this.flowLayoutPanel1.Controls) { if (abcl.Name.Contains("bb") && abcl ...

Visual Web Developer 2010 - Intellisense will not display vb suggestions.

Recently installed Microsoft Visual Web Developer 2010. On .vb pages that I've added to the project, Intellisense will not display after spacing nor dot notation. I've verified that the following have both been checked: Tools->Options->Text Editor->Basic->General->Auto List Members Tools->Options->Text Editor->Basic->General->Paramete...

How to make the simplest DB Application in Visual Studio 2010

I am new to Visual Studio and I would like to quick start some simplest window forms application using DB (prefferably MySQL, anything else may be if it is simple) in Visual Studio 2010 C++ project: to establish a local connection (do I need to install and run SQL server separately?) to fill a datagrid with data to execute SQL queries ...

Visual Studio 2010 Ultimate Beta 2 ISO

Hi guys, Has anyone got a copy of VS2010 ultimate beta 2 iso?? Really need a copy, I have the full version but I need to install the beta to compare for some work stuff and I deleted my iso a few months back. Thanks ...

Creating a new user account during the installation process

Hi, I need to install a windows service running under a given user. It is working with an existing user (ServiceProcessInstaller = User) but when the user does not exist then it should be created before the service install happens. The user must be a mamber of administrators. How should I do it? (VS2008, C#) Thank You. -- Hudgi ...

Unit Test Best Practices For Visual Studio Solutions

Hey all, I've been tasked to re-architect our build process here at work and I would like to start including unit testing (nUnit) to our projects. Through my research I've got a good grasp on the technology I'll be using, but I wanted to get some advice on best practices on setting up my solution for testing and to make sure my proposed...

SQL Server 2005 or Visual Studio 2005 - writing my first procedure, any tips or good starting points?

I'm about to write my first procedure to check if yesterdays data exists in one database, and if it select some of the data, use a count and insert that data into another database. If the data doesn't exist, then send me an email. I'm using SQL Server 2005 and I'd like to ask the community for tips or good starting knowledge on smart pr...

What is the difference among Visual Studio Express edition, microsoft.net and VS professional edition?

Hi, Could anyone guide me as what is the difference among the following, 1) Visual Studio Express Edition 2)Visual Studio Professioanl Edition 3) Microsoft .Net And is there any thing like Visual Studio.Net? Please guide me, as I am currently working on express edition, but my other colleaques are working on different environment which...

What does pressing SHIFT+DEL in project tree in Visual Studio do?

Hi I pressed SHIFT+DEL on source code file name in project tree in Visual Studio and it became grayed. What does it do? How can I undo? Thanks UPDATE: Refactored hot-key name in the title. My apologies to all the parties affected. ...

Visual Studio 2010

I'm using Visual Studio 2010 Version 10.0.30319.1 RTMRel. I'm also working with XAF (the application framework from DevExpress). I right-click a Model.xafml (XML) file, choose "Open With...", then choose "Automatic Editor Selector (XML)" in the "Choose the Program..." list. I click "Set as Default". The default changes as expected. ...

Using emacs extension in Visual Studio 2010, disables auto indent

Hi, I recently installed Visual Studio 2010 for my c++ course at school. Im very used using emacs scheme in netbeans and eclipse, its hard wired into my brain, the hotkeys. At my frustration, after installing the emacs scheme (the extension) for visual studio 2010, and also enable the keymap via tools -> options -> keyboard, the auto i...

XML Comment Viewer Add-in for Visual Studion 2010??

Wondering if anyone knows if the feature to allow add-in's for Visual Studio 2010 xml comment viewer was cut in the final release?? What I am talking about specifically is this: I took this image from this page on MSDN (http://msdn.microsoft.com/en-us/magazine/dd722812.aspx) I can't seem to find even one addin with this functionality,...