rvaas's Q&A profile
Software Development for Windows Vista How to get the present Activity the workflowInstance is in
Assume I have a Seqential workflow defined A->B->C->D I processed the workflow till B and then closed the browser. When I reopen the browser my worklist shoud show this workflowInstance is to be processed from Activity C . how to get the info that C is the Active Activity I Can loop thru the activityEvents and get the Activity with Executing Status.Is there any otherway to avoid this looping use ActivityTrackingRecord find the activity status is executing. but in stateActivity it will error. ...Show All
Visual Studio Visual Interdev 6.0 check in problem
When I check out a file in Visual Interdev it does NOT show the "check" mark beside the file saying its checked out. When you try to check it back in you dont have the option to check in the file. For some reason it does not see its checked out. When I try to check it out again it says the file is checked out. I checked Visual Source Safe and the file is indeed checked out but I can't get it checked back in. I have uninstalled and reinstalled Visual Source Safe 6.0 and visual Interdev 6.0 and still can not figure out the problem. Does any one know of what might be causing this issue Another use on my team can do this with no problem so I'm assuming it has to do with my install. Thanks for any help you can give. ...Show All
SQL Server Profiler Error data column
I run Profiler against my production Db to keep an eye on poorly performing t-SQL batches and SPs. There's an "Error" column in the profiler output. According to BOL (topic: Describing Events by Using Data Columns), Error = The error number of a given event. Often this is the error number stored in sysmessages. The profiler output usually shows "0 - OK" in the error column. But it sometimes shows "1 - Error" or "2 - Abort" in this column. What do these error messages mean I've looked around but haven't been able to find anything more detailed about what these two messages mean and how I can perhaps dig deeper to figure out what's going on. (When these values are displayed, CPU is usually taking ...Show All
Windows Forms Apply animated gif with chat programe
Dear all I want to apply animated Gif with Chat programe. Do anyone knows how to apply Gif with Chat window for instance. i want to design chat window like exact (Yahoo / MSN) can anyone let me know how to do so Regards Balaji KJ ...Show All
Windows Forms Property value is not valid - PropertyGrid
Hi, I have got a propertygrid control. Now I want to replace the message box "Property value is not valid". Is this possible Any help would be great. Cheers, Franz Hi Everybody. I have an answer for you - something I figured out myself since nobody in the world wants to disclose a solution. All you need to do is make sure that all of your property values are Strings. That way, there's nothing you can enter in a default property value cell which won't be correct (as far as type is concerned). My solution will allow you to do range checking and type checking. Add a PropertyValueChangedEventHandler as show below and away you go. Sorry about the colours below but I'm sure you ...Show All
Visual Studio Team System BIG inconsistencies between MSF and MSF/VSTS!
I just downloaded Course 2631A Optimizing the Software Development Lifecycle with Microsoft Visual Studio Team System In it, it states that the functional specification is a deliverable of the ENVISION track. What ! MSF clearly states it is a deliverable of the PLAN track. What gives And this isn't the only inconsistency. I'm conflicted on what to teach my group. Thanks, Ron Cook I agree it should be consistent and I will look into fixing it. What might help for your team in the meantime is focusing on what needs to be delivered and not the deliverable itself. What needs to be delivered is a clear understanding of the solution -- clear for not just the project team but all of the stakeholders as well. It makes sens ...Show All
Visual Studio Tools for Office Outomating office from a standard Forms App
hi all, this is probably a very silly question but I have been stumped on it for a while. I am trying to develop a click once app that has some functionality to send an email via outlook. I have developed the app as a VB windows forms app and then added a new project of type Outlook Add in. copied created the code for send inf the email ie Public Sub testSendEmail() Dim outBoxfolder As Outlook.MAPIFolder = Me .GetNamespace( "MAPI" ).GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderOutbox) Dim mailItem As Outlook.MailItem = outBoxfolder.Items.Add(Outlook.OlItemType.olMailItem) mailItem.Subject = "Coding4Fun Sample" mailItem.Body = "This email was created u ...Show All
Smart Device Development Access command prompt in the emulator
Can any way we can go to the command prompt in the emulator. I want's to start one service using services.exe on the command prompt Sorry sorry. You need to make a call to ActivateService to load a service into services.exe. You can't load the process directly by calling the above code. Try looking here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcecomm5/html/wce50lrfactivateservice.asp Looks like this is a C++ call so you will have to use DLLImport to use it. You should also note that WM 5.0 Smartphones have heavy restrictions regarding services.exe. You will probably need a priveledged certificate unless you are running on an open device. You can get priviledged certificates by entering the Mobile ...Show All
Windows Forms Need to get the .MainWindowHandle
I am trying to get the mainWindowHandle and store it for later; however, i can not seem to get the handle back from the new process. Before someone suggest , i will let you know that i have also tried the p.WaitForInputIdle(); however, this not only does not work it will throw and error.. private IntPtr mainHandle = IntPtr .Zero; private void button1_Click( object sender, EventArgs e) { Process p = new Process (); ProcessStartInfo ps = new ProcessStartInfo (); ps.FileName = "explorer.exe" ; ps.Arguments = "" ; p.StartInfo = ps; p.Start(); mainHandle = p.MainWindowHandle; } Can someone tell me how to get the mainWindowHandle Erik This is working perfectly.. ...Show All
Visual Studio Express Editions How to delete selected row in datagridview?
Hi, how do I permanently delete selected row in datagridview as well as permanently deleting it in my .mdb file . Thought of using oledbcommand or something but I am still a beginner in C# so not familiar with Oledb. Thanks. Could you please explain what the following lines does WHERE CustomerID = @CustomerID ("@p1", OleDbType. typeHere , LengthHere , " field1 "); theParameter.SourceVersion = DataRowVersion .Original; Thanks. ...Show All
Visual Studio 2008 (Pre-release) How to set up WCF Service on IIS
I have written a WCF Service. It works well, and is a CLR .exe file I want to use this service on IIS. How do I do that Also, I dont see a configuration file on WCF, would that be the .application file Thanks I went to the site listed above. I am confused on the second step: Create a new folder for your application files, insure that ASP.NET has access to the contents of the folder, and use the IIS management tool to create a new IIS application that is physically located in this application directory. - I assume that the new folder is under /inetpub/wwroot Is that correct - How do I insure the ASP.NET has access to the contents of this folder - How do I use the IIS management tool to create a n ...Show All
SQL Server trying to get started
Hi folks... this is part complaint, part request for help. I have an Access db that I'd rather were an sql db. Partly to learn sql and partly because all of the asp.net examples use sql and don't seem to work with access. I installed VS2005 which includes sqlexpress, but there's no front end to it.. there's no way to "talk to" this sql2005. Can't seem to create tables, etc. So, I installed SQL 2005 Development server... still no front end. Just some config tools that I presume I may care about some day but don't mean anything to me just yet. I'm on XP Pro so can't install SQL 2005 Enterprise, but I discover a CTP called Management Studio Express. Well, we all know how robust CTPs are, nevertheless I install it and boy is ...Show All
Smart Device Development Asynchrous CallBack problem
Hello Guys, I am developing a networking application for pocket PCs using Asynchronous CallBack. The Problem is that as soon as i call the BeginReceive Method, the Associated CallBack method immediatly invoked for infinit times, and the received buffer is zero lenght. It will always arrive in portions - that the way TCP/IP works. Your data block is in fact split across many smaller packets. You should collect that data as it comes and store it in your own buffer. Or, consider switching from sockets to TcpClient class and simply pass network stream to deserializer. MSDN has sample on how to obtain the stream. ...Show All
Windows Forms How to add ContextMenuStrip to menu item?
Hi! How can I add a ContextMenuStrip to a menu item Matt hmm, I made a new project and tested it..it works for me... Where did you put it, after or before the contextmenustrip show If you put it before that, then put it after it. Hope this helps :) ...Show All
Visual C++ need a help regarding dwmapi.dll and DwmExtendFrameIntoClientArea function
Dear All, My compiled code asking dwmapi.dll, which is nowhere to find on my windows XP box. using dependency walker, it reports that the "c:\windows\system32\urlmon.dll" is looking for this dll, and the function name is DwmExtendFrameIntoClientArea. I searched internet, and some people say that the IE7 is making this problem. and I am kind of agree, and I have it on my machine. So I need this dll badly, or somebody can give me a way to un-install IE7 quickly Thanks a lot. rcen Thats fine for yourself. The problem is this is propogating everywhere with Microsoft updates and needs to be corrected by Microsoft. I am not going to start delivering fake dlls to all of our company PCs by hand. Th ...Show All
