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

Software Development Network >> Jive Dadson's Q&A profile

Jive Dadson

Member List

Cristiano Freire
alexbanceanu
jasse_91
Alle
jpsml
Jough
Joe Ch
Lee Rothman
Rick Hill
kernel_77
Syed Atheeque Pasha
Ron L
djmIV
Rowdy19
tomdart
bdorin
Roxy_
Dietz
PraveenL
Aleniko29139
Only Title

Jive Dadson's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Render target save'n'restore

    I've a func that do some work including rendering into rt. So, i need to save old rt at the beginning of my rendering, and then restore it at the end ( when smb call my func, he may have rendering to texture enabled, or just rendering to the backbuffer, and he don't wont to worry about restoring his rt after call of my func ). Is there any way to implement such a behaviour using XNA Not sure it will help, but the common approach for working with RT's in XNA is like this: 1) Create a RenderTarget2D in a device supported format 2) While rendering call GraphicsDevice.SetRenderTarget( 0, renderTargetThatYouJustCreated ) 3) When done rendering restore the old backbuffer by calling GraphicsDevice.SetRenderTa ...Show All

  • SQL Server Client Certificates with SQL Mobile replication

    I am currently trying to replicate a SQL Mobile 2005 database with a SQL Server 2005 database through web synchronization using SSL Server AND Client Certificates. On IIS, with "Require Client Certificates" unchecked, I can replicate fine. Once I turn it on, I get a message from replication saying "A Secure Socket Layer connection is required to access this site". I have installed a client certificate in IE, and can access the https:// servername /Ojt/sqlcesa30.dll site (I tried removing the client certificate, and I was denied access, then reinstalled it and it worked - so I think that part is working). Does anyone have any experience with this My production operating environment requires client-side certificates. ...Show All

  • Visual C++ How to avoid rebuilding

    Hi, I have a header file which is included by some fifty odd files..If i even make a small change as adding a comment to the header file a rebuild is taking place.. Will the pch file resolve this issue..by including that header file in stdafx.h Please help me on this.. Thanks & Regards, AFAIK if you change teh header file, it means that, there are some changes in specific definitions. Unfortunately C++ compiler is not that much smart to handle changed areas . if you change header file, and if you include it somewhere else, that file will also will be part of compilation. else your change will be void. The changes are made in the stdafx, most of the cpp file will recompiled because precompiled header are used by most of the CPP fi ...Show All

  • Visual Studio Express Editions C# and the game loop

    My primary interest in learning C# is to write games and yet it appears that much of the C# beginner tutorials focus code that is largely event-driven. I also caught a few discussions in blogs recently that had a intense debate on how to get C# to properly execute a real-time game loop and from what I could discern of the discussions, this task seemed to have an air of in-depth "hacking" about it - as though C# is simply not designed to do things this way. The discussions on the blog sites were also very unclear on the topic of game loops and as a relative beginner, the explanations behind the issues were simply beyond me. Now given that C# is being hailed as a great language to create games, how come there's no clear discussi ...Show All

  • Visual Studio Team System Changing dropdown list values

    Hi   I am having a bit problem with the ‘Priority’ dropdown list. Actually I want to edit the list into more meaningful priorities such as Stopper, Error, Shortfall, and Wish.   Could some one please explain me the whole process in steps of changing the values in the dropdown list for the followings   - Status dropdown list - Reason dropdown list - Triage dropdown list - Priority dropdown list   I would be very grateful.   Thanks in advance If you are looking to just modify the workitem, then you will want to take advantage of the witimport and witexport utilities. You access these from the vs2005 co ...Show All

  • Windows Forms Stopping long running SQL in OleDb

    I have a program that will execute various SQL statements and return their results to the user. On occasion the user will enter a SQL statement that will cause them to sit for a while waiting. In such cases I want to give them the option to cancel the request that they made. Is there a way to get a OleDbConnection object to cancel all its requests I have tried doing a simple [Close()] on the connection object but it will throw an error saying that the connection is in use. Didn't you check OleDbCommand.Cancel(); method Here: OleDbCommand command = new OleDbCommand(queryString, connection); command.Connection.Open(); command.ExecuteReader(); command.Cancel(); // Cancel To do this form other butto ...Show All

  • Visual Studio 2008 (Pre-release) ERROR - Can't Convert to Double

    Hi all, I am trying to set my maxiumum of my slider to the total duration of the movie like this: int mySliderMax = (int)myMediaElement.NaturalDuration; but I get this error: Error 1 Cannot convert type 'System.Windows.Duration' to 'int' C:\projects\WindowsApplication2\WindowsApplication2\Window1.xaml.cs Can anyone please help Thanks, Victor Gaudioso that helped a little but I am still getting a Double (decimal) returned to me, I need it to be rounded off. How can I do that Thanks, Dvl ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Glow and blur effects?

    How do you create effects on sprites I am interested in glow and blur effects. I searched this forum and found alot of information on post processing 3d and the way where you use RenderTarget2D. Is this technique possible when using sprites If someone could point me in the right direction I would be most grateful. Cheers Alfons And I found this glow article on gamasutra. ...Show All

  • Visual C++ CLIstCtrl in CRecordView

    Hello, I have placed a CListCtrl onto a CRecordView of an SDI app. I have tried to get to the messaging produced by the horizontal and vertical scrollbars of the CListCtrl object. The scrollbar events do not seem to get trapped by any message in the CRecordView. I have tried OnNotify(), OnHScroll(), PreTranslateMessage(). Spy++ shows WM_HSCROLL/WM_VSCROLL messages are produced in the CRecordView, but they don't seem to get routed through the above message handlers. What do I need to do for the WM_HSCROLL/WM_VSCROLL messages to pass through an appropriate message handler in my CRecordView Any help would be helpful :-) Thanks! Hello Re: CLIstCtrl in CRecordView Such quest ...Show All

  • Gadgets ActiveX for Sidebar best practices

    I am interested in further exploring the possibilities of using/developing an ActiveX object for use in a Sidebar gadget but havent done anything like this before. What are the best ways of proceeding with this Can i use Visual Studio 2005 to create an ActiveX object i tried using ATL project, i was able to compile it but not to register it lol i guess when i posted the html code it rendered like that on the msdn page but i do have it proper, no script errors... btw when i check all my ActiveX objects on my machine i cannot find TestActiveX TestControl i still dont think despite regsvr reporting success that it never gets registered ...Show All

  • Visual Studio Express Editions Visual studio 2005 express installation

    Hi, Is there any order to be followed while installing 2005 express edition products such as Web Developer,VB2005,VC#2005 etc. If any specific order is available, pls let me know. Thanks in Advance ...Show All

  • Visual C# win. service, config sect. handler, & security settings?

    I have a section handler that reads in plugins to load. everything works fine when I run the app as a stand alone (on my computer & the common dev box), but when I run it as a service (on the dev machine) it fails. here's where it fails. the section handler loads plugins. for each plugin, i recursively walk the assembly's dependency tree and load up any assemblies that havent been loaded. it starts by caching everything in the app domain before any plugins are loaded. then all assemblies & their containing types are cached. I use that cache data to load the assemblies & reference their types inside the section handler. when it runs as a service, it doesnt load the plugins. I have added the following a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Deployment and XML Content

    I have been looking but have not found information on the deployment process as it applies to my app. I have a Media folder in my project in Visual Studio Express.. It has many subfolders. The texture, Shader, and Sounds all get exported to the "deploy" folder automatically and get deployed to the xbox. However, here is my problem. All my other folders custom mesh format folder(binary), Skeletal structures folder(binary), and XML settings files in sub folders get completely ignored on compile and export. (When The process puts the files into the deployment folder (at compile time) and also ignored when sent to the XBOX. ) What am I doing wrong All the files are in the project but anything that is not turned XMB gets igno ...Show All

  • SQL Server Encryption and bulk insert

    Hello, I need to build a table with encrypted data with the source data coming from a .csv. The account number from the .csv will need to be encrypted in the final table and I will also need to have a hashed or MAC index on the account number. I'm guessing that I can do this with a stored procedure using a temp table to load the unedited data and then load the actual table from there. The table will be built from a download every evening. The key and certificate for the encryption are already set. I have been able to load data directly to the table providing values. But, I have been struggling getting a bulk insert to work. I'd appreciate any ideas or examples. Thanks! Could you please explain w ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Failed to Prepared the Streaming Cue - XACTENGINE_E_NOWAVEBANK

    Hello, When I'm try to load the soundbank, the creating wavebank steps seems to be fine, the creating soundbank is fine too. But when I create the cue which use sample from the wavebank that is the streaming bank, the XACT_E_NOWAVEBANK is returned. Below is the loading code. Of course, there is some point to improve, but all I need to know is what am I missing to create the cue/create the streaming wavebank. Regards, Wutipong W. HRESULT InitXACT() { HRESULT hr = S_OK; hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); if(FAILED(hr)) { return hr; } //Create Engine hr = XACTCreateEngine(0,&pAudioEngine); if(FAILED(hr)) { return hr; } //Initialize Engine XACT_RUNTIME_PARAMETERS Params; ZeroMemory(&Params, ...Show All

©2008 Software Development Network