Shahedul Huq Khandkar's Q&A profile
Visual Basic DataGrid View Hover Picture
Using VS 2005, I am writing a Windows control object which will display a grid of person records. I want it so when the user hovers their mouse over the picture cell, a popup image appears which follows the mouse cursor. I can get the image popping up and actually display on the screen, the only problem is I know the absolute position of the mouse but not where the mouse is in relation to the form. When I set the location for the image box, I n ...Show All
Visual Basic Visual Basic Performance for 3 Million record/rows
I have a Visual Basic 2005 .Net program that I written that read a 2000 and 2005 database. I was very surprise and shocked when it took three days to process only 600,000 rows of a 3 million row result. Because of the time it took to only process 600,000 rows I canceled the batch job and did everything in SQL using Query Analyzer. I was able to process the same volume in only 45 minutes. I was greatly disappointed in the results. T ...Show All
Visual FoxPro BUILD PROBLEM
Hi all,Im a new programmer in VFOX PRO 9 and im currently having a rather noobish problem. I want to make my application as a .exe file so i can distribute it to someone that doesnt has the vfp installed.i have included the dll files that are specified in help and have put the application as a top level in the application builder.i have disabled quick start and have selected a form as main so that program starts with that one.the problem is that ...Show All
SQL Server ODBC & Multi-threading
I'm working on a C# (2005) app that requires shooting a large number of queries via Odbc, wait until the last one is done and then compute an overall result. Since the queries are not interdependent, I would like to get them to run concurrently on multiple threads. I did manage to get several queries run on different threads but the response time for the same query varies dramatically when another query is running concurently (even on a di ...Show All
Visual C++ Impossible to implement interface class in different dll
I have the following type of scenario (a .net style interface class with a pointer to a native class in one of the function signatures) //native #ifdef MYDLLEXPORTS #define NATIVE_API __declspec ( dllexport ) #else #define NATIVE_API __declspec(dllimport) #endif #ifdef __cplusplus_cli public #endif class NATIVE_API INative { }; //managed public interface class IManged ...Show All
Visual Basic Using the state of a button
I've now got my serial communication program working. My thanks to those who assisted. What I now want to do is monitor the state of a button so that I can "listen" to the port continuously but "talk" to the port when the button is pressed. I'd like to do something like the following: Private sub Button1_Click ( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ...Show All
SQL Server ForceExecutionResult is ignored by parent
1 Add a Sequence Container. 2 Add a Script Task to the contianer, and set the script to fail, Dts.TaskResult = Dts.Results.Failure 3 Set the ForceExecutionResult on the Script to Success. 4 Execute the package. The container fails, so it detects the Dts.Results.Failure, and ignores ForceExecutionResult. The task itself is Green, so that indicates success. I think this is wrong, as ForceExecutionResult should be observed by both the task and pare ...Show All
Visual Studio Team System Adding users/ groups with "/" char in the caption of the name
Hi, I am running Team foundation RTM. When I try to add windows domain users to one of the security groups I get the error: "Team Foundation Server could not resolve the user 'XXXXX/XXXX'. The user or group might be a member of a different domain , or the server might not have access to that domain. Verify the domain membership of the server and any domain trusts". I noticed it only happens with users ot group wh ...Show All
.NET Development MSDiscoCodeGenerator Failed?
Suddenly, I'm unable to create web references. I get the following error: The custom tool 'MSDiscoCodeGenerator' failed. Unable to import binding 'MyServiceSoap' from namespace 'http://tempuri.org/'. Both web service and C# winforms client were created in VS.NET 2005. The web service is the default, wizard generated service. Interestingly, I create apps that did hook up to web services nicely earlier and, if I run those apps now, they work fine. ...Show All
Windows Live Developer Forums 1 result less...
I have been receiving 1 result less than what I ask for... Am I doing something wrong Is this a bug Is there an official response to this issue This has been my experience as well for as long as I've used the MSN Search API. I suppose it is a bug, but I've never heard any official response on it. ...Show All
SQL Server User-Defined Datatypes based on abstract classes
I am trying to create a set of spatial datatypes for SQL Server 2005. Each datatype inherit from the abstract class "Geometry". ie. public class Point : Geometry public class Line : Geometry public class Polygon : Geometry ...and several more. The reason for using the abstract class Geometry, is that they all share a common set of functions that return a Geometry object. For instance Geometry Intersection(Geometry g1, ...Show All
Visual C# C# DirectX help
Am trying to make a 2d and i ran in to a lil problem how to go about doing this http://img107.echo.cx/img107/9109/untitled17tu.png If you are using tiles you would basicly be able to turn them on or off each frame if you like but leave the position defined, this would simulate turning them invisible. Mykre www.ircomm.net - Managed DirectX Game Programming ...Show All
SQL Server Row numbers on export
HI I have written a script to export data from customer table to another crm package, on the export they require the first column to be numbered 1 - .... say 1000 or how ever many rows there will be. Is it possible Thanks Rich Are you talking about a batch count Or does every row have to have a number If it's batch count then use DTS add a global variable, assign the count, then use the file syst ...Show All
Visual C# how to declare TextBox in code
Im trying to convert this vb code to C# from a class but Im having problems declareing a textbox in code and using it in the class. VB CODE: Dim txtCurrent As TextBox = sender I tried this but it doenst work: TextBox txtCurrent = new TextBox (); txtCurrent.Text = sender.ToString(); Thanks Try TextBox tx ...Show All
Visual Studio Message when i try to open project
Always I try to open my solution, the IDE show this message: The file 'MySolution.sln' needs to be checked out before it can be edited. The file was not checked out automatically because you have disabled automatic check out when files are edited in the Source Control options page. I only have 1 project under solution file. In the Environment options pane of Source Control I have check "Get everything when openinng..." and "Check in every ...Show All
