Charles55's Q&A profile
Visual Studio 2008 (Pre-release) ANN: Updated Amazon product links
I have updated the Amazon product links: 1. I have added a "Loading ..." message plus a indeterminate progress bar. 2. Now the data is cached on the client too, so the second time the application should load much faster. http://www.valil.com/winfx/ads.html Thank you, Valentin Americo wrote: Comparing to Flash or Director (3D) the time to load of WPF today is unnaceptable for the creation of "fat client" applications inside a webpage It's not bad the 2nd time, though (after closing IE and trying again)! Tor. ...Show All
Visual Studio How to support editing file path properties in the properties window
Hello, I've implemented a simple property page by extending SettingsPage. One of my custom properties is a string that representes a file path, like so: [ Category ( "Test" )] [ Description ( "Path to a test file" )] [ DisplayName ( "Test File path" )] public string MyFilePath { get { return this .myFilePath; } set { this .myFilePath= value ; this.IsDirty = true; } } How do I support the editing of this file path property beyond a simple text string I'm trying to emulate the editing capability of a property such as the "Working Directory" property from a C++ project's Debugging configu ...Show All
Visual C# 2005 .item() & .Select() replacements?
In 2003 I could set, for instance, the datagrid.item() and datagrid.select() to select a row after filtering the dataview results. These aren't available in 2005, how can this now be achieved The DataGrid.Item() method didn't exists in .NET Framework 1.1, that is a DataGrid.Item property as still can be found in the .NET Framework 2.0 as you can see on MSDN. The DataGrid.Select() does also still exists in .NET Framework 2.0. So they are unchanged! ...Show All
Visual C# Which ROW in DataSet gave error?
Hi, How to find exactly which row in the DataSet gave the error when more than one row has been updated. I use the RowUpdated trigger for the DataAdapter. i.e. oracleDataAdapter1_RowUpdated(object sender, OracleRowUpdatedEventArgs e) However the e.Row does not have the row number. For example if in a 10 row data set user updates row 2 and goes to row 8, updates it and presses the Update button. Now row 2 gives a primary key violation. How do I say to the user that it was row 2 that gave the error. He is still at row 8. Thanks & Regards, Kodiya Hello again, Kodiya ... I remember this question ...Show All
Smart Device Development Visual Studio 2005 debug
Hi, I just installed Visual Studio 2005 and I noticed that it comes with Windows Mobile 2003 SDK, but I can't find spdps.exe application. I can't use spdps.exe /create /device so I can't debug the application on device. I made changes at project settings ( Authenticode signing ) in order to have the application signed and I can run the application on the device .but I can't debug. The error message I get is : "Unable to start program '%CSIDL_PROGRAM_FILES%\123\123.exe'. Access denied. Unspecified error during device load, possibly due to security policy. Ensure the device security policy permits running in debug mode, ...Show All
Visual Studio Team System NUnit Category Equivalent
From what i understand, there is not a TS Test Attribute the equivalent of the NUnit Category . Am i correct Has someone added a custom add on for this What i want to do is flag each test with a category (something word looking as opposed to using "priority"), e.g. "always", "nightly", "weekly" to enable a class of test runs. I want to be able to access these tests from the mstest.exe command line and interactively by the 'Group By ' OR is the alternative to have a convention in your test description and use the "Filter Text" option under the "Group By" TAB to achie ...Show All
Visual Basic Free Cell Playing Cards
In Visual Basic 2005 Express Edition is it possible to access and manipulate the playing cards used in the Microsoft Free Cell card game Steep ( Newbie ) Good feedback. A great way to make sure MS sees suggestions like this is to file a bug or a suggestion on the MSDN Product Feedback Center: http://msdn.microsoft.com/productfeedback/ ...Show All
SQL Server Catastrophic failure
Hello there! We have recently upgraded our SQL server to SQL server 2003. Not entierly without problems i might ad.. The latest one is if you via Excel (2000 or 2003 is tested) try to make a local cube file, using the built-in query wizard, you get an errormessage that only say "Catastrophic failure" and nothing else. If you instead of using the wizard, do the same thing directly in MsQuery (uncheck the box at the first "new database query window") you dont get the error. Why! Many of our users does not have the knowledge on how to write SQL querys and find the wizard very useful. So it is not an option to hav ...Show All
.NET Development Differences in VB and C# syntax Guide
I'm a VB developer for many years and my knowledge on C# syntax is poor. For several reasons, I would to start working on some projects on C#. Does anybody know a document describing the differences between the C# and VB syntax For instance: VB C# select-case statement switch-case statement addressof <methodname> <methodname> byref keyword = operator == operator Dim myVar as myType myType myVar; The best source I know for this is in the Visual Studio 2005 documentation, covering Visual Basic, C#, C++, J#, JScript, and Visual FoxPro: http://msdn2.microsoft.com/en-us/library/czz35az4(en-US,VS.80).aspx ...Show All
Smart Device Development How to get RSSI by using Bluetooth Stack on WinXP SP2??
I've searched the internet for a whole day,trying to find a way to get RSSI of my cell phone . But unfortunatelly, according to MSDN documents, the Bluetooth Stack contained in WinXP SP2 doesn't expose the services of HCI layer or LMP.(except in WinCE SDK, but I need it on PC) . Does anyone know whether it is possible or not Thanks anyway!!! Anybody Is there a way to hack into Windows Bluetooth Driver to get RSSI ...Show All
SQL Server UDF or trigonometric functions in an expression for a Derived Column?
Hi all! I am importing data from a CSV to a DB with a SSIS package. Among some things things it already does, it has to decide if the relation between one row and the following is acceptable. If it is not, the 2nd row is discarded, the next one is taken and the relation value is calculated again to decide whether to keep this one or not, and so on. To calculate this value, I need to apply a formula that includes sin(), cos() and acos() functions. I have already written this formula as a scalar-valued function in my SQL Server. So, my question is: - Is there a way to call a function (a UDF ) within the Expression in a Derived Column data ...Show All
Visual Studio Team System From TFS beta 2 to beta 3
Hi, We played some with the Team Fondation Server beta 2 and we have code, documents, issues, etc. We would be interested in moving those items to beta 3 we it is available. Will it be easy to upgrade to beta 3 while keeping work done with beta 2 Will there be a guide Thanks, Pierre Sorry, but there is no official upgrade path from Beta 2 to Beta 3. If you want to move source code, you can probably do so by getting all and then adding it to the Beta 3 Team Foundation Server, but you'll lose any history you had in Beta 2. As for stuff in SharePoint, you can try back-up using STSADM.exe and then restoring it to ...Show All
Visual Studio 2008 (Pre-release) Reusing Window Objects
Quick question: I have a XAML/C# Window object which is a WPF dialog box. When I want to show the dialog I call the ShowDialog function. Then when the user presses Ok, Cancel, Escape, or presses the Close Button the window disappears, and ShowDialog returns the dialog result. Is it then possible to resuse this object to show the dialog more times, without creating a new fresh object. It seems that once Close has been called, the window is in "dead" state. The reason I ask is because doing this will be a simple way to persist the user's dialog choices - I don't care about WPF's state, I just care about maintaing my ...Show All
Windows Forms Newbie Question: HTML Table equivalent?
I'm brand new to winforms, but pretty well versed in web apps using vb.net. I need to create a grid from a collection, but programmatically only adding one row to the grid ever few seconds on an timer_tick event. The problem is what control do I use Is there an control with events like AddRow(), or RemoveItem() and properties like Cell(index).BackColor. Th ...Show All
Visual C# Security issues in software
Hello, I have developed a registration code and I want user to install my software only when he enters the correct registration code. I will allocate a registration code for the person who will buy my software How shall i do that Regards, Anil Dhiman These days you could be calling a webservice when "submitting" the product key, the product key is then sent to the webservice (another great .NET platform feature) which then hooks up to say, SQL Server to take a look for a match of valid product keys. If it exists and is not in the "blacklist" range, then it should continue on with installing/usi ...Show All
