ErmyasF's Q&A profile
Software Development for Windows Vista Questions on MSDN WF rules engine article
Hello, I enjoyed the article titled Introduction to the Windows Workflow Foundation Engine. Most of the article was clear, but I did have a number of questions that I'd like to get some clarifications on. 1. Under the section "Rules Evaluation" there is an example ruleset and some explanation that describes how the evaluation should proceed. The fourth bullet point makes this statement: Since Rule4 uses the value of A in its conditions, it is reevaluated. It evaluates to true and its action is executing, setting B=5 ; Rule3 and Rule2 are not reevaluated since their conditions do not rely on the value of A ...Show All
SQL Server Problem to install SQL Server 2005 CTP June edition...
Hi When I tried to install, I kept getting the following problem with System Configuration Check: A previous installation required a reboot of the machine for changes to take effect. To proceed, restart your computer and then run SQL Server Setup again. I've rebooted many times (with AntiVirus turned off) and yet the above problem remains. Anyone has a solution to the above problem Thanks. Rgds OngCF ACtually worked it out and if anyone comes across this then: 1. Hit Start > Run type SQLServerManager.msc or if you have the shortcut on your start menu feel free to use that. 2. Expand SQL Native Client Conf ...Show All
Smart Device Development Interoperability
Is there any other way to add COM and ActiveX Support in .NET Compact Framework other than Using Odyssey Software CFCOM Is there any other way to play Macromedia Flash content in the Pocket PC other than using a WebBrowser Ctrl to play the swf file Thanks in advance noon NETCF 2.0 supports COM Interop. See some Interop questions answered on this blog http://blogs.msdn.com/stevenpr/archive/2004/08/05/209390.aspx Is your question specific to NETCF 1.0 Also see an example here for playing Macromedia Flash from a pocket PC. http://blog.opennetcf.org/ayakhnin/PermaLink.aspx guid=dac61ddb-0 ...Show All
Windows Forms IssueVision: Server Web Deployment Issue
Hi all....I have a problem hopefully someone can point me in the right direction. Background first: 1. I've installed IssueVision locally on my pc and everything works perfectly. 2. I've installed IssueVision on a network server (Win 2k3, II6) and everything works perfectly. 3. I've pointed my local IssueVision project setup files ("http://xxxxxxx/IssueVisionWeb/IssueVisionServices.asmx, ect) to this server and everything works fine. So, I begin more to start modifying... 4. I completely rebuild the entire IssueVision app to a new name; let's call it ProjectX. I did this to simulate an entire new smart app bui ...Show All
Windows Forms XP visual style compatible Tab Control
I've seen a dozen, often complicated, solutions to this problem, but I really hope the Tab Control will be able to display using XP Visual Styles in the next VS.NET release It's pretty annoying to have a great-looking interface everywhere but in the Preferences dialog.. :-) Have you ever tried enabling the XP Visual Style suport in your app That should render the Tab Control in XP style. ...Show All
Visual C++ AMD 64 Optron and Manifest
When I add manifest to my application it does not work on AMD Optron 64 Biit platform. But the same application when built without Manifest works fine. I am a little puzzled wether Manifest has any special mechanism of deployment on AMD optron 64 bit machine. In the application manifest, there is an element named <assemblyIdentity> which has a processorArchitecture attribute. <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="CompanyName.ProductName.YourApplication" type="win32" /> Maybe you can try to replace the processorArchit ...Show All
Visual Studio VS2005 Registration Benefits - not allowed access to Registration Benefit Portal
I just registered my copy of VS2005 Standard Edition that I received at the VS2005 Launch. One of the benefits of registering is free icons, components, etc. When I try to go to the Registration Benefit Portal to download them I get a page stating that the page is missing or I lack authorization. Is there a trick to this -Chris I encountered this same problem yesterday when I registered my copy of Microsoft Visual Studio 2005 Team Suite. However, when I returned today to the Visual Studio 2005 Registration Benefits Portal (accessed by clicking the "Registration Benefit Portal" link in my "Thank you for registering ...Show All
Visual Basic Unicode question
After I have compiled my application are there ANY possible ways that UNICODE can affect the running of the application in any way at all For example (run on these systems characters typed and entered into fields will they be 4 byte characters ) If there is any possibility of any problems at all then how do I know when this is happening and how do I resolve the problems Michael J. Dyrnaes I keep asking you ... HOW do I know when I need to look for that "An example of the answer that I would have perhaps expected would have been that need to string comparison on every single data field every single time I have a use ...Show All
Windows Forms dir/file listing in a ComboBox/ListView
How do you fill a ComboBox/ListView with the Directory and File info for the computer the ap is run on I've seen it so many apps that it must be fairly easy to do. I own a copy of Salamander and use it to obfuscate a couple of products I own (the obfuscator) You can go to their web site and convert a dll int ...Show All
Visual Studio Express Editions Help with SaveFileDialog???
Hi Ladies and Gents, Please can you help with the below The SaveFileDialog is appending to my text files and I can't find a way to get it to overwrite whatever existing text is in the save file. Please can someone advise me Private Sub SaveToolStripMenuItem_Click_1( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripMenuItem.Click Dim Save As New SaveFileDialog() Dim myStreamWriter As System.IO.StreamWriter Save.Filter = "Plain Text Files (*.txt)|*.txt|All files (*.*)|*.*" Save.CheckPathExists = True Save.Title = "Save" Save.ShowDialog( Me ) Try myStreamWriter = Syst ...Show All
SQL Server SQL Server Project - Failed to connect to databse...
Hi! I installed SQL Server on my server today and im new to it. I configured it and now im trying to make a SQL Server Project with my other computer... Then the program asks for some account information to logon to a database on the server. Then i fill it out and i get this error: Login failed for user "anaxyd". The user is not associated with a trusted SQL Server connection. Do i need to join the domain that the server is in Or is it something with my account at the server I have created a account at the server management studio in my server: MAINSERVER\Security\logins\anaxyd. Whats wrong You can look at the CREATE LOGIN and CREATE U ...Show All
Visual Studio Express Editions Visual c# express forms editor not running
I have installed and uninstalled visual c# express 2005 three times (including SQL express and the add on programs). I can compile and application fine, but when I try to visually edit a form, it throws a nasty error about not having correct assemblies. What can I do I also have .NET 1.1, 1.1 patch and .NET 2.0 installed. I uninstalled .NET 2.0 and let visual c# reinstall it. Hi Andreas, I'm not at the machine right now, but it was to do with an error with the Interop assembly. I did some further research and I think I've pinned it down to the fact that there are beta copies and old copies of asseblies in my GAC. UNFORTUNATELY, I have ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems with exporting .x model in Maya
Hi, I have a .x model which i exported from Maya using the DirectX SDK 9.0 (Oct 2005). However, I seem to have lots of problems with it, so I am wondering if there is something wrong with it The .x file can be downloaded here: http://www.comp.nus.edu.sg/~chiobing/downloads/X%20File%20Models/handSkin3.x Its texture: http://www.comp.nus.edu.sg/~chiobing/downloads/X%20File%20Models/pCubeShape1_color.tga I have first tried to load it into the DirectX sample code SkinnedMesh. It fails in loading.. The second example I tried with is using toymaker.info code on X File Hierarchy Loading : http://www.toymaker.info/Games/html ...Show All
Visual Studio 2008 (Pre-release) Accessibility of Window components
hi all, i have a window 'mainwindow', with its components in its xaml file. this window contains a textbox, which i want to access from another class. 'mainwindow' is initialized at program start, so i think there has to be an object of this class available for another class. but if i try to do something like this: mainwindow_textboxname.Text = "sometext"; i get the following error msg.: 'An object reference is required for the nonstatic field, method, or property' can anyone help to solve this problem thanks in advance... Hi Kalinkula WPF objects are essentially just regu ...Show All
SQL Server Cache plan different using sp_prepare and sp_executesql.
I have a 3rd party application that uses sp_prepare and sp_execute for data retreival. The following statement takes around 40 seconds to run: declare @P1 int exec sp_prepare @P1 output , N '@P1 bigint,@P2 bigint,@P3 bigint,@P4 bigint,@P5 bigint,@P6 bigint,@P7 bigint,@P8 bigint' , N 'SELECT SHAPE ,S_.eminx,S_.eminy,S_.emaxx,S_.emaxy ,SHAPE.fid F_fid,SHAPE.numofpts F_numofpts,SHAPE.entity F_entity,SHAPE.points F_points FROM (SELECT DISTINCT sp_fid,eminx,eminy,emaxx,emaxy FROM SDE.SDE.s162 SP_ WHERE SP_.gx >= @P1 AND SP_.gx <= @P2 AND SP_.gy >= @P3 AND SP_.gy <= @P4 AND SP_.eminx <= @P5 AND SP_.eminy <= @P6 AND SP ...Show All
