Reindeer's Q&A profile
Software Development for Windows Vista Webservice Workflow with Dynamic SetState Activity
I am writing a webservice workflow using Visual Studio 2005. I am trying to add in a Hold State in my workflow so that users can temporarily hold an approval process or something. I can use recursive composition to create an event so that the Hold State can be reached from any other state. The problem is --- how do I then return to the previous state before the Hold State I have tried to set the TargetStateName property within my workflow class (inherited from StateMachineWorkflowActivity) in a CodeActivity but I get a InvalidOperationException. It seems that I can't set the state within StateMachineWorkflowActivity while running. Thanks for any help. BTW if you are doing this inside of the wo ...Show All
Visual Studio 2008 (Pre-release) Maximize and Fullscreen difference?
Hey! I have set my windows windowstyle to None and then made my own titlebar etc. When i set the WindowState to "Maximized", it changes to Fullscreen-mode. The MS-Window-Start menu can not be seen anymore. I just want my window to be maximized, not fullscreened. What have i done wrong //Olle you can see the complete code here: http://blogs.msdn.com/llobo/archive/2006/08/01/684535.aspx ...Show All
Visual Studio Team System VSS Converter throwing error.
hi, i am trying to convert the VSS files to the TFS database using the VSSConverter tool. i am following the link http://msdn2.microsoft.com/en-us/library/ms181247.aspx for my proceedings. when i run theVSSConverter tool it gives the error message: "TF60032: The VSSConverter requires Visual SourceSafe 2005 or later to run. PLease install Visual SourceSafe 2005 or later and try again." This occurs even after i have installed VSS 2005. here is my settings file.. < xml version="1.0" encoding="utf-8" > <SourceControlConverter> <ConverterSpecificSetting> <Source name="VSS"> <VSSDatabase name="C:\Program Files\Microsoft Visual S ...Show All
Software Development for Windows Vista Rehydrating instances persisted in previous execution
Hello, My project is similar to expense reporting. Someone sends an order, it is stored into a list in memory, and then the workflow waits for an event (Reviewed). I've just added the default SQL persistence service and it works fine. I've subscrived to the idled, unloaded, persisted and loaded events and I see that once it receives the order and it starts waiting for the reviewed event, the instance is unloaded, and once the event arrives it is rehydrated and completed successfully. What I want to do now is: say I start the host, and I receive 2 orders. One is reviewed and accepted, so its removed from the persistence database. The other isnt, so its still kept inside the DB. Then the host closes. Later, the host is re-opened a ...Show All
Visual Studio Windows ReportViewer Page Navigation Problems
Hi, I am facing a strange problem while previewing the report in the Windows ReportViewer. I have a report of 2 page long (which fortunately is being generated perfectly). However, the problem is after the report is completely generated on the reportViewer, I click on the "Print Layout" button which generates the report based on how the report will be printed. Here, in this case, despite my report being of 2 pages, the next page arrow button is disabled. Also, the report shows the text as "Page 1 of 1" despite of the total page(s) being 2. After that, if I manually write "2" in that Page text box it navigates to the 2nd page and then all the Prev, Next buttons are enabled and activated. Can an ...Show All
Windows Forms how to make a splash?
I have a main_form which is MDI and I am using thios code in its Form_Shown: frmLogin LoginForm = new frmLogin (); LoginForm.ShowDialog(); in order to display a dialog form for login and I want to show a slash until the login form appears.. Or maybe he just wants to learn how to create a splash screen without doing a big application that actually needs it. For me, that is a good enough reason :) Not sure how to do it though. Can't you just: 1. Show the splash screen. 2. Load Everything. 3. Close the splash screen. ...in the LoginForm's constructor ...Show All
.NET Development C# query foxpro
I have wrote a program that query a foxpro table that is located on a server via odbc. The query takes forever to run. Is there a way to speed this process up all I all have is this basically System.Data.Odbc. OdbcConnection cdconn = new OdbcConnection (); System.Data.Odbc. OdbcCommand cdcommand = new OdbcCommand (); System.Data.Odbc. OdbcDataReader datareader; cdconn.ConnectionString = "Dsn=foxproconnection" ; ''''didn't know what else to use because need exclusive unchecked... cdconn.Open(); cdcommand .Connection = cdconn ; cdcommand .CommandText = "select customername, phone, zip from customerdetails" ; datareader= cdcommand ...Show All
SQL Server X12 with SSIS Anybody?
Does anyone have any examples where they've successfully parsed EDI X12 using SSIS ISA*00* *01*000000 *ZZ*00000 *ZZ*ZMIXED *051220*1040*U*00401*000075004*1*T*:~GS*HC*00000*ZMIXED*20051220*104033*75004*X*004010X098A1~ST*837*000000001~BHT*0019*00*075004*20051220*101233*CH~REF*87*004010X098DA1~NM1*41*2*FINAL SUPPORT*****46*00000~PER*IC*CONNIE GOSS*TE*8172820300*EM*V00979~NM1*40*2*TEXAS THIN*****46*ZMIXED~HL*1**20*1~NM1*85*2*MEDICAL CLINICS,PC*****24*451234564~N3*3790 W. FIRST ST~N4*RICHARDSON*TX*75248~REF*1G*Z46489~REF*0B*MDQ4512~HL*2*1*22*0~SBR*P*18*******MC~NM1*IL*1*MARSHALL*JACKIE****MI*354787451~N3*300 LAMESA COURT~N4*CARROLLTON*TX*75006~DMG*D8*19500812*F~NM1*PR*2*MEDICAID OF HAWAII*****PI*D86916~CLM*000133*160***11:: ...Show All
SQL Server How to add a line/separator between groups?
Hi, I have a simple report with multiple grouping. I like to add a separator between groups. Some data (Group #1) ================= <----- separator line or color row or something Some data (Group #2) ================= Thanks. You could use the footer of a group as the seperator between groups. If there is no footer for the group, you can set it in the properties of the group (rightclick the group and select properties) I think this is what you want! ...Show All
Windows Forms How Can I compare values in one column and all rows of listview ...
How Can I compare values in one column and all rows of listview to a textbox value you could iterate through each item of one column and see if they match with the textbox value. Example foreach(ListViewItem currentItem in this.ListView.Groups[ Key] .Items) { if (currentItem.Text.Equals(this.textbox1.Text)) { //they match } } is this what you are after ...Show All
Visual C++ Resource compiler truncates text in dialog template to 256 characters
Resource compiler (VS 2005) issues a warning if the text length in a static control exceeds 256 characters: "warning RC4206: title string too long; truncated at 256". AFAIK dialog template has no such a limit. Is this warning just a 16-bit legacy This was not an issue until now - we always were able to rephrase a text to fit it in 256 limit. Now we are localizing our product. After translating to German and French the length of the text in many controls became longer than 256 chars and resource compiler truncated it to 256. So we moved long strings to the string table and setup control text at runtime. The disadvantages are obvious: rather than just translate resources we must change source code and English ...Show All
Visual Studio Express Editions SerialPort 101 for a beginner
Hello, I have spent a lot of time trying to use the serial port command in the toolbox but i was unsucessful. I looked at the samples posted online but i always get errrors. Can anyone explains what are the steps needed to have a sucessful communication (read and write) from and to a serialport.If you can post the code it would be great...Please help Thank you StoreReceived should store whatever string value captured from the StoreReceived = SerialPort1.ReadExisting. Also do i need to open/close the connection or it's done when i use the readExisting command. Please explain Thanks ...Show All
Smart Device Development How to move around the different forms of the project?????
Hi everybody!!! I am developing a Pocket Pc program with Visual Basic. This program have many forms. From the first one I can go to the second one by clicking a button. I do that like this: NextForm.Visible= True Me .Visible= False I don't know if it's the correct way to do it, so sometimes it work and sometimes not. If I do: PreviusForm.Visible= True Me .Visible= False It doesn't work at all, the program dissapear and I have to reset the ppc because I cannot execute the program again. Also I can close the form by clicking the OK button but again I've to reset the ppc because some forms are still open but I cannot reach them... So..., I have no idea how I should do it, any help woud be gra ...Show All
Windows Forms combobox question!
dear all me a newbie to .net and so i assume you will forgive my ignorance. what I have is an array of dynamically created checkboxes mycheckbox[ i ] with some properties like mycheckbox[ i ].name, mycheckbox[ i ].id etc. This data like name etc for the checkboxes are read from a xml file. my question: when any checkbox is selected, I need to dynamically create a combobox in the form populated with options pertaining to that particular checkbox. I want to do this from another xml file... something like... <checkbox> <checkbox1> <option1>something</option1> <option2>something else< ...Show All
.NET Development Remoting and File Dirs
Hey Guys, This is the problem. I have a remoting server i made. It exposes a few standard calls - SaveObject, DeleteObject, GetObject...etc. Now, this remoting server connects to a database, specified in it's config file, and carries out those operations. The case is, my remoting client, when compiled with the DLL is giving another drama. When i run my client and i attempt to call SaveObject, the server is going to attempt to load it's config file (not a literal .config file, it's an XML file), to get the connection path to the database. When my client attempts to do this, it seems as if it is using it's local dll file directory to find the config file. That should not be the case, only the listening server should be loading the config f ...Show All
