Software Development Network Logo
  • .NET Development
  • Game Technologies
  • SQL Server
  • VS Team System
  • IE Development
  • Visual Studio
  • Visual C#
  • Microsoft ISV
  • SharePoint Products
  • Windows Vista
  • Visual Basic
  • Smart Devicet
  • Audio and Video
  • Windows Forms
  • Visual C++

Software Development Network >> TannerH's Q&A profile

TannerH

Member List

Fwank79
Alger
LouArnold
michael447887
dmadrian
GeeMann
Simple Samples
walkingboy
qwv
JavaBoy
Kim Ohrns
Aditya.P
Corey C.
Terax
davser
sandyrae
abhayKochar
Judy-H
James Chambers
Dimitry
Only Title

TannerH's Q&A profile

  • SQL Server Aggregate non-filtered members of hierarchy

    Is there a way to create a calculated field that aggregates all members (including hidden ones or maybe non filtered) of a specific level in a dimensions hierarchy ...Show All

  • Visual Studio Team System VS2003 with TFS MSSCCI shows the wrong file status

    Hi, I'm using VS.NET 2003 SP1 with TFS MSSCCI provider 1.1. In the Solution Explorer, some of the resx files are shown as "checked out" status (with the red icon). However I don't have anything checked out. It seems to only happen to some of the language resx files (i.e., Form.de.resx and Form.fr.resx), but not regular code .cs files. How do I clear the checkout status in VS.NET Thanks, Heng-yi That should be "...we could NOT repro your scenario...". Both Michal and I tried, but we were unsuccessful in causing the red check glyphs to appear. --Ben Ryan ...Show All

  • Visual C# Issue copying to a network share

    I have a windows service that is responsable for copying files to a network drive at certain times. I use the IO.File.Copy() method to do this. everytime I run it with the network path I get this error: The network path was not found. I even tried a network path without spaces (my test share has spaces in the name) which gave the same. the share can be read and written to by everyone with full control to admins. The service runs under the system context. Any suggestions Thanks, Quilnux I know that I "could" do that but, this application is deploying on systems that cannot use a seperate user account for services. It has to use the System account or, computer-based account (Local service/Net ...Show All

  • Visual Basic how can I creat a shortcut in clickonce ... ?

    when I publish my project, ClickOnce Technology not support a shortcut .. so is there any way to create it If you're asking for a desktop shortcut (or any other shortcut other than the one ClickOnce adds to the Start menu | Programs for you), then the answer is currently no. ClickOnce does not provide a mechanism to do this in the current version. It's definitely a requested topic, so I'm hopeful that it's something the team will be able to add in a future release, but that will be then & this is now. You can find some more details here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=138691&SiteID=1 hth, e- Eric.Knox@microsoft.com ...Show All

  • Visual Studio Team System Usernames in TFS

    Hi! I have a question about the usernames (fullnames) in TFS. As TFS displays now, it displays the fullname of the user loginname in userrelated fields (like Assigned To). So if you have a user DOMAIN\User1 (With the full name FirstName LastName), it will display FirstName LastName in these fields. The problem is that if DOMAIN\User1 changes name to FirstName emaNtsaL on the domain, the userrelated fields still displays FirstName LastName! After some digging I found out that the fullname for the user account is stored in the table Constant, but it's not updated whenever the domain is.. Why's this The reason why I discovered this problem was that I am developing a lightweight webpart that should handle some WorkItemTracking, and ...Show All

  • Windows Forms Arraylist is populated using a custom class. Listbox Datasource set to the ArrayList. Error: Object must implement IConvertible

    I have an custom class that I use for populating an ArrayList that I then use as the DataSource for a listbox in ASP.Net. Problem is it was written in VB but needs to be C#. I have completed the conversion except for one statement that does not work as it did in VB. Problem statement is when trying to pull the SelectedItem. VB: ( Works Great !) strCode = CType(cboLocation.SelectedItem,clsListElements).LocType C#: (Fails with an error) strCode = ((clsListElements)System.Convert.ChangeType(cboLocation.SelectedItem, typeof(clsListElements))).LocType; ERROR: 'System.InvalidCastException' {"Object must implement IConvertible."} My custom class C# (Partial Code): public class clsListElements { private string strDes ...Show All

  • Visual Studio How can I separate the test code from the source code

    our company is planing to introduce unit test into our development phrase.We mainly use Nunit as our test autuomation tool.If we mix the test code with the source code,that is to say, put the test code in the same .cs file with the source code, and we don't want the release build containing the test code, we must separate them when producing the release build.Can we use the preprocess sentences in C# (#define etc.) to wrap our test code, and tell the compiler not to compile the test code when making the release build If so,then we don't need to separate them at all. Thanks for help. Hi Peggy. This forum is for source control. You might get better responses elsewhere. Anyway, #ifdef is one way to keep un ...Show All

  • Visual Studio 2008 (Pre-release) My WPF application doesn't run on a machine which has .Net3.0 but doesnt have VisualStudio2005 and its extensions for WPF/WCF

    Hello, Please let me know what are the minimum requirements for running a WPF application(using XAML) on a machine that doesnt have Visual studio 2005 and orcas Our application end users just have .Net3.0 installed on their machines.When this app.exe is run on a machine with just the .net3.0 framework, we get a msg like : "app.exe has encountered a problem and needs to close.WE are sorry for the inconvenience.If you were in the middle of something,the information you were working on might be lost." This otherwise works fine.Can you please suggest me what I am missing here Do I need to create a deployment package everytime so that all relevant dlls(w.r.t WPF) are also intalled our end user's machine.Am I missing something ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C# - Managed DirectX - Secondary Monitor

    Hi, I posted this question in the C# forms forum area a couple of days ago, and I thought perhaps this was a more relevant forum for the question. I am creating a program which uses the secondary attached monitor. The program successfully creates a Direct3D enabled window which runs fullscreen on the secondary adapter (using an adapter id of 1). This does in fact work smoothly and how I would have expected. However, there is a serous flaw which I cannot resolve. If something is clicked on the primary monitor (anything at all), the Direct3D enabled window on the secondary devices is minimized immediately (and naturally the DeviceLostException occurs due to the window being minimized). Somehow I need to stop the program from auto ...Show All

  • Visual C# Determining if a generic Type implements ICollection

    Hi, I need to know if MyProperty returns an ICollection<T> for any T. Given a PropertyInfo instance that has a PropertyType of an IList derivative, for example. public IList<MyType> MyProperty { get { return mycollection; } } I am iterating through the properties of the type, and would like to know which properties implement an ICollection of any kind. Basically I need to know if MyProperty returns an ICollection<T> for any T. Is there any way of finding this out My problem is that I cannot seem to find a way of determining if the property returns a collection of 'any kind' I have to know the exact type of the property which I don't really know at runtime. I have tried typeof(IList<object ...Show All

  • Windows Forms Tabpage navigation

      I have a tab control with multiple tabpages. While navigating between the tabpages the contents of the page has to be validated. The problem is after left-clicking on the tabpage head the contents of the previously selected tabpage becomes blank. Is there anyway to display the tabpages contents while validating the tabpage. its in WinForms application.  Regards Venkatesaperumal Its a WinForms application. The problem occurs particularly when a message box is displayed to show the validation message. ...Show All

  • Windows Forms Excel in the WebBrowser control

    Hello, I am using .NET 2.0 Windows Forms. There is a form with a webbrowser control. I navigate to an Excel spreadsheet and the webbrowser control opens the spreadsheet "inline". All is good until I try to close the form. The Excel process appears in the Task Manager for sometime after I close the form, so it's not possible to clean up the Excel file that I viewed in the webbrowser -- when I try to delete the file, I get The File is Used By Another Process error. Here are my questions: Is it possible to issue a Close command to the Excel instance that is hosted in the webbrowser control Something along the lines of ExecWB that was available in the ActiveX version of the WebBrowser control. Is it possible to get the ...Show All

  • Visual C# Using Satellite assembly example

    Hi, Can you please give simple example for how to use satellite assembly in C# --- Balamurugan Hi, here is a useful link: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cssample/html/vcsamLocalizedHelloWorld.asp Hope it helps BTW, Such questions are outside the scope of this forum - for the scope of the C# General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=107545&SiteID=1 Thank you for understanding. ...Show All

  • Visual Studio 2008 (Pre-release) TabItem IsSelected background property

    Hello, I am using the June CTP and here is my problem: I have a TabControl with some tabItems that I am trying to style. I have my style working and it looks great. The only problem is when a tab is selected it changes its background and forground. I am using the trigger property to catch when the tabItem is selected and am able to change the foreground color (im my case it changes to red). However, the background does not change (even with a simple color of black instead of my gradient). Am I setting the wrong property (background) or is this not implemented in the tab control yet <Style x:Key="tabItemStyle" TargetType="{x:Type TabItem}"> <Style.Triggers> <Trigger Property="TabItem.IsSele ...Show All

  • SQL Server RDO DataType query.

    A colleague is trying to get some SQL Server data into MS Access, and is querying the table from a VB program. She opens an rdoconnection to an SQLServer database. When testing recordset.rdocolumns("fieldName").type it gives -9 as the value. This does not relate to any of VB's listed RDO connection types. It also shows the rdocolumns("fieldName").size as being twice what the database shows when viewed through Microsoft Access. What is this datatype Any ideas I've found various lists for datatype eNums for ADO, but nothing on RDO (as it's obviously obsolete). Anyone out there got any ideas (other than "use something else") Thanks in advance Chris. ...Show All

©2008 Software Development Network