visual-studio-2008

ScriptModule breaking my .net project from running

when i take out the chunk from my web.config my project works fine. with it my project doesnt even load in a browser. with this part in my config i get a unhelpfull Runtime Error telling me to turn on debugging... but in my config it is on!!! <httpModules> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.W...

Windows Mobile 6 Emulator web browser connects to local machine but not the internet - how to?

I've configured Windows 6 Professional Mobile Emulator, and am trying to get an Internet connection on it. Currently when I browse to any address, I get my local box's IIS, and no outside addresses. On my box: I have Virtual PC 2007 installed. I have, so far, in my Visual Studio .Net app, cradle the device emulator. Allowed connection...

How to turn off magnifier in ImageEditing view in Visual Studio 2008? (error?)

It is a little silly question, however after turn on magnifier, something blocks possibility of using any other tool, in both column/windows with image. I can't turn off this in any zoom level. Magnifier reacts on clicks left and right mouse button exactly in this same way. It is very annoying. Any tips? ...

Fastest way to store an ascii file's text in a RichTextBox?

I have some ascii files that are 60-100MB in size. I want to store one of these in a control in Visual C# as quickly as possible. I've been googling for answers and I've found a few solutions such as putting the file into a stringbuilder and then converting that to a string and storing it in the rtb. The solution I have found thus far us...

Specifying test dependencies in CppUnit?

I would like to specify the order of testing in CppUnit. According to my research, the testing order depends on either the compiler or linker and how they came across the files. How does one specify dependencies in CppUnit? For example, let us consider a rectangle class that has four lines. Each line contains two point classes. As...

what 3rd party control is used for the menu in inFlow Inventory applications

I want to implement a menu similar to the one used in the inFlow Inventory application. I see that the mozbar.dll is referenced but i cant get it to work in my application, and it is probably beyond my skill level to implement. Does anyone have any suggestions for other controls that might replicate the look and feel of the menu used i...

ankhsvn: access repository ith username, password

From visual studio, I can see the repository on another system using the url: svn://(ipaddress)/ But I am not able to write to the repository from my system. How can I access the repository with permissions from visual studio - ankhsvn (using Harry/Sally/custom_created username and password)? The error I see now is: "You failed to autho...

"non-existent member function specified as friend" - ??

Hi, I'm trying to compile CSSTidy with Visual Studio. The problem is that it throws error C2245: non-existent member function 'umap::erase' specified as friend (member function signature does not match any overload) pointing to the friend void umap<keyT,valT>::erase(const typename umap<keyT,valT>::iterator& it); which is a de...

Why the file being worked on is not selected in the solution Explorer in VS?

Hi, For some reason the VS 2008 I have work on, does not automatically select the file in Solution Explorer that I am editing. Is there any place in option settings where I can turn this feature on? Thank you ...

How can i fill my array from whole cells of datatable?

i have a datatable i created below i need to list all rows' cell length in datatable. my result must be not including "0" value. But my list : 19,19,19,19,19, 0.0.0.0..0.0..... so on why is it? How can i see length of my Array? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; nam...

How can i sort Arraylist with a class?

How can i soth below arraylist according to int value. But if you compiled below codes error : Invalid Operation Exception... Detail : Failed to compare two elements in the array. namespace SortArray { class Program { static void Main(string[] args) { ArrayList otomobil = new ArrayList(); ...

How can i sort two dimentional array with linq and with Compareto method?

How can i sort 2D array with linq and without linq with Copareto . i can do that with list generic . But i dislike it. can you give any idea about it? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace TestFillArray { class Program { static void Main(string...

How to join Jagged array with separator using string.Join?

How can i solve below string join error. i converted int value to string value but error occurs.... Look Join method using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace SortArrayYusuf { class Program { static void Main(string[] args) { //...

How to print and control reset printer programmatically vs2008 C# windows Applications

i use printer to print on some rows and columns pre made on papers so i want to control default printer settings to some settings programmatically using C# windows Applications some help me please . thanks in advance . ...

Changing the "debugging / working directory" globally (not per-user) in VS2008

I have a C++ solution in VS2008 with multiple projects. This solution contains files that are needed at runtime, which are loaded according to a path relative to the solution directory (e.g. "Testing/data/" + "dataN.bin"). In order for this solution to work, I must set the working directory setting in the project(s) so that it will poin...

Visual Studio 2008 Installation Error...

Hundered of times there, I tried to install VS 2008 on my different systems already having Framework 2 installed, it failed to install. I tried it may a times even on different systems. It runs but after Serial No. and next i see error .net framework 3.5 installation failed and there down a list of all componetns it shown which have ...

How can i fill 1D array from 2D array and how can i sort 1D array?

hanks everybody to help my idiot problem (look my before post:) ) . But i exactly need below. I should fill 1 dimentional array from legth of per cell Datatable. and sort 1D array linq and also without linq int[][] lengths; using (DataTable table = GetTable()) { lengths = (from DataRow row in ta...

ASP.NET MVC: How to avoid circular reference between 2 projects

Hello, My application has at least 2 projects, the OrganizationMangement and the ContactManagement. Previously, I referenced ContactManagement because I need to work with a class located in the OrganizationManagement. Now I need to do the reverse but I'm getting the following error "Cannot reference OrganizationManagement ... to avoid c...

How can i select data with linq part by part of rows?

i want to select data from datatable or sql table or list 50 rows by 50 rows. Forexample: var list = from x in dtable select x ----- > first 50 rows Click next button for GridView next 50 rows . And than 50 rows whli clicking next button to monitor GridView? For Example Data : static DataTable GetTable() { ...

Use Windows 7 taskbar features in VS 2008 with MFC

Hello, Is it possible to use the new taskbar Windows 7 features in Visual Studio 2008, with MFC? I know it is possible in VS 2010 and in VS2008 using WTL, But what about in VS 2008, is it possible to update MFC to v10? Thank you. ...