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

Software Development Network >> Stephen Turner's Q&A profile

Stephen Turner

Member List

RCS300
MaggieChan
Sébastien Nunes
Blast
Nightmare_BE
TheViewMaster
GaryMcC
Terry G
DQM
robzappa
pkr2000
srinivas_kv80
Richard Wilson
Law Ninja
Santhoo
mhodder
IceAngel89
JayaC
Gammy Knee
ClemensT
Only Title

Stephen Turner's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Displaying Videoframes with DirectX

    I use a open source codec/video library (libavcodec). This lib exposes the video frames as 24_bit RGB bitmaps in memory. All I want to do now, is displaying those frames in a window as fast as possible. I tried a very naive approach: for ( unsigned int i = 0 ; i < Framenumber; i++ ) { Load->get_nth_frame( ID, i , RGBFrame ); DXDev->BeginScene(); Backbuffer->LockRect( &LR, NULL, 0); // [ memblit Copies RGBFrame pixelwise to Backbuffer , same function as //D3DXLoadSurfaceFromMemory ( Backbuffer, NULL, &SrcRect, RGBFrame, //D3DFMT_R8G8B8, Pitch, NULL, &SrcRect, D3DX_FILTER_NONE, 0);] memblit ( RGBFrame, (char*)LR.pBits, w, h, LR.Pitch ); Backbuffer->UnlockRect( ); DXDev->EndScene(); DXDev ...Show All

  • Windows Forms ClickOnce Question

    I have a project that has two parts: 1) Server 2) Client GUI I will be giving the server to my customers, and it is up to them to distribute the Client GUI to their own customers. Is it possible to publish the Client GUI using ClickOnce, then have my customer provide the server for download/installation of the GUI. Obviously I will not be able to specify an installation URL for every one of my customers, so I am looking for a way for them edit a file so they can customize the ClickOnce to look for their own server. Is this possible I am still struggling with this. I am not sure about this, but I was wondering what happens if I create the deployment files by setting the "Where will the users in ...Show All

  • Software Development for Windows Vista Vista 'Sleep' Issue

    Hi All, I am facing a issue with 'Sleep' mechanism in Vista. I am doing certain asynchronous I/O operation on my device when I receive 'PBT_APMRESUMESUSPEND' through 'WM_POWERBROADCAST' message. 'PBT_APMRESUMESUSPEND' is the message we get from Window's when it comes out of sleep mode. But while doing so I receive 'ERROR_IO_PENDING' error. Are anyone facing similar problems I did not face any such issues on Windows XP and 2000. I have read that in Vista 'Sleep' is replaced with 'Hybrid Sleep'. Does that make any difference Regards, Anmol You might want to see if the following hotfix relates to your problem: http://support.microsoft.com/kb/929734 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Model animation

    Hi, I'm working with XNA gamestudio for a while now, it's really great but there's no support for model animations I already searched the entire internet for some good tutorial or example but there isn't any. I just can't believe model animation isn't supported by standard Because...what is a game without animated models Also if anyone has some information about loading bones it would be welcome. I really hope that there's someone out here who can help me with this. I really enjoy using XNA gamestudio and I wan't to start writing games! Thanks for any help, jeroen Shawn Hargreaves - MSFT wrote: The content pipeline imports animation data from .X into the design time NodeContent object tree, from where you can ex ...Show All

  • Visual C++ Creating MD5 hash

    Hello, i'm new in C++, i want to make console program for creating md5 has, you can enter string and from that string program would create md5 hash and display it on the screen. I have searched msdn library and i found MD5 class, but i don't uderstand it well, so can somebody give some tips or some sample code. Sorry for my bad english Ok, I just wrote about half a page of text regarding your choices between C++, C#, VS2003 and 2005. When I pressed the "post"-button, the website managed to log me off and trash what I had written. Since I'm running out of time here, I can't retype it all. To sum it up, though, you should consider starting your experience with C++ through books and tutorials, then use th ...Show All

  • Software Development for Windows Vista What Version of NTFS Does Vista Use?

    I know WinXP uses Version 3.1, does Vista have a newer version with improvements if I do a full format on my HD im afraid these are the wrong forums for your questions These forums are for software development. The best place to ask would be here, for Windows Vista: http://windowshelp.microsoft.com/communities/newsgroups/en-us/default.mspx Please also read these: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=751498&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=423586&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=219851&SiteID=1 Thanks ...Show All

  • Microsoft ISV Community Center Forums How to pass a value of a clicked cell to another cell in a different worksheet?

    Guys, How to pass a value of a clicked cell to another cell in a different worksheet Thank you! Hi Guys: I work it out. It is very simple. one line of code is enough Private Sub Worksheet_SelectionChange(ByVal Target As Range) Sheet2.Cells(2, 2) = Sheet1.Cells(Target.Row, Target.Column) End Sub simply copy the sub to the sheet you want to click and change the receiving sheet number and cell address. ...Show All

  • Visual Studio Express Editions Drawing Graphics

    I have a question regarding drawing graphics on a form. I have pasted my code below. I thought the code would draw a filled in rectangle somewhere on the form after Button1 is ressed. But nothing shows. Any hints would be greatly appreciated. Private Sub Button1_Click() Dim gr As Graphics gr = Me.CreateGraphics gr.FillRectangle(Brushes.Blue, 500, 500, 500, 500) End Sub I am trying to create routine that will create a graph based on user input. The form I was trying to draw on is my main app. When I used the form_paint it creates the drawing when the app is opened I only want it to be displayed after user selection and input. Why is me.creategraphics bad GDI+ and graphics is very co ...Show All

  • Visual C# VS2005 IDE freezes

    I'm having an issue with VS2005 where when I try and save or when it tries to Save AutoRecovery information, the IDE completely freezes. I only just started having this problem, so I really don't know what the problem could be. Are there any suggestions / fixes for this issue With some searching through the forums, I have found other people that have similar problems, but no solution in sight! Any/all help would be greatly appreciated. I don't get the same problem you've described. There are lots of times where the VS 2005 IDE seems to "freeze" or become unresponsive. I've never seen it become unresponsive for more than 30 seconds. Are you seeing it unresponsive for more than 30 seconds What sor ...Show All

  • Visual Studio Team System Offline Process Template Validation

    I'm currently doing some extensive customizations of a process template and was wondering if there was a way of validating a process template without having to try and upload it. Essentially I would like to write some unit tests that test whether a process template is valid on the local machine (the local machine could contact a server if that was what is required) before I spend the time trundling through the UI to upload the process template. Is this currently possible via some part of the TFS API. Am I not looking hard enough :) Actually, the upload of the template does more than just XML. Each of the PCW (Project Creation Wizard) plugins (including whatever ones the customer authored! :) have their Va ...Show All

  • Visual Studio Modify WCF Guidance Package

    I need to modify some custom pages in WCF service factory. I installed a copy of service factory code from the installer in sourcecode directory. From other posts in this forum, I understand that I need to change the GUID and manifest file. This may be a stupid question, but do I still need to change the GUID in WCF Guidance Package.xml It looks like the name there is already changed to "CustomWCFGuidancePackage". And besides that, anything else I need to change I just want to make sure my custom package won't corrupt anything in the original one. Thanks! Have look at the "recipe runner", you can use this to test your recipes. You can find it here . Edward ...Show All

  • Windows Forms Status pop-up when cpu is being used.

    Hello, I am programming a windows form application. It needs to make long time calls to sql server. I dont want the user to be bored or think that the program is not responding. Before the call to sql server I display a form called "working" in which there is a marquee progress bar and a simple label. I call the method working.Show() to display it. The problem i have is that the components, progress bar and label, cannot be seen in the pop up, i mean, it is like if the program doesn't load the components in the form popup, making it really ugly( there are non-colored rectangles in the place of both components). It starts to make the call to sql server and when it finishes i call the close method to close the form. Does anyone know whats wr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Fur Shading

    Hello, I've found an interesting tutorial on acheiving real-time furshading with HLSL, unfortunately the tutorial's examples are in C++, and using straight DirectX which I don't really understand that well. As such, I was hoping someone here might be able to convert one or more of the examples into something that is compatible with XNA. I'm sure that other programmers here could benefit from these examples being in C#, so if anyone can help please post any conversions you've made of this tutorial's examples, thankyou. The tutorial can be found at http://www.xbdev.net/directx3dx/specialX/Fur/index.php Cool, I hadn't really looked at the source code of the project (I currently don't have a C++ compiler so ...Show All

  • Visual Studio Tools for Office Set default signature in Outlook with Outlook Addin

    I'm writing an VSTO2005SE Outlook 2003 addin that creates email signatures. Signature data is imported from Active Directory and saves templated signature files to the Signatures folder. However, I don't know how to set Outlooks default signature for creating new email and replying to email. The addin is written i C#, but code examples in VB.NET is okay to. I'm thankful for any help I can get. // Johan There are three ways to make Outlook to use a particular signature with all accounts, all requiring manipulation of the registry: 1) Apply Office Service Pack 2 (to resolve the problem discussed in MSKB article 898076) and then set the NewSignature and ReplySignature string values in the HKEY_CURRENT_USER\Software\Po ...Show All

  • SQL Server Flat File connection manager and String delimitation

    Guys Another question regarding the frustrating SSIS stuff. Basically when I used to use a DTS task to import a flat file (comma delimited) into the database it worked fine no problems, however, for some reason the same approach in SSIS means that any string values in the file are automatically delimited with double quotes, even though I am specifying <none> as the delimitation. I have also changed the fields so that the the TextQualified is set to false. This causes a problem because all of the information stored in the database (done by a stored procedure) contains these stupid quotes. Is there something I am missing or haven't done correctly to get rid of the quotes Thanks D No pro ...Show All

©2008 Software Development Network