visual-studio-2008

Where is the VB.Net debugger "Make Object ID" function?

When using the visual studio 2008 debugger with c# i can right-click on a variable and choose "Make Object ID" which allows me to watch that object (via it's ID) regardless of whether it is in the current stack frame or not. When the debugger is in VB code, (doesnt matter if it's run from a c# unit test or a vb unit test) That option is...

Why does Visual Studio 2008 try to open a project from the wrong folder?

I'm having a bizarre problem with Visual Studio 2008. I wanted to debug one of the libraries that my web application references. Therefore, I decide to add the project containing the library to my solution so that I can debug them together. The project containing my library sits at c:\webLibs\myproj.vbproj. However, when I try to add...

Which VS 2010 version to get?

I want to download VS 2010 Ultimate through my MSDN licence, but I don't see one for the 64-bit. There's Visual Studio Team Foundation Server 2010 (x86 and x64) - DVD (English), but is that just the server or can I use it for dev too? ...

Bug in VS2008 compiler : DLL cannot be found

I made some changes to my solution which contains a couple of project and wanted to compile it again .. now it says Metadata file C:\myproject\bin\myproject.DLL could not be found... I closed the VS and opened again and also deleted the bin and obj folder of that project, but still the same compile error... ...

CSS is not effecting immediately after change

In Visual studio 2008 I changed css methods (like font size increase). Which is not effecting when I run immediatly. If I publish to server. I can see changes. Why it is not happing in from VS 2008? Thanks ...

How can i use generic list with foreach?

if i compiled below codes error return foreach loop how can i solve it? Error:Error 1 foreach statement cannot operate on variables of type 'Sortlist.MyCalısan' because 'Sortlist.MyCalısan' does not contain a public definition for 'GetEnumerator' C:\Users\yusuf.karatoprak\Desktop\ExcelToSql\TestExceltoSql\Sortlist\Program.cs 46 1...

How can i add list data in my object?

Below codes run perfectly but i want to re generate simply static void YeniMethodListele() { Calısan calisan = new Calısan(){ ID=1, Ad="yusuf", SoyAd="karatoprak"}; List<Calısan> myList = new List<Calısan>(); myList.Add(calisan); MyCalısan myCalısan = new MyCalısan() { list = myLi...

How can i use listDictionary like list generic?

How can i use ListDictionary like List my sample codes below real codes is last one. for (int i = 0; i < listMyColumnNames.Count; ) { if (i < listMyColumnNames.Count - 1) ---> this is important Text += ", "; i++; } how can i do with ListDictionary. int Qu...

How can I solve out of memory exception in generic list generic ?

How can i solve out of memory exception in list generic if adding new value foreach(DataColumn dc in dTable.Columns) foreach (DataRow dr in dTable.Rows) myScriptCellsCount.MyCellsCharactersCount.Add(dr[dc].ToString().Length); MyBase Class: public class MyExcelSheetsCells { public ...

Visual Studio Check-in Option Changed to "Check In Now"

When checking in files using VS 2008, I normally have the option "Check In ..." Recently, this has changed to "Check In Now" and the behavior is different (I'm not given the option to add a note with my check-in). This is bizarre, as I can't think of anything I've done to change the IDE. Does anybody know how I can get back to the "Chec...

What should I do to recompile my static library (originally written in VS6) in visual studio 2008?

There is a static library A with c++ classes wrapped by a C API in VS6. I developed a static library B in VS6 using callbacks from library A. The library B is used by the program C (commercial software) as a "user defined library" and linked to produce the program D. Questions: 1) When program C uses VS 6 it works, should it work fin...

how can i sort array via linq?

if i trying to sort my columns return 0 valu. But i need max value descinding value but how? for (int j = 0; j < dTable.Columns.Count; j++) for (int i = 0; i < dTable.Rows.Count; i++) { mycounter[i] = dTable.Rows[i][j].ToString().Length; } mycounter = mycou...

How can i solve "0 " value try to get length value?

if i try to add int value into array with string length Whole data is "0" why? and how can solve it? for (int j = 0; j < dTable.Columns.Count; j++) for (int i = 0; i < dTable.Rows.Count; i++) { mycounter[i] = dTable.Rows[i][j].ToString().Length; } it is not related...

I'm learning C# in vs2008 while vs2010 is available. Am I missing something?

Hi, that is my question. Beacause I'm learing C# in vs2008, I was asking to my self if i'm missing something not learning in vs2010. I won't touch WPF/Silverlight for a while, with C#, ASP.NET and SQL Server I have a lot of fun for a while. well, that's my question, I'm getting vicious or missing something using vs2008 ? ...

TFS missing original files on machine.

I checked some files out for edit about a week ago and I want to check them in or revert my changes. Before I do that want to see what I've changed, but when I compare them, the local copy of the original file is no longer on my machine. How can I get the original file back without losing my changes? ...

What does it mean in Visual Studio debugger value "{ }" ?

Hi all, I have in my Visual Studio 2008 .NET C# project one property observed and debugger shows open and immediately closed curly brackets "{}". I believe it is uninitialized (I)List, but why it does not shows "null" or "unitialized". What does "{}" it means ? br, Milan. ...

BareMessage="Cannot create an abstract class."

Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Cannot create an abstract class. Source Error: Line 150: <providers> Line 151...

How to create Item Templates that add more than one file?

I've created an Item Template for VS2008, per these instructions and it seems simple enough. However, is it possible to add more than one file to the project? For instance, let's say I create a AcmeWidget Item Template. When I select it in VS2008, I'd like it to create an AcmeScreen winForm and a AcmeScreenSetup winform. Is this poss...

Should I use .NET's built-in double buffering or my own implementation?

I am doing some GDI+ drawing in Visual C++ and noticed that my canvas doesn't look the best when scrolling, resizing, etc... due to lots of flickering and slow redraws. From what I've read, the solution is to double buffer but there are conflicting suggestions on how to implement. A few sources suggest to use the existing .NET implement...

How to generate Automatically resx files for project

Hello, I want to generation automatically Resx files for my project, I've heared that there's program which does it. Can anyone tell me it's name? ...