Phil026's Q&A profile
Windows Forms Data grid to dataset to xml question
I hope you'll be able to follow what I am going to desribe: I have to forms a Process and Maintenance form. on the Process form I load default settings using an xml file holding the defaults. When some one needs to update an account numbe ...Show All
Windows Forms Another Validation Conundrum
I would appreciate your input on the following validation conundrum... I have a UserControl that will have several "Modes". Each mode will trigger certain panels on the control to be visible. Each of these dynamic panels has its own set of&nbs ...Show All
Windows Forms Need help populating a DropDownList in and EditItemTemplate
I have a dropdownlist that I have in an EditItemTemplate that I need to populate with a list of files in a directory on my web server. Currently, this is how I'm retrieving the file names: DirectoryInfo dir = new DirectoryInfo(@"e:\web\xxx\htdocs" + strPath); FileInfo[] bmpfiles = dir.GetFiles("*.*"); foreach ( FileInfo f in bmpfiles) { ddl.Items.Add(f.Name); lblMessage.Text += "Name is: &qu ...Show All
SQL Server Unable to connect to Developer Edition
I am having difficulties connecting to a named-instance of SQL2K5 Developer Edition running along side a default instance of SQL2K, from another machine. - workgroup member, non-domain - running on XP - domain clients trying to connect: Win2003 Server/SQL2005Ent machine, XP with SQL2K and SQK2K5 client utilities I haven't been able to find documentation on limitations of Dev Edition that could cause this problem. Any ideas ...Show All
SQL Server Non-Default SQL Server Port
Using Visual Studio .NET 2005 and I cannot make a database connection in sever explorer to a SQL server that listens on a non-default port. I can do this with VS .NET 2003, but not 2005. Please assist. What is the version of the SQL Server Does the SQL Server and the connection application run on the same machine or on two different machines What protocols are enabled on the SQL Server What connection string do ...Show All
Visual C++ Troubleshooting name mangling issues
Has a name decoration spec been published for VC2005 I have an undefined external __imp_ _S_next_size@ $_Stl_prime@_N@priv@std@@SGII@Z which nearly matches __imp_ _S_next_size@ $_Stl_prime@_N@priv@std@@SAII@Z in an import lib. Presumably a major compiler or linker option is out of sync, but without a definition of SGII vs. SAII it's a guessing game. Thanks for any help, Gary Personally I prefer to use exte ...Show All
Software Development for Windows Vista Microsoft Platform SDK Feb 2003
When I try to install this SDK I get the follwoing error: The currently installed SDK is not in its original dirctory. The installation can not continue. Please go to Add/Remove Programs, uninstall the SDK, and try again. I did have this SDK installed once and I uninstalled it, there must be an .ini or .msi file left over somewhere. I'm using this with Windows XP, SP2 - Visual C++ 6.0 Hi, Are you inst ...Show All
SQL Server RS 2005 and winforms control: sample please!!
here is the deal: what are the steps for a client app to run a report published on rs server I know how to refer to the server and the report. but the auth steps need some details added. example: client and server are not on the same LAN and not in a common domain. client needs to auth to the server to get the report. examples needed in detail: forms auth windows user asp.net membership auth. can client certificates help if so what steps ...Show All
Visual Studio 2008 (Pre-release) Sample XPS document packages
Does anyone know where I could find sample xps document packages Any help would be appreciated. Thanks. There is a sample XPS_08.container XPS document package provided with the XML Paper Specification that can you can downloaded at http://www.microsoft.com/whdc/xps/downloads.mspx . (Note the .container is actually a zip file so by changing the extension to .zip you can open and look at the package contents.) Also Windows SDK Comm ...Show All
Visual Basic highlight several words in a text box
hi how i can highlihgt several words in a text box(like search in msdn) how i can add methods in an activex thanks It is possible to select multiple words that are not together using the SelectedText and SelectionColor properties of a RichTextBox control. Steve Hoag ...Show All
Visual C# Passing Values
I am writing an app in which when you click on a button, it runs the class that does all of the processing in another thread. Currently I am passing values by requesting them from the originating class in this fashion: ghv_sql_res sqlProcess = new ghv_sql_res (); progressBar1.Maximum = sqlProcess.totalCountReturn(); Basically what I would like to do is pass the values back by "pushing" them from the processing thread. Is ...Show All
SQL Server Top 5 sales EACH month
I have a table tblSales ( DollarAmount,DateSold, Barcode --- ) in SQL MSDE 2000. What I want is the Top 5 sales for EACH month: Month TotalSales Barcode 2006-05 Top01 Barcode01 2006-05 Top02 Barcode02 2006-05 Top03 Barcode03 2006-05 Top04 Barcode04 2006-05 Top05 Barcode05 2006-04 Top11 Barcode11 2006-04 Top12 Barcode12 2006-04 Top13 Barcode13 2006-04 Top14 Barcode14 2006-04 Top15 B ...Show All
SQL Server BCP,CTE and NTILE problem?
Hi, i am trying to create a bunch of flat files from a table after breaking it down to deciles. this is what i am trying to do: DECLARE @FileName varchar ( 50 ), @bcpCommand varchar ( 8000 ); With temporary (name ,Decile ) as ( select name , NTILE ( 10 ) over ( order by sales DESC ) as 'Decile' from table1 where date = 199205 ) update table1 SET @FileName = REPLACE ( 'D ...Show All
Visual Studio Team System Fail Team Project creation
After installing TFS Beta 3, everything seems ok. Can connect to it, manage it, etc. However I cannot create projects sucessfully. When I try to I get this (excerpt from log): Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: Unable to connect to the Windows SharePoint Services at TEAMSYS1 Exception Details: The Project Creation Wizard w ...Show All
SQL Server Login Failure with Linked Server
Hi, I have both NT authentication on the two servers, and I'm getting the following error when I try to execute the statement: select * from Main1a.GondorMain.dbo.bds Error Message: Server: Msg 18452, Level 14, State 1, Line 1 Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. Any system SPROC that I could check to verify what's causing the error Any help is appreciated! -Lawrence ...Show All
