mirabel25's Q&A profile
Software Development for Windows Vista How to add arrows(flow) between States
How do I add the arrows that show the flow in a State Machine Workflow I have different State's and I need to show what State will be triggered when a condition in one State is satisfied. Hi, Once the state machine workflow starts, you are in the initial state ( which you can set using the InitialStateName property on the workflow). You need to drop an eventdriven into the state. This is a composite activity which holds activities that will be executed when an event is recieved. The first activity inside the event driven has to either be a HandleExternal event (where you specify which event you are wait ...Show All
.NET Development the performance of DataTable.Merge() in ADO.NET 2.0
Dear Sirs, I have see ideas at http://msdn.microsoft.com/msdnmag/issues/05/11/DataPoints/default.aspx and I have a question about the performance of DataTable.Merge(). It seems in ADO.NET 2.0 this method executes with increasing time when DataTable has more data rows, while merging about 10 rows each time. The table I used as follow, DataSet ds=new DataSet(); DataRow dr; ds.Tables.Add("BigTable"); ds.Tables[0].Columns.Add("ID", Typ ...Show All
Software Development for Windows Vista load Vista 5308 on Mac Dual Core machine
Has anyone got any sucess loading the latest Vista 5308 on a new Intel based Mac I've read that there was problems with GTP support with the older releases. My new MacBook Pro is coming on Tuesday and I would love to dual boot for development reasons. Thanks, biozal ...Show All
Visual Basic CallByName Set does not work
Hi, I need to set the property of an object by using that property's name (string). This way it'd be possible to set some properties dynamically at runtime (ex: the property name would be input in a textbox on form). I receive an error when trying to use "CallByName" in order to achieve that goal. I've tried it with many objects from different libraries and they all do the same thing (Error: "Member not found"). Any ideas Here's an example using a KeyHole (google earth) object.: Dim kh As New KEYHOLELib.KHInterface 'Reference: Keyhole 1.0 Type Library (Installed if Google earth is installed) MsgBox(CallByName(k ...Show All
.NET Development Opening an MS Access Database In Exclusive Mode Using ADO.Net
Hello All, I am having a bit of a problem here and I am hoping that someone can shed some light on how to solve it. In both DAO and ADO you have the ability to open an Access database in Exclusive Mode. I cannot seem to find a connection string parameter that allows you to achieve this in ADO.Net. Does this functionality exist in ADO.Net If so, what is the correct syntax for this portion of the connection string Any help you can offer would be greatly appreciated. Thanks In Advance, V. Shane Curtis You can use "Exclusive=1" in an Odbc connection string to open it exclusively, if that hel ...Show All
Visual C++ OpenMP
Greetings: I am trying to use the new beta compiler: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50215.44 for 80x86 to uses OpenMP. While the compiler accepts the flag, I seem to be missing the include files and libraries. Has ANYBODY gotten this to work. Regards Carl Which version of Visual Studio are you using OpenMP is only supported in Pro and Team System (VSTS), not in Standard or Express. Thanks, Kang Su Gatlin Visual C++ Program Manager ...Show All
SQL Server Setting Permissions using Management Studio
We're beginning to use Management Studio with some of our SQL Server 2000 databases and are having difficulty viewing and assigning permissions on objects to roles &/or users. Even though permissions currently exist they do not appear in the "securables" tab on the properties page. In order to view the various permissions you must first manually select all of the objects and they will then appear. Is there some way to get Management Studio to automatically display the objects that currently have permissions setup for the particular role or user Basically, I'm looking for the same functionality as the permissions button gave fr ...Show All
Visual Studio 2008 (Pre-release) IIS hosting does not work
Hi I have done everything written in the book to get IIS hosting. my svc file does not work. I tryed to put a dll in a bin directory I tryed to put the code inline My web.config is a copy from the book. Nothing. All I get is " The page cannot be displayed" error message. I tryed to register again using: xws_reg –i but "xws" is not recognized Was there a change in beta2 that I do not know of what can I do manu Hi Manu, xws_reg is now called servicemodelreg. You need to make sure of three things for IIS hosting to work: 1) IIS is installed 2) AS ...Show All
SQL Server Moving Replicated Databases to a replacement SQL Server
Any advice that can be offered on this subject would be much appreciated. We are debating whether to backup/restore the replicated databases or simply copy the mdf and ldf files accross and Attach them. The question is whether the replication information is retained for the publshed objects when the files are copied across Alernatively, must we use backup/restore with KEEP_REPLICATION set for the restore We also plan to back up and restore the distribution, publication, master, msdb etc databases as well as rename the SQL Server to have the same name as the original. Do these things need to happen in any particular order Does the ...Show All
Windows Forms HasChanges and databinding across forms
I have an application where I display master-detail records on a main form. The detail records are contained in two datagrids on a tab page control. The company details are entered via a user control placed directly on the form. Each time I change the selection on a list box (also on the main form) the application retrieves a new dataset to populate the main form (company details) and datagrids (contacts and activities). Each time i select another company, HasChanges() is used to see if company details are modified or new contacts/activities are added. If so, the user is prompted to save before leaving. This all works beautif ...Show All
Visual Studio help..!!Error when install VS 2005
During installation, it was showing an error message which is telling "Suite Integration Toolkit Executable has encountered a problem and needs to close. We are sorry for the inconvenience." I cannot continue to setup this VS2005..Anyone who can help me Thank 1. Clean out your %temp% folder 2. Try the install again 3. If it still fails, try copying the CD/DVD to your hard drive and install from there. ...Show All
Software Development for Windows Vista Deployment problem
Hi all, I create an application using combination of direct show and windows media format video images v2. My application run well in windows xp. But i can't run the program in windows 2000 server. I can't install windows media format redistribution kit on windows 2000 server. anyone can help or any tricky idea to solve the problem Hi, Great thanks for all help LGS (or what ever ur name). And thanks again. ...Show All
Visual C# How to Play a video (eg: .mwv) file on Pocket PC ?
Hi, I would like to play video files on the Pocket PC. How to do this Any ideas/code snippets plz Thanks, ramakrishna. Ok. I don't know much about Pocket PCs but I do know how to make a custom media/video player. Just place the following code as class file. You can just copy and paste it in a new file called MCI.cs : using System; using System.Runtime.InteropServices; using System.Text; using System.IO; namespace MCI { public delegate void PositionEventHandler ( object sender, PositionChangedEventArgs e); public class Media { private System.Windows.Forms. T ...Show All
Visual Studio HiearchyNodes auto-expanding on load of custom project
Hello, We have a custom project that we load up into the Visual Studio Solution explorer. On some of our development machines, when we open up an existing project (our custom one) it makes some of the HiearchyNodes (folders,files) that have children auto expand to show all the items. On other development machines, it remembers which folders were open. Other projects like C# ones don't have this same auto expanded problem on the affected machines. Our first thought was that any time you do an AddChild to a HiearchyNode it would expand the item, but on some of our custom HiearchyNodes this doesn't happen. Any input or help from som ...Show All
Windows Forms Launching application after install
I'm would like to know how can i launching the application that i'm installing ... I would like that just after the user exits the setup program, both windows services and they manager application (they are both part of the setup program) starts automatically !! Do i have to do a custom action a make a install class or there is a simple way I will appreciate any help or link to an article! Thanks a lot! Clickonce is ideal for Xcopy type diployments which are globally non impactful. You shoudl be able to find comparisions of MSI and CLkickonce technology in articles up on MSDN. For you particular question above since ...Show All
