antonisK's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. DirectX 10-Vista
I owe a computer with W. XP.I'm going to upgrade it to Vista.My question is if directX 10 needs only Vista to run.My system is fueled by ATI radeon x1600 pro.Do I have to change it or just have Vista You'll be missing out on "the whole of Direct3D 10." You won't be able to run any application that uses Direct3D 10 at realtime speeds without buying a new graphics card (new as in new /then/). In previous versions of Direct3D, Microsoft had support for 'card capabilities,' which described to the application which things the card could and could not do. This meant that even the lowliest card could 'support' Direct3D - it would just not be able to do very much according to the card capabilities. In Di ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Invalid Call Exception (Dual screen)
Just finishing porting a 2D project of mine over to XNA (previously it was done using GDI), and since I have dual monitors I naturally tried moving the game window over to my testing screen, as soon as the majority of the window was on the second screen *bam* Invalid Call Exception. When running under debug it breaks on line: spriteBatch.Begin(); (NullReferenceException). Why is it becoming null, and how to I stop it doing this I'm not doing anything to the sprite batch except for creating it, then passing it to my game engine class. I gather that the device is being invalidated due to the screen switch, but I have no idea how to handle it. Regards, Peter Have you tried doing the same with with Spacewar Wi ...Show All
Visual C++ RUNTIME ERROR
MICRSOFT VISUAL C++ RUNTIME LIBARY RUNTIME ERROR Program:C\Program Files\Internet Explore\iexplore.ex This error pops up every time I connect to the internet.How do I remove it and keep it from comming back What might have caused this to happen im afraid this is the wrong forum to post in. The best place would be over at the appropriate IE communities: www.microsoft.com/communities you may wish to do a system restore before the error occured, could also be something to do with toolbars/search bars/IE add-ins you have installed causing the problem. Thanks! ...Show All
Visual Studio Team System Removing old versions
I have a need to remove old versions from version control. Now, I realize that _versions_ don't really exist in a physical sense. But, the following describes the problem; In our case, TFS Version Control is being used to manage some large, binary files (ZIPs, PLC files, Ghost images). The goal is to consolidate all version control onto one platform, and TFS is being considered. My understanding is that the size of these files (upwards of 3Gbs) will preclude them from going through reverse deltification. This means that each change is a full copy. However, disk space is not considered the primary problem. Data retention policies require that the company retain these files for a specific period of time, e.g. 2 years of changes, ...Show All
SQL Server how to include the nulls??
Hi, I have the following query stored: SELECT dbo.OrderDetails_Retail.ProductID, dbo.OrderDetails_Retail.ProductName, SUM(dbo.OrderDetails_Retail.Quantity) AS ProdQtyPerWeek, DATEPART(wk, dbo.Orders_Retail.OrderDate) AS SalesWeek, YEAR(dbo.Orders_Retail.OrderDate) AS SalesYear FROM dbo.OrderDetails_Retail INNER JOIN dbo.Orders_Retail ON dbo.OrderDetails_Retail.OrderID = dbo.Orders_Retail.OrderID WHERE (dbo.Orders_Retail.account = @Account) AND (dbo.Orders_Retail.OrderStatus <> 'Deleted') AND (dbo.Orders_Retail.PayStatus <> 'Pending') AND (dbo.Orders_Retail.OrderStatus <> 'Refunded') AND (DATEDIFF(d, dbo.Orders_Retail.OrderDate, @StartDate) <= 0) AND (DATEDIFF(d, db ...Show All
Visual C++ Getting data from WMI
Hi Folks; I have a program that gathers data from WMI but as this is the first time I've ever worked with it I'm having a hard time tracking down informaition. I'm trying to find the tables to query from to get the network cards and number of disk drives (there are others but I haven't had a chance to look around and feel I shouldn't ask just yet). Could anyone point me in the right direction http://www.codeproject.com/system/UsingWMI.asp should be a pretty good article to start with. ...Show All
.NET Development Namespaces in XML documents - I would appreciate help
Hi, I am confused over the use of namespaces in XML documents and how to access them using the .NET 2 XmlDocument assembly. The net effect is that the SelectSingleNode does not find a node in the document. Help would be most appreciated. Thanks Below are two examples. The first works . XML file: < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < developer > Fred </ developer > < dev1 a = " 42 " b = " fff " > Fred </ dev1 > </ configuration > VB Code - this creates a "blank" namespace and passes it as the second parameter to Select Single Node. Private Sub Button1_Click( ByVal ...Show All
Windows Forms MaskedTextBox
I am trying use the new Windows.Forms.MaskedTextBox control (new for .NET 2.0) with a mask type of Short date (00/00/0000). the problem is that when i pull a date value from SQL Server, the mask fails. For example if SQL returns 6/10/2006, the maskedtextbox displays 61/02/006. I tried to replace 0 in a mask with 9 (optional number), still the same problem. This is how i format date in code: if (clientDetails.Tables["Clients"].Rows[0]["AuthCodeStartDate"]!=null ) { AuthCodeStartDate.Text = String.Format("{0:d}", Convert.ToDateTime (clientDetails.Tables["Clients"].Rows[0]["AuthCodeStartDate"])); } Thanks for the help! Marek. If you want to use culture, th ...Show All
Visual Basic How to open a CSV text file and import that data to a database?
I work for a medical billing and accounting firm and we get these massive medical reports that are not sorted. What I am trying to do is write a program to add these reports to an Access database so that i can recreate the reports using crystal reports. I already have a system in place to sort add these reports to csv files and importing those files into a database and then refreshing a Crystal Report I already have setup with the new data. My goal for this program is to be able to open the program select a csv file, import that file to a access database, then generate a crystal off the updated database. Where I am having trouble is getting that csv data into the database. Any help will be greatly appreciated. ...Show All
SQL Server question on package configuration
Hi, Programmatically, how will i be able to know if a package is using package configurations Thanks. Ranier wrote: does this still apply even if the script task is placed on pre-validate or pre-execute event handlers Yes. The configurations are always applied to configured values during package loading (so they don't affect execution time). The location of script task does not matter at all - SSIS first loads the package, creates connection managers, tasks etc and reads its properties then it reads all the configurations and applies them to configured values finally it validates and runs the package - everything is configured by this time So the task never sees ...Show All
Visual Basic Raising events from .NET UserControl inside a VB6 MDI form(Interop Forms Toolkit)
I have used the Interop Forms Toolkit example: http://blogs.msdn.com/vbteam/archive/2006/11/02/interop-roadmap-usercontrols-mdi-and-data.aspx , and am using the example InteropUserControl. I want to raise an event from my .NET UserControl which is hosted inside a VB6 VBControlExtender type: Private WithEvents moDynamic As VBControlExtender Set moDynamic = Controls.Add("InteropUserControl.InteropUserControl", "DynamicControl") The control loads fine. How do I raise an event from the .NET UserControl so it is trapped by the VBControlExtender Hi Kevin, I just tested this out quickly in VB and everything works fine, here's what I did: 1. New Interop UserControl, add a b ...Show All
Windows Live Developer Forums VEMap.GetMapView() returning only the lat/longs for upper left tile
I am using the VEMap.GetMapView() to get a VELatLongRectangle object that represents the current map view. I am trying to get the upper left and bottom right lat/long pairs to use as a bounding box for a sql query of some spatial data being used to create pushpins. I have the call in an onClick event handler but it only seems to return the lat/longs for the upper left tile in the map view no matter where I click on the map. What gives Any ideas I was having some issues with GetMapView also, i assume it was due to my div nestings or map resizings. Anyone i switch to use: map.PixelToLatLong(0,0) and map.PixelToLatLong(800,600) (asumming you know the size of your map - replace 800,600 - i know this bec ...Show All
Visual C# getting data from rfid - reader
hello! how can i get data from rfid reader, which is in rs232 - port when reader reads the tag, tags ID should get to Windows form. my code opens the serial port, but what then You must create an instance of the serial port then initialise it // For Example SerialPort mySerial = new SerialPort("COM1", 921600, Parity.none); // then you open it mySerial.Open(); // then you send or read data to buffers that you create and name write_buff or read_buff mySerial.Read(read_buff, 8); // then you close mySerial.Close(); ...Show All
SQL Server Deserialization failed: version 2.0 is not a compatible version
I saw this question before with no answer. I'm trying to develop reports in SQL RS 2000 and Visual Studio 2003. My machine has both SQL 2000 & SQL 2005, SQL RS 2000 & SQL RS 2005, VS 2003 & VS 2005 installed. When I try and open an RS 2000 report in VS 2003, I get the following error: Microsoft Development Environment is unable to load this document: Deserialization failed: Version 2.0 is not a compatible version. The client uses Reporting Services 2000 so upgrading isn't an option. I need to be able to develop in both VS 2003 & VS 2005. thanks, Didn't change any files... I believe I changed the path settings in the environment variables. Try temporarily renaming the VS 2003 directory. re ...Show All
SQL Server Running under 64-bit OS
In configuration manager, the parameter "running under 64-bit os" is grayed out on my sql services. How can you change this Where does it get set At install This can't be changed...it is set depending on the OS version and SQL Server bits you've installed. In order for it to be set, you'd need to be running a 64bit OS (IA64 or x64) and have the appropriate SQL server bits installed (IA64 SQL version or x64 SQL version)... ...Show All
