Mark Pitman's Q&A profile
Visual Studio 2008 (Pre-release) Initialize binding in a style?
Hi, Is it possible to set a binding in a style Ie: A.xaml, B.xaml, Styles.xaml. Styles.xaml contains the style and A and B applies the style to my custom button type. My custom button has a property OrderItem which is the data source of the button template <Kiosk:SaleItemKioskButton x:Name="SpriteButton" SaleItemId="2248" Style="{DynamicResource SaleItemKioskButtonStyle}" Content="{Binding OrderItem, ElementName=SpriteButton, Mode=Default}" ContentTemplate="{DynamicResource OrderItemTemplate}" IsEnabled="{Binding OrderItem.Available, ElementName=SpriteButton, Mode=Default}"/> What I want to do is move the Content, ContentTemplate and IsEnabled pr ...Show All
SQL Server Cannot connect ot SQL 2005 Express
Hallo, i developed a little web-application. I'm using a SQL 2005 Express edition db but i cannot connect. i tried the connection strings from connectionstrings.com but unfortunately they dont list connectionstrings for SQL Express 2005. Thats the one i guess it should work with: Provider=SQLOLEDB;Data Source=SQLServerName\SQLEXPRESS;Initial Catalog=Lizenzportal;Integrated Security=true I always receive following error: No error information available: DB_E_ERRORSOCCURRED(0x80040E21) Hope you can help me with this issue. The connectionstrings do not differ from those of SQL Server "normal" version. Can you establish a link with any other program HTH, Jens K. Suessmeyer --- ...Show All
Community Chat Windows Vista Gaming Performance
I just read over on Neowin that gaming performance in Vista will be 10-15% slower in Vista. Can someone tell me whether or not this is true Thanks! - James It is apparently true for DX9 games (and below) and has something to do with the fact that behind the full-screened game, Vista will still be running Aero and everything else, and so taking up resources that could otherwise be used by the game. I thought I remembered reading that Vista was going to have a special setting for full-screen gaming that involved shutting down or turning off any resource that wasn't vital in order to give the games the maximum amount of computer power possible. Either this never happened or maybe it will only apply to DX10 games. We' ...Show All
.NET Development communicate between Server and Client ( using Socket)...
hi forum how to communicate between Server and Client ( using Socket), if OfficeScanNT Personal Firewall (Trend Micro OfficeScan) is running in both computer and we cant stop there service. any help would be heighly appreciated. Rastogi wrote: I have created a port in Windows Firewall Exceptions (port name- test , Port number -21157) and i am using Socket (Windows based). I am running client and Server program on same computer as well as different Computer but i am getting "No Cnnection could be made because the target machine actively refusd it" . How Could i solve. thanking you in advance What Rizwan said is the only way to do this. Windows firewall can not con ...Show All
.NET Development ActiveX control hosted in a UserControl does not print nor print preview in Internet Explorer
Hello Everybody, For my first post in the community I would like to share this to your kind attention. First of all, the problem I'm reporting is not KB835847 - Your Windows Forms user control does not print and does not appear in Print Preview in Internet. I'm running .NET 1.1 SP1. It is something a little bit more subtle. 1. Using VS 2003 and ATL 7.0 I build a very simple ActiveX DLL. Just keep the default options in the wizard. This creates an ActiveX Control that just diplays "ATL 7.0 : DummyAx" for example. This also registers the ActiveX on the system. 2. Using VS 2003 I build a new "Windows Control Library". I add a new "User Control". In the control just put a static text and a text box. N ...Show All
Visual Studio Team System Updating Field Lists
I am adding custom fields to the database and altering one of my work items to display the field. The field can be any of a list of values. This list will constantly be changing, but I could derive the possible values by doing a database quer y. Is there a way to update the list without constantly modifying the process template Can I base a list on a query Any help would be appreciated. Thanks. Global lists are useful for this purpose where the list could be frequently changing and it would be convenient to update the list using separate app or API instead of modifying work item definition often. Here is a nice how to article on global lists: http://msdn2.microsoft.com/en-us/li ...Show All
Visual Studio Express Editions Dynamic Form Creation????
I Have a windows form that has a series of checkboxes. When the Check box is checked and a "create button" is clicked I want the box that are checked to create the associated control on a new form. Creating the form and placing the controls are easy but I want the layout to flow if one of the check boxes are not checked. For Example I have a form with the following First Name Checkbox Initials CheckBox Last Name CheckBox If the user clicks first and last name checkboxes then I want a new form to be created with a textbox for first Name and a textbox for LastName. I also want them to have a layout that puts them next to each other. Here is what I have but it will only display one control and the rest are under it an ...Show All
Visual Studio Tools for Office subreport's report header and report footer cannot display in master report
hi, anyone know how to display subreport's report header and report footer at master report i know reporting services 2005 do not have this function,but what should i do so my master report can display the subreport's report header and report footer. or anyone have idea to display few layout of report and rending in 1 pdf file beside using subreport thanks in advance penny Hi Penny It's unclear what you're trying to use, but it appears your question is not related to the VSTO technology or any of the Office applications that VSTO works with. If you don't know the appropriate place to ask, post in the following forum for assistance. Please specify which Visual Studio environment y ...Show All
Visual Basic !!!ComboBox selection Populates Grid View!!!
DataBase: SQL Server 2005 Express SQL Tables Involved: Satellite, Transponder & Signal Language: VB.NET 2005 Framework: 2.0 1 ComboBox 1 DataGridView I populated a ComboBox from a Satellite Table - ComboBox is populated with the satellite SCC #s Ex. 22596 DataGridView is populated from the Signal table - Signal table also conatains Satellite SCC #s' I have attempted many combinations of queries and DataSet manipulations to know success Please Help if can, Thank You, in advance Imports System Imports System.Data Imports System.Data.SqlClient Imports System.Windows.Forms Public ...Show All
Visual Studio Team System Consensus on scenario and task size ?
In MSFAgile, the project manager splits the functionality of a scenario up into tasks that are then passed to the developers. What guidance exists concerning the size of scenarios, the number of tasks within a scenario, and the length of time needed to complete a task. Is 4 hours per task common, is two, is twenty About how many person hours should go into completing a scenario I suspect the length of a scenario should not exceed two weeks of developer time. Also the scenario should not involve over three developers working on the senario together......just my thoughts. What do other PMs think Hi Bob, Actually, there was an error in the early versions of MSF for Agile Software Development. It is corrected on http://blogs. ...Show All
Visual Studio Team System Team System Warehouse Problems
Hello, About five days ago I started seeing a bunch of errors in the Windows Application Event Log. I've been searching for solutions for the past few days with no luck so now I'm posting here. Here's the errors I'm getting in order: ============================================================== Event Type: Error Event Source: MSSQLServerOLAPService Event Category: (289) Event ID: 19 Date: 9/20/2006 Time: 9:56:27 AM User: N/A Computer: TEAMSERVER Description: Errors in the metadata manager. An error occurred when loading the Changeset dimension, from the file, '\\ \D:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\TFSWarehouse.0.db\Changeset.200.dim.xml'. For more information, see Help and Support Center at http://go.m ...Show All
Windows Forms How to create a Custom Form that appears in the Toolbox and is droppable on the Design Surface?
I like to create a dll with a custom form that contains other controls (buttons, check boxes, etc). I am using vb.net or c#.net (2005). I like the form to appear in the Toolbox and be able to drop it on the design surface. This behavior is the same as the provided dialogs such as FontDialog. Searching the web showed that I need to add a designer attribute of ComponentDesigner: "Set the Designer attribute for your custom dialog to be ComponentDesigner (instead of the default ControlDesigner). That should make it droppable in the design surface as a component." But I have not been able to make this work. Can someone help Thanks, Rene Hello Rene, If you inherit from ComponentDesigne ...Show All
Visual C# Cannot Convert ref Class to ref Object
Hello, I have convert a VB application to C#. I am trying to debug it. I have got one error where I am calling a function proving it an instance of a class to an object as a ref. ClassCompany clsCompany = new ClassCompany(); intCount = ModUtils.gfncintProcessTemplateLoop(ref clsCompany) public static int gfncintProcessTemplateLoop(ref object clsRecordset) I get the following error. cannot convert from 'ref SiteGen.ClassCompany' to 'ref object' gfncintProcessTemplateLoop is a generic function and is used to pass different classes and is the reason why the class is delcares as an object. I also tried casting clsCompany into an Object. intCount = ModUtils.gfncintProcessTemplateLoop(ref (object)clsCompany) Then I got another error saying A re ...Show All
Visual Basic INSTALLATION INSTRUCTIONS FOR HOT FIX 82BC09 ON WINDOWS
i have a problem when i like to print from the report viewer tool . when the vieuwer has loaded the report and i like to print ,.. then i have to klik the print button twice. before i get a print out from the report. is there some one who nows a solution for the problem. BEFORE DOWNLOADING: The hot fix 82BC09 addresses the issue(s) in Release 8.2 (TS2M0) of Base SAS software on Windows as documented in SAS Note(s): SN-004378 Detail data not subsetted correctly when class variable value has an "=" character SN-004379 Detail data may not be subsetted correctly after changing filter by values SN-004377 All variables may not be displayed when reaching through ...Show All
SQL Server "Product level is insufficient" error message on deployment machine
Hi, I have a SSIS package which I had created on my machine, running Windows XP with SQL2K5 Development Edition. If I run the package through the BI studio or by clicking the dtsx file, it runs without any issues. When the same package is deployed onto another machine (SBS 2003 with SQL2K5 Workgroup Edition), the package errors with the above message when the dtsx file is clicked and run. However, if the source files are opened up and ran from within the BI studio, it all runs OK. I've ran through the SQL setup file (through Add/Remove Programs) and Integration Services is installed, however the SSIS service is not on the machine. I've read however that the service is not required to run the package, so what gives Plus, this d ...Show All
