Jackson Davis - MSFT's Q&A profile
.NET Development Hungarian dateformat does not work for a client side comparevalidator (ASP.NET)
Hi, We are developing an asp.net (.net 1.1) application which is also used by people in Hungary. The dateformat used there is yyyy. mm. dd. (dot-space between the parts and a dot at the end). However the comparevalidator does not validate this. Also for some other countries (like Slovak : dd. mm. yyyy) the validator does not work. I have found KB article #834330 and installed the patch mentioned, which fixes the error the Slovak, but ...Show All
SQL Server Web App Failover problem
Hi, I have successfully set-up a DB mirroring. When the pricipal goes down, the mirror picksup and the other way around too. So the mirroring part is working great. However, when I use my web applicaiton (dot net 2.0), it is not able to connect to Mirror server . I get the following error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that und ...Show All
Windows Forms Save all controls name and value on WinForm
Please help me. I want to save names and values all controls in my Form. I have this code: private void menuItemSave_Click(object sender, System.EventArgs e) { DialogResult buttonClicked = saveFileDialog1.ShowDialog(); if (buttonClicked.Equals(DialogR ...Show All
Visual Studio 2008 (Pre-release) LINQ functionality for C# 2.0 (...and others)
So far I'm encouraged with all the help I've received on this forum, so here is another problem. What is the best way of providing ad-hoc querying capabilities in C# 2.0 (the same techniques might apply to Java 5.0...but I won't mention that here :) ). By ad-hoc I don't mean parsing quries written by end-users, then operating on existing data structures (think a winforms application where a user types in something like SQL on an IEnumerab ...Show All
Visual Studio Tools for Office Persistent menu in Word (through VSTO 2005)
Is it possible to create a persistent menu in MS Word 2003 via any other means than implementing IDTExtensibility2 interface All other parts of our project are implemented using VSTO 2005, but we also need a 'starting point' of sorts - i.e. a menu or a smart panel that is always present (no matter what type of document or even if no document is open). Any suggestions are welcome. Thank you, -Nick You can c ...Show All
Visual C++ Manifests in VS2005-- What are they?
In my experience, manifest files have enabled the Windows XP control themes in applications. That is all I know about them. Can anyone explain what manifests are, and how they are used I also noticed that Visual Studio 2005 Professional supports embedding manifest files. Does this mean the IDE is capable of automatically making applications support Windows XP control themes Thanks ahead of time. I tried with ...Show All
SQL Server Creating a package with data flow task programmatically
I have created a simple package with 1 data flow task: Source: data reader (to sql mobile) Destination: oledb (to sql server) And the aim is to do a "Select * from table_name" from source and move everything to destination database. I have followed the steps in documentation, but the package fails! An exception is thrown with message: "Exception from HRESULT: 0xC0202072" Since its the basic functionality of SSIS that I am implementing, it ...Show All
.NET Development Sorting and Filtering a List (of T)
Hi! I have some Classes (my BussinessObjects). In the Business-Tier i often use List (of myCustomClass) This CustomClasses have Propertys like Description, ID, FirstName and so on. Now i want the create the possibility to Sort / Filter this classes. Sorting is noch realy a hard Problem. I think this could be done with: http://musingmarc.blogspot.com/2006/03/extending-dynamic-sorting-of-objects.html (I just have to translate the code ...Show All
.NET Development "Access is denied" errors from CounterSample.Calculate (new with RC1)
With the RC1 build, I am seeing a new problem that I haven't been able to find a solution to. We have a WinForms app that uses a remote object hosted in a Windows NT service. The service runs as the Local System account. We are sampling performance counters and logging results in the remote object. Because Local System doesn't have the right permissions to read the performance counters (which may be on a remote server), we pass credentials ...Show All
Visual Studio 2008 (Pre-release) Binding to PathFigure.StartPoint. AKA whats wrong with this XAML?
I have an ItemsControl that holds a collection of objects. It makes use of an ItemContainerStyle that looks like the following <Style TargetType="{x:Type ContentPresenter}"> <Style.Triggers> <EventTrigger RoutedEvent="TextBlock.Loaded"> <EventTrigger.Actions> <BeginStoryboard> ...Show All
Visual C++ Can and how do I extend an array of objects during run time?
Hi, I created an array of objects, based on a class I created to hold data only, at the start of my program. During the run time, I may need to add an unknown number of additional objects to new data. Can I do this How can I increase an array of objects during run timge, one at a time as the need arises For exmaple: myClass aryObjects[10]; .............. How do I add to the aryObjects and make it a aryObjects[11] Thanks. Hi ...Show All
Visual Basic Sammary to class
I want to add Summary description to my class in mind i use VB.NET If you go to your project properties and go to the Compile page. At the bottom is a checkbox that you want to make sure is checked that says "Generate XML documentation file" Now, in your code, right at the beginning of a method signature, like where it says Public Sub Foo, put your cursor at the beginning of the line Then, type three single quot ...Show All
Software Development for Windows Vista Install Sept ctp
I am using team suite beta 2 (.44 build) and installed the sept. runtime, sdk, and vs extensions on 2 different machines, but the WWF projects never show up in the New Project dialog. Also opening a sample (DocumentReview) tells me that the "project type is not supported by this installation". DanHaligas wrote: http://www.microsoft.com/downloads/details.aspx familyid=7096d039-2638-4f63 ...Show All
SQL Server How to run DTS package/upgrade in SQL 2005.
Hi All, I am following instrucation in the following doc to migrate dts package. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnsql90/html/SQL05InSrREAL.asp In step 2. Right-click the DTS Packages folder in Solution Explorer and select the Migrate DTS 2000 Package option. This starts the Integration Services Migration Wizard . I don't see "DTS Packages" folder what am I doing wrong. Thank you in advance. Satish Patil ...Show All
.NET Development Upgrading project to ASP.NET 2.0: find_business Web Service method name is not valid.
In the ASP.NET 1.1 project a UDDI proxy is used. I converted the project with the Visual Studio 2005 Conversion Wizard to ASP.Net 2.0 Beta 2 and saved the proxy file (UDDIProxy.cs/ This source code was auto-generated by wsdl, Version=1.0.3705.288. ) in the App_Code folder. If I call the proxy in the application I get the error: find_business Web Service method name is not valid. I am not able to add a Web Reference to t ...Show All
