joeydj's Q&A profile
Software Development for Windows Vista Error: The calling thread cannot access the object because different thread owns it
I have declared a listbox as follows: internal System.Windows.Controls. ListBox ListBox; Then I have initialized a workflow: public void InitializeGetMyPhotosNotInSetWorkflow( string extras, string extrasValue, string perPage, string perPageValue, string page, string PageValue) { parameters.Add(extras, extrasValue); parameters.Add(perPage, perPageValue); parameters.Add(page, PageValue); try { if (( this .workflowRuntime = new WorkflowRuntime ()) == null ) { throw new System. Exception ( "There was a problem creating the workflow runtime.\nThe Application will now exit." ); } else { // Add the External Data Exchange Service ExternalDataExchangeSe ...Show All
SQL Server How to write Prediction Query for TimeSeries Algorithm
hi,I am a novice SSAS Programmer.I need a prediction Query in time series algorithm, so that it should predict for a particular date.I dont know how to use where condition in a prediction Query. Thanks Karthik Hi yimin, The scenario for my prediction is like this. Studid date Performance 001 200104 90 001 200105 95 002 200104 80 my prediction query gives me the prediction(performance)for series of dates.like this Expression.$Time Expression.Performance 200104 80 200105 82 200106 87 like that.... I need to predict for a particular student-id for particular date. ...Show All
SQL Server CONDITIONAL SPLIT Assistance
i need to use a conditional split transformation to find missing column and direct the output of conditional split to my destination. I have the following columns PatientId, Allergycode, SeverityCode My requirement is to check whether value of a particular column is null or not null. Please help. Ronald When i use case12 (MedicineCode) as an output to the Data conversion. When i execute the package, it writes 57 rows to the destination table instead of 58 rows. Ronald SSIS package "Conditional.dtsx" starting. Information: 0x4004300A at Data Flow Task, DTS.Pipeline: Validation phase is beginning. Information: 0x4004300A at Data Flow Task, DTS.Pipeline: Validation phase is beginning. Info ...Show All
SQL Server How can i split the rows in 2 textboxes - Urgent
Hi, I have a report and its been populating from a sproc. and i have 2 text boxes called both of them are poplulated by Fields!Investment Names, but right i can display the data left to right but i want to display the Data starting top to bottom and then towards the right. I tried grouping the data in this way for one text box = CountRows()/2 > 10 . and this shows all the records one below the other, so is there a way that i can display half the records in one text box and the other half in the other text box. I am going kinda nuts over this. Can someone please help me. Regards Karen Andrew, Can you please give me information about snaking columns cause i would like to use it for ...Show All
Software Development for Windows Vista ExternalDataExchangeService API usage issue
A Design Issue or Bad Design It's insteresting, I found the code for " ExternalDataExchangeService ". to say the follwing code works fine. ExternalDataExchangeService dataService = new ExternalDataExchangeService(); _OrderService = new OrderLocalServices.OrderService(); _WFRuntime.AddService(dataService); dataService.AddService(_OrderService); BUT, If the code secquence change ExternalDataExchangeService dataService = new ExternalDataExchangeService(); _OrderService = new OrderLocalServices.OrderService(); dataService.AddService(_OrderService); //Error in this line _WFRuntime.AddService(dataService); jt will fail and said, Workflow Runtime Container does not contain ExternalDataExchang ...Show All
Visual Studio Team System Service Pack 1 error
Error Unknown. The only thing of relavance i see in the event logs is this: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 10/3/2006 6:59:13 PM Machine: TEAM2 Application Domain: TfsGssInit.exe Assembly: Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: TfsGssInit Process Id: 7816 Thread Id: 6552 Account name: P2P\TFSService Detailed Message: TF53013: A crash report is being prepared for Microsoft. The following information is included in that report: System Va ...Show All
Visual Studio Team System Fxcop Custom Rules for Searching for loops
Hi, I am stuck while writing a custom rule which checks for exception handling inside loops, i am unable to check for the presence of loops inside a method. could you please provide me pointers in this direction. It would also be very helpful if could explain how to check if every method has XML comments. Regards, Vamsi. Hi Sanjukta, I came across ur sample to check the loops ..I was looking for the same from long time. I have a query what exactly this code represents if (( int )objMethod.Instructions[intCount].Value < ( int )objMethod.Instructions[intCount].Offset) { intBeginOfLoopOffset = ( int )objMethod.Instructions[intCount].Value; //intCount marks the instruction number of the end o ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 Headset
Hello, i want to know if and when how, i can use the Head set for the Xbox 360 game i am developing. Any help would be greatly appriciated. i'm interested in this too. the key is if we get access to the actual headset audio stream if so, then we could wire those to commands in the game. granted, i'm pretty sure SAPI does not run on the 360, so you'd have to write your own custom speech recognition engine. something like this : http://www.brains-N-brawn.com/noReco/ for more advanced speech reco, i'd look into porting CMUs sphinx project. the latest version was written in Java. Thanks, casey ...Show All
Visual Studio Cannot connect to VSS web service due to nested ini files
Hi All I installed the VSS web service with ssl and tested and used it for about a week and all worked perfectly, unfortunately now it returns the following error Cannot contact the visual sourcseafe internet web service or cannot access the specified database. The visual sourcesafe web service returned the following error: VSS Web Service does not allow nested INI files Unfortunately the error does not say which ini files, or where they are and I have looked everywhere for mention of nested ini files on msdn and seem unable to find a solution to the issue. I have even tried removing the web service, readding it without ssl and trying to connect and I still get the same error. The lan VS2005 plugin works ok as does the normal VSS explorer. ...Show All
.NET Development Use ReadXml to update the DataTable
I use DataSet.ReadXML method to fill my tables with data. From time to time i expect to receive XMLs with the updated information. When i am trying to use DataSet.ReadXML again the exception "A child row has multiple parents." because parent table has unique constrain on primary key and the row with this key was inserted by previous call to DataSet.ReadXML. What i must do to cause DataSet.ReadXML to update existing rows and insert new ones instead of always try to insert Thank you. hi when I try to merge 2 DataSets that contain the same Tables and Rows structure. I get the following Exception [System.Data.ConstraintException] = {"Failed to enable constraints. One or more rows contain values violating non-null, unique ...Show All
SQL Server variable does not exist?
I have a variable scoped to the package named "Filecount". When I try to reference it in a precedence constraint expression (@Filecount > 0) I get "The variable 'Filecount' was not found in the variables collection. The variable might not exist in the current scope." Anybody know why Thanks. toneho wrote: I have a variable scoped to the package named "Filecount". When I try to reference it in a precedence constraint expression (@Filecount > 0) I get "The variable 'Filecount' was not found in the variables collection. The variable might not exist in the current scope." Anybody know why Thanks. Check the syntax of your exp ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Missing VC# Template
Hi, I've just installed VC# and the XNA Game Studio Express Beta. VC# were running well including the normel project templates. After installing XNA the standard VC# project templates are missing. I only get the three XNA templates: game, library and SpaceWar. Any idea what had happend Thanks! Bastian hmm...after downloading the VC# setup files I did not get an prompt to do an repair install. I only had the option to do a complete install. After doing this everything works well now. All project templates are back. Little bit strange... Thanks for you advise! ...Show All
SQL Server SQL Server on a subset of processors
Can I install SQL Server on a machine and use less than the # of processor on the machine. In a UNIX world, I'd call it LPARing with Oracle and AIX, and they only let me do this with Enterprise Edition. With Windows, I think the only way is using virtual machines and attaching processors to them Do any vendors offering LPARing Can I take any edition of SQL Server and subcapacity price so that I only pay for the processors I'm using What about SS Express It only scheds to a single core - so could I put that on a larger machine Thanks! I can run on either -- so what are the licensing rules. If I disable the processors -- then I can just pay for the ones I use So I'll put SQL Server Standard ...Show All
Visual Studio Tools for Office Assembly Office Version 11.0 Redistributable Setup File Required
Hi, I've developed a application in Visual Basic 2005 Proffessional Edition, and I'm able to install the application in my system. But when I tried to install the same in another computer , I got the below error message, "The application requires that assembly office Version 11.0.0.0 be installed in the Global Assembly Cache (GAC) first......" So can anyone send me the link for downloading redistributable installer of the above missing assembly. Thanks In Advance, Lokesh Ravindran hi Lokesh. Has your problem been resolved The assembly in question is the Office PIA and is intalled by Office. In the Office setup, you need to go and select the ".net progr ...Show All
Visual Basic Unbalanced stack Error calling winmm.dll
I’m getting an pinvoke unbalanced stack error in a call to winmm.dll. My declaration is: Public Declare Function mixerGetDevCaps Lib "winmm.dll" Alias "mixerGetDevCapsA" _ (<MarshalAs(UnmanagedType.I4)> ByVal uMxId As Integer , ByVal pmxcaps As MIXERCAPS, ByVal SizeofMcaps As Integer ) As Integer My definition of Mixercaps is: <StructLayout(LayoutKind.Sequential)> _ Public Structure MIXERCAPS <FieldOffset(0)> Public wMid As Integer <FieldOffset(4)> Public wPid As Integer & ...Show All
