Dipsy156323's Q&A profile
Software Development for Windows Vista Ifelse activity in workflow
How can I set the condition for the ifelse activity . how do I invoke the branching based on the condition. There are a couple of ways to set the condition for an IfElse branch. Scenario 1: Rule Condition 1. In the Workflow designer set the ifElseBranchX Condition to System.Workflow.Activities.Rules.RuleConditionReference. 2. Expand the Condition property and set the name of the RuleCondition 3. Click the "..." button on the rule condition to edit the Expression property 4. In the Expression Designer Click Add and select Predicate 5. Enter your Expression Scenario 2: Code Condit ...Show All
Visual Studio VSS 6 restore
Greetings all, I am new to VSS and am not sure how to restore a vss archive file. I have archived the vss file and moved it to another PC...I installed the same version of SourceSafe as the original PC, but can't seem to figure out how to restore the project. Suggestions would sure be appreciated. Thank you. Randude VSS n00b Are you using Source Control plug-in other then Source Safe To switch back to Source Safe try registering ssscc.dll from you SourceSafe install folder regsvr32.exe "C:\Program Files\Microsoft Visual SourceSafe\ssscc.DLL" It seems that your source control plug-in is in the disconnected state. To g ...Show All
Visual Studio Express Editions ListView sorting question
Hi I have a ListView control called HSlist on a form which has 3 columns. The adding data seems to work OK, but the sorting is weird to say the least. Initially, I thought that the list would be sorted on the contents in the first column, so I added to the ListView with the Item containing the data that I wanted the list to be sorted on (numerical). Then I found that the list was being sorted on the second column (strings), so I swapped the adding routine so that the numerical data was now in the second column - the list now was being sorted on the first column (strings). What I want, is either to be able to dictate which column the ...Show All
Visual Studio Team System Problem with MSSCCI using VB6
Hi I am trying to use the "Add Project to Team Foundation" menu item from vb6. When i try to add the project, i get the error "Some files have not been named yet. Save your files manually to choose their names before proceeding with the Team Foundation operation." All of the files in the project have been saved and given (non default) names. Any ideas Thanks, rob Hello, could you provide repro steps to get his error Are you using the current version of the TFS Msscci Provider (1.0) Is there only one VB6 running in this time Thanks ...Show All
Visual Studio 2008 (Pre-release) DLINQ + Intellisense
Hi, I have installed the DLINQ May CTP but I can't see Intellisense support, I'm running VS 2005 Team Suite. Thanks We have limited IntelliSense support in the May CTP which is installed by default. I am assuming that you did not turn it off during or after installation. Are you using VB or C# Do you see coloring of keywords in query expressions Thanks. Dinesh ...Show All
Windows Forms HOw to enable scroll bars in a windows form
Hi, I have a windows form(1.1 version) and I need to know how to enable scroll bars as some times the form won't fit the screen. Please advice me. Many thanks, -VJ Hi, you should have a property named AutoScroll in your form, set it to true: form.AutoScroll = true; ...Show All
Visual Basic VB. Net Form does not refresh
Hi, I have created a simple VB.NET application with one form and a few modules. When a user clicks on a run button of the form the application starts and goes through differet cycle, while updating the user on status bar, runs for less than four hours. The application works fine, it gives desired result. However, it is not able to refresh the user form, meaning status bar remains same after some time (it suppose to increment). Even when I take mouse on the form it shows timer symbole instead of default one. My application commands another device using GPIB. Basically, PC running my application commands the device. If I look the disp ...Show All
Smart Device Development Connecting to AS400 database in Smart Device Application
Hi, I'm developing a smart device application and want to connect to AS400 database. Is there anyway to do so Thank you, Niki If you mean DB2 database running on AS/400, I don't believe there's ADO.Net provider for NETCF. You can go through Web Service wrapper if needed as a workaround. Something like this might be an option as well: http://www-128.ibm.com/developerworks/edu/dm-dw-dm-0411leung-i.html S_TACT=104AHW11&S_CMP=LIB ...Show All
Visual C++ Static const C++/CLI class members
Static const C++/CLI class members can be changed from C# client: public ref class Server { public: static const int someValue = 25; }; C# client code: Server.someValue = 50; // successfully compiled How can I prevent this >> Good example, Nish. I wrote one last night, but it didn't illustrate what I had wanted it to. I ran it again, and it actually did. Tracking references is one of those things I haven't needed yet (which should answer the poster's question: which one should I use.) << Thanks Brian, but I presume you are talking about the other thread, the trackin ...Show All
Visual Studio Team System Printing out the Rules
Hi, I was wondering if there is an easy wasy to obtain a hard copy of the standard rules set. Information like Name, Description, etc. TIA There's no easy way, currently. This information is in the FxCop help file, of course. I think we should probably post this information on the www.gotdotnet.com web site or possibly upload it here. I'll put it on the to do list. ...Show All
Visual C# How does SP2 detect anti-virus software?
I would like to know SP2 detects and stores this information. I would like retrieve this information if possible. Thanks for the information. Hi, I'm also developing a program which checks the security status of the system before continueing running. I would like to find a list of exe files as well as spyware exe files. Are you aware of were they can be obtained‥. Regards Daniel ...Show All
Visual Studio Express Editions Visual studio c# 2005 Express release edition does not support "field encapsulation" refactoring ?
Hi, Only rename and extract are available. However, code snippet manager display all the refactorings. I would really appreciate if the field encapsulation was available in the Express Edition. Is it a feature or a bug Thanks, Xavier. That is correct, the Encapsulate Field refactoring is not available in C# Express. See the description of roughly what features are and are not in the Express Editions at http://blogs.msdn.com/lukeh/archive/2004/07/01/171213.aspx . Thanks, Luke Hoban Visual C# IDE Program Manager ...Show All
Visual C++ VC2005 %50 Slower then VC2003
I just migrated a graphics application from VC2003 to VC2005. After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations. It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch:SSE2 /c /EHa /FD /GF /GL /Gs8192 /Gy /MT /nologo /O2 /Ob2 /Og /Oi /Ot /Ow /Oy /TP /W3 /WX /Zi (vc2005)/arch:SSE2 /c /EHa /FD /G7 /GF /GL /GS- /Gs8192 /Gy /MT /nologo /O2 /Ob2 /Og /Oi /Ot /Oy /TP ...Show All
Windows Forms Can we insert a shortcut to a web project
When we create a setup project for WinForm application, we can create a shortcut to the primary output. But now I create a web setup project, I want to create a shortcut to the default.aspx on desktop, but I can't find the way to create shortcut to the prmiary output or to the default.aspx. How can I do The default.aspx file should be in the "Content" project output group. I think you can just right-click on the project output group object and add a shortcut that way... ...Show All
Visual Basic Console Applications and Event Handling?
I am porting an existing VB .NET application into a console (no-gui) application so that it may be run without any user input other than command line parameters. In doing so I do not seem to get any Event handling mechanism. Is this framework only provided by the Form library For example, I am using a MSComm control for serial port access and I want to handle the OnComm event. When running my console application I do not see any events... Any help would be much appreciated. Thanks in advance. Jay 2003 VB .NET Standard I need to use the following for event handling in console applicaiton main thread: System. ...Show All
