hashmi's Q&A profile
Windows Forms Clickonce and windows 2000
Hello i have a problem about deployin click once applicaton to windows 2000 client in visual studio 2005. when i install or run the applicaton in windows 2000 client "open with" screen has shown and applicaton does not work. in windows xp clinents, it works normally. thanks. Same thing happen with me. I developed a windows application and deployed it using ClickOnce. All of the XP machines run the application fine but none of the Windows 2000 worked!! It's really frustrating because it's not even prompting me an error. When the W2K users run the app, it simply appears in Task Manager ...Show All
Visual C# Com+ NetBios Problem
hello All, I Made a Com+ component and i deployed it on the network as client server application. i had problem when my windows application trying to communicated with the server. i asked a lot and they told me that microsoft still user netbios and RPC to implement the comunication between the server and the client. my network not support for the netbios protocol. 1- my network has to subnet (server 192.168.1.1 client 192.168.0.1) 2- i have firewall on my network. Please can any one help me to solve this problem. Best regards, Hoho Hello Scott,   ...Show All
SQL Server several queries in a dataset
Hi, I am trying to create a report that will first create a temporary table based on the values of report parameters and then use this table to generate final results via a separate SQL query. My attempt to fit both queries (1-for table creation,2-for generating final results) in the main dataset of my report wasn't successful. It seems like reporting services run only the first query in a dataset. My question is - how can I make my report run both queries Thank you, Anton. Maybe you should use 2 datasets You can then create the data in the second dataset as a subreport or why not create a stored p ...Show All
Visual Studio Basic Questions - need some answers please
Modeling - Can one do modeling in VS2005 Professional Edition or only in VS2005 Team System Edition Now to define modeling; at least at my level, be able to creating UML designs and have the IDE create C# code from that. VS2005 Professional Edition - 'Class Diagram Button' (in the solution explorer) - Clicking this gave me some level of modeling but from what I have read and tried, this is really for documentation only. Thanks Ralph The class designer lets you visualize structure of the classes and other types. It is not a UML modeling tool. You can thinkg of it as another vie ...Show All
Visual Studio Team System Migrating code analysis policies...
I do not know if this has been posted as a bug or not yet; but if you have a solution with a solution folder and a project under that folder migrating code analysis settings does nothing to the project. EG: Solution 1: \Components\ (solution folder) ComponentProject1.csproj If you right click and hit migrate code analysis settings nothing happens. The project has to be moved to being in the root of the solution, migrate then move it back. I posted the same question here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=166023&SiteID=1 but received no answer. ...Show All
SQL Server DTC error with concurrent data flows
I have a package that has several data flows that run concurrently after some initial tasks and an initial data flow. I want transactions on each of the data flows and have set the transaction option to Required on the data flows (not on the package itself). I am also using checkpoint restart on the package. A couple things are happening. 1) the first data flow is successful and that releases the several that are waiting. Some of these complete OK but inevitably one or two will fail. The failing data flows will be different from run to run, sometimes one and sometimes two will fail. The error says: Error: 0xC0202009 at Provider_NF_Co ...Show All
Windows Forms .NET 1.1 Project With File-Based Reference To A .NET 2.0 DLL Not Working
All-- Please help I have a design that requires that a given .NET 1.1 WindowsForms client application must include a file-based reference to a DLL that was built with .NET 2.0. Unfortunately, I cannot get it to work. The VS.NET 2003 IDE will simply not let me add the reference. Ug. I have tried several tests, detailed below, but I have yet to find an answer. Can it be done If yes, then how can it be done If no, then what is the work-around What do you think Please advise. ------------------------------------------------------------------------------- Overview: In in a .NET 1 project, try adding a file-based referen ...Show All
Visual Basic Debugging
I am in the process of debugging a web service on my local host. Is there a way for me to see my web service function code as I debug my windows form vb application. Thanks, Fred Herring You can add the web service & the windows form app to the same solution. From the form app, add a web ref to the web service using the " Web services in this solution " option, then you can step through from the form to the web service no prob. Otherwise, you need to enable debugging or something on the web service, and I'm not sure how to do that ...Show All
Windows Forms pressing arrow keys as hot-keys changes control focus
I want to define the Left and Right arrow keys as "hot keys" in my form. I've handled KeyDown, and I set the Handled property of the event, but if the current focus is on a button, radio, check box, etc, then the arrow keys cycle the input focus through controls on the form, or within the same group box. How can I disable this& ...Show All
SQL Server Install SQL Server 2005 Into Vista Error
I have installed Feb 2006 CTP Vista Build 5308,but when i install SQL Server 2005,it crashed. Error Message: sql server setup could not connect to the database service for server confiurgration.The error was[Microsoft][SQL Native Client]Shared Memory Provider:No process is on the other end of pipe. And the start menu/All Programe didn't not appear "Microsoft SQL Server". I really need your help,Thank you. SQL Server 2000 DEV Install failed.But SQL Server 2000 ENT could install only Client tools. Please Help me... ...Show All
Smart Device Development Is there Speech Recognition for Windows Mobile 5.0?
Hello, I am wondering if there is sdk for windows mobile 5.0 that uses speech recognition to interface with an stand alone application installed on the device Thanks in advance. John Not from Microsoft. There are some 3rd party SDKs like Fonix ...Show All
Visual Studio Team System Cannot debug test with [DataSource] attribute
I have a suite of tests, some of which use the DataSource attribute. However, the tests which use this attribute do not run. When the test suite runs, the TestInitialize method runs a stored procedure which populates the database, and the TestTeardown method runs another which clears it. These work fine, and I can debug them for the other tests in the suite. However, when the tests with the DataSource attribute is to run, the TestInitialize method doesn't run, and the test itself doesn't run - the Test Results screen just reports that the test ran successfully. This seems like a bug to me - any suggestions on what might be going on Thanks, ...Show All
Visual Studio Team System Work Item - Title vs Summary (Redundant?)
I find myself just repeating in the summary what I put in for the title. These two fields seem redundant. What am I missing here How are they supposed to be used Once we've fixed it and you've tried it for a while I'd be interested in more feedback. In our own use of it we've found the two fields go hand in hand very well. The Repro steps are generally entered once and don't change (unless there was a mistake). The "conversation" evolves as I pass the bug from person to person or hand it back to the tester for additional clarification. We've found having them both ...Show All
Visual Basic event _TextChanged
Hi friends! I've write this to validate a textbox: Private Sub NombreTextBox_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NombreTextBox.TextChanged If NombreTextBox.Text.Length = 0 Then e.Cancel = True End If End Sub e.Cancel is underlined with a blue line! Why The error message says that it's not a System.EventArgs and VS give me the option agfter e. to put ToString, Equals, GetHashCode or GetType. Where is the problem you need to have System.ComponentModel.CancelEventArgs passed in the method signature so that you can cancel the event. For this t ...Show All
Visual C++ Win32 DLL ??
Hey I create a Win32 DLL with ATL support in Visual Studio 2005 and i compile the dll and everything works fine on my computer there has Visual Studio 2005, but when I tried to run the dll on a machine there does not had VS 2005 i get a error 'Please reinstall the application' I think it has something to do with version of msvc*.dll, but i 'm not sure, if it is how do i set the properties in VS 2005 . To work with older version of msvc*.dll Thanks for the answer But when i use Dependes.exe, I can see that my dll use Atl80.dll and Msvcr80.dll, these 2 dll's is not on my target computer, but can ...Show All
