doroshjt's Q&A profile
Software Development for Windows Vista installing WF error - service pack required
I have installed released version on VS.net 2005 on my PC running on windows 2000 professional witrh Service pack4 installed. I have downloaded Microsoft R Visual Studio R 2005 Extensions for Windows R Workflow Foundation Beta 2. when i try to install it, it gives me follwoing error. windows 2003 service pack 1 missing . I tried to install the wanted service pack but that could be installed as my OS is different from windows 2003 ser ...Show All
Visual Studio How can I convert the contents of a code snippet literal to upper case?
Hi, In some code snippets I would like to use the data a user enters in a literal on several places, but with changed case, sometimes just the first letter to lower case and other times the whole string to upper case. Is there some way to accomplish this Regards, Lani Hi, I'm writing code snippets for C#, and when creating diffrent code snippets for properties it would have s ...Show All
.NET Development DataGridView Record Selection
Hey guys I am not a new VB programmer but I am kind of new to the database side of it. THis is what I got, I have a form that fills a datagridview control with data from an access database located locally, I used the dataset designer to create the database connection. I am able to fill the datagridview what I would like to do is when the user double clicks on a record (the data grid only show names) it will create some sort of data table o ...Show All
Windows Forms BindingSource to object help
Hello, I'm trying to bind to a custom object (business layer component), and I can bind to a type, but I don't know what it is looking for in response to the DataMember. Will it only accept a property or a method I would like to do this at design-time... Also, I'm trying to bind to a datatable, if that matters... Thanks, Brian The DataMember is the name of the property you want to bi ...Show All
Visual C# How to get instance ID of object
In VB6 I can use ObjPtr to get object pointer. In .Net how to get it The advice is to use a custom override for the GetHashCode() function in ur own classes to ensure that it is unique: MSDN Content : This method can be overridden by a derived class. Value classes must override this method to provide a hash function that is appropriate for the class and that ensures a better distribution in the hash table. Classes that might be used ...Show All
Smart Device Development SCSI device mapping
Hi all, We have an application (written in C/C++) for management of SCSI storage devices. Through this application, we are creating a logical drive (LD) using two physical disks and this LD should show up in the list of volumes in Windows. The job of exposing the newly created LD to Windows is done by the device driver for the RAID controller. So after this is successfully done, one can right click on My Computer, the ...Show All
SQL Server The AcquireConnection method call failed with error code 0xC0202009.
I have a SQL Server Agent job with a step to execute an SSIS package. The package has as one of it's connection managers the Connection Manager For Excel Files. When I run the job it fails every time. I have implemented logging and in the OnError event it states "The AcquireConnection method call to the connection manager "LOBMappingExcel" failed with error code 0xC0202009". Note that if I execute this package via dtexec ...Show All
.NET Development VS2005 Server Explorer Doesn't show stored proc columns
In the server explorer for VS2003 it was possible toview the columns that a stored procedure returned along with its parameters. VS2005 server explorer only shows parameters, no columns. I've searched high and low fo a place to turn this on, if that can be done. What's up Anybody know how to view the columns. That's a real help when making sure column names in code match their stored proc names. Hi Thomas In Visual Studio 2005 we do not dis ...Show All
Visual Basic clickonce install link opens manifest file
We have published a windows form application, using publishing wizard of clickonce. The publishing is successful. For the first install (version 1.0), the framework 2.0 as prerequisite and the app get installed OK. However, if the version 1.1 is published on the same FTP and install link is clicked, it opens Application manifest file. The application does not get installed. Is there any settings issue or publishing steps missing Thanks ...Show All
SQL Server Howto suppress FETCH output
Hello, I'm opening a cursor with the sole purpose to select rows for deletion DECLARE test_cursor CURSOR FOR SELECT ... OPEN test_cursor ; FETCH NEXT FROM test_cursor WHILE @@FETCH_STATUS = 0 BEGIN IF -- check some condition DELETE FROM .. WHERE CURRENT OF test_cursor ; FETCH NEXT FROM test_cursor END For each row that is deleted sqlserver prints several lines of text with the contents ...Show All
Visual Studio Team System Exporting Load Test Results - Again...
I am running the load test in separate location and need to export test results to local system. Unfortunately user accounts are different, machine names are different and there is no way to export data from database to database directly. The only I have remote desktop connection and can upload and download files. I've tried to backup LoadTest database and restore it on local system but it doesn't work. The local system can't get tests result ...Show All
.NET Development How to get field value in attribute constructor?
There is a StringValueAttribute attribute. The user can use it to associate string values with an enumeration field. In the first constructor of StringValueAttribute, two string arguments are passed and can be used to explicitly assigned to _databaseValue and _resourceKey. This is illustrated in MyEnum.EnumValue1. My question is in the second constructor with only one string argument. Since the resource key string is not pass ...Show All
Visual C# Compiling a native C DLL for use in VC# using DllImport
Hi Group! I'm a C# newbie (real wet and raw) as well as a complete newbie to Microsoft OS programming. Normally I use native 'C' on Posix complient platforms - which I've been doing for many decades. Scruitinsed this BB for an answer but can't find anything close. Also burrowed around in Visual C# IDE for clues - none forthcoming. For reasons of speed and size I want to write a suite of routines in native 'C' and encapsulate them in an external ...Show All
Visual C++ Transfer CString between classes
Hi, I have a MDI application and from the menu I can open a dialog with a edit control and a OK button. When I push the OK button the text in the edit control shall be stored in a variable in my CDocument class. But when the dialog has been closed, the variable that should store the CString is empty. What have I do wrong In the dialog class I have this code: void CMyDlg::OnBnClickedOk() { CString EditCt ...Show All
Visual Basic Cursor in a textbox window
I have a complex class full of controls including a Rich Text box and a regular textbook. The class is designed as a tab page to be added once or multiple time to a tab control. This class inherits Windows.Forms.Form. When the page is added, I want the cursor to be in the ordinary text box. It isn’t. There is a prescribed way to do this: To programmatically click the right mo ...Show All
