Michael Kochetkov's Q&A profile
Visual Basic Queue Object
Does anyone have any examples of using a queue object with multiple threads I want to load a que with strings that point to files and I would like threads to retrieve a string from the que and process it (this would continue till the que were empty). I can generate a couple of threads, but I don't know how to get them to interact with a queue. What I am doing is splitting up the strings so that each thread gets an equal amount and can work from ...Show All
Visual Studio Can VSS 2005 and VSS 6 co-exist?
Can Visual SourceSafe 2005 and 6.0 co-exist on the same machine If not the databases, can the clients Thanks, Klas The database format is the same, however VSS 2005 treats Unicode file differently from VSS 6.0 However it is not recommended to use VSS 6.0 and VSS 2005 in mixed environment. VSS 6.0 will consider Unicode file as binary and therefore is not mergable. VSS 2005 can merge Unicode files. So you can get in the situa ...Show All
Software Development for Windows Vista Go-Live Runtime
Hi there Just a short question: Are the WF Designer Controls part of the WWF Go-Live Runtime or are they just part of the Visual Studio Extensions Thanks, Sebastian Hi Sebastian, I take it you mean the Workflow Activities when you say Designer Control. All the activities that ship Out of the Box appear on the Toolbox in Visual Studio when you use the Workflow Designer and will execute fine. Thanks D ...Show All
Visual Studio Team System Deletiing TFS Projects that fail to create correctly
I'm using Beta3-refresh. I've tried tp add a project to TFS using the team explorer but at some point the add fails and I get a message saying that the tool couldn't rollback the addition. I run TFSDelete to delete the porject and get told the project doesn't exist I run the explorer to re-add the project and get told the project already exists. So I have a TFS project in a state of Limbo. What steps can I use (database cleanup, removal of s ...Show All
SQL Server Trying to do too much in a view... I think?
Hello all, I have a table that contains a whole bunch of clinical statistics. There are some other fields I would like to add, but they are best created on the fly, so I thought I would do this with a view. I can create some of my dynamic fields (like BMI below), but when I try to use them again in the view it doesn't work. (ie, I get an error when I try and include the case statement bit). Does anyone know what I can do Kitty. ...Show All
SQL Server Difference between Where and Join
Hi all, i've a little question, I 've this 2 sentences select m.id from F, A, M where F.Id=A.Fa And F.IdE=A.IdE And M.IdItem=A.Id and M.IdE=A.IdE And F.IdE=7 AND F.Id=44387 Select m.idnumero from F Left Join ( A Left Join M ON (A.IdE=M.IdE) AND (A.Id=M.IdItem) )ON (F.IdE=A.IdE) AND (F.Id=A.Fa) Where F.IdE=7 AND F.Id=44387 F=50.000 Regs A=150.000 Regs M=1.100.000 Regs First sentence takes the data in 1 sec ...Show All
.NET Development Database Diagramming in VS 2005
I downloaded the Beta 2 and am working on developing a simple app, but wanted to work on the db in the IDE also. I can't get the database diagram window to come up, in fact I have seen reference to it only in the help: Create a database connection in Server Explorer using a member of the db_owner role to log in. For steps see How to: Connect to a Database from Server Explorer . Expand the Database Diagrams node under the database c ...Show All
Software Development for Windows Vista Can the state-transition workflow designer control be extended (using code) to support "swim lanes"?
http://office.microsoft.com/assistance/hfws.aspx AssetID=HP815503021033 is an example of an UML 2.0 Activity diagram ...but don't get caught up in all the details you see in the diagram. However, do note that the activities are aligned into 2 role-based groups (vertical columns): Program Administration and Test Administration. These vertical columns are often referred to as "swim lanes". Is it possible, in a custom WinForms desi ...Show All
Visual C++ Cannot read file
I'm gettting an access violation error when trying to read a file The code I'm using is: char PeopleFileName[_MAX_PATH]; char buf[256]; strcpy_s(PeopleFileName, fileName); strcpy_s(&PeopleFileName[strlen(PeopleFileName)], MAX_PATH, ".peo"); std::ifstream PeopleFile(PeopleFileName, std::ios::binary); GetStringFromFile(PeopleFile, buf); m_iRecordCount[2] = atoi(buf); m_People = new CPerson[m_iRecordCount[2]]; for (int iPerson ...Show All
SQL Server reading SQL logs
In SQL 7/2000 you can only read the live sql transaction logs by using extended stored procedures written in C++. Is there any additional options offered by the SQL CLR in 2005, as I'd prefer to use managed code. Alternatively, are there any other ways to read the logs directly Thanks, Cathal You should be able to read the logs using standard IO managed APIs and registering your assembly as External Access. Have ...Show All
Visual Studio Express Editions MFC with VC ++ express ?
Hello, I try to compile the sample regmaid in VC ++ 2005. When linking , I have the error "mfc42d.lib not found" There is only the 64 bits version in the SDK. Where to find MFC dll and LIB Thanks for answer , ToutEnMasm 1. VC++ Express doen't contain the MFC! You need at least VS-Standard 2. The SDK contains only a 64bit version of the MFC. VC++ Express doesn't sup ...Show All
Visual Basic DataType Conversion help
Hi, hoping someone may be able to help me convert VB.Net datatype to VB6 datatype. The module I'm working on takes a Dataset from a Web Service and converts it to a VB6 recordset. The problem is datatype selection and conversion. It seems that a case statement wont allow me to use a system datatype ie(System.Int32) as an expression. Public Sub GetRS() Dim newds As New DataSet Dim ws As New localhost.Service Dim value As DataTableCollection Di ...Show All
SQL Server Visual Studio Exception 0x80131500
When I try to open report designer in Visual Studio 2003, I get the following error: Exception from HRESULT: 0x80131500 I've seen a couple of posts on the web about this, but so far nobody seems to know what the problem is or how to fix it. I'm hoping someone at Microsoft knows. hi all, I'm getting this error when i try to open a report in vs2003. However, i tried downloading that hotfix that was linked to ...Show All
Visual Studio Express Editions random form selection
If I had a series of say 10 forms in a program, and I wanted to click a button on the open form, closing it, and have one of the remaining forms open at random, how would I code for it Have tried: Dim A as Integer(1,2,3,4,5....etc) and Dim A As Integer = CInt (Int((10 * Rnd()) + 1)) But algebraic values can't be called in the showing of forms e.g. Form A .show() Any Ideas ...Show All
SQL Server SQL Server 2000 + Tivoli TDPS error
hi interested in hereing from any one who can help me diagnose and resolve a TPDS error. Running 2000 cluster with Tivoli TDPS. Backup works ok on a side but when failed over fails with following error: BackupVirtualDeviceFile::RequestDurableMedia: Flush failure on backup device 'TDPSQL-000016B8-0000'. Operating system error 995(error not found). thanks in advance. mike It appears that Tivoli cancelled ...Show All
