Nate00's Q&A profile
Windows Forms "Finding" a row in a datagridview
I have a DataGridView which shows records (rows) of a table, I normally do (in another lenguage) a simple find function where you type in the start of an ID (say CustomerID) and you see the first record in the grid which matches that ID highlighted, I also do a search function (another form) in which I type parts of the ID, Name, et. until I find the record (customer) that I'm looking for, once I click Accept I want to go back to the first form and highlight the record that I selected in the search form Any thoughts ...Show All
.NET Development VB.NET: Order XML Files
Hi there, I'm working a bit with XML files (Since .INI files got old :O) and I got a small question. I'm writing a Media Player which holds playlists, these playlists are saved in XML-files (so the XML file holds where the program can find a specific file). I would like to know whats the best way to move around elements and attributes. Say i have a playlist like: <playlist> <file location=C:\test.mp3 name=test /> <file location=C:\test2.mp3 name=test2 /> <file location=C:\test3.mp3 name=test3 /> </playlist> Now, I want to reorder it a bit, so I place "test3.mp3" on top of my playlist (in the program). The same has to be done by the program in the xml file, could someone explain me h ...Show All
Visual C++ Memory mapped files
Does anybody have an example of how to use memory mapped files in VC++ I'm using VS2005. Thanks!! Yeah, I did. Everything I found only confused more. So I just thought i'd give it a shot here, maybe somebody has a snippet that they could share. ...Show All
Visual C# How to convert an Excel file into XML and XSD files
Hi, I have an excel file which has several columns similar to database table, which we like to convert into XML and XSD files. How can we achieve this using C#. Thanking you, Regards, Prashant Hi Sudeesh, This will take very long time for conversion. I want to do it programatically using the .net resources. Can you please help me out for this. Regards, Prashant ...Show All
SQL Server Using one store proc to Add 'Other' segment/slice in a pie chart
Hello everybody, I am creating a pie chart with a table region in the same report USING only One store procedure . This report may contain unknown number of segments. Here is the thing; if more than 1 data slice is generated with a value less than 10% of the total, then a segment labelled 'other' will be generated, and data from all slices with value < 10% will be added to this 'Other' segment. The problem is that i would like to use only 1 store proc to get the data to the dataset and use this one dataset to provide the data for both the pie chart and the table item. I am hoping to find someway/any internal function to group or the information in pie chart to show the pie chart described like above. The reason i used one s ...Show All
SQL Server SQL Server 2005 JDBC Driver v1.1 and SSL
Hi folks, I'm trying to figure out if the SQL Server 2005 JDBC driver supports SSL at all. I've downloaded the driver documentation, looked at more web pages than I care to count, and even went as far as to take a stab at guessing at different driver property names in the hopes I might discover some undocumented feature. Each time I try, I come up dry. The following exception shows up in my JBoss log: 2007-01-03 12:13:36,812 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The SQL Server login requires an SSL connection.) ...Show All
Visual Studio Tools for Office Deploying SQL Db with Word 2007 add-in
Hi, I have an VSTO application for word 2007 that uses an SQL Db as backend to store information retrieved from local files. So for every installation/PC there should be an SQL db installed with it. I Have added SQL Express as a prerequisite to the project. My question is how i supply the SQL Db with the application. I'm relativly new to SQL and am trying to orientate on deployment of SQL Db with an VSTO/Word addin. What are the options available to me. Can i use Xcopy feauture with an addin or is the best solution to create a SQL script inside an installer class to create the DB. Or are there any other options available to me. Regards, Jaap Jay, Cindy and others have given solid advice in ...Show All
Visual Studio Team System Rules work but are not displayed in the tree (VS2005)
Hi The rules I've made seem to work just fine as I get the warnings from Visual Studio when I build, however when I look for the rules in the Properties window I see only the name of the dll and no rules below it. When I compile against the 1.35 versions of the dlls the rules shows up nicely in the stand-alone FxCop. Does anybody know what I'm doing wrong The engine gets hold of the XML file just fine because it is able to get the resolution string when a problem occurs. Jacob Hammer ...Show All
Software Development for Windows Vista Using WebService Activities in a Composite Activity (promoting parameters)
folks, i am trying to use a invokeWebService within a composite activity. the invokeWebService Activity requires the specification of a ProxyClass and a MethodName which is not known when designing the composite activity (but when using the composite activity within another workflow). Hence, I tried to promote the parameters to the composite activity using ActivityBind but the compiler claims that ProxyClass/MethodName are meta properties which are required to be bound at design time. Just to clarify, I want to bind ProxyClass/MethodName at design time, but when designing the workflow using the composite activity and not when designing the composite activity itself. I hope I could explain my problem somewhat clear. any help would be appr ...Show All
Windows Live Developer Forums Capture position and zoom level
I would like a user to click a button and then capture the users current position and zoom level. Is this possible Thanks Danny Check out the iSDK: http://dev.live.com/virtualearth/sdk/ You may be interested in GetMapView(); to get the current view rectangle and GetZoomLevel(); John. ...Show All
SQL Server MSDE 2000 Replication to SQL Server 2000
i went through the documentation but i was not clear on following, here is the scenario :- a Central server is having SQL Server 2000 3 Remote Locations :- Each having 4-5 no of computers, connected on a Lan, and on one of the machines MSDE 2000 will be running. My Questions are :- 1. Can remote locations, update data locally and send changes (say in every one hour) to central server. If yes, then how 2. Same way they can receive updates from Central Server on whatever was updated on Centra Server or on the 3 remote locations. If yes, then How any help will be highly appreciable. YOu can access SQL 2005 Books Online at http://msdn2.microsoft.com/en-us/library/ms203721.aspx . You can le ...Show All
Visual Studio 2008 (Pre-release) Entity Data Model wizard does not allow SQL Server authentication?
Hi! I did some search in forum, sorry if this is already handled, but I did'nt found any topics on this. I trying to start the new project. Start the wizard, select the database but there is no way to select Use SQL Authentication Lauri Lauri, The Entity designer prototype only supports Windows integrated authentication at this time. -Lance ...Show All
Software Development for Windows Vista InstallLocation in registry uninstall information is not being written when using VS2005 Deployment Project
Per Vista test case 19 of Vista Logo Certifications, HKLM\Software\Windows\CurrentVersion\Uninstall\{ProductCode}\InstallLocation can not be null. I am using a simple Setup and Deployment project in VS 2005, and I dont see any option to make that happen. I would have suspected that it would do it by itself. Use msitran.exe (from the Windows SDK) to apply the transform. So, the whole process is: - Open your msi in Orca. - Select Transform/New Transform - Create new row in CustomAction table: (Action) (Type) (Source) (Target) SetLocation 51 ARPINSTALLLOCATION [TARGETDIR] then add a new row to the InstallExecuteSequence table: (Action) (Condi ...Show All
.NET Development dotnetfx3.exe hangs while Installing..
I am running Windows XP SP2. I tried Installing .net framework 3.0 using dotnetfx3.exe, after sometime it stops responding. Here is the log file. [12/17/06,14:00:49] WapUI: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CProgressPage::RunningComponent() [12/17/06,14:00:49] WapUI: {4F8791EE-486F-44B5-952B-F28F9FD58BD0} [12/17/06,14:00:49] Setup.exe: GetComponents() [12/17/06,14:00:49] Setup.exe: get_Components() [12/17/06,14:00:49] Microsoft .NET Framework 2.0: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CBaseComponent::GetGlobalCustomProperty() [12/17/06,14:00:52] Microsoft .NET Framework 2.0: Looking for InstallPackage at netfx.msi [12/17/06,14:00:52] Microsoft .NET Framework 2.0: L ...Show All
SQL Server multivalue parameters - is this possible ??
i am trying to build a report that uses multivalue parameters - the report is a simple listing report that lists out a list of cases as a table - the data is obtained from a view which just returns all details for all cases there is no user input for the selection details - am going to be calling the report and passing over the parameter values directly to it. there are several parameters for the report - they all default to "All" for each of these parameters, i need to be able to either use the default value of "ALL" or to enter a list (comma separated ) q1) could i just enter the list as a string comma separated list (rather than as multivalued parameters) and then use this list to filter the data usin ...Show All
