I have been trying to open a Word document using C# in VS2010. But I have been successful so far. I have tried searching for answers but all in vain. In the reference section, I cannot see the Microsoft Word office library (any version) in the COM tab. I added the Microsoft.Office.Interop.Word. version 14 from the .Net tab, but still i g...
Having issues trying to retrieve a effect file for directX. If I do not include the D3DX10CreateEffectFromFile() method, the application compiles correctly. If I do include it. I get the following error
1>GXDX.obj : error LNK2019: unresolved external symbol _D3DX10CreateEffectFromFileW@48 referenced in function "public: virtual void __...
We're getting some funny behavior in the Visual Studio debugger with the following.
I'm not sure if it's the code or some debugger weirdness (seen stuff like it before).
We are trying to return a pointer to an value in an array.
The weird behavior is that the value of x changes to equal y after func() is called a second time...at least,...
Hello,
I need to create a context menu, is it possible to do this using the VS 2010 designer / see a preview while writing your xaml code? Thanks for any hint!
...
Hello,
I am creating a new ASP.NET MVC Web Application in C# using Visual Studio 2010. We haven't decided on the name of our project so are using an arbitrary name for the moment to allow us to get stuck into development. Meanwhile, a brand and new name is being developed so in a month or so this arbitrary name will be redundant.
The q...
In studio when going to definition by pressing F12, it takes you to definition. Is there any way to go back to where you came from?
This is specially annoying when you have definition within same file. If it's in another file then it's ok Ctrl+Tab take you back to previous window. But when it's in same file then have to find where you c...
I see developers frequently developing against a solution containing all the projects (27) in a system. This raises problems of build duration (5 minutes), performance of Visual Studio (such as intellisense latency), plus it doesn't force developer's to think about project dependencies (until they get a circular reference issue).
Is it ...
Possible Duplicate:
Keyboard for programmers
I CW'd this question cuz it might get closed otherwise.
With the vast number of great keyboard shortcuts in Visual Studio, I'm wondering what modal keyboard you use when developing. I currently have a Microsoft Entertainment 8000 and I love the positioning of all of the keys, howe...
I learned of the >of [filename] command in Visual Studio 2008 to quickly locate and open a file. It is pretty handy until I wanted to find "web.config" where when I enter the . (period) VS automatically fills up the box with something I don't care about. and I learned that periods are a special symbol used as menu separator (http://msdn....
I'm trying to post-process the documentation XML file as a post-build XSLT transformation (using the new XSLTransformation step), but the build fails with error Unable to execute transformation. Could not find file 'C:\...\documentation.XML'. The documentation XML file shows up fine on disk after the build is complete, but during the Aft...
I want to know how to create a script and how to execute it in visual studio platform ?
plz someone help me......
...
Hi all,
I’m working on a c# project, lately we decided to restructure the directories structure of the source code.
I’m doing the restructure and wanted to ask you some questions about what is the best way to conduct the change.
The restructure is basically changing the current directories of all the projects to a more structured and lo...
How can i use insert into myTABLE (. . . .. . ) select * from(.......). I try to write some linq query but i can not. Look please linq query.
SQL:
INSERT INTO ActualAmountsByLocation (ItemBarcode, Location, LocationName, Amount, isCustomerItem, LastUpdate)
SELECT * FROM
(SELECT DISTINCT
m.ItemBarcode,
...
how can i write "in( select" method in linq?
I'm trying to convert :
UPDATE ActualAmountsByLocation SET isCustomerItem=1 WHERE ItemBarcode IN (SELECT barcode FROM StockMaterials WHERE barcode=@Barcode AND ownership=1)
I've tried like this:
Array stockMaterials = ( from s in stockMovementCtx.StockMaterials where s.barcode == Barc...
I'm using Visual Studio 2010 Ultimate. I have a C# WCF service application I want to target for Windows 2008 R2 Server Core. In the assembly framework dropdown, I see .NET 3.5, .NET 4.0 and the respective client profiles, but no profile listed for .NET 3.5 Server Core. Likewise, on the setup project launch conditions, there is no .NET 3....
I'm trying to integrate two projects, and to that end am including header files from one into the other. I'm using visual studio 2008 express.
The line
int E4407B_PPM(int &);
is throwing errors in the new project, but the original project compiles just fine.
The error I'm getting:
error C2143: syntax error : missing ')' before '&'
...
I have a Web Setup project in VS. I'll be switching to WiX, but that's in the future and currently I need to solve the following issue.
I need to exclude some common dlls from the project. So I build the project, VS updates the list of Detected Dependencies. I exclude them and the setup builds. I check the file list with Orca and the fi...
In Visual Studio when I open an ASP.NET application it will check IIS and offer to setup a site if needed to run my application under (assuming I am using IIS and not the integrated development server of course).
This works fine unless I have multiple copies of the same application at different physical locations on my computer.
I coul...
I'm using VS2010. I've got a C# project that uses a few native DLLs. In my source tree, I have these native files stored in a "DLLs" directory underneath the main solution directory. In my C# project, I have the "DLLs" folder listed with each of the DLLs inside it. Each DLL is set to build action "Content" and "Copy to Output" set to...
Maybe that's silly, but I'm confused again when trying to find appropriate names for my projects.
I have a solution with two projects. First project is a library, which will be used by other libraries in the future, for creating plugins for my app. Second project is a exe, which uses first project to create GUI and do some stuff, eg. lo...