Golden Strands's Q&A profile
Customer Care Framework workflows
public WorkflowWs () { base . Url = "http://ccfiis/Microsoft.Ccf.Csr.WebServices.ContactCenterAif/Workflow.asmx" ; } what does it mean , that my machine must be named ccfiis. why is this hard coded is this CCF for .net 2.0 and what file are you looking at the default server names are in the config system to support the development guide, they are all configurable to other URL's though. you are not required to name your servers CCFIIS. - Matt B ...Show All
Windows Forms How do I play a sound from my Applications Resource file?
I have added my sound to my applications resource file... But when I go to call on it: Manage__.Properties.Resources... It does not show up in the list of resources. All my images show up in the list, just not any of the sounds I have added. All my sounds are in the .wav format.... Any ideas as to why I can't access them (I am using C# Express) Hi Dave, I tried, but i couldn't reproduce it. (I added it through Resources.resx, chose Audio and Add Resources. ) By the way, is 'Manage__' your namespace Or have you tried to use the manifest resources, which are embedded with no type information ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Collision detection - Howto
Hi all, I'm trying to make two objects collide in GSE, actually in a Pong game - between the bat and the ball. I have motion for both, but no collision, the ball just leaves the stage so to speak. Any help would be appreciated. I have looked in the Help, but to no avail. I got it working for a 2D object.. basically you have to set the Min and Max of the BoundingBox to the minimum and maximum co-ordinates that your object can take up on the screen. So if I had two 50x50 boxes whose positions are x1, y1 and x2,y2 respectively: Vector3 minv1 = new Vector3 (x1, y1, 0); Vector3 minv2 = new Vector3 (x2, y2, 0); Vector3 maxv1 = new Vector3 (x1+50, y1+50, 0); Vector3 maxv2 = new Vector3 (x2+50, y2+50, ...Show All
Visual Basic Synchronize settings button isn't working
Using VS2005 version 8.0.50727.42 RTM, I am experimenting with application settings to add some persistance to a VB windows app. Changing the scope of a setting from User to Application leads to a Configuration system failed to initialize exception at run time. I eventually realized that the Synchronize button on the Settings tab isn't working. It always gives me a dialog No user.config files were found in any of the following locations: [OK] No locations appear to have been searched, even though an out-of-date user.config file does exist in ...\Local Settings\Application Data\... Of course I can manually delete the user.config file to work around this but it would be nice if I could get the Synchronize button to do it for me. Do ...Show All
Visual Basic tab ASCII Character Code
curious what the ASCII Character Code for "tab" would be, I have a text file that is a database table dump and every field is seperated by a tab and need to know what the ASCII character code for it is so I can write a little script to interpret the text file. Thanks in advance. Mitch I trust it didn't take seven and a half million years to come up with that one Hans Obviously some people round here aren't Douglas Adams fans. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Initialize(), LoadAllGraphicsContent(), Unload()???
Hi Guys, Just wondering if anyone could explain to me what is meant to happen in the Initialize and LoadAllGraphicsContent() methods in the skeleton source code. In particular I am unsure about what goes into the normal constructor and what goes into these two methods and what is the difference between each of those methods. Are these methods called only once at the start of the program or are there many calls to these methods Thanks for any help offered ProfEclipse wrote: When the device is created/recreated, LoadAllGraphicsContent is called with an argument of true. When the device is reset, LoadAllGraphicsContent is called with an argument of false. Alt-tab typically only causes a reset if ...Show All
Visual C++ Conversion of projects from Visual C/C++ version 2.0
Hi In the msdn library there is an article describing serial communications in Win32. This article includes the complete source code of a sample program called MTTTY . I use Visual C++ 2005 (beta 2) and would like to compile the source. When I run the convertion wizzard on the sample makefile I get the following message: Conversion Issues - MTTTY: Unable to open file. This appears to be a project file from a version of Visual C++ between 1.x and 2.x. Converting of projects from these versions is no longer supported. I have also tried to "create a project from existing code" with all of the sorce from the sample program. When I try to compile I get the following errors: TRANSFER.obj : error LN ...Show All
Windows Forms How to make fix digit in textbox
Hi All, Anyone can help me to create a code to make fix digit in the textbox. For example, when i input 1 in the textbox, automatically when i press enter key in the text box will generate : PWD0001, so when i input 133 it will generate PWD0133. Thank a lot. ahmad bhai he wanna make this sort of string PWD0001 by ur method if he enter 1 and then press enter key then he will get PWD1 not PWD0001 sooooooooooooooo ahooooooo think before to criticize brother ...Show All
Software Development for Windows Vista pass paramters to InvokeWorkflow Activity
I am invoking a workflow from within a workflow. How can i pass in parameters Angel, I would like to extend your example in 2 ways: a) Can I add your InvokeWorkflowActivity sample code to a CodeActivity Execute method ...i.e. is there a way to not only programmatically create and configure the InvokeWorkflowActivty but to also directly execute it from, say, a CodeActivity If so, now b) If the workflow I'm invoking is a StateMachineWorkflow, can I use the ParameterBindings to override the InitialStateName for the new instance of the state machine workflow Thanks, Michael. ...Show All
SQL Server Get the variable from Execute Process Task to C#
Hi! I need help with some C# code. I have build a SSIS package with an Execute Process Task. I need to send dynamic variables in to my C# program so I thought it was a good idea to use the StandardInputVariable. How do I get the variable in my C# code Thanks Carl I tried it but it didnt worked. The only thing I got was the name of the variable. You wrote earlier: is this necessary can't you just use a dynamically updated ssis variable when calling your executable in the execute process task What did you mean by that ...Show All
.NET Development Get the name of the latest modified file of a particular type on the root of a ftp root and download it
I haven't used ftpclient class in .net 2.0 previously I have to get Get the name of the latest modified file of a particular type on the root of a ftp root and download it. Let say on my ftp rott there are number of files and folder. What i have to do is to download the last modified .zip file or say latest .zip file saved on the ftp root and download it.What can I do. Previously for .net 1.1 were using IPworks third party library. I am able to download the file but can't able to get the full file.I am getting only 1 kb of file please check my code and let me know what is wrong in my code Stream responseStream = null ; FileStream fileStream = null ; StreamReader reader = null ; FtpWebRequest downloadRequest ...Show All
SQL Server IIS 6 MMC problem with ReportServer and ASP.NET configuration
Hello, I had a working Report server till I did the following: - Go to IIS 6 MMC - Display Reportserver vs properties - click on the ASP.NET tab (2.0 50727) - click on the "Edit Configuration" button - Look at the config, do not change nothing - Click OK This has kill the Report server, it is now giving an error: An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help Object reference not set to an instance of an object. Just to see, I did the exact same thing on another test machine and it did screw up the report server as well. Any idea on how I can fix, this I tried to repair ASP.net 2 and uninstall reinstall IIS6 ...Show All
SQL Server How to check whether SSIS is installed
I'm using the import wizard to create a new table from a flat file source. The table gets created but no data gets copied. What's wrong Here's the report: Operation stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Error) Messages * Error 0xc00470fe: Data Flow Task: The product level is insufficient for component "Source - inSsrc_txt" (1). (SQL Server Import and Export Wizard)   ...Show All
Software Development for Windows Vista State Machine Workflow doesnot persist with ManualWorkflowSchedulerService - RJ
Hi, I have a statemachine workflow with web application, SqlWorkflowPersistenceService does not persist workflow to database if I use ManualWorkflowSchedulerService so last statement instance.Unload(); throws exception since it tries to look for the instance id into database but it was not saved. System.InvalidOperationException: Workflow with id "c3a32e79-89dc-4dad-9ba9-7850ca479f35" not found in state persistence store. at Humana.WebArch.TCW.WebServices.TCWService.GetTCWWorkflowInstance(Guid instanceGUID) in C:\DotNetRoot\Projects\TCW\TCW.V1.0\Humana.WebArch.TCW.WebServices\TCWService.asmx.cs:line 1004 at Humana.WebArch.TCW.WebServices.TCWService.SubmitToWorkflow(String requestId, String workFlowId, String ...Show All
Visual C# How do I choose which class to create during runtime?
I have one class X and some clases X1, X2, ... that inherit from X. I want to be aple to input text during the execution of the program - a text like X1 and than I want that object to be created. The code should go something like this: String s = null; Console.ReadLine(s); Type t = Type.GetType(s); X x = new t(); but it doesnt work. Is it posible to do this with C# Thanks,Zanzamar Try using Activator.CreateInstance() instead, so that last line would become: X x = (X)Activator.CreateInstance(t); ...Show All
