HRImaging's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. DirectInput not usable yet?
Hello, i was in need of working with mouse and keyboard inputs but I notice the DirectInput.SystemGuid class is gone (i used in DX9) and getting the Guid from the GetDevices() seems impossible too, since is "Method isn't found" yet... So, how are we able to use the DirectInput.Device(Guid, Handle) if we cannot get the Guid from anywhere Or is there another place to get the Guid from TIA This forum is about Direct3D 10. I will move it to the right one. But to make sure that someone can help you please provide some more information’s about the operating system where the problem occur. ...Show All
Visual Studio Team System System.ServiceModel.EndpointNotFoundException:
I am getting the following error when I try to run a webtest on a webapplication System.ServiceModel.EndpointNotFoundException: Could not connect to http://10.10.23.890/weblogin.aspx TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. It showed no error while recording but throws this error when i playback the same. please help Thanks, Sooraj ...Show All
Visual C++ MFC library via the web
Is there a site where I can search for functions in the MFC library I can't seem to find them via MSDN. I do a search for "registry" and I keep getting all this other stuff. I am still unable to find out how to write a simple application to read values from the Windows registry. Thank you. Jonathan Caves - MSFT wrote: http://msdn2.microsoft.com/en-us/library/d06h2x6e(VS.80).aspx When I visit this site and click around, why are there Chinese characters all over the place ...Show All
Visual Basic How to connect to Server Database (Remote Acccess)
I using VB2005, and I would like to create same simple program that related to the Access or SQL database. The problem is, I want My database is store in server, and i can remote access to the server's database for Inserting, Deleting, Editing and updating the database that store in server. And i also can access the database using my VB2005 program to edit the record in the server database through Internet Connection. Can VB2005 solve above problem Can someone HELP HELP HELP me up asap. Thank Thank Thank ... Still that question ... :) Is any way can find out the coding references , I mean Coding Sample using VB 6.0... ") and How about the setting for that if using SQL server , because I'm very very very new to sql Server ...Show All
Visual Studio Team System Check-in problem
We noticed today a strange behaviour on check-in. On a workstation we changed a C# file, and then checked it in using the pending checkin window. We noticed we couldn't get it down on another workstation(different user), and checked the history of the file. The check in was NOT listed, but in the solution explorer the file appeared as checked in on the first workstation. We did a checkout again on the same workstation, and the file was not changed, that is - our changes was intact. We then checked it in from the Soultion Explorer window, and again checked the history - this time the check-in appeared. Is this anything known Next time it happens, you can verify whether the changeset is created ...Show All
Windows Live Developer Forums Adding over 100 pushpins from a database
I am working with a CRM web app that creates lists. I want to pass this list to a page that has the map. My problem is getting the server side data to the client side code of VE I have tried to use a session array but must be doing something wrong. The code is writen is javascript and I could really use some help. How do people push large amounts of data to VE Thanks all! Have you considered the option of publishing the list as GeoRss, then simply add this GeoRss as a Layer in VE. for an example visit http://dev.live.com/virtualearth/sdk/ and navigate the sample tree to Working with Layers ...Show All
Visual Studio Team System VS2003 with TFS MSSCCI shows the wrong file status
Hi, I'm using VS.NET 2003 SP1 with TFS MSSCCI provider 1.1. In the Solution Explorer, some of the resx files are shown as "checked out" status (with the red icon). However I don't have anything checked out. It seems to only happen to some of the language resx files (i.e., Form.de.resx and Form.fr.resx), but not regular code .cs files. How do I clear the checkout status in VS.NET Thanks, Heng-yi That should be "...we could NOT repro your scenario...". Both Michal and I tried, but we were unsuccessful in causing the red check glyphs to appear. --Ben Ryan ...Show All
.NET Development Unload an assembly
Hi, In my project, I use the code below to load an assembly, and by using that loaded assembly, I create a form and show it to user. I load assemblies with that method, because it don't lock dll file and I can change this dll with new one when needed. When I copy dll and its dependent dll's to working directory, Dll file loaded with that memory stream method, copy without any error. But its referenced dll's could not copy and an error message shown "...Its using by another process". We can say that, when you load an assembly with Assembly.Load(byte[]) method, its references load also, main dll doesn't lock but its refrences lock. Is there any way to load an assembly without dll and its references locked Best Re ...Show All
Windows Forms Phased drawing on a pictureBox - problem
Hello! I'm using vb.net with NET 2.0. I have a loop that adds on every round a png image to the same picturebox. So the loop constructs the final image step-by-step by adding a predefined number of png images. I do this by first defining all the to-be-added images: Dim a As Image = Image.FromFile("a.png") Dim b As Image = Image.FromFile("b.png") Dim c As Image = Image.FromFile("c.png") and then draw them to the picturebox with the following code: On 1st loop (of 3): PictureBox.CreateGraphics.DrawImage(a, x, y) On 2nd loop 2 (of 3): PictureBox.CreateGraphics.DrawImage(b, x+20, y) On 3rd loop (of 3): PictureBox.CreateGraphics.DrawImage(c, x+40, y) The problem is that the final picture (that consists of these added png images: images of ...Show All
Windows Forms Problem with DataGridView autoscroll. Please help.
Greetings, Could someone plese help me on this issue. I'm a junior developer and have been struggling on this for quite some time now. The problem I have is that I have a DataGridView. Inside the DataGridView I have a number of rows. The DataGridView is placed inside a Panel. The Panel's autoscroll preoperty is set to true. The DataGridView's autosize property is set to true. At the moment the DataGridView has enough rows to have the Parent Panel scroll up and down. But there's a problem. Each time I click on a cell to edit it the ScrollBar scrolls automatically. I know this has to do the the CurrentCell thing allowing for the autoscroll to take effect. But how can I prevent this Is there a way to do this Any help will be appreciated. Tha ...Show All
SQL Server I have the same error from SQL Mgmt. Studio - Pablo please help
I have the same error from SQL Mgmt. Studio - Pablo please help. I did not see any resolution to this issue. Thanks, Rupak What do yo mean by "the same" HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio 2008 (Pre-release) 3-Layer Architecture DB Objects
I want to build a 3-Layer architecture based application. In the database layer I want to work with Linq on top of the MS SQL Server. In earlier projects I created my queries in the DB Objects like that: public void statementExecute() { string sSQL; bool bAND = false ; sSQL = "SELECT Person.* " ; sSQL = sSQL + " FROM Person " ; if (existWhereStatement()) { sSQL = sSQL + " WHERE " ; if ( this .PersonID != 0) { sSQL = sSQL + " Person.PersonID = " + this .PersonID.ToString() + " " ; bAND = true ; ...Show All
.NET Development delete line in xml file?
Hello I might be doing something odd... I have been working on a c#.net program that gets data from an oracle database and then puts that into an xml file. Insert, delete, update are done to the xml file, and when the user is finished, the information should be sent back to oracle db to update and commit. When a new record is inserted, it is inserted into a separate xml file from the one that has the data from oracle db. Before insert is done both xml files are searched to make sure the record does not already exist. When the record is inserted, it is just appended to the file so the new record is added after the end of the root tag. Next time I try to add a record and a search is done, an error comes up because the end of the roo ...Show All
Visual C# ExecuteScalar erro
{ SqlConnection conn = new SqlConnection (); conn.ConnectionString = "Data Source=(local);" + "Initial Catalog=bd;" + "Integrated Security=SSPI;" ; SqlCommand sqlComm = new SqlCommand ( "SELECT * FROM utilizador WHERE user=@user;" , conn); sqlComm.Parameters.Add( "@user" , SqlDbType .VarChar); sqlComm.Parameters[ "@user" ].Value = user.Text; conn.Open(); Int32 teste = 0; teste = (( Int32 ) sqlComm.ExecuteScalar()); --> ERROR {"Object reference not set to an instance of an object."} conn.Close(); } whats wrong Hi Watt I dont know whats a problem here with your code , here I've attached mi ...Show All
Visual Studio 2008 (Pre-release) Installing .NET 1.1 over .NET 3.0 issues?
We would like to use the XML Diff/Patch tool ( http://msdn.microsoft.com /library/default.asp url= /library/en-us/dnxmlnet/html /xmldiffgui.asp ) but it requires .NET 1.1, and I'm running .NET Framework 3.0. Will I end up trashing 3.0 if I install 1.1 Are we asking for trouble by using a tool that is clearly not on the MS upgrade path Thanks. Steve Thorn 1.1 and 3.0 install side-by-side without interference and therefore shoould not see any issues. 3.0 uses the 2.0 CLR and therefore installing 3.0 requires having the 2.0 Framework installed. Clemens ...Show All
