dsoto's Q&A profile
Visual Studio Team System Upgrade database to specified version in automated build task
We are using team build to run a nightly build and deployment to our test environment. We are thinking about to create a DBScripter.exe app to upgrade our Oracle DB to the specified version. It will look for change scripts and handle the upgrade of the database to a specified version. What can be a good approach to integrate this in the build process I was thinking about calling this at the BeforeCompile Event and the Exec command. But if ...Show All
.NET Development 'CertificatePolicy' Vs 'ServerCertificateValidationCallback'
Warning issued on VS 2005: 'System.Net.ServicePointManager.CertificatePolicy' is obsolete: 'CertificatePolicy' is obsoleted for this type, please use ServerCertificateValidationCallback instead. Is this change Security related or has been done to do thing differently Any pointers will be helpful. The new API isn't a security patch, however it does provide a nicer programming model than the old way of doing th ...Show All
Visual Studio Express Editions TreeView question
Hi I have a project which works reasonably as expected - apart from one aspect. I have a TreeView which is populated with folders and files in a typical Windows Explorer sort of way. However, in the TreeView_ NodeMouseClick event handler, where it populates a Folder node with the files in that folder, I cannot find a way to stop it from adding a fresh batch of files to the node each time the node is clicked. eg when I first c ...Show All
Visual Studio Express Editions question about viewing output
I am just using visual C++ 2005 express as a base to program simple programs in C++. I have a couple problems with the program. 1, after i compile the program, how do i execute the program so that i can see the output of the program. 2. how can i view that in a different window Any help would be appreciated. thanks PRessing F5 will compile and run your code. If it's a console program, try setting a breakpoint ...Show All
Windows Forms PocketVision vs Offline App Block
I'm currently evaluating these two frameworks as a basis for a mobile workforce project. I first attempted the new Microsoft Offline application block but found that this isn't compatible with the compact framework (the most usefull application of the solutio ...Show All
Windows Forms How to create an extended form base class?
I want to create a new form base with additional properties, methods and events. How do i do this I tried creating the following (VB.Net code) but i cannot inherit it using the add inherited form wizard. Public MustInherit Class BaseForm Inherits System.Windows.Forms.Form ... Public MustOverride Property X() End Class And if i try to inherit it manualy it gives ...Show All
Software Development for Windows Vista InvokeWebService vs InvokeWorkflow
I would like to know what the overhead is when calling a workflow nativly from a another workflow compared to call it as an exposed web service. This would be valuable information when modelling workflows. InvokeWebService is going to end up going out on the network - or at least through sockets (if the workflow happened to be in the ASP.NET process). I wouldn't recommend that approach for speed - InvokeWorkfl ...Show All
Visual C# Problem with sorting a generic List
The new generics in C# 2.0 are really breath taking, but I've got some problems with sorting a Generic List. I've got a List<KeyValueType<TKey, TValue>>, so this is a list containing another generic type. Now I would like to sort this list by the TKey type of the KeyValueType<TKey, TValue> type. The list contains KeyValueType objects with in which the TKey is unique. I've been working on it all night, but can't get the synta ...Show All
SQL Server Install Issue with September CTP
Hi All, I am able to install completely without getting errors. However, when I try to start the SQL Server Services, I am getting error - "Could not start the SQL Server Service on Local Computer". I searched further and find it odd that there's no such folder name "MSSQL.1" under Program Files\Microsoft SQL Server\. I believe sqlservr.exe runs under this directory, so could someone explain to me why would my install be c ...Show All
Visual C# Web Page using C#
I created a new web page in VStudio 2003. Then I drag a control (any control) over to the web page. VS snaps the control to the top left corner of the page and when I try and move it, it snaps it back to the top left of the page. Before you ask, yes, my page layout is GridLayout. Any suggestions Thanks hi may be u can reposition these type of controls by editting the html code example u can i ...Show All
Visual Studio Express Editions Hello World
Hi Guys, What version of the compiler do you ship. It says it is version 13, but from what I've heard the latest compiler is version 7.1 or possibly 8.0. Regards in advanced Chris That's a small piece of history . The Visual Studio IDE 2005 it's version 8.0 but the C/C++ compiler (and other related tools like the linker) predates the Visual Studio IDE so they ha ...Show All
Visual Studio 2008 (Pre-release) LinearGradientBrush - Improve smoothness
Hello all, linearbrush->StartPoint = Point(0,0); linearbrush->EndPoint = Point(1,1); linearbrush->GradientStops->Add(gcnew GradientStop(Colors::LightGreen,0)); linearbrush->GradientStops->Add(gcnew GradientStop(Colors::Green,1)); The output is as expected, but is there anyway to get the transition smoother Right now there are clearly a countable number of gradient blocks, where you can clearly see the color transitions. ...Show All
Smart Device Development SerialPort locking up after device On/Off
I have an issue similar to this to Re: PocketPC SerialPort and turning off/on the device I have a i-mate PDA2K talking via bluetooth to a Destron DTR1 Every thing works correctly until the PC-device is turned on/off (automatically or manually) When the device powers back on I get two PinChanged Events CtsChanged and DsrChanged as happens when the connection is first opened. But not reads come through. Opening the Bluetooth Manager now ...Show All
Visual Studio Maximum size of Report Parameter
I have a report which I need to call from ASP.NET page. I'm trying to use reportviewer control that came with Reporting Services 2000. The report has a parameter which accepts more than 5000 charecters size string. But when I run the report the report viewr never responds. But if I limit the size to around 700 charesters it works fine. So, my question is what is the maximum size allowed to set the reporting services rep ...Show All
Software Development for Windows Vista How to display a Workflow in a Avalon Application?
I try to embed the Workflow Designer to a avalon application. < Mapping XmlNamespace="wfi" ClrNamespace="System.Windows.Forms.Integration" Assembly="WindowsFormsIntegration" > < Mapping XmlNamespace="wf" ClrNamespace="System.Windows.Forms" Assembly="System.Windows.Forms" > <Window x:Class="AvalonWorkflow2.Window1" xmlns=" http://schemas.microsoft.com/winfx/avalon/2005 ...Show All
