mwartes's Q&A profile
Visual Studio Build Engine BuildProjectFile
How do I call the BuildEngine.BuildProjectFile specifying Release or Debug configuration Below does not work. Also specifying Build target just doesn't seem right. Is there something I am missing Hashtable table = new Hashtable (); table[ "Configuration" ] = "Release" ; Boolean success = engine.BuildProjectFile( @"C:\Code\WindowsApplication3\WindowsApplication3.sln" , new String [] { "Build" }, null , table); ...Show All
Visual Studio Team System Can I disable Deployment?
Deployment seems to be a great idea, and will go a long way in providing a robust testing environment. But in a TDD environment where developers are running tests very often it is not very practical. Not to mention the problems with Deployment Items (attributes do not work on the class, solution deployment options under Run Configuration settings have quit working for everyone in my department), and the fact that VS does not clean up after itsel ...Show All
Visual C# using System.Drawing namespace in a Class Library Output
Ok, I'm sure this is a rookie question, but can anyone explain to me why I can't include the namespace "System.Drawing" in my class, when my project output type is set as Class Library What I want to achieve is using the PointF datatype structure inside my classes. OMG, duh! Haha, sorry for such a dumbass question I should've known better than that, haha! ...Show All
Software Development for Windows Vista SQLTracking Service and User Data Object Issue
I have a workflow (using beta 2) which passes a custom data object to the TrackData method of the SqlTrackingService. If the workflow completes successfully then all is fine. I can use SqlTrackingQuery to read the tracking data back out of UserEvent table in tracking the database. However, there are occasions where the workflow may fail (for valid reasons) in this case I have found that no tracking data was being written because the IsTransact ...Show All
Visual Studio Express Editions Fire event at predetermined time
I need to make an application that performs a task at a given time each day, based on the system time. For a simple example, lets say I want to delete all the files in a folder at 11:00 am everyday. The program would obviously be running on a computer thats always on. What is the best way to do this Do I continuously compare the current time with the target time & when they're equal fire the event This seems l ...Show All
SQL Server Browser Compatibility in SSRS 2005
How can I get my report to render correctly in Firefox The report displays squished to the left side of the browser as it did in SSRS 2000. Is it the viewer that does this or a setting I need to set I am running my report from a URL. Also seems to open ok if I export to PDF. Does not work in HTML view. I need suggestions regarding the report being viewed in firefox: Problem: In Matrix reports the ...Show All
Visual C++ char array
I am trying to create a 3-dimensional array that stores records in 38 rows, with 3 columns. This array has a mixture of letters and numbers, so I declared a char array, the problem is, the rows with more then one character get truncated (00, 10, 11 become 0, 0, 1). Is there a way I can declare this array properly in order for it to allow me to have 2 characters in certain sections Below is a sample of the array. char array[38][3] = {{'0', 'G', ...Show All
SQL Server Please tell me you are joking - All member multivalue parameter
In 2005 SP1, there is no longer an automatic <Select All> option for multivalued parameters. You now need to modify the dataset providing the values for the prompt and modify the dataset containing the parameter. This makes no sense! I am so confused. It was working fine. Why did you have to go and mess with it If you want to add value somewhere, try making the width of the drop down box for multi value parameters resize to the text in th ...Show All
Visual C++ 16 Bit app and only standard library during compile
I am running into a problem getting a console app I build with VS Studio 2005 to work in Windows 95. It works fine in all other version but when I run it on Windows 95 i receive the error: linked to missing export KERNEL32.DLL:IsDebuggerPresent Now when I compile this same program in VC 6.0 ...it works fine. So I am not sure what it could be Is it because .Net headers are being added Is there a way to make a project in Visual Studio 200 ...Show All
Windows Forms CD burning
Hi, I would like to add the ability to archive my application's data to CD-R inside the application instead of using an additional CD burning software. Is there a component available to do this Thanks, Tobias Hello again... maybe it helps to&nbs ...Show All
Visual C# Where the Control definitions located?
When i createad a web application in Visual Studio .NET 2005, and drag-and-drop some controls on the page, i need to see the definitions of these controls, where are located I can not find them the only files i can see is for example (Default.aspx) and Default.aspx.cs (which not contains the definitions of controls). regards What exactly do you mean by control definition The controls are implemented in assemblies you reference, suc ...Show All
Visual C# authentication
hi, i don't know if this is the right forum for my problem. i am making a web form(authentication). In my front.aspx i have 2 textboxes which ask for username and password. i also have a button(Login). if the user presses the button it will go to a page login.aspx. however, i am having difficulty passing the data from two textboxes to another page since in my login.aspx it will validate the username and pass ...Show All
Windows Forms how to limit number of instances of a form being opened?
I have a btnAddNew on my frmMain which opens frmAddNew for adding new service record: What can I do to make sure the no matter how many times the btnAddNew is clicked, the frmAddNew will only have one instance opened. this is the code under btnAddNew_Click: //open up frmAddNew frmAddNew frmAddNew1 = new frmAddNew(); frmAddNew1.Show(); Also, I have a btnPendingServices, which opens frmPendingServices, I want to make sure u ...Show All
Visual Studio Tools for Office Misfiring of Ondate change event in word document - bug
I was testing the event model of winforms controls hosted in the word document. I have dragged and dropped the Monthcalendar control on the word document and started to capture the on datechanged event. When I run the project and click on month change > arrow button. The event gets fired If a dialog box opened as part of the event, and user clicks OK, the event gets fired non stop and several dialog boxes are being opened. as ...Show All
Visual C# Launch from IStillImage freezes the app
Hi all. My C# app registers itself using the IStillImage interface, and the R egisterLaunchApplication method, such that when we connect a camera, our program is listed in the box that comes up, and from there we can run the software. Recently, it's become the case that launching the app this way causes it to freeze, although running it normally never does. There are no parameters passed through, nothing should run any different to if I double c ...Show All
