TimLB's Q&A profile
Software Development for Windows Vista Could I use WWF in such scenario?
In many business application, some database records should be viewed and modified by many person by sequence. In general, at anytime there should be only one person to modify the record, after this person "commit" his modification, another person could go on to modify the record (on another machine in the network) and when the record is being modified, other person could only view the record. Sometimes the record may be withdrawn or rollbacked to previous node in the workflow and such rollback should be logged. A typical scenario is bug tracking application, or order form process system. I am wondering if I could use WWF in s ...Show All
Windows Forms Problem sorting custom class/collection
Hi everyone... I have a problem trying to sort a custom class/collection (in a highly modified version of TaskVision). I have used the same template for creating a class/collection before with no issues, but I just can't get this one to work... Any ideas (error in 1st code block below) Thanks in advance, Chris Calling code: Dim column As  ...Show All
Software Development for Windows Vista VS 2005 sometimes hang when the "SaveAll" toolbar button is clicked
This occurs after I upgrade to WinFX Feb CTP. I doubt this is caused by VS extension for WWF, so I uninstall it, but this problem still exists. How can I fix this Thanks! I found some error logs in the Event Viewer : .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A2B45A2) (0) Is this related to the hung ...Show All
Visual Basic client server
I know u can do client/server with winsock, but what is it and how do u get it Someday, someone will invent winshoes to go over the winsocks, but winsocks give you a lot more freedom. ...Show All
Visual Studio Online help doesn't work
Hi, I'm using Microsoft Visual Studio 2005 (version 8.0.50215.44, Beta 2.050215-4400) and I'm having trouble accessing online help - it seems as though the "Microsoft Document Explorer" can't see the Internet. When I press F1 to see the reference on some C# keyword, for example, I get the error show in ms-help://MS.VSCC.v80/dv_commoner/html/1702ec84-76f9-4a82-9043-9ab8acb8aa5e.htm which is "The information you are trying to access could not be found. Various events could have caused this error." etc. This happens no matter what I search for - it only finds stuff I have locally (like help on help). I access the Internet (with no problems ...Show All
Visual C++ Running a program?
I have built a program on calculating the area of a rectangle as the user inputs the length and width. It works fine, however, my question is. If I want to send it to someone, what files from the whole folder do I need to send (.zip ). Also, how will they be able to run it, without a compiler. I can easily run it from: C:\Documents and Settings\Peter\My Documents\Visual Studio 2005\Projects\optut\debug however, as I've seen other programs, they usually have just a simple .exe file. If it helps, here is the code: using namespace std; int main() { int length; // this declares a variable ...Show All
.NET Development Can't do a rollback after Update
I'm using the August CTP of 2005, and ran into the following situation. I have the following code snippet to update some tables in a SQL Server database. SqlTransaction trans = nDestination.BeginTransaction(); try { //Set the transaction for my data adapters SetTransaction(trans); daPDMSPatient.Update(dsDestination.PDMSPatient); daProtocol.Update(dsDestination.PDMSProtocol); daPatientProtocol.Update(dsDestination.PDMSPatient_Protocol); trans.Commit(); } catch (Exception ex) { trans.Rollback(); } Occasionally one of my Updates with throw (no problem). Unfortunately, I then get a ...Show All
Windows Forms Handling the Close Event
i'm using C# with the original vs .net, and i don't want the form to close when the user clicks the X in the top right corner. instead i want to handle the event and ask the user to save before closing, i know how to add a method as an event handler for the close event, but i don't know how to stop the form from closing is  ...Show All
Visual C++ error C2143: syntax error : missing ';' before 'PCH creation point'
I am attempting to port a simple c++ project to MS Visual Studio 6. All my C++ programs give me the error error C2143: syntax error : missing ';' before 'PCH creation point' These programs all compile fine in Borland C++. How can I fix this. john_j wrote: I am attempting to port a simple c++ project to MS Visual Studio 6. All my C++ programs give me the error error C2143: syntax error : missing ';' before 'PCH creation point' These programs all compile fine in Borland C++. How can I fix this. Code that compiles in Borland is not guaranteed to compile in Visual C++ (the revers ...Show All
Visual Studio Team System Microsoft Partner Program License Benefits FAQ
The Partner team has provided me with the following FAQ, which I'd like to share with all of you in the hopes that it answers many of your questions. Thanks, Ajay 12/8/05 - I've updated the FAQ with a new version that I received from the partner team. This information will be making its way to the partner Web site as well. Eligible partners are scheduled to have access to Team Edition for Software Developers on 12/16. In the meantime, the Team Suite 180-day trial is available for your evaluation. We apologize for the delay. Microsoft Partner Program License Benefits FAQ MicrosoftR Visual StudioR 2005 with MSDNR Subscrip ...Show All
Visual Basic Custom Variable
Is there anyway to create my own simple variable. I need to be able to store really large integers. The largest number that any .NET type can store is Decimal.MaxValue, or 79,228,162,514,264,337,593,543,950,335. If that's not big enough then you would have to create a type kept more than one numerical variable internally, like say one Int64 for the lower 64 bits and another Int64 for the upper 64 bits. You'd obviously have to provide the functionality yourself to perform arithmetic operations on instances of your type. ...Show All
Visual Studio Express Editions Linker problem with PSDK
Hi All, I am by no means an experienced programmer, but have taken interrest in C++. I have tried to create a program that should remote control two or more other applications. I am trying to use FindWindow() to get me the handles of the desired applications. At first I had some (trivial) problems with the LPCTSTR, since I am not that good with pointers. If someone can find it in their hearts to explain a little pointer practices for me, I would appreciate it. Well I managed to compile without getting any compiler errors, but now I get some linker errors that I do not know how to overcome. RemoteELS.obj: error LNK2028: unresolved toke ...Show All
Visual Studio 2008 (Pre-release) awkward syntax?
How awkward is the syntax for directly using a foreach statement directly over linq query results: foreach (var x in from e in db.Employees where e.City == "Melbourne" select new {e.FirstName,e.LastName}) { Console.WriteLine(x); } This syntax would be possible using explicit dot notation. Do you think it is better foreach (var x in db.Employees.Where(e => e.City == "Melbourne")) { Console.WriteLine(x); } ...Show All
Visual Studio How to? : (ReportViewer + asp.net + .rdlc + print button)
I s there a way to add a Print button to the ReportViewer control in an .aspx page when using .rdlc file Would the Print button displayed and enabled if I use remote reports(.rdl) instead of local ones(.rdlc) Response is very much appreciated. Thanks, S When i try to create a jpeg file, it gives me unhandled exception. Can you send me the code you are using for JPEG file conversion Thanks in advance. ...Show All
Visual Studio Tools for Office VSTO crash :)
VSTO crashes after i try the above code : this .sendThread = null ; this .sendThread = new Thread ( new ThreadStart ( this .SendThread)); this .sendThread.Start(); // in the SendThread function i try to ...... 1 add the range to the sheet rangeAddress = "=Sheet1!$A$1" rngName = RangeA1 activeSheet.Names.Add(rngName, rangeAddress, Type.Missing, Type.Missing, &nb ...Show All
