hlee's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Problem with setting Mouse Position with SendInput()
Hi, I have an OpenGL Application and want to use the mouse for a Free-Flight Camera. The mouse should not be restricted to the Monitor boundaries... I get the mouse-position with WM_MOUSEMOVE and stuff. Because of the requirement of no boundaries i have to use a different system of saving my Mouse Position. I want to save an absolute position of the mouse x and y. To calculate the x and y I want to get a relative mouse movement each frame. ...Show All
Visual Studio Express Editions ScrollBar
Hey, I am making a word prossesor program and I need a scroll bar for my multiline textbox and I dont see an option for that in the toolbox... What do I do Thank You ...Show All
.NET Development Late Binding with Web Service?
Hi, I had a question about late binding with Web Service. Say that we have two web service functions in the server side. If one were to add one more web service function in the server side, does the client side always have to recompile(update web reference first) to see/use the new function Is there a way to do this without recompiling the project in the client side Thanks. Hello, Take a look at a tool called WebServiceStudio: http:/ ...Show All
Visual C# delete datagridviewrow
how can i delete the selected datagridviewrow without using the bindingnavigator delete button i created my own button btnDelete. and i want it to auto-save to the database after clicking yes to the dialog "Sure to delete ". thanks in advance.. This is some code I use for a 'Delete' button: private void myDeleteButton( object sender, EventArgs e) { // Delete string msg = "Are you sure "; ...Show All
SQL Server SQL RS2k5 Management Reports failing (rsexecutionlog.dtsx)
In setting up the delivered management reports we've come across the following issue. On a 32 bit box, no problems, all runs fine, but when moving it to a 64-bit production box it will not run when called from a JOB. There is a small script in the package and the PreCompile property is set to False, the packages runs (after build) from a the SSIS object explorer, or just exucting the file (double click). However once you put it into a job, ...Show All
SQL Server Can not connect to SQL Server 2005 Developer edition remotely
I setup a SQL Server 2005 Developer edition, which is bundled with Visual Studio .NET 2005 Professional edition. The SQL Server authentication mode is enabled in this database server. But when I try to connect it from another PC using SQL Server authentication, it failed. Is it a limitation on the developer edition Hi, although you didn’t post the erro rmessage, I assume that remote connectivity is not enabled, ...Show All
.NET Development How to manage multiple database at remote locations?
HI All, How to manage multiple databases at remote locations for single web application which is made in Asp.Net 2.0 one way is Make one database as master database and put all other database information into that master database. Is ther any other way for that Thanking you David Hi, Thanx this one is realy helpfull to me. One more question regarding it. Suppose i had two differnt table In one table let ...Show All
SQL Server Print Preview on Client side
I'm sure this is a commonly asked question, but How can I print preview a deployed report on the client browser What mechanism allows for the print preview in design but not in deployed reports I understand the export to PDF and view and print from that environment, but is there a way to initially render the report in PDF, say in an iFrame, that will not prompt for the File Download to Open or Save (i.e. I would like it to default to open wi ...Show All
SQL Server error: 'Dts' does not exist in the namespace 'Microsoft.Sqlserver'
I tried to create a package from a C# program, and I copied this from SQL server online book: using Microsoft.Sqlserver.Dts.Runtime; But I got compilation error: The type or namespace name 'Dts' does not exist in the namespace 'Microsoft.Sqlserver'(are you missing an asssembly reference ) What am I missing Thanks a lot Hello, if you get this problem on your server. build your site in release mode and then ...Show All
Visual Studio Team System Continuous integration
I have been given the task of determining if the Team Build feature in Visual Studio Team System is able to perform the following tasks (compared to other tools used in previous projects i.e. CruiseControl.NET , NAnt , NDoc , FxCop , NCover and Vil ) : Build automation - performing a nightly build. (Obviously it can.) Unit tests - Running suite unit tests to after a successful build Code coverage analysis - ...Show All
SQL Server Getting RecordCount with TableDirect
Hi, I would like to know if there's any method to get the total number of records in a table without using query. I have the following codes. Dim conn As SqlServerCe.SqlCeConnection Dim cmd As SqlServerCe.SqlCeCommand Dim rdr As SqlServerCe.SqlCeDataReader conn = New SqlServerCe.SqlCeConnection( "Data source=\My Documents\test.sdf" ) conn.Open() cmd = New SqlServerCe.SqlCeCommand("Staff_Table", conn) cmd.CommandType = ...Show All
Visual C# windowclosing event does not fire with the WebBrowser control in c# 2.0
Hello everyone When implementing the DWebBrowserEvents2 interface on a class that inherited from the System.Windows.Forms.WebBrowser control, the WindowClosing event does not fire, when a javascript calls "window.close()". In stead of that I get the default dialog box that asks "Do you wish to close this window " The mayor problem is, if the user clicks "yes", the WebBrowser control simply hangs. Other events like "BeforeNavigate" and " ...Show All
Visual Studio Team System manually remove a (failed creation) project
Hi, I tried to create a new tfs-project, but got a very strange error message (see below). But I need to be able to reuse the name! So how can I manually delete all traces of this project-name (or rename it in the DB, so the name is not recognized anymore ). I think there is some kind of project-removal console-app, but last time I tried that, it could not remove such zombie-projects. ---begin Exception entry--- Time: 13.01.2006 17:20:39 M ...Show All
Visual Studio Express Editions controlchars.tab !!!!!!
I'm sure someone can solve my problem 'in the blink of an eye' ...... its messing with my head so please help. I want to apply Tab spacing in a textbox so why does the following code example display a 'tab symbol' within the textbox as opposed to applying tab spacing textbox1.text = "red" & ControlChars.Tab & "blue" thanks in anticipation. Coops hi, this code working fine with ...Show All
Visual Studio LogonInfo, linked parameters, different databases, subreports, Oh My
I'm having a bear of a time getting reports with subreports to function correctly. I have followed all of the directions for logonInfo updates. The original report running under v9 only has to have the first four parameters filled, from there 9 other linked parameters are supposed to be filled. I started with code that we have in production (v9). This code ran fine when running against the server that the report was designed against. But when co ...Show All
