Philippe Cand's Q&A profile
Software Development for Windows Vista StateMachine invoke SequentialWorkflow
Hi together, I am using a state machine workflow which invokes another sequential workflow. The sequential workflow gets called but after the sequential workflow has finished, the parent workflow (which is a state machine) switches to the completion state. Example: Sequential Workflow ^ | State A ---> State B ----> State C ----> Completion State As you can see in the sample "State B" invokes "Sequential Workflow". And now when the sequential workflow gets finished, the parent state machine switches to the completion state instead of "State C". Any ideas what's wrong here Cheers, Franz you probably used InvokeWorkflowActivity which is ...Show All
Visual C# C# Sourcesafe Automation
I'm using the class located below to try and automate sourcesafe from within a C# application that I am developing. I call the .OpenDB method and this work's fine. Then I call the following: .GetItem("$/Pluto/", ref sLocalPath, (int)SourceSafeTypeLib.VSSFlags.VSSFLAG_RECURSYES); Which in my understanding should get the project called "Pluto" from Sourcesafe recursing through all the directories within that project and copy them to the supplied LocalPath What is happening is that any files that are directly in the project "Pluto" are being copied but the sub directories and items within them are not. Any ideas Thanks in advance... Neil P.S Here's the class: using System; namesp ...Show All
Microsoft ISV Community Center Forums Where di I find answers to macros
I am trying to find out how I can create macros. I am want to make them for all programs, desktop navigating, documents etc. Nothing specific. Please help! Oh yeah... why is it so hard to find info on the simple basic stuff Oh, and yeah, I am pretty computer smart but never had a need for macros...until lately! ARRRRGGGG!!!!!!!! Runningwolf wrote: I am trying to find out how I can create macros. I am want to make them for all programs, desktop navigating, documents etc. Nothing specific. Please help! Oh yeah... why is it so hard to find info on the simple basic stuff Oh, and yeah, I am pretty computer smart but never had a need for macros...until lately! ARRRRGGGG!!!!!!!! and I want it to ...Show All
Visual Studio Express Editions The keypress event
I have my program setup to hide itself when a button on the form is pressed, is there a line of code that would (me.show) itself when the "q" key is pressed. I have tried many things but nothing works. Average Joe you mean a keyboard button . Well its harder but i know 2 ways. 1)ASCII API ....no clue how to use it in vb.net..only did in vb6 2)You can try add a menu and add 1 item and in propertes window find the Shortcutkey and set it to w/e u want and it can work as a keyboard button press too.... hide the menu if you dont need it.. ...Show All
SQL Server Open a DSN connection in TSQL
I'm trying to update an SQL DB from data in Quickbooks. I am trying to find if I can open a dsn connection in a stored procedure, called from an ASP page, to the quickbooks db using odbc. The driver I have for odbc does not allow for linked servers. I'm very new to stored procedures and such so please bear with me. Thxs. Not easily would be my answer. You could write a CLR procedure, but if your new to stored procedures I would assume C#/VB.Net is also something new. You should be able to create a linked server Do you have an example connection string to connect to Quikck books ...Show All
.NET Development Is the zoom feature in IE7 accessible?
I know IE7 is still in beta and therefore is not yet supported but has anyone been playing with it yet I have an existing VS Express app written in VB that has a WebBrowser control embedded in a form. I would like to give my users that have installed IE7 the ability to use the zoom feature in this app. Has anyone tried this yet I've been searching and there isn't much info about using the new features of IE7 so if you can even direct me towards another site that might have useful info I would really appreciate it. Thanks in advance! This site is for discussion software development for Microsoft technologies. If you want to discuss IE7 you should use the IE7 communities at http://www.microsoft.com/window ...Show All
SQL Server Change date format
HI, I have noticed that SQL SERVER 2005 uses American date format but i want to change it to UK/European time format i.e. dd-mm-yyyy can any on tell me how to do it in sql server settings. And is it possible that I can change it only the during the course of my STORED PROCEDURE. I know it is quite and any one will answer that soon hoping quick reply regards, Anas That shouldn't be necessary once the database has been set to the correct language. But IIRC, you can set the language on a connection basis, but you should be able to locate this info in the SQLServer help file, I can't recall what the setting might be at the moment, probably SET LANGUAGE <language> ...Show All
Visual Studio Team System TF30059 TF53010 TF53002 TF30040 -- Previously working Dual Tier installation no longer working
We are have severe fatal errors with TFS when I got to work this morning, starting sometime last night. I am having no luck searching for answers to these error codes and am having a bummer of a time trying to troubleshoot. Any ideas These messages were occurring repeatedly all night long so much that it filled up more than 16 mb of event log and unfortunately, that’s a rolling 16mb, so I lost scope on when the first one occurred and if there were any other errors at the beginning of this trouble. Also below is the output from our two tiers where I ran msiinv.exe (in case that is useful). Any ideas --- Event Type: Error Event Source: TFS Services Event Category: None Event ID: 3014 ...Show All
Visual Studio ASP.Net 2005 Crystal reports 9.0 error - Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
I recently migrated perfectly working ASp.Net 1.1 application to ASp.Net 2.0 /Visual Studio 2005. I am getting this error in generating a crystal report Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)) Line 481: } Line 482: Line 483: ParameterFieldDefinition crFieldDef = crReportDocument.DataDefinition.ParameterFields[strName]; Line 484: ParameterValues crValues = crFieldDef.CurrentValues; Line 485: ParameterDiscreteValue crValue = new ParameterDiscreteValue();//(ParameterDiscreteValue)crFieldDef.CurrentValues[0]; Thanks in advance for any ideas. ...Show All
Audio and Video Development Problem in Monitor Control API's in Vista
I have ATI card on my VISTA system, I want to control the monitor parameters using Monitor configuration functions. As a result in my appilcation I have loaded the dll, like LoadLibrary ("dxva2.dll") I also get the proc address of following functions GetNumberOfPhysicalMonitorsFromHMONITOR = (tGetNumberOfPhysicalMonitorsFromHMONITOR) GetProcAddress (hModule, "GetNumberOfPhysicalMonitorsFromHMONITOR"); GetPhysicalMonitorsFromHMONITOR = (tGetPhysicalMonitorsFromHMONITOR) GetProcAddress(hModule, "GetPhysicalMonitorsFromHMONITOR"); GetCapabilitiesStringLength = (tGetCapabilitiesStringLength) GetProcAddress(hModule, "GetCapabilitiesStringLength"); When I try to use these function, follo ...Show All
Visual FoxPro Print Jobs Incomplete or Corrupt with Serial Printing
Hi to All! I'm using EPSON TMU-200 POS printer with only serial port available. OS = WinXP2. Print Jobs Incomplete or Corrupt if we print large chunk of data. Does anyone knows how to fix the problem Thanks in advance. Holden ...Show All
Visual Basic DataBinding Problem
I am using VB.Net 2003 and and Access dB I have 3 tables, Parts, Serial Numbers, Batch Numbers. on my form I have added 3 different DataAdapters 1 for each table. I created a Dataset to include the 3 different Adapters. I then edited Dataset.xsd and added two relation objects from the toolbox. 1 between the Parts table and the Serial Number table and 1 between the Parts table and the Batch Number table. My Parts table has, amongst others, two fields defined as Boolean, one to mark the record as serialized and the other to mark it as Batch Tracked. Now I have my form displaying the correct information from the dataset, BUT, When I add a Checkbox and bind it to one of the boolean fields, my program gives and erro ...Show All
Visual Studio Express Editions Text replace with File IO of binary/text data
Perhaps not the appropriate forum, but..... I have a need to replace text in a file with new text. The files may or may not be text files in the sense that there may not be "lines" and they may not contain printable characters. I tried the StreamReader and StreamWriter approach and the String.Replace method. It works well, except that not all the file contents gets preserved. Three bytes at the start of the file are omitted. These occur just before the CRLF characters. Can I read the file in a binary way and then use the equivalent to the String.Replace The input will no longer be a string Thanks for the clarification Dennis! As Dennis mentioned, the forums are more specific to VC Express issues and no ...Show All
SQL Server Help!!! launching report builder from url is adding .rdl to name when saving.
Hi, When I launch a report using the following url, and then make changes to the report and save it, Reportbuilder is creating another report with the same name but also including the .rdl within the name itself.. therfore I now have two reports now displayed within the report manager http://localhost/reportserver/reportbuilder/reportbuilder.application /Report1 Can someone please help... ...Show All
Windows Forms Export table data in Access Database
Hi, I need to export a table data in Access Database into a text file using C# interface by a press of a button. I need advise on which method is required to use for this Tks. Some missing directive or assembly reference error again. Is it because of the SQL private void btnAR_Click( object sender, System.EventArgs e) { //Pass the filepath and filename to the StreamWriter Constructor StreamWriter sw = new StreamWriter("C:\\JSM.txt"); string strDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("C:/M8099_Project/Database/Invoicing_Database.mdb"); string strSQL = "SELECT * FROM Lo ...Show All
