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

Software Development Network >> John Lockhart's Q&A profile

John Lockhart

Member List

Stéphane Beauchemin
Tdah
smalamas
nature0276
aspatz
freeflyr
boran_blok_edan
Rob Scanlon
Eric Brinkerink
MarilynJ
yahu_Hugh
Srinivasan B
Sune Henriksen
C. Charpentier
dreameR.78
Brendan Stewart
MarlAtkins
Gurpreet Singh Sawhney
Ulrik
Rick Strahl
Only Title

John Lockhart's Q&A profile

  • Visual Studio Team System Memory error

    During Load Testing i got a Red cross om Avaliable Mbytes which said it has crossed the threshold value of 2 ..it has to do something with the memory however exactly what it is trying to signify..i would like to get a detailed description of all the counters that are available by default in this tool so that i can analyze the load report properly where do i get it from Some of the counters like avg connection time etc i am familiar with however not all of them.... Hi thanks for you help however i would really appreciate if you could tell me how to run perform.exe where is that located and also where is 'explain' located...i clicked on the '+' sign on the counters however no success....please help!! ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Drawing Text

    How can you draw text in XNA. i have a done pong game, but need to display the scores. Before the new XNA release, i know someone made a font class, and it worked, but i need to know how to do it in the new release Its the same way as in beta. There's a few different font classes out there. Here's a few http://www.nuclex.org http://blogs.msdn.com/manders/archive/2007/01/12/stroke-based-text-rendering-in-xna.aspx http://blogs.msdn.com/garykac/archive/2006/12/01/xnaextras-update.aspx ...Show All

  • Visual C# Cannot implicitly convert type 'Microsoft.Win32.SafeHandles.SafeWaitHandle' to 'System.IntPtr'

    I am now tring to modify some code developed before by someone else, and when I build it, the error message will be shown: 'System.Threading.WaitHandle.Handle' is obsolete: 'Use the SafeWaitHandle property instead.' And the source code related to this warning is: wo.hEvent = writeEvent.Handle; Then, I change it to: wo.hEvent = writeEvent.SafeWaitHandle; However, when I try building again, some error shows: Cannot implicitly convert type 'Microsoft.Win32.SafeHandles.SafeWaitHandle' to 'System.IntPtr' As I am still very new to C#, I do not understand that clearly... Can anyone gives me some help Thanks! You can use the SafeWaitHandle.DangerousGetHandle method. So your code will l ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DDS : 360, PC

    Will DDS files that are created for PC work with the 360 is there not some subtle difference between the two or is this something that will be patched up via the XNA runtimes on the 360 upon asset loading I don't work for MS either, but I know for a fact the block orders differ, unless there's some mode to mark them as linear, which would be a performance hit (of which might not matter), but would still would be good to know before hand. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Game Studio Express - 8/30/06 ?

    I "Hear" the XNA Game Studio Express will be available 8/30/06 - ( ) Is there a Specific Site that has More Info (Where and How to Download it, etc) I am Intersted in Porting some of My PC Games Over to the 360 ... http://games.archor.com ( ) Your at the right place, just have to wait. Check out the FAQ http://msdn.microsoft.com/directx/xna/faq/ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Request

    i wood like see all the folks working on Xna api in a video explaning the xna and the ploblems .ect.......... you call a game dev blog There's a couple dozen community sites, some of which are listed here , that are explaining XNA, at least one of which is doing videos. ...Show All

  • Visual Studio Express Editions startIndex problem when unable to connect to the internet

    I've been creating a program that will restart my modem so I can get a new IP whenever it changes to an IP out of the range I want. For getting the IP I used a ready-code that catches the content of a webpage into a textbox. Then I used a System.IO.StringReader to start getting the content of the textbox after the ": ", which is when the IP comes. Here it is: Public Function getIPstring() As String 'This creates the filestream and streamreader that is used to read the source Dim SR As New System.IO.StringReader(TextBox1.Text) 'Here is where we start looking for the ip. 'This puts the entire file into a string Dim entirefile As String = SR.ReadToEnd 'This gets the starting position o ...Show All

  • Visual Studio Dates Changing to mm/dd/yyyy

    I've got a report that i've done which has a formula that calculates the last sunday of each month. When i run this report in Crystal Reports XI:R2 the date displays as dd/mm/yyyy But when the report is run from an ASP page only that formula date changes to mm/dd/yyyy   Any Ideas why it does this Have you checked the "regional and language options" settings in Control Panel (the icon that looks like a globe) Go to "Regional Options" tab -> "Customize" button -> "Date" tab -> and "Short Date Time" format. You might have different datetime format settings for your local machine and the server machine running ASP pages ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Playing In Traffic game sample

    Here is a simple game called "Playing In Traffic", based on an episode of an animation series (which you can see here ) . It was our first xna game (with lots of orphaned experiments and general ugliness), but the source is included anyway for anyone who may find it useful. We will be adding more to the entry page as time goes on, as well as updates to an swf to xna converter in progress now. You can download the game and source here . 2007 should be a great year for the Xbox and consequently XNA, very much looking forward to it. Hope it is a good one for you as well! Cheers, Robin downloaded and played for a while, then my girlfriend wanted a game I don't own a 360, so I modded the UpdateKeyboard() cod ...Show All

  • Visual Studio Express Editions Why doesnt this work ?

    Im trying to make a delay for 2 seconds... This is what im trying to do: 1. Button click 2. event happens 3. wait 2 seconds 4. event happens 5. and so on. But i cant get the timer to work. Im pasting the code part that i cant get to work. all help is greatly appreciated. Thx Imports System Imports System.Timers Public Class Form1 Public Sub timer() Dim aTimer As New System.Timers.Timer() ' Hook up the Elapsed event for the timer. AddHandler aTimer.Elapsed, AddressOf OnTimedEvent ' Set the Interval to 2 seconds (2000 milliseconds). aTimer.Interval = 2000 aTimer.Enabled = True End Sub Public Sub ...Show All

  • .NET Development DataSet Questions

    I'm wondering if there is a way to compile a dataset into the main project dll. I create a dataset through the Add New function, drag a table onto the form from the server explorer, set the build action property to compile but everytime I try to build it throws an error stating: Error 1 A namespace does not directly contain members such as fields or methods C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\DataSet2Test\DataSet2Test\Test.xsd 1 1 DataSet2Test It is referencing this line in the test.xmd xml file: < xml version = " 1.0 " encoding = " utf-8 " > Any idea why this would be throwing an error Any idea of how to go about compiling a DataSet Any help wo ...Show All

  • Visual Studio Express Editions How to put table inside an RTFBox

    Dear VB Experts, Please help me on my code for putting a table (let's say 4 columns, and rows are dynamically added) inside a richtextbox and also please show how to add data onto it. thanks so much :-) Hi ReneeC Whooooaaaaahhhh, did you just do that code in a couple of hours Hehe, it would take me 2 wks to figure that out hahaha. I will try the code tomorrow after my work and will give you feedback should there be problems arising. Thanks again buddy.....really appreciate the effort done ...Show All

  • Visual C# Visual Studio default using statements

    Hello, Is there any way to define the default using statements visual studio will insert at the begining of each new class file when created I need the System.Drawing namespace in every class of my project. Regards. See if this helps you out any.. http://www.developersdex.com/gurus/articles/828.asp Jay Esparza ...Show All

  • Visual Studio Express Editions Serial Port multithreading

    Is it possible for YourCOMPort.BytesToRead and YourCOMPort.DataReceived to change while the subroutine, which handles YourCOMPort.DataReceived is still in progress At very high data rates, the data may come in so fast that for example while previous data is being send to display by means of BeginInvoke new data are received. Depending on how Windows and .NET is build this may or may not course BytesToRead to change and/or a new DataReceived event, while the routine which handles this event is still in progress. If events are just boolean signals - not a queue - there may be a risk that if a new event occur while the subroutine, which handles this event is still in progress, the subroutine will not be reactivated (event cleared at exit). ...Show All

  • Windows Forms Black label and persistent wait cursor

    Hi everyone! I have a problem with a GUI, which has a label and a panel. When executing, the label is always black and the cursor is wait cursor (until the program ends). Moreover, in the Windows XP toolbar doesn't appear the label of the running program until it ends. Could this problem be due to the fact that the gui class even has the responsibility to update the graphics of the panel Maybe it is better to delegate this task to another class Thanks while (goal > clock()); // insert a body and put Application.DoEvents() ...Show All

©2008 Software Development Network