Sid Sidhartha's Q&A profile
Windows Forms Why IIS is needed to host controls in IE ?
Hi! I've asked this question on MSDN groups with no answer. I am wandering why I can not host a .NET control in IE having Apache web server running on Linux What does IIS do to enable this functionality I have a full control ...Show All
Windows Forms LShiftKey doesn't work
Hello, Does anybody know why the following code doesn't work Keys.LShiftKey exsists but you cannot use it, isn't that strange Regards Arjen private void Form1_KeyDown( object sender, KeyEventArgs e) { if (e.KeyCode == Keys .LShiftKey) { MessageBox .Show( "Left Shift pressed" ); } } Try to look at this thread, I have a working VB example of using ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Meshes intersection
There is one method in DirectX API to try intersection between meshes . All functions I see are for mesh and ray combination. If not I'd like to know one good method. The problem with including generalized collision detection is that different games will need to emphasize/deemphasize different things. For example, does the game take place indoor or outdoor Is it a flight simulator, a shooter, ...Show All
Visual Basic Deleting all records in access
Hello All, I am working on a project for a former neighbor. I originally wanted to build a program for him to distribute. He is doing a Geneology research. I wanted to create a database with the family name but realized I could not. So, I want to be able to let him put in the data, export it to text or HTML, then delete ALL the records and start the next family. I have seen many examples but cannot get them to work on VB 2005 Express. Here i ...Show All
.NET Development FtpWebRequest and timeouts
hi, i'm using the FtpWebRequest class as used in the SDK examples. i find that when an upload takes a few minutes, the call to GetResponse() fails with "Underlying connection closed", even though the upload was successful. i'm not changing the Timeout value, but i do have KeepAlive set to true, in an effort to keep the connection active. i guess it's a timeout after such a long upload, but i'm wondering if i need to bother calling Get ...Show All
SQL Server Creating a job for SQL 2000 using SQLDMO in c#
I have a quick question on how one can create a backup job using SQLDMO in C# I have not really been able to find any information on how to do this. I can create backups using SQLDMO and I can create Jobs but I do not know how to bind the two together. So if anyone has any information on how to do this it would be great. I'm writing a similar app using SQLDMO. Could you please give me sample code of how did you combine the two Thanks in ...Show All
Windows Forms DataGridView extending with Validator Control
I have a Validator Control for textbox's like the one described by Hollis in Validator Controls for Windows Forms http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadvnet/html/vbnet04082003.asp . This control uses Extenders so you have more properties for the textbox. For example a required property. Is it possible to extend the properties of the columns/cells in the DataGridView so I could ge ...Show All
Windows Forms TreeView ... How to keep focus or scroll to top?
I have a treeview and I am using a expandall property to expand the treeview. When it expands a large treeview it puts the focus and scrollbar about halfway down. How can I get it to keep the focus and scroll to the top of the treeview Maybe I am misunderstood.... I am not sure what the correct syntax is to select the first node. Here is what I have done so far and it does not work.. [code] Private Sub tvFormPath_G ...Show All
Visual Basic Error opening design view in vs2005
Hi people. I've just upgraded to vs2005 (pro downloaded from msdn) and after converting my solution with 4 vb projects in I'm unable to view any of the forms in the designer. The projects and solution compiles and run just fine but no luck in design view. The error message I'm getting is: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may ...Show All
Visual Studio Team System functional verification points
Is there a way to add functional verification points to a web test, such as tab order, initial focus, maximum length, and type of field (numeric, characters,...etc) You can specify validation rules to inspect the response of any request. Here's a link to the help topic that describes how to add validation rules to a web test. http://msdn2.microsoft.com/en-us/library/ms182544.aspx There are a few built-in validation rules that you can ...Show All
SQL Server Which SQL is appearing in VS2005--MS SQL or Express?
When I installed VS2005 Beta 2 I also installed SQL Server Developer edition. But I guess VS2005 also installed SQL Express So how do I distinguish between the two SQL Servers Task manager shows 2 processes running sqlservr.exe (one is NETWORK SERVICE and one is SYSTEM) But in VS2005 Server Explorer window shows only one Data Connection: machinename.master.dbo Is this one that appears in VS2005 Server Explorer the MSSQL Server o ...Show All
Visual Studio Express Editions Linking error between Fortran and C++
Hi, I am facing some problem in calling a C++ function from a fortran code in Windows platform. I will appreciate if some1 would help me out. The main code is in the Fortran and it calls a subroutine in C++. I have compiled the fortran and C++ codes in Visual Studio and Visual C++ without any error. Thanks, Abhishek ...Show All
Visual C# help,,,how i can quantization image to 9 color in c#?pleassssssssssssss
help,,,how i can quantization image to 9 color in c# pleassssssssssssss http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnaspp/html/colorquant.asp ...Show All
Visual Basic Execute a string as if it was a line of code????
Hi, I am a VB 6 developer and will be making the switch to .NET 2005. A feature I always wanted in VB 6 was a way to build a string and then execute the string as a line of code similiar to how you would do it in SQL Server. For instance if you have a grid on your form it would be nice to pull a string from your database like "Grid.Color = Red" and be able to execute the line instead of having to write all the code in your application and ...Show All
Windows Forms Desktop Shortcut
Is there any way of creating a desktop shortcut using a ClickOnce Install Regards, Alan Hi, I reported it on Product Feedback Center ( http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=f95eeb9d-2bb4-47a0-a860-5711be76222f ). You can vote there for the suggestion. ...Show All
