I recently updated an application from VS2003 to VS2008 and I knew I would be dealing with a host of "Cross-thread operation not valid: Control 'myControl' accessed from a thread other than the thread it was created on" I am handling this in what I beleive is the correct way (see code sample below). I am running into numerous controls th...
I have two projects in my solution
1- asp.net web project.
2- wcf serivce project.
3- other common projects between two listed above
Current on the local dev machine I have to run two visual studio instance to run both projects in debug mode. That makes the system run out of resources as these projects share some other project...
I'm working on a main window in my application and I would like to design parts of my window separately in Visual Studio designer.
Main window
Game desk (actually more of them and therefore it would be nice to design the game desk, mark it as a resource and then just via simple code (something like creating a new object and setting ...
Hi,
I'm using the Visual Studio Development Server, with a specific port. Is there a way to add a virtual directory to it?
EDIT:
Sorry, I wasn't very clear. I'd like to be able to add one or more virtual directories to arbitrary physical directories. For instance: http://localhost/c_drive/ would map to C:\, http://localhost:/d_driv...
I am getting the above error in my VS 2008 C# method when I try to invoke the SQL getColumnNames stored procedure from VS. This SP accepts one input parameter, the table name, and works successfully from SSMS. Currently I am selecting the AdventureWorks AddressType table for it to pull the column names from this table. I can see teh A...
I have a quick question regarding debug and release in VS 2008.
I have an app i've been working on - its not yet complete but the bulk of the functionality is there. So basically i'm trying to give a copy of it now to the person helping with documentation - just so they can have a play and get the feel for what i've made.
Now the quest...
Hi everyone,
I've got a strange one here. I have a .Net executable that, under the hood, calls a few stored procedures. For whatever reason, one of the stored procs hangs when I'm debugging.
If I run the executable outside of visual studio things go fine, including this stored proc. It's when I'm debugging that this hangs, and it re...
I have visual studio setup project with a custom RadioButtons dialog.
How do I get it to write the value of the ButtonProperty in the registry after it is selected in the UI?
...
Hey guys,
I am trying to learn Visual C++ 2008 and C++ at the same time to get involved with sourcemod, a server side modding tool for valve games. However I have never touched Visual C++ or C++ in general, and doing some preliminary research I am quite confused on these different versions of C++ (mfc, cli, win32), and why a lot of peop...
I try to give entity map on my entity app. But how can I do it? I try to make it like below:
var test = ( from k in Kartlar where k.Rehber.....
above codes k.(can not see Rehber or not working ) if you are correct , i can write k.Rehber.ID and others. i can not write:
from
k in
Kartlar
where
k.Rehber.ID = 123 //assuming that naviga...
Hi guys,
I've run into the following annoying and seemingly incorrect behaviour in the Visual Studio 2008 C++ compiler:
Suppose I have a class library - Car.lib - that uses a "Car" class, with a header called "Car.h":
class Car
{
public:
void Drive()
{
Accelerate();
}
void Accelerate();
};
What I'm actual...
If I expand a project in the solution explorer of Visual Studio 2008 and scroll through its content with PgUp/Down, it behaves like e.g. Internet Explorer with "optimized scrolling" enabled (I only have a german version installed, I don't know the real english option).
Is it possible to disable this behaviour? It really slows down the s...
Hello all
Im using stlport 5.21 and link it with visibriker client libs
When I compile it with stlport im getting this error:
in this method : __cdecl CORBA::ORB_init
1>Client.cpp
1>Linking...
1>Client.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class stlp_std::basic_ostream > & __cdecl operator<<(class ...
I have a csv importroutine which imports my CSV values into Sitecore. After this proces is done i want to show the errors in an asp:literal. This is not working, and I think this is because i need an updatepanel for this in order to be able to update text after the first postback (the csv upload / import).
I made this:
<asp:ScriptMa...
Hello,
Once I've, while working with VS, I saw several screens popping up in a disorganized fashion. Since I didn't try know what were them, I just close them all. Now, it looks like I closed what I closed were debugging screens. In fact, when I start an application in debugging mode (f5), I don't see any of them.
I'd like to how I ca...
Hi,
I'm trying to set up my developing environment using Visual Studio 2008 to develop for the UNO-1019. I managed to connect the UNO to VS for deployment and debug using the ethernet connection.
I installed the SDK for EVC++ available on the products page and I was wondering if I can use that sdk on visual studio 2008.I'm rather new wi...
Hi,
I am using Visual Studio 2008 Professional with TestDriven.NET 2.14.2190, Windows XP (x86).
When i right click on my unit tests project, test with - Coverage, I obtain the following output:
NCover couldn't create a coverage report.
and the result:
0 Passed, 0 Failed, 0 Skipped
I have no other versions of NCover installed, jus...
I'm reading a book that recommends clicking a check box that says "Place code in separate file" when adding a new Web Form to an existing ASP.NET project. The book is using Visual Studio 2005 and there is a check box for "Place code in separate file" when you open the "Add New Item" dialog.
I am using Visual Studio 2008 and I do not se...
Look please below this codes throw me : FormatException was unhandled by user code
Codes:
satis.KDV = Decimal.Parse((from o in genSatisctx.Urun where o.ID == UrunID select o.Kdv).ToString());
How can i rewrite linq query?
...
I need to get the path (not the executable) where my application is running from:
System.AppDomain.CurrentDomain.BaseDirectory()
When I run the above statement with & "/images/image.jpg" on my local machine it works fine but when I install the application on another machine it says it cannot find the file and there is a lot of extra p...