dhweizel's Q&A profile
Windows Forms Still having problem
Dear All. I have a number sorting problem in datagrid. I have integer values (1,2,11) , when i click Datagrid Header to sort the data , the result shows like this : 1 11 2 This is because the it is sorting as string. Can anybody help me how to sort it as a number. Thanks Hi, I think the problem here is you've set the datasource first to the DataView : dg.DataSource = myView; Then set it again in the tab ...Show All
Visual Basic checking either a value alread exists in a table
Hi. is there a simple way for checking if a value alread exists in a table before the user inserts it thanx Please read my post and Paul's one about this question at : Search a DataBase . ...Show All
.NET Development customizing datagridview to look like itunes notepad like grid
how to cutomize datagridview to look like itunes notepad like grid. see itunes screenshot like http://www.apple.com/itunes/overview/ ...Show All
Software Development for Windows Vista language settings on MIO168 with windows mobile?
How can I change my language settings from Italian to Dutch or English Many Thanks Hi, Thanks for your post. This forum is patrolled by folks who are experts in developing apps that run on Windows Vista mobile computers (e.g. laptops, Tablet PCs, UMPCs). For Windows Mobile and Pocket PC questions, I suggest posting to one of the Pocket PC forums. David ...Show All
Software Development for Windows Vista what are the file system formats supported by vista?
hi. i can't seem to find the answer to this question..... does it still support FAT FAT32 and other file formats (i think i can conclude that it still supports NTFS file format because WinFS is built "on top" of it...) thanks ...Show All
SQL Server The request failed with HTTP status 401: Unauthorized. - ReportService2005.asmx
I have a report server set up to use SSL and Basic authentication. I am trying to create an application that uses the ReportService2005 web service. I can add the web reference ok, but when I try to use it to list reports, I get the "The request failed with HTTP status 401: Unauthorized." error. What steps do I need to take to get the authentication to work correctly I have kerberos configured for the server, although I don't think ...Show All
Visual J# I need System.setProperty(String, String)
Hi; I need to be able to set some system properties (for some unit tests). How do I do this In java it's System.setProperty("key", "value"); thanks - dave Hi David Thanks for the feedback. Your request for this JDK 1.2 level method in the future releases has been noted. Like all other requests from our customers about what they would like in our future releases, this request also would go through our planning/invest ...Show All
Visual Studio 2008 (Pre-release) RunOnUIThread - Callback Contract
Hello, I'm build an application using WCF. I have a service contract which is declared with a callback contract. The service is running inside console applcation using NetTcpBinding. The client is a Windows Forms application which create a duplex channel to the service. After I call to the method Login on the service the service keep a callback proxy (from OperationContext.Current.GetCallbackChannel). When an event occure the serv ...Show All
SQL Server Unable to read local eventlog (the parameter is incorrect)
In trying to setup alerts and activating them, an error occurs in the sql agent log of Unable to read local eventlog (the parameter is incorrect) The full messages from the Windows NT Logs shows: Event Type: Error Event Source: SQLSERVERAGENT Event Category: Alert Engine Event ID: 318 Date: 03.11.2005 Time: 17:14:47 User: N/A Computer: RESYSHADOW Description: Unable to read local even ...Show All
Windows Forms How can i cache an array of ListBox, to re-display them faster ?
hello, i do populate these ListBox with data from a DataView.ToTable distinct query the application is a music browser, like Itunes, on ListBox(es) on the top, there is as cascaded filter that also DISTINCT childs lists. (the behiavor is exactly Itunes like) these ListBox are stored in an array so i can find which one has been clicked, from which tab and create the R ...Show All
Visual C# typed dataset
Hi, I am creating a project using typed dataset for the first time. The DataTier returns a dataset of the .xsd type to the webservice //dsEmps is the .xsd public dsEmps GetData() { string strSQL = "SELECT EmployeeID, LastName, FirstName, Title, TitleOfCourtesy, BirthDate, HireDate, Address, City, Region, PostalCode, Country, HomePhone, Extension, Photo, Notes, ReportsTo, PhotoPath FROM Employees";   ...Show All
Architecture Architecture question - how to store local copies of data on a server
My work order application needs to do the following: 1) User has a windows forms client on their laptop, PC, or even mobile client. 2) When they have an active connection, they can connect to a web service to view new tasks, mark the ones they want to download to their local machine, then disconnect. 3) They can then edit their local copies of these tasks, then re-synch with the server when they next have a connection. Reason being, ...Show All
Visual Studio Tools for Office SimpleCSharpST
Hi. I would like why the MS Sample doesn't function properly in VS2005. The code is the same in VS2003 and was published in MSDN site. Steps: After solution compiled, I registered the new Smart Tag in windows registry and add directory to trust assembly using NET 2.0 caspol.exe. The Source Code can be download at MSDN Site. Thanks, Andre Bretas I am seeing the same problem. It is frustrating. I am having proble ...Show All
Visual C++ STL\CLR serialization & containers
Will the containers within STL\CLR support the Serialization attribute Im using the alpha verisons and when i try to serialize a vector i get the following error message: Failed to serialize. Reason: Type 'cliext.vector<FunctionBase ^>' in Assembly 'Runtime2, Version=1.0.2161.21524, Culture=neutral, PublicKeyToken=null' is not marked as serializable To continue must i now implement the ISerializable interface and serialize the items mys ...Show All
Game Technologies: DirectX, XNA, XACT, etc. working with 3d in Visual Basic and Visual C++ 2005 Express editions
Hello. I am trying to focus on 3D programming in Visual Basic and Visual C++. I have searched for information on it in MSDN, but I didn't find anything about it. So where I could find information about this Which classes do I need to use for doind this and where I could find information about these classes Thanks The DirectX SDK ( http://msdn.com/directx/sdk ) contains Managed DirectX libraries, that wi ...Show All
