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

Software Development Network >> Kent Thomas's Q&A profile

Kent Thomas

Member List

Pockey
etcheverrjc
Maheep
asalcedo
dagjo
nizmo
Paul R E
Vaibhav Kumar
mdsawyer58
CraigT
MrJP
Bob_dlonra
Arda Cetinkaya
Jan Kučera
Bill Catlan
RudyG
SCRunner
nehajampala
Juan Castillo
Cherian
Only Title

Kent Thomas's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. XACT - System.TypeInitializationException on start-up

    Anyone else seen this problem starting up XACT It worked in the past but I haven't used it for a few weeks. In the interim, I've installed the Vista SDK, .NET Framework 3.0, WF and WCF extensions for Visual Studio etc. I've uninstalled all these components and reinstalled GSE and Visual Studio Express but still get the same exception on start-up. In the debugger, I see Additional Information: System.Net.Dns threw an exception. I built a quick program to check I could use this class and it worked OK. I'm going to post a duplicate of this question on the XACT forum. Help ! Cheers. I can use the System.Net.Dns class when referencing .NET 1.1 in a Console app. Properties for referenced System.dll show: C:\WINDOWS\Micro ...Show All

  • Visual C++ Copying a module

    Hi guys I would like to copy a process's module. This is how the scenario looks: Lets say that there is a process called "Main.exe" and it loads plenty of modules  and 2 of the modules that it loads are: 1. "Copyer" 2. "Checker" Now i want to somehow modify something in the module called "Copyer" but if i do that then Checker(which scans this module once in a while) will find out that i have changed something and then exit. So what i have come up with is that i have to somehow copy the Copyer module and then inject it in Main.exe then make this Checker to somehow scan that copyed/injected module instead of the original Copyer module. Could someone please help me to figure out a way to copy a module and make this Checker scan the copie ...Show All

  • Visual Studio Cannot set value because it is in a register and not in the top frame

    Hi. I have a problem, that... when the string variable shows "mystring" but string.IsNullOrEmpty evaluates to true. I'm using this variable to access SortedList and it fails that key cannot be null. However when I watch the variable it has the value it is supposed to have. The subroutine where it first occurs is: public bool IsReadOnly( string fmBind) { XPathNavigator node = xpData.SelectSingleNode(bindings[fmBind].NodeSet, _nm); if ( string .IsNullOrEmpty(bindings[fmBind].ReadOnly)) return false ; return /*node != null && */ ( bool )node.Evaluate(bindings[fmBind].ReadOnly); } Exception is thrown on the return - because node gets null. However I cannot try to find out why it is, b ...Show All

  • Visual C++ Trouble using a dll

    Hello, I'm having a problem with using a dll in Visual studio 2005. What I want to do is this: I have a x.dll file, x.h header file and x.c source file supplied by some company to communicate with one of their devices and I want to use this in a visual c++ win32 console application. Now, the way i do in visual c++ 6.0 is: 1) add x.h and x.c to the project 2) Put the x.dll somewhere so the linker can find it according to the rules for where it search 3) #include "x.h" in the main file and call functions from the dll 4) compile and run -> works fine, can call functions from the dll When i create a c++ win32 console app in visual studio 2005 I go through the same steps. However, when I run my program, the ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to get amount of free/total local video memory?

    Current properties and methods (HardwareCaps.VideoMemoryTotal, Device.AvailableTextureMemory in April 2006 SDK) are returning local+nonlocal amount of memory. Is any way in MDX how to get amount of local video memory only Thank you, mikrogen You can't find a better explanation: http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/Resource_Management_Best_Practices.asp ...Show All

  • Visual C# properties

    How can I print the properties window... You can't print the property window contents per se but you can create a bitmap of the property window and then send that to the printer. You can copy the active window using Alt+PrtScrn and then paste it into Paint for printing. Not elegant but it works. Michael Taylor - 12/21/06 ...Show All

  • Visual Studio Team System Invaild Process Performance Counter (% Processor Time = 8,056?)

    Could any one explain why VSTS reports that w3wp uses 8,056% of the processor This is consistently happening See Q4 here http://picasaweb.google.com/jakeb16/Questions -Jacob Blumberg This looks strange. I believe it is possible to see a value greater than 100% on multi-processor systems (for the _Total instance), but that is certainly not the case here. The screen shot shows that it may be happening on a one minute interval. Is this the case I would be interested in knowing if perfmon is also reporting the same value for this performance counter on one minute intervals. Thanks, Rick ...Show All

  • Visual C++ hiding LNK warnings

    Basically, I want to get rid off all the LNK warning For ex, LNK4099, or LNK4204, or any other one. I am linking my debug lib with a third party release lib. That's why I am getting those. Is there some kind of "pragma" for the linking step to hide warnings There was the undocumented #pragma comment(linker, "/ignore:4099") but it does not work anymore on Visual Studio 7.1. I is annoying to look at hundreds of these warnings rolling down on my screen. Thank you. What would be the exact wording then since #pragma warning( disable : 4204) would be for a compilation warning C4204 ...Show All

  • Visual Basic Two Decimal Point For Double Value

    How to get two decimal point value for a double value For example 231.321312321312132 = 231.32 and 231 = 231.00. Thank you. Is there any way to check how many zero(s) of an integer, for example 2000000 has 6 zero(s) I am thinking of using For Loop, is there any other way else   Besides that, how to round the value from 3242423432 to 4000000000 Thank you. ...Show All

  • Windows Live Developer Forums Assign to Pushpin

    I have a set of pushpins whos ID range from 0 to 4. So I was wondering if there was a way to assign the code listed below to a single pushpin (by ID ) Thanks function PinClick(id) { document.getElementById('txt1').value = ("ID 0"); document.getElementById('txt1').value = ("ID 1"); document.getElementById('txt1').value = ("ID 2"); document.getElementById('txt1').value = ("ID 3"); document.getElementById('txt1').value = ("ID 4"); } Caleb T - MSFT wrote: I'm not sure I understand the question. Are you looking to assign the value of the txt1 object based on whichever pushpin is clicked or hovered over If so, you n ...Show All

  • Commerce Server Biztalk Catalog Integration

    Is it possible to setup the Biztalk integration with the Catalog Manager to delete variants when importing with Incremental changes. I have tried creating the XML file with the variant I no longer want not present in the file but if I go into catalog manager I can still the variant after import. Please Advise. Hi, I have tried this on over different box as well and it doesn't work. First i loaded service catalog with schema changes then i loaded base catalog with schema changes. Still i got same results. Can you please send me the port settings for this I believe something is correct on send port settings. Thanks, CSQ ...Show All

  • Visual Studio Team System Subscription problem

    I have some problem with project's alerts in Team explorer. I 've made project's alert with Build completes event. I 've received e-mail about this event. However, I've made project's alert with Anything is checked in event. I haven't received any e-mail about this event. I 've checked in Tfs_Integration database and I found the record in dbo.tbl_subcription table with this event and my e-mail address. It is a bug in Team explorer Few tips: For more troubleshooting http://blogs.msdn.com/psheill/archive/2005/11/28/497662.aspx is helpful. This post deals with checkin notification and might help: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=384113&SiteID=1 ...Show All

  • SQL Server Trying to return whole records with distinct fields

    Hi I am trying to write a query that will return a full record with a particular distinct field (the rest of the record being the first such record that includes the distinct field). For example, for the following: Fruit Like Colour Apple Y Green Orange N Orange Banana Y Yellow Grape Y Green Grapefruit N Yellow I would want to return (assuming Colour was the distinct field): Fruit Like Colour Apple Y Green Orange N Orange Banana Y Yellow How do I do this I've tried using a join (of all different kinds) with a subquery that uses SELECT DISTINCT but this doesn't seem to work. I've tried GROUP BY but none of the aggregate functions seem to just take th ...Show All

  • SQL Server Interactive Size/Report Size

    Hello, This is SQL 2005 Reporting Services. I have several reports that are repeating tables with grouped information and subtotals. When deployed, we are noticing that the interactive HTML view renders a great deal more detail per page than the printed version of the report. This didn't really become a problem until a user reported an issue where they wanted to print pages 93-97 of a 104-page report. She based the page number selection on the page numbers she was seeing in the report viewer. When printed, she did not get the data she wanted to print... and the full printed version is about 50 pages longer than the interactive viewer version. In my report I have the following settings (no page breaks on the groups or anything, i ...Show All

  • Visual Studio Express Editions Reading bytes from serial port

    I am new to vb and I have spent days trying to read bytes from my controller to the PC.. I have been trying to modify the program listed. Can someone with a good knowledge of vb modify the program to read a byte. I am sending bytes repeatedly to the serial port but there are only displaying when I change the com1 to com1 You description is not particularly clear and havent provided any code to show us what you doing. Spending the time to do both of these is likely to provide you with a better opportunity to get a timely answer. ...Show All

©2008 Software Development Network