Dan Heskett's Q&A profile
Visual Studio 2008 (Pre-release) Editing style of selected row in ListBox
Hi, I'm using the February CTP and I want to edit the style of the marked item in a ListBox. I have figured out that I probably need DataTriggers, but I don't know how to use them. All I want to do is to be able to change the blue background when a list item is clicked to something else. Can anybody help Thanks, Tomas You should try and use Microsoft Expression Interactive Designer - http://www.microsoft.com/expression - we make it a bit easy to do this. If all you want to do is to replace the blue highlight, you can specify an ItemContainerStyle. However, if you wanted to tar ...Show All
Visual Basic Cant Set 'panel.visible = true' in vb.net mobile 2005
I am debugging the code and can change the position of the panel (panel.left = 300), but cannot change the "visible" value to true. What am I doing wrong PublicSub ShowPanel( ByVal PanelToShow As Panel) If PanelToShow.Name <> "pnlEnterPass" Then CurrentPanel = PanelToShow End If 'Hide all of the Panels pnlCustInfo.Left = 300 pnlComments.Left = 300 pnlMain.Left = 300 PnlCalc1.Left = 300 pnlKeyItems.Left = 300 pnlSelItems.Left = 300 pnlinput2.Left = 300 Splash.Left = 300 pnlViewAllOrders.Left = 300 pnlEnterPass.Left = 300 pnlCustInfo.Visible = False pnlComments.Visible = False pnlMain.Visible = False pnlinput2.Visible ...Show All
SQL Server OLE DB Error in SSIS
Hi All, We are using IBM iseries OLE DB provider and once we make a source connection using the same we get an error saying that the "Default Code Page" property is not defined and a default code page will be used. Any ideas Thanks Manish Thanks Jamie. Tried it out but it also does not seem to work, though there are no validation warnings, the job runs and give a Pipeline PrimeOutput Error() ...Show All
SQL Server SQL2005 x64 OLE components
How do I get MSDAORA and MSDASQL OLE DBs for a SQL2005 installation on a x64 W2003 I've installed the latest Oracle 10.0.2.1 client on the x64 machine, but cannot get SQL2005 to access the link servers on Oracle databases. The OraOLEDB.Oracle driver returns a no further information error, although oracle own clients can connect to the Oracle database. I attempt to use ODBC as well as the M'soft Oracle OLE, but there is no dropdown for them in the New Link Server screen. ...Show All
SQL Server Installing feature Pack components with an Application
Hi, I have developed an application the uses SMO and RMO, now it is time to write the setup for it. For the setup experience I want to be able to install my application on a clean copy of XP SP2 which has dotnet 2.0 already installed. As such I have downloaded the following from the Feature Pack for Sql 2005 ( http://www.microsoft.com/downloads/details.aspx familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en ): msxml6.msi sqlncli.msi sqlserver2005_xmo.msi Now I'm thinking that I need to launch these msi's from within my own application msi, however, I don't want any UI displayed and I want my own msi to inc ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can't Run Any Programs On Others Machine
What I am running: DirectX 9.0c & C# I am trying to run the compiled version of ( http://www.c-unit.com/tutorials/mdirectx/ t=38 ) this tutor on another machine. These tutorials only work in October Version of DirectX I believe. What I downloaded: ---Microsoft .NET Framework Version 1.1 Redistributable Package http://www.microsoft.com/downloads/details.aspx FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en ---DirectX 9.0c Redistributable (October 2005) for Software Developers - Multilingual http://www.microsoft.com/downloads/details.aspx FamilyID=9930efa6-9f7b-4c8a-aea2-97dd6ab307a2&DisplayLang=en ...Show All
Visual C++ Detect if .NET Framework is installed
I am writing a plugin for a 4th Dimension database where I am using .NET 2.0 for much of the advanced functionality but would like to be able to fallback to native (unmanaged) c++ if the framework is not installed on the machine to provide some basic functionality. Is this possible The plugin is basically a DLL that uses a standard interface with 4th Dimension that is provided as C code. I have my plugin already working so that the unmanaged C++ calls .NET. I would like to be able to return error codes when .NET is not present when attempting to use functionality that requires it. Thanks Mog ...Show All
Visual C# Dataset - 2003 code no longer works with 2005
Good day all, I have posted the snippet below. the loop is a test i just ran. The loop returns the table and the row count. When I get into the "if" statement my table object shows 0 rows. This code has worked for months in 2003. Have there been any changes with regards to the dataset object that I need to know about Or am I just missing something obvious Thanks as always. POWBL.SQL. CompleteUserDSx user = new POWBL.SQL. CompleteUserDSx (id); POWBL.Datasets. CompleteUserDS userDS = user; System.Diagnostics. Debug .WriteLine(user.GetXml()); //This returns a full dataset foreach (System.Data. Da ...Show All
SQL Server Import XML string into DB
I'm not sure what an "edge" table is. Can you post a sample of the XML, the OPENXML syntax you're currently using, and the output you're trying to achieve -- Adam Machanic SQL Server MVP http://www.datamanipulation.net -- < GBez@discussions.microsoft..com > wrote in message news:c959c905-bfac-4471-b7a1-059439279ef9@discussions.microsoft.com ... Hi, I have a string of xml stored in a ntext field of a table in a SQL Server 2000 database. What I have to do is strip out the data stored in the string and store it in a table in the database. I ha ...Show All
SQL Server Return the data from a table ordered by its hierarchy
How can I create a function that returns hierarchical data from a table with this structure: - CategoryID - CategoryName - CategoryFather I want to bring the result set like this... CategoryID | CategoryName | CategoryFather | HierarchicalLevel 1 | Video | 0 | 0 2 | DivX | 1 | 1 3 | WMV | 1 | 1 4 | Programming | 0 | 0 5 | Web | 4 | 1 6 | ASP.Net | 5 | 2 7 | ColdFusion | 5 | 2 How can I do this Does anybody has a sample code I need this on SQL Server 2000 and if it's possible (but not too necessary) in SQL Server 2005. Thanks. In SQL Server 2005, you can use Recursive CTSs to achieve the same. WITH HierarchyListing ...Show All
SQL Server How to implement special text format in MSRS?
Our team need to implement the following text format in MSRS: 1. Text Wrap We need to wrap the text at the end of the line in these 3 ways. 1) HARDWRAP: Hardwrap of overflow text. 2) TRUNCATE: Truncates letters based on column width. 3) WORDWRAP: Wraps words to the next line. 2.Text capitalization We need to specify capitalization rules for the text in a column. 1) INITCAP: Capitalizes the initial letter of the text. 2) LOWERCASE: Displays text in lowercase letters. 3) UPPERCASE: Displays text in uppercase letters. Does MSRS support all these So far, we have no idea how to implement it, hope some one can help. Thanks ...Show All
Visual Studio Express Editions Button array
How to create an index for objects BUTTON in design time (Button1(0). Button1(1)...... ex VB6) You can't - control arrays don't exist in VB Express. There have been lots of examples in these forums recently on how to do this or you could have a look at http://msdn2.microsoft.com/en-us/library/487y7874.aspx Dave ...Show All
Software Development for Windows Vista can't install the wwf!
the following are my steps 1.install vs2005 2.install vs2005 extension for wff 2.0 3.start the vs2005 ,it shows wwf is installed in started form 4.file->new project,can't find the workflow node! what's wrong with my steps my system is win2003+office 2000 Do you install the SDK and the Foundation Check in your control panel/AddorRemove program. You should see both the Windows Workflow Foundation and Visual Studio 2005 extensions for Windows Workflow Foundation. Bill ...Show All
Visual Studio Hiding the Navigation Bars
Hello all, I've implemented a language service using the core editor. In my LS I have added the support needed for the editor nagivation bars. The only problem I have is that when disabling the nagivation bars from the Tools > Options dialog, for my editor, they do not dissappear. Even when I restart Visual Studio .NET there are still there, even though the 'Navigation bar' is unchecked in my editor options. When implementing a language service, I do not override the default implementation of LanguageService.CreateCodeWindowManger or LanguageService.GetCodeWindowManager, so I was expecting removal of the navigation bar adornments to be ha ...Show All
Visual Basic Error for windows media encoder
First I develop the Real-time streaming meeting with WME SDK 9, but I find my customer's media Server is running in the platform(windows2000 Server).So I have to redevelop it with WME SDK 7.1. Dim srcVid As IWMEncSource Dim srcAud As IWMEncSource Set srcVid = srcGrp.AddSource(WMENC_VIDEO) Set srcAud = srcGrp.AddSource(WMENC_AUDIO) srcAud.SetInput "ScreenCap://ScreenCapture1" Dim proColl As IWMEncProfileCollection Dim pro As IWMEncProfile Set proColl = wmencObj.ProfileCollection Set pro = proColl.Item(i) srcGrp.Profil ...Show All
