I have multiple C# projects in a Visual Studio solution right now that will all use the same SQL Server database.
What is the proper way to share LINQ-to-SQL classes between projects?
I'm considering just copying the dmbl files into each project, but I think that may be too redundant. Is there a better way to approach this?
Would somebody please tell me whats wrong with this code
I am just calling a Sleep function from the kernel32.dll
What's wrong?
I am using Visual Studio 2008.
Any help would be grateful.
Thank you very much.
__asm
{
mov eax, 77e2ef66h
push 9999
call eax
}
Hello Frierndz u r very helping.............
plz help me as i am doing my project
where i have to search the user input from all the text files of hard disk in c++
i am not able to do so....
plz help what i have to do.
which library will be helpful for me to pick text files directory from hard drive
i m using visual studio C++
Hello
I am trying to deploy an application via Clickonce from one domain, where I'm logged in as DOMAINONE\Irwin to another, where I am granted permission via DOMAINTWO\deployer.
When I try this, Visual Studio (2008) reports:
Unable to access \\DOMAINTWO\publishfolder.
Any advice on how to accomplish this?
Not sure if this is a bug or if i'm just missing something but I cannot for the life of me figure out how to get my cursor back in the winforms designer in visual studio 2010.
I opened up an existing project and added a group box, now my cursor is stuck drawing group boxes. I just want the simple pointer cursor back but nothing I do seems to bring it back.
I almost expected it to be on the toolbox under "Cursor" but its not.
Is it possible to have Visual Studio code completion use the System.[Type] instead of the keyword.
Example:
Autocomplete of List<String> myList = completes as:
List<String> myList = new List<string>();
whereas, I want:
List<String> myList = new List<String>():
This isn't the only example, but hopefully shows what I'm looking for.
Hello, I am looking for pointers, examples, etc. to create a basic application in sharepoint 2010 using visual studio. The application would show a list on page 1 (driven by linq entities). When you click a row, it shows a details page. I've gone through the tutorials but could not find a basic crud-like example as explained above.
Any help would be greatly appreciated. If I missed something in one of the tutorials, please let me know.
To summarize, in a very generic way; I am looking for information on how to display two web application pages and have the user click a link or control to move through pages.
Regards,
Bryan
I've created a new C++ project in Visual Studio 2008. No code has been written yet; Only project settings have been changed.
When I compile the project, I receive the following fatal error:
fatal error LNK1104: cannot open file 'C:\Program.obj'
I'm working with a visual studio 2008 - You get access to a number of special folders to use if you want to include files within. One I don't see on the list is the user's local application data folder. Is there anyway to put files in that folder from within a VS2008 setup project?
The related default StyleCop rules are:
Place using statements inside namespace.
Sort using statements alphabetically.
But ... System using come first (still trying to figure out if that means just using System; or using System[.*];).
So, my use case:
I find a bug and decide that I need to at least add an intelligible Assert to make debugging less painful for the next guy. So I start typing Debug.Assert( and intellisense marks it in Red. I hover mouse over Debug and between using System.Diagnostics; and System.Diagnostics.Debug I choose the former. This inserts using System.Diagnostics; after all other using statements. It would be nice if VS2010 did not assist me in writing code that won't build due to warnings as errors.
How can I make VS2010 smarter? Is there some sort of setting, or does this require a full-fledged add-in of some sort?
Is there a tool that can record amf calls being made from a flex application (swf) and replay them? + do a load test?
I tried Visual Studio 2010 and with FluorineFX this works. But are there other tools around that can do the same?
I'm looking into creating a GUI program for Windows in C++, I have a good knowledge of C++ in the command line and also in game creation. But I'm not sure where to start with GUI application development.
I have Visual Studio 2010 and have created new projects with a GUI but these templates are complex and leaves me not understanding whats happening and how to modify it.
So I'm asking where do I start? Preferably good websites that you can recommend or tutorials, rather than books being a poor student :)
I'm new to both unit testing and Visual Studio 2010 (just upgraded from 2008). I'm interested in using VS2010's new built-in unit testing tools, but would like to get the lay of the land first. I haven't been able to find any resources or tutorials on unit testing with VS2010 specifically - has anyone found a good walk-through?
I'm also open to persuasion that we should stick with NUnit or the like, if anyone knows a reason to avoid the built-in tools.
Recently I opened a .dll file produced by Visual Studio 9 while compiling a native C++ DLL project and was surprised to see the "This program cannot be run in DOS mode" text near the beginning.
Why have this text in .dll files?
I use WebClient from System.Net Namespace of Visual Studio 2008 to download the HTML content.
It done well with normal website but with some 4rum that require authorization such as warez-bb.org, it always return the HTML of the login page.
I wonder if there is a way to send the username and password to the WebClient?
Hello,
I have created a program that write video stream to a named pipe on windows, using Visual Studio C++ 2008 . how to be sequre that no one exept programms on this computer can acsess this pipe?
npipe = CreateNamedPipe("\\\\.\\pipe\\TestChannel", PIPE_ACCESS_DUPLEX, PIPE_TYPE_MESSAGE | PIPE_WAIT, PIPE_UNLIMITED_INSTANCES , 1024, 1024,5000,NULL);
I just want to make sure I'm understanding the documentation correctly. If I add System.Data.SqlServerCe as a reference in my Visual Studio 2008 project, compile it, and copy the contents of the "bin\Release" directory to a Windows machine that has the latest version of the .NET framework, will it just work? Or do I need to do something else?
Hello Everyone,
I was wondering what is the best XML Library in C++ (I'm using Visual Studio), considering fast set-up is critical. Basically, I want to create a file to save annotations on various .avi files.
Thank you in advance.
I need to deploy some Crystal Reports XI .dlls (craxdrt.dll, crviewer.dll) to client computers. Craxdrt.dll has many dependencies. I found out that the easiest way to go about this is to use the supplied merge modules. Having always relied on ClikOnce deployment I am at a total loss how to do this.
If it matters: the .exe is written in VB6, but I have visual studio 2010 to make setup projects.
Thanks!
I see that a JSON serializer is present in the System.Web.Script.Serialization namespace, and is shipped in the System.Web.Extensions.dll assembly.
Is this assembly distributed with the .NET framework v4.0 redistributable? Is it also guaranteed to be present on a user's machine if any edition of Visual Studio 2010 is installed?
Is it possible to attach Visual Studio to a remote instance of IE7 and debug Javascript? I have enabled script debugging in IE7 and I can attach to the process, but my breakpoints are ignored. Have anyone ever done this?
I've got to a point where i want to start using version control for my project.
Mainly for reverting to previous versions of files if things go belly up, doing diff comparisons. Nothing major.
I want something that integrates well with visual studio, and something thats relatively simple to setup. - prefereably with a link to a tutorial for setting up would be nice.
Im just using my pc for this so something like TFS is out of the question.
Im trying to compare these two chars but on win 32 Visual Studio 2008:
if(mychar1 == 'ä' || mychar2 == 'Ä')
Erromess:
Debug Assertion Failed!
File:f\dd\vctools\crt_bld\self_x86\crt\src\xstring
Line 1575
Expression: string subscript out of range