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

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

chrisbacon

Member List

Aleniko29139
Saroj K. Nanda
prk
Philippe Monnet
stormtreader
NetPochi
yjacket2006
Brian Gullo
mkamoski
weiqj
T2TD
Rastogi
DocMoriarty
Ctp Haddock
Anton Walker
robzappa
prozac11
Henny
jimgong
Jonathan Sampson
Only Title

chrisbacon's Q&A profile

  • .NET Development panel and placeholder asp.net controls

    what is the difference between panel and placeholder asp.net controls The big difference is that the Panel is rendered as a <div> tag while the PlaceHolder is just an empty space while with both the contents of each are still rendered. Also, for future reference, this forum is less geared towards ASP.NET than the ASP.NET ones are and you should direct these sorts of questions there in future instead of here. ...Show All

  • Visual Studio Team System Driving a test method with data from an Xml file

    I know that you can supply a DataSource for a test method which will allow use of a database source, or a text file via ODBC. Can anyone tell me if there's an "easy" way to drive a test method using an Xml file as a source for test data So far, the only thing I can come up with is implementing my own DbProviderFactory for Xml. Is there another way Thanks. An example of how to do this can be found in this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=79672&SiteID=1 Dennis ...Show All

  • Visual C++ CScrollbar Question

    I'm trying to find out where the scroll box is while it's being dragged. When I do a TRACE() using GetScrollPos() it returns the starting position. How do I get ahold of the position while I'm scrolling The problem is that nPos in OnVScroll is a 16bit value. If you scroll positions are larger than you can't rely on the argument. You need to use GetScrollbarInfo, with this function you can get the true 32bit position of the scrollbar! ...Show All

  • Visual Studio Express Editions String in VS C++ Express

    Hi guyz.... i have a problem with C++. I was trying to pass the values of type 'string' into the constructor the following way: static __declspec ( dllexport ) void MyAttributeDll(string ProcessName,string Command,string RawData,string Instance,string Instance_Key,string ErrorMessage, int iOccurrence); the compiler gives me a following error on that line: error C2061: syntax error : identifier 'string' if anyone can give a hand with it ...it would be greatly appreciated. Thanks in advance Dimmi Pass neutral parameters like string pointer to buffers. If you use string classes that are based on templates you force each caller to be 100% code compatoble. If you use simp ...Show All

  • SQL Server How to: Increment the Counter Registry Key for Setup in SQL Server 2005

    I have tried several times to fix the Performance counter issues using :How to: Increment the Counter Registry Key for Setup in SQL Server 2005. I have had no luck. Please help!! Here's a great thread about this issue and several common pitfalls when fixing it. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=356308&SiteID=1 Thanks, Sam Lester (MSFT) ...Show All

  • Visual Studio Express Editions VB Express Edition Videos - Lesson12

    Help! I downloaded the sample code for the QuizVB- Snapshot 1 and tried to run it, but I get the massage: 'Login1_Authenticate' is not a member of 'ASP.quizvb_default_aspx'. Any ideas Thanks Thanks for your reply, Bhanu. Sorry it took me so long to respond. I downloaded from the MS Web Dev Express website. I don't know why, but removing the "AuthenticationMode" statement from the web.config file fixed the problem Thanks again. ...Show All

  • Visual Studio Team System Work Item Field Naming Conventions

    We have two camps for naming conventions. 1) Add the Work Item name in front of the field name so you can easily identify which Work Item field this field was for. E.g. <FIELD name= " ChangeRequest _ApplicationLevel" refname= "MyCompany.ChangeRequest.ApplicationLevel" type= "String" reportable= "dimension" > Then for Common fields shared among Work Items this camp does: E.g. <FIELD name= " Common _BusinessUnit" refname= "MyCompany.Common.BusinessUnit" type= "String" reportable= "dimension" > 2) The second camp does not have Work Item specific parts in the field name. E.g. <FIELD name= "A ...Show All

  • Windows Live Developer Forums How to turn on a behavior of toggle button in dashboard?

    In the dashboard on the http://local.live.com there is a toggle arrow button which allows to hide/show dashboard container. When I'm using http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js script this button is hidden. I’m able to show it (code: map.vemapcontrol.GetDashboard().ShowToggleGlyph(); ), but toggling doesn’t work. What should I do to get the same behavior as on the local live site with this dashboard toggling button Thanks for help! We don't expose that behavior in the APIs, but you could wire up your own. I would probably create my own map control, add the toggle icon, and in the onclick you just change the size/shape of the control. (You notice there are a lot of things built into WLL that ...Show All

  • Visual Studio Team System Delete label by Id, TFS API

    Hi there. Is there a way to delete a Label or find a Label by LabelId The ways I found they all require the label Name and Scope --> VersionControlServer versionControl = tfsServerConnection.VersionControl; LabelResult [] results = versionControl.DeleteLabel(labelName, labelScope); or labelList.AddRange(versionControl.QueryLabels( null , null , null , false , item.ServerItem, VersionSpec .Latest)); But I found my self in a situation where I only have the LabelId or The ChangeSetNumber for that label. Thans! Alan D. Scheinkman You could concatenate them the way the command line does, i.e. labelName@labelScope. Or you could simply ignore the scope: so long as you don't create more ...Show All

  • Visual Studio 2008 (Pre-release) Retrieving Information from a RichTextBox Selection

    Hi, I would like to know how to retrieve the inlines contained within a selection. I have tried various ways to retrieve the exact inlines contained whithin the selection, but I never get accurate results. Can someone please help Thank you, Jaco Hi, I'm also having trouble with the InlineUIContainer's not being saved in the xaml. The XamlWriter.Save(rtb.Document) method is not available in an XBAP so can't use that. Also, I've subclassed the FlowDocument and overridden the IsEnabledCore method to return true - so that the UI elements are enabled. However the save method of the TextRange still doesn't return the InlineUIContainer's. All I'm trying to do is to save the flow document wi ...Show All

  • Visual Studio Tools for Office Outlook Add-in Not Loaded :runtime error HELP HELP

    Deall ALL, I installed the following in the client machine Office 2003 SP2 framework 2.0 office tools runtime MS PIA the Patch KB908002 lockbackRegKey.msi extensibilityMSM.msi office2003-kb907417sfxcab-ENU.exe all did all of the above and no luck to get my Outlook- add in working in the destination machine BUT IT WORKING PEFECTLY in my DEVELOPMENT MACHINE plzzzzzzzzzzz help HELP I did the CAS but still the same. THE Add-in works smooth in My development machine. I meant if i start Addin in outlook (development machine) it will start up normally!! Its more than a week for this small project plzzzz help ...Show All

  • .NET Development How to retrieve the values of the uncommon file properties?

    When using windows explorer to view files in details mode you can see that there are a bunch of additional file properties such as: Bit Rate Dimensions Date Picture Taken Camera Model Episode Name Program Description etc... If you are looking at the properties of a .WMV file and see the "Bit Rate" listed under the Advanced... section, how do you programmatically access this information from .NET. I looked at the System.IO.FileXXX classes and could not find a way to access the values of these uncommon file properties. Any help would be greatly appreciated! Thanks. They're not properties of the file, they're properties of the WMV, so to display those you'd need to access the WMV file and extrac ...Show All

  • Visual Studio Reportviewer and business objects

    I cant get this to work. I have an assembly with BizEntities for example a class named Product. I also have an assembly BusinessServices with a class ProductServices with a method GetProducts which returns a list of products. How do I make this appear in the data sources window when I add a report to my web project I have only been able to get this to work if I use a typed dataset. Why is this such a hassle. The datasources view is very erratic and sometimes datasources I never heard of shows up. Is anyone doing this and gettin it to work. Is the problem me using the csla framework. I even tried adding a product class to directly to app_code and another class that returns a list of products but it still doesnt work. WTF! ...Show All

  • SQL Server How to use both auto generated id and a guid in database

    I downloaded the AdventureWorks OLTP Schema and am trying to use some of the design concepts that are used in this example but I don’t quite understand some things. First there is a column named rowguid, at the moment I assume that this is a GUID. If this is wrong most likely my next question will make no sense. Second if that is indeed a guid all the tables have another id; example would be Employee table would have employeeid and rowguid, why do this My best guess is that you would use the guid to easily insert (linked/sync) data into multiple tables without needing to retrieve the id from the table that was first input into. My scenario would be inserting an employee; to insert an employee you need to create a row in t ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA has it's own GamePad DeadZone?

    I've been looking at the output of the thumbsticks, and it appears a value less than 24% (0.24) is ever returned. I know it's very important to implement deadzone in your programs, but why has it been done for us Someone may want to write a game that needs a smaller deadzone, but as far as I can tell it would be impossible given we don't have full access to the output right the way from 0 to 1. Is this behaviour intentional Many thanks, Adam Miles This one concerns me enough to file a bug for it myself. Please vote for it here if you think the dead zone should be optional. Andy. ...Show All

©2008 Software Development Network