visual-studio

Difference between .NET Web Service & Web Service Application (NOT Web-Application OR WCF Service App)

Can anyone point me in the direction of resources that explain the difference between the two? They appear to do the same thing but are implemented in a different way.. e.g. web service application compiles to dll and global.asax.vb compiles into the app, rather than being treated in the same way as a normal web service. Edit: web-serv...

how to implement copy protection for installing my .net application

I have gone through the several samples in the web.I understood to protect software by giving Password for each application.I am not asking about abstract concept because I had developed one concept for mine.My question is Where can I implement this codes ? I read about various options in visual studio such as setup project,clickonce....

Use unit tests in unusual architecture when porting from VS6 to VS2008?

Hello, we have one main application, which executes up to 5 different exes. These exes run independently and communicate with each other via UDP. Changing this architecture is not planned at the moment. We want to migrate this whole thing from VS6 to VS2008. I'm thinking about adding unit tests to make sure that after migration everyth...

Show user information on mousehover

Hi, On Mouse-over i wish to show user information such as User Id, User Name, User Location, User Age etc. All this info would be coming from database. As well, this information would be in a rectangular block that would actually come-up on Mouse-over. I am aware that JavaScript could be use to show div (in mouse-over) but don't know h...

Simultaneus development in Visual Studio and a Linux IDE

Hi, I am trying to get started with an existing open source project (QuantLib) using Linux operating system. However it seems that most developers use Visual Studio (judging from the project files committed with the source). Which Linux C++ IDE would be most compatible with VS project files? Is there a way to import/export them, so th...

How manage references in SVN/Visual Studio?

For a long time looking for a way to manage references, I haven't found any ideal way. The main problems are: 1-) Should I include all projects that I use in same Solution and reference the Project? Or reference just the dll file? 2-) If I should reference dll file, the best way is to create a ReferencedAssemblies inside each project ...

Visual Studio 2008 doesn't connect to SQL Server 2008

When i try to establish a connection with SQL Server 2008 i am getting: The server version is not supported. only servers up to SQL Server 2005 are supported. What's wrong with this? is there a patch? ...

Strange results in my locals window for VS2008

static void Main(string[] args) { List<string> myList = new List<string>() { "A", "B" }; string myString = "abc"; int myInt = 42; System.Xml.Linq.XElement root = new System.Xml.Linq.XElement("abc"); Console.WriteLine(myList.First()); //breakpoint on this line Console.WriteLine(myString); Console.WriteLine(myI...

Move a project to a different Team Foundation Server

I would like to know if there's a way to move a project in one Team Foundation Server source control to a different source control on a separate Team Foundation Server? I don't want to have to copy the files to a different folder and map that folder to the new TFS server. I've tried removing the bindings and unmapping the local source ...

to debug this project you must enable sql/clr

i am running a script from visual studio 2008 to a sql server 2008 connection i am getting this message when i build: to debug this project you must enable sql/clr debugging for the connection. note that during debugging all managed threads on the server will stop. is this dangerous to do given that i have other databases on this ser...

Tutorial on displaying datasets from a SQL Server database using C#

I am using Visual Studio 2008 and I am a beginner. I am connecting to a SQL Server 2008 database. I would like to display data from a table. How do I do this? Can someone please show me an easy tutorial? ...

Paint application in visual C#

I have created a simple paint application in VC# 2008 with the help of a YouTube video. Its code is as here: http://paste.pocoo.org/show/268704/ The problem with the code is that if I draw something in the picturebox, minimize the application, and thn maximize it, whatever I had drawn, disappears. The picturebox becomes clear. Why is i...

Configuring CUDA and OpenCV with Visual Studio on 64 bit machine

Hi. I have been trying to configure OpenCV2.1 and CUDA3.1 on Visual Studio 2008 on a 64bit Windows XP machine, since past 1 week. But all in vain. OpenCV alone is working fine. CUDA3.1 alone is working fine as well. I am using CUDA3.1 for 64 bit ... But for OpenCV, I am using 32 bit installation (as provided on Source Forge) - Possible ...

How to detect newline character(s) in string using Visual Studio 6 C++

I have a multi-line ASCII string coming from some (Windows/UNIX/...) system. Now, I know about differences in newline character in Windows and UNIX (CR-LF / LF) and I want to parse this string on both (CR and LF) characters to detect which newline character(s) is used in this string, so I need to know what "\n" in VS6 C++ means. My ques...

Lots of type errors in Visual Studio Error List -- until I build and then they are gone

I recently added a new project to my Visual Studio 2008 solution. Now, as I make edits in the new project, I receive a ton (~50) of type checking errors - indicating that an assembly reference may be missing. However, when I actually build the solution, the errors go away. As best I can tell, my dependencies are set and the build orde...

Disable VS' "downloading public symbols"

When I debug my ASP.NET webapp in VS2010, a dialog appears with the title "Downloading public symbols". How do I instruct Visual Studio not to attempt this? ...

Visual Studio Makefile Project Synchronization

I've inherited some C99 code that I'm planing on reusing in a C++-centric solution. Unfortunately, even Microsoft's latest compiler has virtually no support for non-trivial C99 features. The code in question has been tested to death and I'd rather not go through the trouble of rewriting it in C++. This means that in order for me to reus...

VB Calling Parent form's Methods in a usercontrol

Hi I have a user-control that contains a button. the user control is placed on my main form. when the button on the user control is clicked I need to to call a method that is located in the mainform.vb ...

PowerBuilder 12 vs Visual Studio - Designer support

I have control designed for VS2008 and VS2010. Will it work in Power Builder 12 designer as well? or Would I need to create any design.dll ...

overriding a User-Control method VB

I'm making a windows form, I have a user-control which I made with a number of methods. On my main form I have an instance of this user control, I need to override one of the methods in the mainform.vb to change functionality of one of the methods. ...