Hello All,
I'd really appreciate some help or ideas on a very frustrating issue. In my experience it seems that any time I need to organize or update my solutions/projects, I realize how buggy and poor the program actually is. I always end up having to find a hack or run into a nasty trial by failure that forces me start from scratch ...
We use LINQ to SQL extensively, and one of the biggest performance pitfalls we've run into is situations where a query can't be converted to SQL, and so an entire database table gets loaded into memory and the query performed by .NET. For example, this query
Dim Foo = (From c in Db.Contacts Select c Where c.ContactID=MyContactID)
tran...
Hi,
I've created web site in c:\website folder using visual studio 2010. Then, I've created web site in IIS 7.5 that maps to that folder. However when I access Default.aspx page and request to css is issued like
http://localhost/webapp/Styles/Site.css
it's redirected to something like this:
http://localhost/website/Account/Login.aspx...
I'm receiving the following error after I attach the visual studio 2010 profiler to my wcf service.
The requested service,
'net.tcp://host:port/path/myservice.svc'
could not be activated. See the
server's diagnostic trace logs for
more information.
The service works great otherwise, and as soon as I stop profiling, I can c...
When creating a new web form the default page class is System.Web.UI.Page. Can this default be changed in visual studio 2010 so that it uses a custom class that we created that inherits from System.Web.UI.Page?
Cheers!
...
I copied the exact codes from my textbook and I have the following errors.
Error 3 'txtOutput' is not declared. It may be inaccessible due to its protection level. C:\Users\Woong-Sup\AppData\Local\Temporary Projects\WindowsApplication1\Form1.vb 13 17 WindowsApplication1
Error 4 'txtOutput' is not declared. It may be ina...
Hi,
I would like to know if is possible to run a T4 template when saving a other file, example run my .tt file after/on saving a xml file
I forgot to mention that my IDE is VS2010
...
The following has been edited. Hans seems to have retracted his answer, but his questioning has helped me to narrow down the problem statement:
Extra Clarity
I do not want to modify the behavior of Ctrl+C.
I'm not looking for a work around.
I simply want the debugger to NOT break when Ctrl+C is pressed during a debugging session.
Pl...
I am brand new to LINQ and am trying to query my DataSet with it. So I followed this example to the letter, and it does not work.
I know that my DataTable needs the .AsEnumerable on the end, but it is not recognized by the IDE. What am I doing wrong? Am I missing a reference/import that is not shown in the example (wouldn't be the fi...
I don't know the differences between 3.5 and 3.5 Client Profile, same for 4.
So, what's up with that?
...
I am not sure that this is the right place to ask this, but because all here are programmers, maybe someone could help me.
I always used 2008 express, I decided to try the 2010 version today. The problem now is that I need to check something in the object explorer, but I can't find it anywhere.
...
The environment:
Clean (new) install of Windows 7 64bit.
Clean (new) install of Visual Studio 2010 Professional (10.0.30319.1).
Windows Update is up to date.
The problem:
I cannot start the debugger on Visual Studio 2010 (hit F5): 'Unable to start debugging on the web server. Unable to connect to the web server. Verify that the web s...
I have read there are a few flags in gcc to do catch some of the type violations for calls to printf, I haven't been able to find if there are similar ways to achieve this in Visual C++'s compiler (any version of VC++, from 2005 onward).
...
So I am getting an exception thrown that my Test project cannot open the SQLite assembly. However here is the output when I compile:
------ Build started: Project: Budget, Configuration: Debug x86 ------
Budget -> C:\Users\Scott\Desktop\Development\Budget\Budget\Budget\bin\Debug\Budget.exe
------ Build started: Project: Test, Configur...
I'm trying to migrate my solution (an ASP.NET web app with about a dozen dependent assemblies) to VS 2010 and am hitting some new build errors.
Error 909 Running transformation: System.IO.DirectoryNotFoundException:
Could not find a part of the path 'c:\Program Files (x86)\Microsoft Visual Studio
10.0\Common7\IDE\SomeProject\Templates...
How rename setup file in clickonce? from setup.exe to myapp.exe ?
...
Hello there,
I am trying to install VS2010-Ultimate on my machine (Windows XP Professional),
but it strucks and throws error while installing .net framework 4.0
Excerpt from the error log:
*** Blocking Components exist and must be satisfied before continuing to install ***
Windows XP Service Pack 3 is required
*** End of Blocking ...
How to Compile CUDA App is Visual Studio 2010 ?
Here are my steps:
1. Create Empty C++ project without precompiled headers
2. Add main.cpp
int main()
{
return 0;
}
Add kernels.cu
I referred to sample project MAtrixMul and copied its settings step by step. it can be complied now
#include "cuda.h"
__global__ void VecAdd(float*...
Is there a way to open an attachment for a TFS work item by double clicking on it (or rather just opening it from the IDE) in your computer's default image viewer, rather than opening it in a web browser? I'd love to be able to change this setting (if it is a setting).
Edit: after reviewing Kate Gregory's response, I looked into this op...
I use the following code to create a Label in the status strip when a child window is open.
Public Sub StatusStripPanelAdd(ByVal lCount As Integer, ByVal sImage As System.Drawing.Image, ByRef sText As String, ByVal sender As Object, ByVal e As System.EventArgs)
With (StatusStrip2)
.Items.Add(sText, sImage)
End With
...