dvdribeiro's Q&A profile
Software Development for Windows Vista roles don't match will terminate the workflow
I use the state machine workflow and add a role in one state, when the not matching role handle the event , the workflow will throw a exception and terminate. Now I want the result is that showing a message box tell that the roles don't have right to handle this event , but not terminate the workflow,How can I do, thanks Ariel, You need to model this in your workflow. For example, put the event in a loop where you only break out of it when you successfully receive the event. Matt ...Show All
Game Technologies: DirectX, XNA, XACT, etc. A message for the XNA team...
Could I just take this opportunity to wish all of the XNA team a happy holiday / Merry Christmas (Shawn - hope you made it back into 'old blighty' through all the fog). Thank you for all of the hard work the your team has put in, so that we could have such a cool product to play with over the holidays. I can almost imagine what it would be like to be a 10 year old finding an XBox and creators club membership under the Christmas tree - I can still remember the thrill of finding a Sinclair ZX81 there and all the pleasure it brought... All too often as professional software engineers we loose sight of all of that, with the daft level of pressure, expectation (and overconsumption of caffeine!) that is prevalent now. F ...Show All
Visual C++ VCRedist Problem
According to Microsoft our setup should look like this for winXP and above, C:\Test\helloconsole.exe C:\Test\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest C:\Test\Microsoft.VC80.CRT\msvcr80.dll C:\Test\Microsoft.VC80.CRT\msvcp80.dll C:\Test\Microsoft.VC80.CRT\msvcm80.dll If I do not need to install VCRedist.exe on the client system. My problem is that i have to place the dlls at some other location, so that my application folder will not have complex structure. Is there any way to create a manifest file and embed it into the application exe, that will allow me to place the dll's at some other location. -- Thanks & Regards, Sachin The answer is, you cannot. VC8 specifically proh ...Show All
.NET Development How to see the strong name of an assembly not in the GAC?
I have two assemblies named unit.framework.dll in two folders on my machine - D:\Program Files\Nunit 2.2.8\bin\nunit.framework.dll //lets call this A D:\Program Files\Nunit-Net-2.0 2.2.8\bin\nunit.framework.dll //this B I have the same assemblies installed in the GAC, as well - >>gacutil /l nunit.framework nunit.framework, Version=2.2.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL //this C nunit.framework, Version=2.2.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77 //this D The difference between the two is that one is built with 1.1 framework and the other with 2.0 framework. The only difference in their strong name is the processorArchitecture . How do I find out if assembly ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Spacewar Starter Kit
Hey , I just started using XNA Game Studio Express . When I load the Spacewar Starter Kit and press start to test the game there is only Xbox 360 functions , Is there any way I can play this using my PC keyboard or send this to my Xbox 360 . Here is a tutorial on it. http://xnaspot.com/Tutorial_GettingStarted.aspx I also started a FAQ you can check back on too for other issues. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=686182&SiteID=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Uninstalling XNA GSE?
I cannot find how to uninstall the GSE. I've been getting the error you see below whenever I try to start a new game project :-( --------------------------- Microsoft Visual C# 2005 Express Edition --------------------------- Unknown error "-1". --------------------------- OK --------------------------- Yes ... JR Nip hit the nail on the head. I'm unsure why the error is occuring, so I just wanted to start from scratch. Now, embarrasingly enough, I just realized that I wasn't logged in as the local computer admin (trying the whole least privileged gimmick). When I logged in as the admin and went to the control panel, the proper "Remove" option was present as I expected. What was happening before was th ...Show All
.NET Development Help C# SQLTABLES
I am really confused. Ive been reading msdn about the SQLTABLES function. AM i able to use this function and others like SQLColumns in the .NET 1.1 environment with the c# language . SQLTABLES is part of the ODBC interface. I want to use it to retrieve information about a table. Can this be done If so what classes or namespaces need to be included NEED help Thanks Luis already answered your question. To address your question about calling ODBC's SQLTABLES api, if you use the following ado.net api: OdbcConnection.GetSchema(OdbcMetaDataCollectionNames .Tables), then SQLTABLES api will be called. ...Show All
Visual Basic SQLDMO Objects ?
Hello, I have a VB project where SQLDMO were used for database connections. Now my task is to convert all the codes into vbscript and should be with adodb objects. Now i am in need of adodb objects equivant to sqldmo objects . Can anyone please list me out For an ex, there is a method called GetColumnString in sqldmo. Now i want to know the equivalent object for ADODB. Thanks in advance. RajaGanapathy, I have an example on ADODB objects equivant to SQLDMO object and hope that can help you: Firstly, get the list of SQL Server: Dim I As Short Dim sqlApp As New SQLDMO.Application() Dim ServerName As SQLDMO.NameList ServerName = sqlApp.ListAvailableSQLServers For i = 1 To ServerName ...Show All
SQL Server Testing failover
How do I test failover to point to the mirrored database instead of the principal without having to stop the primary instance I would like to just bring the mirrored database on the primary instance to an offline status and see that the same database on the mirrored instance getting activated as the primary. This does not happen if I try to put the database on the primary server "offline" as it complains that any database that is being mirrored cannot be taken offline. On the Principal server, go into the mirroring properties of your principal database and click on the 'failover' button. This manually initiates a failover, and if it works correctly your mirrored database will assume the role of ...Show All
.NET Development ContextMenuStrip - select direction of expanded menu + stay visible after click
Is it possible to select the direction of the submenu in a contextmenu I have a menu with 5-6 substeps and they go left-right-left-right-left-right so you get totaly confused when you are at the end. I want all expansions to always go left, is that possible I use this code to add the submenus. ToolStripMenuItem title = new ToolStripMenuItem ("title" )); ToolStripMenuItem description= new ToolStripMenuItem ("desc" )); title.DropDownItems.Add(description); maincontextmenu.DropDownItems.Add(title); I also wonder if it's possible to let the contextmenu remain visible after you've clicked a button in it I use data from a webservice in the menu and i want to add a refreshbutton at the top of t ...Show All
Windows Forms Problem with DsoFramer and WindowProc
Hi, I use DSOFramer in an C# Based application. I have a principal form which is MDIForm and the form containing of DSOFramer is a mdichild form. I start my application and I open the form containing of DSOFramer. It works fine but when I open an other form over the DSOFramer then that I close again it, the behavior of the DSOFramer is strange. I have a lot of redraw, paint issues, and can't find a way to have it redraw nicely everytime. I have the same problem if I open an other application (for example the Explorer) over the DSOFramer. I use the WindowProc function in my application and I think that this function cause lot of redraw. When I use UpdateWindow function, to refresh my form, in Windowproc function I haven't problem on t ...Show All
Internet Explorer Development DirectAnimation
Hi folks, I've recently had to update my web site with some simple text at the bottom of one of the pages. The page itself contains some graphic animation using the DirectAnimation (danim.dll) dll via javaScript. However, when I try to access this page in my web browser (IE7) is blows up because the script is accessing a property of danim.dll that doesn't exist. The page runs a .js file that contains the following code: var da40 = DAControlAnimation4.MeterLibrary.VersionString == "5.01.15.0828" true : false ; ... document.write( '<OBJECT ID="DAControlAnimation4" STYLE="Width:680;Height:24"' ); document.write( ' CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D">' ); document.writ ...Show All
Visual Studio Express Editions How to get started
I am a network guy. I learned basic years ago. I can do some html edits as needed to change sites. Today I would like to start the long process of learning VB with .net applications. I thought I could start with Office developer xp to learn VB. I have that package. I also would like to be able to build SQL quaries and integrations or automate and manipulate data exports and imports later down the road. Example: Export various order and customer information from a shopping cart and import it in to Quickbooks or MS Accounting. First off I need to be able to build web sites and I know I want to grow into VB and SQL. What should I do Learn HTML from web monkey Start with Office xp developer Tutorials Start with VB Expr ...Show All
SQL Server Exam 70–443 (MCITP)
Hi, Somebody can speak (tips) about exam Exam 70–443: PRO: Designing a Database Server Infrastructure by Using Microsoft SQL Server 2005 Tips Amount Questions Time :-) all i can say is buy the 70-443 study guide book from amazon and signup for the practice test on www.measureup.com best way i think, the book will give you a voucher for 15% off when you sit the exam and if you signup to the newsletter from www.measureup.com they'll send you a voucher for 25% off their tests (runs january 2007). other than that, get dedicated and burn thru the book as best you can. i've set myself the end of feb 2007 to sit the 70-443 exam, usually takes me 1-2 months of constant work and ignoring my girlfriend; which she totally loves (ye ...Show All
Visual Studio 2008 (Pre-release) UserControl call window method
I need a UserControl to call a method on its parent window. What are my options Can I bind a method on the usercontrol to the parent Or is there some other way Brian I can give you more detail of my situation. I have a UserControl that is shown in a window. The UserControl sits in a spot that is occupied by several controls, but only 1 is visible at a time. The others are collapsed. I've placed a button on the UserControl that should hide itself and make another control visible. Since the button is on the UserControl, I don't know how to refer to other Controls in the Window. I figured I should just call a method on the Window that does all this work. I'm not sure how to call the method from inside ...Show All
