Rags_Bhat's Q&A profile
Software Development for Windows Vista When using WWF Beta 2.2, how can you update the parameters collection in a running XOML only State workflow?
Tom, When using WWF Beta 2.2, how can you update the parameters collection in a running XOML only State workflow Thanks in advance, John Portnov I'm not Tom - but I'll answer anyway ;-) There isnt a parameters collection in 2.2. You have to create a class that derives from StateMachineWorkflowActivity - and that adds public properties (you can add one called Parameters if you'd like). public sealed partial cl ...Show All
SQL Server Is Installing SQL05dev and VS05pro on the same machine supported?
Hello, When SQL05dev is installed a SQL05 version of Visual Studio (SQL05-VS) is also installed (called the “SQL Server Business Intelligence Development Studio”). The SQL05-VS installs files into a “C:\Program Files\Microsoft SQL Server\90\Tools\binn\VSShell\Common7\IDE” directory (and other directories - not described here). When the full version VS05pro is installed it installs/uses fi ...Show All
Windows Forms VS 2005 (no beta). DataGridView. Problems with RowHeadersWidth and .ErrorText
Hi ! I use VS 2005 (no beta). I think I found a Bug in the DataGridView class. I set the ErrorText property and could not see the red icon because I altered the RowHeadersWidth property. Then I comment this command and I could see the error icon and the error text on the row header again. It's amazing ! best regards, Joao Araujo this .dgrView.BorderStyle = BorderStyle .Fixed3D; // dgrView.RowHeade ...Show All
.NET Development Getting truncated socket bytes
Hi, I am listening to a port for data but I am not able to recieve whole data, I only get truncated data. Client sends me data that exceeds 40K and the data I recieve in my callback function is always 8K to 9K. I dont get the rest of the data. I think the data size is too big to come in one go and hence it comes in 2-3 sub-packages but my call back function only gets called once hence I am getting truncated data. I am sending the code...Is there ...Show All
Windows Forms how to active mouse right click function?
Mouse right click function did not work. How to active mouse right click function Let's assume you're talking about a Button. Start by using the MouseDown even since it has the MouseEventArgs argument we can use. Here's a same that wil ...Show All
Visual C# Creating an Excel file from a DataSet (no physical database)
Hello everyone, I'm currently working on a project (this is my first real program in C#) and I'm a little stuck on this part of it. To keep it short, the program accepts input from the user (obviously) and that information is put into a dataset in memory. The user can then save the information to an XML file. This XML file serves 2 purposes (to save the information and to retrieve the information). The XML file can be sen ...Show All
Visual C# Project from existing code files
I am working with C# Express. I have some code files (modified from a previous project) and according to help I should be able to use them in a new project by clicking file>new project and choosing new project from existing code. However, no such choice exists. I have tried importing settings but to no avail. I've never seen that option. Instead, I'd create a new project, copy the files to the folder and use ...Show All
SQL Server The process could not connect to Distributor 'Distributor-name'. 20084
Precedents Windows 2000 Server 1 SERVERNAME SQL Server 2000 - 8.00.818 (Intel X86) May 31 2003 16:08:15 Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4) 1 SERVERNAME\INSTANCE SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Desktop Engine on Windows NT 5.0 (Build 2195: Service Pack 4) IIS 5.0 SQL Server CE 2.0 (sp3a) Merge replication previously working fine. The problem ...Show All
Visual Studio Team System Configure website to run tests against?
Within a web test are you able to configure what website you are hitting against For instance, if I initially set all of my tests to go up against a specific website (QQA) for instance, but then want to globally change all tests to hit against the DEV site, how do you accomplish that If I code the test I see the following line: Dim request1 As WebTestRequest = New WebTestRequest( "https://qqawebsite/applicationname/UserLogin.as ...Show All
SQL Server Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance
Hello everyone, I am new in .NET development and currently trying to learn VWB through Microsoft online tutorials. Here is the problem that prevents me from getting further: in VWB, when you right click App_Data and chose "Add New Item" and then select SQL database, the following error message is displayed: "Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection ...Show All
.NET Development Question about List<T> and accessing a specific item
I'd like to know if there is way to acess a specific List<T> item by specifying a property of that class. (It's a simple question, it's hard to ask). Let me make this clearer... Let's say I have a simple class called Person, and it exposes three properties - name, age, sex. class Person //oversimplified for brevity { string Name; int Age; char Sex; } Now I define a List<T> of type person: List<Person> ...Show All
Software Development for Windows Vista Lost collections in Visual Studio 2005[english] after Installation Windows Workflow Foundation[german]
Does anybody know how to get back all "collection mains" i.e. starter kits and so on, after the installation of WWF(WF) A repair of Visual Studio 2005 did no effect. I have reinstalled the whole components with english one's. Now it runs fine. Thanks for help. ...Show All
Visual Studio Remote Web Access over http in VSS 2005
I am currently evaluating VSS 2005 beta and have been advised by MicroSoft Customer Services that the 'remote web access over http' feature is available in VSS 2005 as a standalone product and it is not necessary to have Visual Studio installed. However, I am unable to determine how to connect remotely. I have installed VSS 2005 Beta on a server and created a SourceSafe Database on the same server, which I can obviously ...Show All
Visual C++ Slow mixed assembly performance... Why?
Hi, I wrote a program in Visual Studio 2005b2 (Winforms), but include many of my image processing algoritms written in unmanaged c++. These functions use SSE2, and array manipulations. However, compiling my new program (.Net) resulted in very poor performance, where the execution is so slow, compared to the same code when compiled in MFC. Why is that I'm aware that .Net compiler generates MSIL, and it is compiled to native code on the fly during ...Show All
Smart Device Development how can i play a sound file ?
hello . how can i let my program on my pocket pc play any sound file wav , mp3 , wma i tried every thing , searching in msdn ... the system.media is not found . also microsoft.devices.audio and my.computer.devices.audio is not found .. so , what's the solution .. regards ,, You can P/Invoke PlaySound() or you could use sound classes from OpenNetcf.org. ...Show All
