Jason Croft's Q&A profile
Software Development for Windows Vista State workflow bug
Can anyone else verify this bug https://connect.microsoft.com/wf/feedback/ViewFeedback.aspx FeedbackID=171215 It's very basic - a state workflow won't correctly handle HandleExternalEvent if it's in an EventDriven which is at 'workflow' level, rather than inside a specific state. It will handle HandleExternalEvents if they are inside a state & eventdriven though. I have an example file if anyone wishes to look. I think you means "whereas they expect CustomerHasPaidDebt .." I see what you mean - the interface and implementation event names have to match up. I had not noticed I'd changed it. Odd that the EDES does not throw a exception that could be handled.. how did you manage to spot that Many thanks e ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What codec is used for the XNA help videos
I'm not sure if this is the correct place to post this, but I was wondering what codec is used with the XNA help videos. I open them in Windows Media Player but it says that it can't recognize the file type or codec. Since it's a .wmv file I can only assume that it's the codec. I did watch one of the videos yesterday, but it didn't have any sound, but now it just doesn't work at all. If this isn't the correct place to post this, please tell me where I should post it to get the best answer. Thank you. ...Show All
Visual Studio Symbols loaded (source information stripped)
Hi, I'm pretty noob and im just trying figure out my Visual Studio C++ 2005 Express and get it to do a first debug on a HelloWorld and I get these errors 'Hello World!.exe': Loaded 'C:\Documents and Settings\Mike\My Documents\Visual Studio 2005\Projects\Hello World!\Debug\Hello World!.exe', Symbols loaded. 'Hello World!.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Symbols loaded (source information stripped). 'Hello World!.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Symbols loaded (source information stripped). The program '[2944] Hello World!.exe: Native' has exited with code 0 (0x0). I've been looking around and I guess it would be helpful to tell you my Symbol File (.pbd) location list C:\WINDOWS\Symbols\dll http://msdl.microso ...Show All
Visual Basic Question
HOW TO CONNECT EPBX SYSTEM TO VB APPLICATIONS You would have to be a lot more descript about what your trying to achieve - hardware suppliers - what your trying to get out of it. I did see an question on somethign similar where currently they use hyperterminal to send commands and get a text response from the PBX system. In this solution they could use the Serial communication classes to implement the basic connect and sending of commands and recieving the output back which could then be processed and updated into a database which would then be queried easily. This process of retrieving the records could be implemented on a timer, so every day it would get the latest records. ...Show All
Visual Studio Problem with sandcastle config file
hii there.. i just installed the new version of sandcastle (november) and right now it won't work anymore even when i try it from the command line.. there is an error message when im using the buildassembler program, it said that it can't find the syntaxgenerators.dll and looking at the sandcastle directory there no such file. Can someone give me an example of the config file for the new version.. thanks hi, the syntaxgenerator.dll was renamed to SyntaxComponents.dll. Kind regards, Stephan Smetsers ...Show All
SQL Server Applying SP4 on an active/passive 2 way cluster
I have a 2 way cluster and I want to apply SP4 on it. Basically, I have 2 servers. Server A runs a default instance and another instance. While the default services is disabled and the other instance is running, Server B runs the default instance and has the other instance disabled. This basically acts like a 2 way cluster (active/passive). How can I apply SQL Server 2000 SP4 on the 2 servers and have all the nodes come up the correct way What are the steps to achieve this ...Show All
SQL Server Running Value
Hi In my report I have the total column,under the total i have two sub fields:no , Row%and i have another column Cumulative total sub fields are no,***% For the Row % under total i write like this: =Round((Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)/Sum(Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)*100,2) For the *** % under cumulative total the "AgeByGender" ) But i am getting this error: The Value I solved the problem with the following expression. For Cumulative %:The formula i used is: Round(RunningValue((fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value), sum , "AgeByGender&quo ...Show All
Visual C++ C++ Newbie needs a c++ expert converting bits to bytes
Hello all, I need some C++ experts to help me with a problem I have in converting a PBM file to a PGM file. These files are used to store digital images. The PBM file uses monochrome to display images while the PGM file is a grayscale image. I have written a test program that works somewhat. The problem I have is that the PBM format uses 1 bit to represent a pixel while the PGM format uses 1 byte to represent a pixel. Therefore 1 byte in PBM format represents 8 pixels. I need help in converting those bits to bytes for the PGM format. I am not sure how to achieve this. I have never really had any experience in masking bytes. Here is my code thus far: #include <iostream> #include <fstream> #include <string> using namespace ...Show All
SQL Server Can not debug component?
Who can help me I defined project properties: Start action--start external program : dtexec Action options--command line arguments: /f ***.dtsx (using component which i debug) Configuration: active(debug) I specified breakpoint after clicking build,dtexec can popup but then generate error: The following modle was built either with optimizations enabled or without debug information C:\winnt\assembly\GAC_MSIL\***\***.dll To debug this module,change it's project configuration to debug mode. I have no idea about this,and i can find my dll file in C:\winnt\assembly,but no GAC_MSIL folder Who can help me Thanks in advance Sounds like your project is set to produce a release buil ...Show All
Visual C++ Namespaces System.drawing
hi, I recently started using Visual C++ 2005, and I'm trying to work with BITMAPS to get pixel information, I had started a thread about that topic but now I have a more general question about namespaces, I was wondering if to include the system.drawing namespace I must be in a CLR project. Is there another way to use the bitmap class and other namespaces like system.something Thanks Generally, if you want to use .NET classes, you need to compile program with /clr switch, this means, make it managed. However, every task can be solved using .NET and without it. Specifically, Bitmap is part of GDI+ which is available for unmanaged C++ program. http://msdn2.microsoft.com/en-us/library/ms533798.a ...Show All
Visual Studio Express Editions VB Express messes up the text file when it creates it... Help
Using the writealltext command, I generate a simple txt file (actually ends with .cmd) - everything looks fine in Windows and notepad BUT when I open it in the commandline window (since I am using this as a console applicatin) and chose "edit filename.cmd" the first four characters that are generated are non caracters !! (graphic ascii actually). Of course things are not working correctly - I also get a "header" error when running the cmd file - but there is no "header" of course. So what has VB express done to me Anybody have any ideas The pertinent lines would be the following Dim jdppart1 As String = "D:\... etc" Dim jdppart2 As String = " -user...etc" Di ...Show All
Visual Studio Visual Studio 2005 SP1, what has been fixed ?
I successfully installed Visual Studio 2005 SP1 on my Visual Studio 2005 Standard Edition. Now I am curious what has been fixed, in the various Visual Studio 2005 categories, by this Service Pack. Has this information, or will this information, be made available to end users Yes, it is a bit amusing when companies offer service packs to fix problems but then do not specify exactly what problems were actually fixed. I guess it is the job of individual developers to see whether or not their bug reports have led to fixes or not. In the first case the developer will be happy, while in the second case the developer will not and be wondering why an obvious bug to the developer has not been fixed by the service ...Show All
SQL Server APPS for SSIS
Help! Does anyone know where can i find some windows or web applications using ssis for manipulations arsonist wrote: Hi, an actual application (code sample) that use or manipulate ssis, hope you can help me on this one Thanks This link should help: http://msdn2.microsoft.com/en-us/library/ms345167.aspx ...Show All
SQL Server update problem within cursor
Hi there I written some tsql that uses a cursor to update certain tables in a database. --CURSOR TO REPLACE SYS__DB VALUES WITH 20202 DECLARE @V_TABLE_NAME NVARCHAR(128) DECLARE @V_UPDATE_SYS_DB NVARCHAR(128) DECLARE @V_DB_NAME NVARCHAR(128) DECLARE dbnames_cursor CURSOR FOR SELECT ENT_ID FROM VehiclesSYS.dbo.ENTITIES WHERE ENT_IS_VIRTUAL = 0 ORDER BY ENT_ID; OPEN dbnames_cursor FETCH NEXT FROM dbnames_cursor INTO @V_TABLE_NAME WHILE @@FETCH_STATUS = 0 BEGIN /* Process each database here. */ SET @V_DB_NAME = N'USE PEOPLE' EXEC sp_executesql @V_DB_NAME SET @V_UPDATE_SYS_DB = N'UPDATE @V_TABLE_NAME SET SYS__DB = 20202' EXEC sp_executesql @V_UPDATE_SYS_DB The problem lies with the update statement. T ...Show All
Visual Basic Showing a form in a tabcontrol
Hello All, I'm using VB 2005. Can someone tell me how to "Show" a form in a tabcontrol I have a form with a tabcontrol, as well as other controls, and I need to show a small form via ShowDialog(). However, I want the form to appear in the current tab area of the tabcontrol. I can't seem to find the right combination of commands! Thanks, Carl Hmm, I'm not sure I follow. To the best of my knowledge you can't nest a Windows form within another Windows form, unless you're using an MDI control, which wouldn't necessarily work with a tab control. One solution would be to add a panel or groupbox to the tab page and put the controls of your form on it and then show / hide that panel if ...Show All
