visual-studio-2008

How to Automate a WCF Service that does a job in regular intervals

I have a WCF Service that does a job on a request from client. I need that WCF Service to do a preprocessing on regular intervals on a day before it can service the requests coming from client. How can i automate my wcf service so that it does the preprocessing on regular intervals? ...

Silverlight breakpoints not hit when hosted by an ASP.NET project

Hello. I'm using Visual Web Developer 2008 Express + Silverlight 3 Tools + Silverlight 3 Developer runtime, debugging in Firefox 3.6.8. When I create a Silverlight project and let the IDE set up an ASP.NET site to host it, the breakpoints will not be hit. If I create a single Silverlight project it will be fine. Something must be wrong...

Build separate assemblies within same project Visual Studio.NET

Hi. I've searched online for the answer to this but with no luck. I was wondering if it was possible to build certain classes and or .cs files to separate assemblies within the same project? I.e I have a number of HttpHandlers in one project, currently I am building them all into one assembly HttpHandlers, but what I was thinking if l...

Can anyone recommend a tutorial for how to create and use an entity class in C# for VS 2008?

Can anyone recommend a tutorial for how to create and use an entity class in C# for VS 2008? Thanks! ...

DirectX InvalidCallException unhandled

I am getting an unhandled exception when trying to create a D3d device. This is literally the whole code in C#. I am just testing and trying to learn directx. I am getting the Unhandled exception on this line : device = new Device(0, DeviceType.Hardware, this,CreateFlags.SoftwareVertexProcessing, presentParams); using System; ...

Code Review tools that integrates with Visual Studio 2008 and/or TFS 2008?

I'd like to know what kind of options we have regarding tools for performing code reviews. We're a group of 15 people that uses Visual Studio 2008, writing code in C# 3.0 for .NET 3.5 (at least for the time being), and using TFS 2008 for source control. I've looked at TeamReview on CodePlex, but it seems the only way I can create revie...

Cannot compile with memory dump for some files

Hi, I use this Debug.h file that I include as the last #include of the files where I want to debug for memory leaks. Then using _CrtDumpMemoryLeaks(); to dump it to my output.. This works fine for most files, but when I include it in some files I get the error below. It looks like it got to do with the boost::unorderer_map<> .. but I ca...

publish a website remotely in c#

is there a way to publish a website/webservice/folder to the iis directory of the remote machine ? if so how. ...

debug sql stored proc in VS 2008 from within asp.net code

I have a SqlDataSource that calls a stored proc. When the page loads a Gridview loads that uses that SqlDataSource. At this time I want to be able to debug the stored proc. I DON'T want to debug the stored proc on it's own. I want to see what values are actually being passed to the stored proc and what it is actually doing. ...

Convert String^ to const char* [vs c++]

I have a String^1 and I need to convert it to const char* and c_str() does not work as it is not a member of System::String. Is there a simpler way to do this other than this method? I am only doing this once and it is from an openFileDialog->Filename, so the input will not be anything complex. I am using Visual Studio 2008. Thanks ...

string comparisons

I have a database of tables that I needed to do some comparison work on and sql server is limited to the means of doing string comparisons. I put all the data into lists and thought of using string.compare or string.contains but does not seem like it is working right. Perhaps someone has a better suggestion on how to do this. It is larg...

Debugger unlocks lock? VS 2008

Hello =) I have implemented a singleton that works well... (implemented like this example: public sealed class Singleton { static Singleton instance=null; static readonly object padlock = new object(); Singleton() { //breakpoint } public static Singleton Instance { get { ...

Can't connect to some remote processes

Hi, I am having problems remotely debugging, in VS2008, some web related processes. Other processes on the machine can be debugged. Only some are not that appear to be web related. (I had an image here of the greyed out processes but not enough reputation :-( ) E.g. if I select one of the w3wp.exe processes the "Attach" button disable...

ClickOnce, my app crashes Visual C# Express

I'm finishing up a C# app for work, and looking to make a ClickOnce installer. Right now, I just want to make sure the installer works and that I am able to run the exe without Visual Studio. So I set up my project to require Windows Installer and .NET 3.5 SP1, and tell it to download from a vendor (I'll be including the components lat...

DataDynamics ActiveReports is not printing the page footer

I am using DataDynamics ActiveReport to generate a report. When I run the program and generate the report everything looks fine. Yet when I print the report the page footer isn't printed. What is going wrong and how do I fix this? EDIT: In case this is needed I am creating an 11x17 report in landscape mode. I am able to export this to ...

Crystal Reports export is very slow

I'm trying to export a Crystal Report file(.rpt) to a PDF in a Visual Studio 2008 web application. My problem is that this very slow. It is taking about 24 seconds to export a 768 KB rpt to a PDF. Does any one know how I can make this work faster? Here's my code: Dim report As CrystalDecisions.CrystalReports.Engine.ReportDocument = N...

From CodeGear to Visual Studio 2008

I'm inheriting a native C++ application. It was developed with Borland CodeGear. Right now, I already have a copy of Visual Studio 2008 installed on my system. Is there anything that would prevent me from building the system with Visual Studio, even though it was developed in CodeGear? I'm already familiar with Visual Studio, so that...

I Need Help Deploying a Winform Application Using Setup Project

When a user click the .msi, i want a folder called "Your Files", which comes with two small images by default, to be created in C:\Users\YourName\Documents. In short, MyDocuments. What i did is put the following code in program.cs: string myDocuments = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); string downloadAr...

Best way to view Crystal Reports on the web

I am trying to view Crystal Reports(.rpt) on a Visual Studion 2008 VB.Net web page and am having some problems. I tried using the CrystalReportViewer control but this is very slow for me. Just to view a 768 KB rpt file in took over 20 seconds and another 15 seconds to load a page when I clicked the next page button. Am I doing somethi...

In Visual Studio 2008 using C# how do I set a watch on a property?

In Visual Studio 2008, I am using C# if that matters, how do I set a watch on a property so I see whenever the value changes during execution? ...