Subscriber's Q&A profile
Visual Studio 2008 (Pre-release) Double Key Frame sample code not working with May CTP
I can paste this into a WPF app and build it, but the button doesn't show up. The designer reports and error if I try to view it, and then the XAML panew will report this error. Error 2 Objects of type 'System.Windows.Media.Animation.BeginStoryboard' do not have child object collections. WinFxSpinButton\Window1.xaml 16 13 WinFxSpinButton Note, I can run build and run the sample gallery app. without problems Can you shed some light ...Show All
SharePoint Products and Technologies Can I dynamic add item to enum
I would like to have a enum type that the items are dynamicly generate, is it possible Thanks. ...Show All
Visual Studio Express Editions Is it possible to connect to SQL Server Express?
From the SQL Server Express web site it claims that you can use Visual C# Express 2005 with SQL Server Express 2005, but I have yet to find a way to make that happen. When I try to select a data source the only options I get are Microsoft Access Database File Microsoft SQL Server Database File When I try to select the latter, I just go on a wild goose chase where it claims that I don't have credentials with the server. When I use the re ...Show All
Visual Studio Tools for Office Running MySql from Form in Outlook 2003 VSTO Add-in
My add-in for Outlook 2003 lauches a form. Once the form is launched, it creates a new instance of a MySqlConnection in the Form Load method, a la: MySqlConnection _conn = new MySqlConnection(); This breaks my form. No errors, no crashing. It just stops doing anything. I can close the form without problems, but the code following the above line never gets executed. I've included the MySql.Data package in my deployment project, and it does get ...Show All
Windows Forms Regasm Generated tlb file without listing exposed functions.
Hi All, I need a help… I am trying to use interop to access .Net component in my C++ application. I am trying to create a TLB file from an assembly that was created with VisualStudio 2005. I have used [ClassInterface(ClassInterfaceType.AutoDual)] to expose the interface. When I run "Regasm" on this assembly I get a tlb file but Interface is empty and none of the public methods gets exposed. I don’t know what I am doing wrong here or there is ...Show All
.NET Development Namespace Conflict while accessing webservice.
Hi, I have an interesting problem pertaining to webservices. I have a component (say TestCompLib) which is being returned by a webservice (say TestWebService). Now when I consume this webservice in my asp.net application and try to typecast the object return my webservice to my component i.e TestCompLib. I get can error of namespace mismatch. Actually the component has the namespace TestCompLib.Utils while when the webservice when it ret ...Show All
Visual Studio Tools for Office Question about "Toolbar Button Face" in "PasteFace()" ?
I'm going to add a custom toobar button to word, using "PasteFace()" in VBA. According to http://support.microsoft.com/kb/288771/en-us , I used "Toolbar Button Face" and "Toolbar Button Mask" clipboard format to transfer transparent button icon. But this is not right if the office is not English version. The clipboard format name "Toolbar Button Face" should be localized. If I use "Toolbar Button F ...Show All
Software Development for Windows Vista can wwf use oracle but not SQL Server?
I find persistence service and tracking service for oracle several days, but nothing I can find. first question:How can I get the persistence service and tracking service for oracle If I write them by myself, is it possible second question: if I have the persistence service and tracking service for oracle, does any other work I must do I can't find anything in WWF for let developer select database such as Sq ...Show All
Game Technologies: DirectX, XNA, XACT, etc. October 2005 DirectX SDK is available!
The DirectXR Team is pleased to announce the release of the DirectX 9.0 SDK October 2005 Update! The October Update includes the first public release of the XInput SDK. This SDK will allow game developers to fully support Xbox 360 Controller for Windows. To download or learn more about this release please visit http://msdn.com/directx/sdk . Features added in the October 2005 DirectX SDK update - XInput XInput is an API that ...Show All
.NET Development WebClient and SSL: weird error
I am using the following code (.NET 1.1) to retrieve a byte array (an image) from a remote server over SSL: --------------------------- WebClient webClient = new WebClient(); string requestString = " https://someServer.net/someName.asp someQueryString "; byte [] data = webClient.DownloadData(requestString); ---------------------------------- I have this code in a .dll resulting from a Class Library project. ...Show All
Windows Forms Error when Deploying ClickOnce Application from Internet Zone
Hi, I get the following error, while deploying a CliickOnce application from the Internet Zone: "The Application has been blocked because it posses a high security risk to your computer. The publisher of the software is unknown." I've assigned fulltrust ...Show All
SQL Server Working with SQL Server 2000 diagrams
I upgraded my laptop from SQL 2000 to SQL 2005 (Developer Edition). I cannot able to see database diagrams in SQL Server 2005 through SQL Server Management Studio. Note: If I go to the local machine I can able to see it (the local/remote machine running SQL Server 2000 Standard Edition ) any ideas would be greatly appreciated. Did you follow the instru ...Show All
Windows Forms PrintPreviewDialog and printing don't use the sorted DataView Please Help!
Hi All, Before, my English is not so good excuse me for that. I have a proglem with printing a sorted DataGrid. For Example: System.Windows.Forms.DataGrid dGrid; dGrid has for example 2 columns: Column 1 = "NAME" Column 2 = "BIRTHDAY" dGrid is filled with&nbs ...Show All
Visual Studio API for browsing VS 2005 "Track Changes" (yellow/green editor margin)
Hi, VS 2005 introduces a cool feature that allows the programmer to track changes in the text editor using the yellow/green line that VS draws on the left-hand side. Does anyone know if it is possible to browse those code areas (same as we browse manually added mark points) How can I program a macro / add-in / package that performs this task Thank you, Eyal The DTE object, the root of t ...Show All
Visual C# Word object and its Enumerations
I need to store various printer settings into the database (this would be done by the user thru “Maintain Printers” screen). 1. In what format I’ve to store the printer information (paper source, papersize …) 2. Then how do I apply the stored values to word object. (It’ll accept only its enumerations) You can find the names and valu ...Show All
