jupzi's Q&A profile
.NET Development limitations with XslCompiledTransform and Xpath predicates
I've found out (from an XslLoadException) that Xpath predicates can't be used in template match statements with XslCompliedTransform. I can use predicates in xsl:for-each statements without getting an exception but it still doesn't work correctly. Non .net implementations seem to have no problems with using Xpath predicates. I can't find any docs on XslCompiledTransform's support for Xpath predicates. Does anyone know what the limitations are Unfortunately XSLT 1.0 doesn't allow variables or params to be used in match patterns. Usually a problem can be solved by moving selection logic to xsl:apply-templates ...Show All
Visual Studio Tools for Office rounding chart corners in Excel
Im looking too programmatically round the corners of an excel chart using VB8. Manually its located in the format chart area, under the patters tab there is a round corners check box right under the shadow box. In intellisense I did find the shadow option With chart .ChartArea.Shadow = True end with but I dont see the round corners option and havent seen any examples of anyone doing it online. Any help you could provide would be much appreciated. Thank you, Hi ryedunn, I assume that your 'chart' field is an Excel.Chart object. The problem is that RoundedCorners property is only available on Excel.ChartObject type (charts embedde ...Show All
Visual Studio Express Editions Determine checked checkboxes
I show dynamically (on the fly) checkboxes in my form. How can I determine which checkboxes are checked You have two options 1. Add your checkboxes to a collection as you create them, iterate over that 2. Iterate over the controls collection for your form ( probably recursively ) looking for check boxes, and check them that way ...Show All
Windows Forms mageUI.exe fails to sign manifest after adding files - HELP!!!
I am using VS.NET 2005 beta 2 ClickOnce deployment and need to add some data files to my manifest. So far, I have been unsuccessful in using mageUI.exe to add the files due to a signing error. This signing error stands in the way of a production point-of-sale deployment scheduled for next week . We would greatly appreciate any help you might give us. Here's the steps I took and the errors/warnings that I saw along the way: 1. Published the app successfully to another server, but got the following warning: Warning 3 SignTool reported an error 'Failed to sign publish\Isola ...Show All
Windows Forms DataGrid binding and multithread data access
I am trying to refactor my code and put all the data access operations on a separate non-UI thread. The non-UI thread would open a DB connection and fill the dataset which is binded to a control. For the DataGrid component, I have observed the following strange behavior. While the dataset is stilled binded to the component, any operation on the dataset ...Show All
Visual Basic help with references.
i have a source code that needs dirext x references and cant find anything about it. references: microsoft.directx i have directx 9.0b and i dont know why its not on the references list. any ideas or answers thanks. you should upgrade to 9.0 c. this should have the stuff you are looking for: http://www.microsoft.com/downloads/details.aspx familyid=7D29004E-7A8D-4F0A-B199-6A740D8F27BB&displaylang=en ...Show All
Visual Studio Team System Unable to add existing team project
We have created and are working on a project in VS2005 TS. An additional developer is to join the project as a contributor. After installing VS on his machine, he was able to open it and connect to the TFS server. However, he also works on another project in VS 2003 using Crystal Reports and had to uninstall the new Crystal Reports that came with 2005 due to a conflict. After that, every time he tries to connect he gets the following message. Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.OLE.Interop.IServiceProvider'. This operation failed because the QueryInterfac ...Show All
Visual Basic How to convert DataTable to a csv, txt or xls file using VB2005?
I used a custom made class for converting a DataTable to a csv file using VB2003. Is there anyway of conevrting DataTable to a csv, txt ot xls file using VB2005, without having to write a custom class Is there any namespace with contains tools for doing this in .NET Framework 2.0 Thanks Hi Job Lot, Here is the code you are looking for: http://www.devx.com/vb2themax/Tip/19703 http://www.codeproject.com/useritems/ExportXLSCSV.asp Regards, Vikram ...Show All
SQL Server Drop Down Parameter List
I have a string with values that are separated by a space. It looks like this: DAY MICS SUN FIX STD . I would like to take the string and make it a drop down list in a report parameter. I have tried the split function but it errors on me. How can I accomplish this Is the value dynamic If not, could have manually put into parameter list If it's dynamic, I think best way is to use a Query for the parameters and do the split in T-SQL split function http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnsqlmag01/html/TreatYourself.asp ...Show All
Smart Device Development How to develop a speech enabled application??
I'm a college student from malaysia. i would like to develop a speech enabled (voice command) application for Windows Mobile 2005 as my final year project. But i'm confusing about the SDK needed. Can the SAPI 5.1 support it Or any other SDK is necessary Thanks. Check out for Microsoft Speech SDK http://www.microsoft.com/speech/default.mspx ...Show All
Visual Studio Tools for Office VSTO project does not appear in "VSTOprojects" CAS list
Hiya, I am going thru the VSTO articles, trying to build a VSTO app in whidbey. When I run the app, I get an error < error > The current .net security policy does not permit the customization to run. <\ error > So, I follow the advice on how to assign a strongName to the assembly: http://msdn2.microsoft.com/library/0c0116yz(en-us,vs.80).aspx However, when i navigate to the "VSTOProjects" folder, the project that I have created isn't present. (there are other, previous projects though) I can confirm that: 1) I have successfully built the project (as I only get the error atruntime) 2) I am log ...Show All
Visual C++ Creating project templates for Visual C++ 2005
Hi!, I would like to create project templates for Visual C++ 2005, but I haven't been able to find a way to do that. I found an article from MSDN ( http://msdn.microsoft.com/msdnmag/issues/06/01/CodeTemplates/default.aspx ) that says that I can create project templates by selecting "File | Export template" menu item when the desired project is opened in Visual Studio. However, it doesn't seem to be true for Visual C++ projects as "File | Export template" isn't selectable. For Visual C# projects it seems to work. So, how I'm supposed to create project templates for Visual C++ 2005 Thanks, Mikko Nylen ...Show All
Visual Studio Unspecified Error on Loading
Hello, we detect today a very strange behaviour of VSS (6.0d). It is integrated in our Access (Access 2002)-Development and worked fine until this morning. After starting the MDB (and performing VSS-login) Access crashes. Rebuilding from SourceSafe-Source, Analyzing and Fixing VSS changed nothing, so I installed the VSS SP6 for resolving the problem, but no success. If I don't perform a VSS-login the error won't appear, but we need this tool. I'm wondering of this behaviour, because we changed nothing over night (the forms and modules which are not checked in, can't cause the error, because my colleague didn't get the latest versions due t ...Show All
.NET Development Order of webmethods
Hi, I've whole bunch of web methods in my web service and they are all appearing in random order instead of the order specified in the cs file. Can somebody tell me if there is any attribute or setting that will let us specify the order, please Thanks for your time! Regards, Swamy Yeah, I've just found it on web. Thanks anyway for your help! http://www.dotnet247.com/247reference/a.aspx u=http://www.dotnet247.com/247reference/msgs/12/62668.aspx http://dotnetjunkies.com/WebLog/razor/archive/2004/03/28/10229.aspx ...Show All
Visual Studio Team System TFSSERVICE needs to be a member of Enterprise Admins - problems accessing http://localhost
I had problems accessing http://localhost on the Data/App tier of my Team Foundation Server after a clean install of VSTS Beta3 - Refresh on Windows Server 2003 with Active Directory enabled. I followed exactly the instructions in the Single-Server Deployment Checklist. The problem was resolved by making TFSSERVICE a member of Enterprise Admins and then rebooting the server. Clearly, there are some permission issues here. Is this a known bug Can TFSSERVICE be made a member of groups with less power than Enterprise Admins Will Please see the following http://blogs.msdn.com/robcaron/archive/2005/10/05/477565.aspx Thanks, ...Show All
