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

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

rcurrie

Member List

matthew lyden
P R W
Troy Howe
XNA-Mordt
Pseudocode
alians2
georgeob
Esqueleto
Daikoku
xfr3386
the_developer
Kur Lan
Steven McCarty
macyp
Mike Lapierre
Jamie Thomson
VidyaSagarCh
Dan Heile
XNA Rockstar
excheq
Only Title

rcurrie's Q&A profile

  • Visual Studio 2008 (Pre-release) Multiple monitors

    Just one question. How multiple monitors will be supported in WPF, or if there is some support can you tell me where i can find it in what manner do you want to use wpf with multiple monitors I didn't find any possibilities to determine or control on which monitor an app or window is running. Are there any ...Show All

  • Visual C# Assign property to a color

    I have some property values and i wanted to know how would i got about assigning them to a particular color like _getcolor = "SomeColor" No. Color red = System.Drawing.Color.Red; - or- Color red = System.Drawing.Color.FromName("Red"); - or - string strMyColor = "red"; Color myColor = System.Drawing.Color.FromName(strMyColor); - or - Color red = System.Drawing.Color.Red; string strMyColor = red.ToString(); It's not clear what you want to do, but that should cover all the possibilities. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Texture showing up black?

    I'm sure there's something simple that I'm missing but I'm just trying to texture a sphere here. If I comment out the: e.Texture = texture; e.TextureEnabled = true; I get a nicely lit green sphere, but otherwise it's just a black circle. The model was made in blender and exported to an xfile. I've tried it both with the normals flipped/not flipped and with the texture applied in blender and not (wasn't sure if it'd make a difference) as well as both left and right handed system. // Load the model/texture public override void Initialize(GraphicsDeviceManager g) { ball = c.Load<Model>(@"Content\Models\ball"); texture = c.Load<Texture2D>(@"Content\Models\tmppolar"); } //... public override void Render(G ...Show All

  • SQL Server SQE vs. SQL 2005 .mdf formats?

    Hi, My ISP says that the file format for SQE .mdf files is different than a regular sql2005 .mdf file. So, what I am told to do is backup my SQE file, and send it to them to restore into a SQL2005 format. Does that make sense Or should I simply be able to upload a .mdf file to their SQL2005 server without backing it up for them to restore Thanks, -JS hi, I actually do not know what SQE is (my bad), but if it has something to do with SQL Server, all physical files are structurally "identical" if compared at the same service pack level... so they should have no problem attaching the provided mdf + ldf files to their SQL Server instance.. taking a backup and providing it actua ...Show All

  • Visual Studio 2008 (Pre-release) WPF Overview for Executives

    An executive at my company expressed interest in WPF to me, but is not quite clear on what it provides over and above other UI platforms. If he knew what it is and can do, it would be easier for him to "sell WPF" to clients (i.e. provide me with the opportunity to work with WPF on the job!). Does anyone know of a good overview with images and/or videos which would help someone in that position gain a high-level appreciation for what WPF is all about I've looked around, but most of the things I've seen get too geeky and stray away from ways to justify including WPF in a new application's technology stack. Sorry for the broken link, here it is again: http://msdn.microsoft.com/msdnmag/issues/06/01/xmlpaperspecification/defa ...Show All

  • Windows Forms Handling NoNullAllowedException

    Hi, I get the above exception when the user clicks Save, on the code: Try Me .PropertyTableBindingSource.EndEdit() Catch ex As Exception MsgBox(ex.Message) End Try ex.Message displays "Column 'OrgName' does not allow nulls." I want to leave focus on the text box bound to column OrgName. How should I do this Or am I going about this completely the wrong way Thanks, Keith. PS I don't think this is an unreasonable thing to expect VB.NET to support, I have done similar things in other languages in the past. Keith. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA : Absolute Beginner

    Ok, I've taken the plunge and decided to write my own Pong game (you have to start somewhere, right!). I thought this would be a good starting point as it will get my used to sprites and collision detection.. I've managed to get a sprite working and bouncing of the edge of the graphics viewport but I'm using simple "if ( texturePos.X > viewPoirt.Width )" code to detect the edges of the viewport. I'd like to encompass my texture in a boundingbox (boundingsphere) and set up 4 planes as the walls. I'm not much of a star in the maths department and I can't get my head around a plane having 4 co-ordinates... Would someone be kind enough to help me understand how I describe the planes with 4 co-ordinates Alteratively, ...Show All

  • Visual Studio Team System CPT6 Request:Object Checkbox(Select All/De-Select All)

    Maybe I missed something, but can you folks add a "Select All / De-Select All) feature for objects returned from the DB compare function It's not efficient to manually walk through 100+ summary lines and choose include/don't include object changes. It would be faster to select "don't include" globally and then manually select the items I actually wanted. Also, if you really want to be fancy, it would be nice to be able to choose database items by object type. After comparing two database and looking to use the auto script builder, I was shocked to learn I had to "step-thru" each database object and choose yea or nay to include it in my alter script. Again, maybe I missed something ... ...Show All

  • Visual Studio HOWTO: How to have dual Y Axis with 2 different series

    Basically, we have a requirement to show 2 series with totally different Y units. Is it possible to have 2 different Y axis coordinates(for eg say Elect Usage kwh, Daily temp in F plotted over time). We need the each of the dual Y axis to mean something different. Also one needs to be a bar and the other needs to be line .. Is it possible to pull off something like that using Reporting Services in local mode. Is there an RDLC sample somewhere Thanks ...Show All

  • .NET Development Delete attribute

    How can I delete an attribute from an xml file. You can use XmlReader to read XML and XmlWriter to write it back. For simple tasks like deleting attribute this will be the best (from performance point of view) approach. It will be little bit harder to do then loading document and saving it back and because you ask very basic question this probably would be the best way to start for you. Most likely you miss '@' before attribute name or have namespaces in your XML. It's little bit tricky to use namespace in XPath. (see http://sinan.ussakli.net/code/xml-namespaces-on-xpath-queries-and-xslt ) If you don't have namespaces your Path would look like "/foo/bar/baz/@attName". Where ...Show All

  • Visual Basic Determine a DataTable Row index from a DataGridView

    I have a datatable with 10 records linked to a datagridview. When i intially load the datagridview, row 0 in the datagridview = row 0 in the datatable - based purely on the order they load, and the datatable's default sort order. I then filter my datagridview and am left with 5 records. Is there a way of determining programatically, the actual datatable row number of a row displayed in a datagridview, considering that row 0 in the datagridview is now not necessarily row 0 in the datatable Cheers Mc It may or may not be what you want but the DataGridViewRow.DataBoundItem Property http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridviewrow.databounditem.aspx may be w ...Show All

  • Connected Services Framework Impact on performance while using session service

    I am working on a comparison of performance when directly accessing a service S1 and when going through session. To directly access the service S1, I created a proxy and ran a method of the service. To access the service through session service, created the required session and then sent the message to Session service to route to the required service S1.(The session creation time is not considered in total time taken) The results I obtained indicates that the processing through session service takes approx. 5-7 times the time taken while accessing the service directly. I have made all the changes as specified in the CSF Documentation for performance improvements. Are there any others things which can be considered to improve ...Show All

  • Visual Basic How to expose SerialPort in VB.net to VB6 consummer

    Hello All developers I used to post a question on Oct 27,2006 regarding the same issue but I didn't get any positive answer. My main issue is, I develop a software library that communicate with a hardware device through RS232 which is a serialport . I export this library so that it can be consumed by VB6 developer, the serial port object was exposed to outsite world by mean of interface . Other objects of the class work well through the interface but SerialPort object doesn't I'm not sure how CLR managed this object and I don't know its deep mechanism . Is there any buildin interface for serial port in VB.net for working in VB6 as a COM object. The error on VB6 that I got is, this serialPort object is not instantiate . Actuallty this se ...Show All

  • Visual Studio Team System Apply new process template to project

    We have customized the TFS process template to our development. I'm wondering if it is possible to move, copy or convert existing project to this process template in some way There is mainly GUI changes to the forms, but also som new fields that later shall be used by custom controls. what is the safest way to apply the new process templates Just to apply the new templates by running witimport commands for every project Yes, it seems like I have to go the long way in this case. This feature would be on my wishlist for future versions - the possibility to apply a new process template for existing projects and get an indication of what needs to be done (required changed work items) to satisfying the n ...Show All

  • SQL Server General Network Error Check network documentation

    Hi I get a "General Network Error Check network documentation" error sometimes, but its only while insert or update statements are fired while selects keep working perfectly. The Error details are as follows: General network error. Check your network documentation. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: General network error. Check your network documentation. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the orig ...Show All

©2008 Software Development Network