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

Software Development Network >> Simon McMahon's Q&A profile

Simon McMahon

Member List

Matt1001
AshishMalhotra
Sonnie-Cakes
JMnet
CoderMike
deen
rlaws
SaucerBoy
stefciu
Cem DEMiRKIR
Slawek Dobrzanski
sfarber
jerrykur
dstorch
Amos Soma
Cammyr
AndrejS
Jamie Thomson
godzilla9
HyperDrachen
Only Title

Simon McMahon's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. HowTo Add Right Thumbstick support in SpaceWar Starter Kit

    Further to this post... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1240811&SiteID=1 Here are the mods needed if you want Right Thumbstick support in the SpaceWar starter Kit Settings.xml add key maps with the rest of the player 1 key mappings. for example < Player1ThumbstickRightXmin > J </ Player1ThumbstickRightXmin > < Player1ThumbstickRightXmax > K </ Player1ThumbstickRightXmax > < Player1ThumbstickRightYmin > M </ Player1ThumbstickRightYmin > < Player1ThumbstickRightYmax > I </ Player1ThumbstickRightYmax > GamePadHelper.cs In the default constructor, in the if (player == PlayerIndex .One) codeblock, add keyMapping.Add( GamePad ...Show All

  • SQL Server Upside down text

    Is there a way to print text upside down on a report Hi, Thanks, that was the conclusion I was coming to. I have had to embed an image of the text that I want displayed - but it makes the report HUGE! Cheers. ...Show All

  • Visual Basic vb.net equivalent of PictureBoxArray

    vb6 Public WithEvents GraphicsPane As Microsoft.VisualBasic.Compatibility.VB6.PictureBoxArray GraphicsPane(iDrawing_Pane).MousePointer = vbArrow where iDrawing_Pane can be 1 to 4 what would the equivalent be in .NET to achieve this so that statements like the following will work Call Display( GraphicsPane(iDrawing_Pane ).Handle.ToInt32) and events like the following work, which are inherent Panel events, and can handle any resize events for any one of the 4 panels. Private Sub GraphicsPane_Resize(Index As Integer) Thank you, -greg The only thing you're missing from the logic above is to add the control to the form's control collection. For exa ...Show All

  • SQL Server SSIS dataflow problem

    It just occurs to me that it might not be a bad idea to post again the problems in SSIS that I found back in the beta cycle which do not seem to have been fixed, to increase the chance that someone will notice them. (During the beta cycle, I spent hours trying to get bugs posted into the beta bug system, but the beta web bug site had so many problems that I could never get it to work, unfortunately, so I fell back to just posting my bugs and hoping some developers would notice them. Kirk had a thread for bugs and RFEs at one point, where I posted some of the important ones.) Here is another fairly bad one: The dialog that pops up to show fields in the dataflow which have been orphaned, after some fields have been removed earlier in the da ...Show All

  • .NET Development Sharing wizard-created datasets in a solution

    Hi there, I've created a solution that has multiple projects in it.These multiple projects compiles to become .dll dependency files that is used by my application. I've then used the datasource wizard (vs2005) to convert a large access database to a SQL Express dataset, and placed in under my main application. I have been doing work on it for many months now. All was well until I realize that I need to use some of the tables from that dataset in those dependency dlls as well. However as they are under a different project (or namespace ) , I can't seem to use them. 1. Is there a way we can share the dataset between projects which is in the same solution I tried copying the same dataset into another project and it came up with al ...Show All

  • SQL Server Time Series only predicts one step

    I have a relational table with daily sales for 364 days (52 week span) for 60 stores. I have created a Microsoft Time Series model using store as the case and the historical/actual line charts appear in the Charts viewer for each store. But only one prediction step is shown no matter how many prediction steps I select. I have tried this with an OLAP-based model and also tried a simple DMX query, all with the same result. Thank you in advance for any help with this. P Taylor Thanks for the information. Can you try the following: 1. Set PERIODICITY_HINT setting to {7} and see if you get additional prediction steps 2. Set AUTO_DETECT_PERIODICITY to 0.8 and see if you get additional prediction st ...Show All

  • Smart Device Development .NET Assemblies compatibility between CF1.0 and CF2.0

    Hi I have a .NET assembly (.dll) developed in VS 2005 - CF2.0 and want to import this .dll into my VS2003 . It gives me the error: "A reference to 'C:\....................\xxxxx.dll' could not be loaded. This is not a .NET assembly" Anyway to get the .dll working or I need to recompile the assemly under VS2003-CF1.0 Thanks Older framework/compiler knows nothing about newer assembly. So yes, you need to recompile DLL for V1 or move V2 project to V2. Second option probably would be significantly easer. ...Show All

  • Visual Basic Reading Lines

    How would you read lines from a textbox The textbox has a Lines property that returns an array of strings, each string corresponding to the current line... For Each str As String In TextBox1.Lines ' Do whatever you want with the line... End If Best regards, Johan Stenberg ...Show All

  • Visual C# C# Project generation

    Hi I'm working on an app that generates C# source code. I've been using the CodeDOM namespace to handle most of the actual generation of the individual source files and its worked out fine. However, now I'm ready to start generating the CSPROJ files that will contain those source files. I realize that these files are simply XML files and I could just create them myself on the fly but before I go down that path I wanted to make sure that there wasn't a similar abstraction for them somewhere in the .NET framework that will generate the proper project files for me. Does anyone know of such an object Thanks! Jeremy I would probably start here: http://msdn2.microsoft.com/en-us/library/aa406241.aspx The stuff you need is in the Microsoft. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How in XNA Game Studio Express correctly to include a full-screen mode?

    How in XNA Game Studio Express correctly to include a full-screen mode I write a code: graphics.PreferredBackBufferWidth = 1024; graphics.PreferredBackBufferHeight = 768; graphics.PreferMultiSampling = false ; graphics.ToggleFullScreen(); Then I draw on the screen 2D the sprite and I move it on the screen. During the moment of moving of the sprite on the screen, he brakes and twitches, such impression that copying of the sprite occurs on without usage Z-buffer. How correctly to customize in project XNA Game Studio Express using class Game1 a full-screen mode In DirectX earlier, it was so: D3DDISPLAYMODE Display; if( FAILED( pd3d9->GetAdapterDisplay ...Show All

  • Visual Studio Problem move my Add-in from VS 2003 to VS 2005

    Hello, I have a Add-in it was built in VS 2003. Now I am moving it to VS 2005.  It is written in C#. I use the the following article to guild me to move it to VS 2005. http://msdn2.microsoft.com/en-us/library/ms165634.aspx I got the the following error message when I click it from Add-in Manager: The Add-in "MyAddin" failed to load or caused an exception. Error Message: Unspecified error. Error number: 80004005 Does any body knows what couse this problem Thanks for any help, Haiping       Hi, "Unspecified error" is not very helpful so we are clueless. The best way to handle this problem is: - Ensure that all your OnConnection, QueryStatus, etc. methods have ...Show All

  • Visual Studio Merging from a branch several times

    Hi, I need to merge the content of a branch into another one several times (every week). We're using VSS 6.0 and it seems that's not possible. If i resolve conflicts during the first merge, the next time i will merge , i will have to resolve the conflict again :( Here what they say in the documentation for VSS 2005 : Best practices for use of the Merge command are: Each time you do a merge, put a label on the destination project. For the next merge, specify this label in the -B and -L options, for example, -BLMyLabel. http://msdn2.microsoft.com/en-us/library/d6x776hk.aspx Does someone use that -BL flag is it working well Why put a label on the destination project In the best practices for cvs , it ...Show All

  • SQL Server SMO's EnumAvailableSqlServers doesn't detect my local SQLEXPRESS instance

    I use the following to populate a combobox with a list of SQL Servers on the network: >> SmoApplication .EnumAvailableSqlServers( true );<< This lists all the servers on the network but my local SQL2005 Express is not listed. My firewall is turned off but this doesn't help. What else should I do Do you have SQL browser turned on If yes, did you hide the instance from the network I have a Screencast for that on my site if you are interested, you might find out if this option is enabled at your instance. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Search Technologies Fix for roaming profiles

    Hello all, I'm happy to announce that Microsoft has introduced a hotfix that addresses the problems that occur when users with roaming profiles attempt to access WDS from a new machine. The hotfix, as well as further information about the fix can be found here: http://support.microsoft.com/default.aspx scid=kb;en-us;287497 It should be noted that this fix is intended for enterprise users currently running at least WDS version 2.6.5. Home users and enterprises that do not support roaming profiles do not need to install this hotfix. Paul Nystrom - MSFT I install the fix list in the article http://support.microsoft.com/default.aspx scid=kb;en-us;287497 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using Bitmap/JPG textures with a Z-buffer

    Before I started using a Z-buffer, I was able to render Jpeg and Bitmaps as textures; instead of using TGAs. Using a 16-bit depth buffer, the bmp and jpg textures appear as vertical strips (hard to descrive) and some of the tga textured materials appear a little jagged round the edges. However, using a 24-bit buffer, the tga textured materials appear nice and smooth... but, the jpg and bmp textures don't appear at all! Can anyone explain this phenomenon, or provide a solution The origionals have to be JPG as they are from a folder of photos... So perhaps there is a way of converting bmp/jpg to tga in realtime Sounds like an example of "z-fighting" to me, you might also ...Show All

©2008 Software Development Network