elichan's Q&A profile
Visual C# need return values from Threads
Hi at all, I will "Ping" different Hosts to make sure that they are online. I start for each host a own thread, because some Pings need more time than other Pings and after one second, all Hosts from my list must be pinged again. But if I start a ping, I have no control about the results Here my method. for ( int i = 0; i < Hosts.lenght; i++) { t = new Thread ( new ParameterizedThreadStart ( Pinger .startPing)); PingParams pp = new PingParams (); pp.Buffer = 32; pp.Timeout = 12000; pp.URL = Hosts ; t.Start(pp); } I think I made a general error, right The ...Show All
Visual Studio Express Editions No Debug?
My new installation of the Feb05 CTP VC# Express seems to have come without a debug capability. I don't recall seeing that as a feature missing from the express editions. Both the Solution Configurations and Solution Platforms list boxes are blank and disabled. The Project Configuration tabs have no Debug/Release/All Configurations selection capability. In short, there appears to be no way of setting up a debug build although I can set the settings in the Debug tab of the Project Configuration tabs. Is this a problem with my installation of a feature (lack thereof) of the Express editions Speedo ...Show All
Visual Basic Deploying a remote vb .net application
I am developing an application in VB .net 2002 that will be installed on multiple client PC’s. I am using MS SQL Server 2000 as the database server which will be stored at a central location. Do I have to develop the application on the same machine that is hosting the database or it doesn’t matter Is there a special way to package the application for installation on multiple client PC’s to allow it to access the remote server Please Help!!! The short answers to your questions is "no" and "yes". You should use the app.config file to store your database ...Show All
Visual C++ do listview and treeview still need to hold text for two callbacks via Blazack?
hi i have an old MFC book by Blazack (i know the spelling is wrong, sorry don't have the book handy). in it he says that the listview and treeview need to have the text passed to them to be held in memory by the calling program for at least two callbacks. is this still true under the MFC that shipped with vc8 and running under WINXP thnaks al ...Show All
Software Development for Windows Vista Connecting to VMR
Hello, I have written a custom filter for manipulating video data. I can connect the input pin of my filter to de DV decoder but the output pin will not connect to the VMR (the Connect methode is never called !!!). I have done the same for audio and there it works fine. I suppose that there are some Interfaces that my output pin must provide to connect ! Any idea(s) Thanks for your help Reiner Interfaces is a reasonable guess. It's easy enough to check. Put a breakpoint in your NonDelegatingQueryInterface and see if anyone is asking for anything interesting. My first guess however would h ...Show All
SQL Server Subtotals broken in Report Builder?
Sub-totals are not working as I would like/expect in an end-user tool when dealing with data from a relational schema with cascading 1-Many relationships. Instead of performing aggregation at the level of the source table, it is blindly performing aggregation on the result set, causing incorrect results. An simplified hypothetical example will make this clear. Imagine the following relationships: Table "Patients" related 1-many on patid with Table "TreatmentsProvided" related 1-many on treatid with Table "FinancialTrans" for the following tables: Patients patid n ...Show All
Windows Forms disable horizontal scrolling of datagrid
does anyone know how to disable horizontal scrolling of datagrid that has databinding Hi. There is no property in the V1.1 DataGrid that disables horizontal scrolling. If you can upgrade to V2.0 then consider using the new V2.0 DataGridView control where you can disable horizontal scrolling. The V2.0 DataGridView control has the ScrollBars property which you can use to control both vertical and horizontal scrolling. Hope this helps, ...Show All
Visual Studio 2008 (Pre-release) Cursor from Geometry
Hello, is it possible to convert Mouse Cursor from Geometry I have a bit of UI on my screen, which I'd like to turn to a Mouse Cursor. Thanks. I guess you could hide the mouse cursor and RenderTransform/Translate a DrawingBrush or Image in response to the MouseMove event... Not what you'd wish for, but doable... ...Show All
SQL Server How to import/export databases from remote server to local SQL 2005 Express
I've successfully installed SQL2005 express edition and SQL Server Management Studio Express. All seems well except there does not appear to be any way to import databases from other servers to my local server. The remote servers are running SQL Server 7. In the Management Studio Express I can connect to the remote databases and work with them, but I can neither import them into my local machine, nor can I export from remote to local (the option doesn't seem to exist). By contrast, using the Enterprise Manager in SQL 7 there has always been the option to do this under the All Tasks menu. If this cannot be done, is there a way to backup ...Show All
Visual Studio Full MSDN local install for VS 2005 incomplete
I have recently installed Visual Studio 2005 and am having trouble with the local Help functionality. Local help is missing a host of very basic keywords and functions such as fprintf, #include, #define etc. (although other things are available, such as the STRCONV() function). I can click on a keyword, press F1 and be directed to online help, which always has the information I need. But if I search for the same item in the Index pane of local Help, I get a No Topics for Index Entry error and am told to click on one of the child elements. This occurs even when there are no child elements to click on. And I am not directed to online hel ...Show All
Visual Studio Team System Source branching questionnaire
I am not sure if this is the correct forum. I am trying to put together a source branching questionnaire to ask other teams when requested. What are the questions the people in this forum think should be asked Thanks for your help I'm sorry, I don't think I understand what you are looking for. Brian ...Show All
Visual Studio Team System Setting Rules to Prevent Direct access of Request,Response objects
Hi, We want to set a rule whereby developers cant make use of the ASP.NET Request,Response,SERVER objects directly ,they have to use our internal functions to access those variables, how do i define that rule. Thanks in advance Hi RamV, You can walk the method's instructions and look for calls to System.Web.UI.Page.get_Request /get_Response etc.. Regards, Jeffrey ...Show All
SQL Server Export to Excel failed with ReportItems and sub report
Hi, I have two RDL files, one is main.rdl, the other one is sub.rdl. In the body of main.rdl, I threw in a subreport that links to sub.rdl. Follow by the subreport is a table, in which has a textbox called mytitle. In the page footer, I added one text box that references to mytitle by using ReportItems!mytitle.Value. When this report rendered in HTML or PDF format, it worked fine. However, when exporting to excel format, it failed. I figured it is because there isn't a ReportItem in the subreport called mytitle. I tried adding a dummy textbox into the subreport and called it mytitle, but again, no luck. Did anyone ever encounter ...Show All
Visual Studio Team System CPU usage
Hi, While creating the Load test using the Wizard, user will add the his computer name and selects the counter sets as CPU usage i.e. processor time. But actually it will measure the CPU usage of that client machine. In Load testing our target is to measure the CPU usage of server machine. If I want to measure the CPU usages of server machine then how to do using VSTS Load tests What are benefits for measuring the CPU usage of that client machine Thanks, Shankar 1) The user enters the computer name from which to collect counters and which counters to collect. So, if you want to collect the C ...Show All
Visual Studio Express Editions SQL Server 2005 Express - Missing File
Hello All It seems I have a missing file in my Server 2005 Express install. When I click the new query button in the Management Console it says it can't find a file called sqlfile.sql in C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\SsmseeTemplates\Sql\. Sure enough, the file isn't there. Where did it go Where can I find this file Am I going to have to reinstall SQL Server to fix the problem. God I truely hope not. Please help me out here if you can. Please send your replies to vscurtis@sbcglobal.net. Thanks Shane I was missing the sa ...Show All
