bbossi's Q&A profile
Software Development for Windows Vista How to handle instance state of old version workflow?
Hi, every one. We are trying to use state workflow to handle our sales order process. We create a new instance of the workflow for each new order as the new order is created. As order is approved/shipping/closed, workflow instance handle it’s state. This works perfect. But when user changes the workflow definition, the old instance cannot load! Firstly we consider about keeping all version of workflow class in one assembly But this will lead the workflow definition assembly growing large forever. Because usually a sales order need several month to be processed and user need change the workflow frequently. So there will be a lots of old version instance stay in our database. ...Show All
SQL Server Can I install both Management Studio and Management Studio Express on same machine?
I want to install the following on my machine: MSDE 2000 Release A SQL Server 2000 SP4 SQL Server 2005 Developer Edition with SP1 SQL Server 2000 Express with SP1 Management Studio Management Studio Express The only one that I'm concerning is whether Management Studio and Management Studio Express can coexist in one machine. Thanks for any help, Peter ...Show All
Windows Forms Deploy application made in Visual Basic Express
How i can make a installator for the applications mades in visual basic express VB Express only includes ClickOnce installation. If you wish to use Windows Installer, you'll need to get a 3rd party installation tool or Windows Installer Setup projects are available in the Std, Pro, and Visual Studio Team System editions. ...Show All
Visual Studio 2008 (Pre-release) Help me design my .Net 3.0 application?
Hi All. I've been studying C#/.Net 3.0 programming ever moment that I'm not shacked to my real job. I can say that for a guy of average intelligence who has been working in his sleep, Avalon allows me to do some amazing things and pretty quickly too. Where I'm having trouble is my high level plan. I thought If I laid it out here someone might be kind enough to give my a push in the right direction. The program description: It is a e-Book of interactive puzzles. Each puzzle has a graphical representation of some physical reality and controls that allow you to manipulate that reality. ( Start engine # 1, run engine #1 at 300 RPM, etc.) The Quester is then given a brief written introduction followed by a serious of t ...Show All
Software Development for Windows Vista Defining workflow variables in XOML
I am currently evaluating WF for use in a custom sequencing application. One of the most attractive parts of this technology is XOML. The ability to define sequences as data, including conditionals, is very valuable. However... I think I'm finding a serious problem with XOML: it lacks the ability to define a workflow variable. I'm a noob, so please correct me if I'm wrong. Conditional activities ( ifelse, while, etc) run off rules, which can be defined in data space. Rules, however, can only reference variables that are compiled members of the workflow or activities. In other words, anyone using workflow conditionals will have to know how to write and compile code - a requirement that I probably won't be able to sell to my customers. So, h ...Show All
SQL Server WHERE clause
Hello. I have a database that a client set up that's kind of a mess, but I need to pull records from it. Is it possible to use a WHERE clause with an array The SQL I am getting is really messy, kind of like SELECT Title FROM Master WHERE Cat1 = leg OR comm OR err OR and so on... OR Cat2 = leg OR comm OR err OR and so on... there are multiple categories for each record in the table, with subcategories under main categories. But he only has one record in the table with all of these categories specified. Any help is much appreciated. MarcD wrote: select columns from table where col1 in (comma, delimited, set) or col2 in (another, comma, delimited, set) Hope this helps. bill and cl ...Show All
Visual Studio A question about reference paths.
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=741833&SiteID=1 has the similar question. My scenario is: Solution.sln has two projects project1.csproj and project2.csproj. Project1.csproj referenced ....\bin\ debug \project2.dll in visual studio by default. Now I use MSbuld to build project1 from solution.sln in release mode. A new version of project2.dll was built in ....\bin\ release \project2.dll. However, project1 still referenced the ....\bin\ debug \project2.dll based on csproj settings. We surely would like project1 to reference ....\bin\ release \project2.dll automatically. So here are some workarounds: 1. Setup the project the way that debug and release modes share the same output folder. 2. Setup the proje ...Show All
SQL Server Replication performance degrade in unidirectional Direction and lock time out (Update are high than inserts)
We recently implemented merge replication.We were expereincing. The replication is between 2 SQL Servers (2005) over same network box, and since we have introduced the replication, the performance has degraded considerably on subscriber end. 1) One thing that should be mention is that its a "unidirectional Direction" flow of changes is from publisher towards subscriber (only one publisher and distributor as well and one subscriber ). 2) Updates are high than inserts and only one article let say "Article1" ave update up to 2000 per day and i am experiecing that dbo.MSmerge_upd_sp_Article1_GUID taking more cpu time.what should be do.. on subscriber database response time ...Show All
.NET Development multiple stored procedures using SQLCommand
Hi guyz, I wanted to call multiple stored procedures using SQL Command. How will I do it I'm actually thinking of creating two instance of SQLCommand but I'm thinking there might be a better way to do it. I'm looking around the internet but there's no sample. Can someone give me an advice with this Basically, the two stored procedures are related with each other and I want to lock it with SQLTransactions commit or rollback but I don't have any idea on how I will implement it. code: SqlCommand cmd 1 = new SqlCommand( "sp_InsertSample", conn); cmd1.CommandType = CommandType.StoredProcedure; cmd1.Parameters.Add( new SqlParamete ...Show All
Visual FoxPro Join
Hi gurus I hope this is an easy one, what is the max join statement that you can use in one giving time Thanks guys ...Show All
Visual Basic Ideas for a Program to Write?
Hi, Has anyone got any ideas of a VB Program that would be fairly easy for me to write. I'm new to programming and I want to get into it with an easy program instead of getting board on a hard one. Thanks i suppose the best place to start, to understand the language and get a general feel, is with some file IO problem. so possibly start writing a program that outputs to a file (either a direct path or a UNC address [F:\, \\servername\share]). once you are comfortable with that then move on to possibly reading from a Database and outputing that to a file. see what you can find to do with that, generally IO is a good place to start so you can get a feel for the environment. ...Show All
SQL Server Quest for advanced queries
I am pretty good at T-SQL as a .NET Application Developer, but now I need to take my skills of writing queries to the next level: the level required for Database Developers. I am sick and tired of writing simple inner join' s with a couple of where 's. I have a few books ("SQL Server 2000 Bible" and "The Guru's Guide to Transact-SQL"), and Books Online are always available, so I have no problems with finding the answers. The problem is not with looking for answers, but with finding questions... Could someone please recommend me some source of good SQL-related questions, which would require writing complex queries (not just a few inner joins) A book (perhaps, some university's textbook with lots of advanced exer ...Show All
Visual Studio Express Editions Restricting size of new window
Hello, I am adding a small catalogue to my website (no online purchasing). When an image is clicked, I want to launch a new window with a larger copy of the same image displayed. I assume the simpliest way to do this would be to set a hyperlink on the original image to launch the next page, where I have the larger image stored. My question is, how can I restrict the size of the new window, so it opens at, say, a third of the main window. Many thanks Karen Finally got around to trying this and it appears I failed to mention a rather important fact - I'm using ASP.NET v2. Does anyone have the code for v2 Many thanks Karen ...Show All
Smart Device Development TextBox, KeyDown and Enter
Hi all, I have written a tiny application with a TextBox on a form, where the TextBox has a KeyDown event handler like this: private void textBox1_KeyDown( object sender, KeyEventArgs e) { if (e.KeyCode == Keys .Enter) { e.Handled = true ; MessageBox .Show( "You pressed Enter!" ); } else if (e.KeyCode == Keys .Escape) { e.Handled = true ; MessageBox .Show( "You pressed Esc!" ); } } When I run this program on a Windows Mobile 2003 device (a Psion Workabout Pro), it works just fine. However, when I run the same program on a Windows Mobile 5.0 device (an Intermec CK61) the Enter key doesn't work. Esc pops up the message, but Enter just beeps and nothing happ ...Show All
Visual Basic BackgroundWorker not using enough resources...
Hello -- I have a BackgroundWorker that I use in a file comparison program. The whole app runs as a long process, so I need to use multi-threading (i.e.: BackgroundWorker), so that I actually have GUI response. My problem( ) is this : while my app is running, CPU usage is VERY low, usually <10% if nothing else is running on the PC. My question is : is there a way to control how much of the resources we use As the CPU usage for my app is very low as currently written, I believe the long-ish execution time could be vastly improved if the background thread was allowed to use more of the CPU time. However, I don't know how to do this, and have found no solutions here. If I go back to the old way ...Show All
