HankHuf's Q&A profile
Visual Basic Real Time Data Monitoring
Hi All: I am writing a project to analyze data from a device in real time. The idea is to pick up the signal from a sensor through serial port in 20Hz and to do some calculation on the data received, and plot out the result on the form. I use a background worker to read data from the serial port and do the calculation within a Do Loop. There is no problem on this. My problem is that when I try to use GDI+ to plot the results on the form, ...Show All
.NET Development Dynamic SQL generation is not supported against multiple base tables
I m coding with VB.Net. I have a datagrid on my form with a dataset as its datasource. The dataset contains rows from a joined two tables: Feature table and Price table. Feature table contains the customers'features. It has the ID of the features, the date the feature was added, the expiry date, the employee who added it.... The Price table is a look up table that contains the ID,price, Code, description and name of each feature. So my SQLquery ...Show All
Visual Studio Team System Visual Studio Team Explorer Connection Problem
Hi, After installing TFS and the TFS Explorer (both working correctly), I'd like to change the TFS configured in the TFS Explorer after removing the TFS. The TFS Explorer responds in such case with a pop-up which says : "unable to connect to the remote server". It seems that there is no option to change the TFS in the TFS Explorer. Is this correct Thanks, Bart Yes.. you can change TFS.& ...Show All
SQL Server Two Instances (SQLEXPRESS and MSSQLSERVER)
Hi there, I installed SQL Server Express few days ago but today I coudn't start the Management Studio. After reinstall the management studio, the problem stay. Then I uninstall SQL Server, but I still had acess to the configuration manager and I see that the instance SQLEXPRESS still runing, even with all unistalled (SQL Server, Management Studio, Framework 2.0, Visual Studio). Then I install again Sql Server, and it detected that the default In ...Show All
Visual Studio 2008 (Pre-release) December CTP Installation trouble
I've VS2005, WinFx Runtime Components 3.0 - Beta2, and WinFx Extension for VS2005 installed. I believe Extensions are December 2005 (version 8.0.6). It did not include Cider though. Now that I am trying to install " Microsoft Visual Studio Code Name “Orcas” Community Technology Preview - WinFX Development Tools " I am getting following error almost at the end of installation. " A network error occurred while attempting to read ...Show All
Visual Studio can vs2005 work visio2003 ? i want to reverse my work
i remenber vs2003 can work visio2003 so it can reverse my project and draw Class Pitcures, but why my vs2005 cant and add-on can do this Hi David, Visio for Enterprise Architect (VEA) that ships in the VS Team Architect edition will support reverse engineering from C++. VEA has a separate setup (and not installed when you install Visual Studio). I believe System Architect from Sparx Systems supports C++. Regards, Ramesh Rajagopa ...Show All
Visual C++ _bstr_t question
How do I do case conversion for _bstr_t Are there any functions available I looked up MSDN, did not find much help there. Appreciate any help, S _bstr_t exists mainly to provide conversion between ANSI and Unicode strings. It doesn't do much else, you'd have to take the string in whatever format you want and put it into a string wrapper that does tolower, toupper, etc. From memory, std::string needs a functio ...Show All
Visual C++ Convert System::String^ to Float
Hi, I have a value such as "523.12" that will be entered into a Textbox control (Visual C++ 2005). How can I convert this value into its equivalent float value Thanks! ~Dan Scraniel wrote: Hi, I have a value such as "523.12" that will be entered into a Textbox control (Visual C++ 2005). How can I convert this value into its equivalent float value Thanks! ~Dan use Convert::ToDo ...Show All
Visual Studio Using Datsets from SQL 2000 to populate Crystal Reports Reports
Hi, I have installed Visual Studio (Pro) under Windows 2003 on our server. I have successfully set up a connection to a database on another server, and can populate the Data Sources with the tables and views from the database. This seems to work well, I can preview the data, set up new queries etc. However I cannot drag and drop the resulting data fields into the report form. It would appear that this is a trivial problem, perhaps s ...Show All
Visual Studio Team System how to clear the cache in a web test?
hi, all For some reason, I have to clean cache during every time running web test cases, does any one know how to do that please help me . Thanks very much. I'll try to clarify (and hope that my attempt doesn't actually muddy the waters) ... What I meant was that within a single web test session, if the same URL is requested more than once (for example, if the same image or style sheet is embedded on more than one page), ...Show All
SQL Server execute SSIS package stored in remote SQL server from a client machine.
I have written a VB component to execute a SSIS package stored in SQL server. I am using the Microsoft.sqlserver.dts.dtsclient, dtsconnection/dtscommand and executereader and everything works perfect on the local machine. This is descibed in a msdn site . But my customer have a remote SQL server and want no extra BI clients/SQL server clients etc on the client machine, only an ordinary windows client and network connection to the SQL se ...Show All
Visual C# How to catch the Exception raised by subthread?
Hi all, I create some threads in main thread, and sometimes, the subthread will raise exceptions, how can I catch those Exceptions in main thread is it possible Thanks. You can use the new BackgroundWorker component in .NET 2.0. It takes care of passing in arguments to the background thread, reporting progress back to the main thread, and returning the result or exception. However, there's a little b ...Show All
Windows Forms font
Is it possible to use a control such as textbox or something similar and allow the user to change the font, size, etc... In addition I would like to retrieve the exact font and size, etc that was saved. Thanks The Control class has a Font property which you can set. To let the user set the font, you would need to give them a way of specifying it, and once you do that, as your code will set the font, your ...Show All
Visual Studio Select-Event in code editor
Hi all, My question is for Visual Studio 2005. I have a custom tool window and I want to send it the current position (codeElement) of the cursor. Which Event do I have to use I tried to use the following this ._applicationObject.Events.SelectionEvents.OnChange += new _dispSelectionEvents_OnChangeEventHandler ( SelectionEvents_OnChange); but it seams not to react. Best Regards, Kai Huener ...Show All
Visual Studio Team System No access to reports and documents over internet port 8080
I've got some problems with my installation of TFS beta 3. I installed Windows Server with latest sp. Sql server september, sharepoint and tfs beta 3. The tfs is installed on this server to help us work in project over http and not intranet. When I try to create new project from vs over internet, I get error on connecting to reportserver on port 8080. My reportserver is not running on 8080, it's running on 80. If I create my new project on ...Show All
