Jim Sn's Q&A profile
Software Development for Windows Vista Workflow Monitor RTM Version
I have installed the Release Version of Microsoft .NET Framework 3.0 and the WF Extensions for VS 2005. I also have the Windows SDK for a older version of the WinFX Framework. In this SDK the Workflow Monitor was included. This version although, does not work with the Release version. I always get the Error "Exception in GetWorkflows". Could anyone send my the newest version of the Workflow Monitor, or at least tell me where to download. And I dont want to download the whole Windows SDK just to get that darn Monitor. Thanks I'm having this error: "can't find the assembly WorkflowLibrary1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"... was this the error you where ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Compile Error: The name 'graphics' does not exist in the current context
I created a new project using the XNA template and then started coding away using the 'Your first XNA Game' documentation. I created the moving sprite that the tutorial talks about but then I was going to add a second sprite, I thought it would be better to move all of my sprite code into a seperate class and just create two variables of that class instead of duplicating a bunch of code. When I move my sprite code into the class I get the following error. Error 1 The name 'graphics' does not exist in the current context 'XNAsteroids\Game\CShip.cs' 36 45 XNAsteroids I changed the Microsoft.Xna.Framework.Components.GraphicsComponent variable from private to public in an attempt to access it from a seperate class CShip.cs this is m ...Show All
Visual Studio 2008 (Pre-release) Stateful Operation Selection (No OperationContext in IDispatchOperationSelector)
Hi, You can implement the IDispatchOperationSelector interface to customize the way operations are selected to which incoming messages are dispatched. In my implementation, the selection of the operation depends on the session and is thus for each client different (depending on their respective session state). Unfortunately, the session does not yet seem to exist at the time the SelectOperation() method is called by WCF, i.e. OperationContext.Current is null. However, I need to access the OperationContext because I've stored my stateful information in there on which my operation selection depends. Anybody an idea, how I can access the session state anyway at this point Cheers, patric Hi David, No, there i ...Show All
Visual Studio SandCastle See_Also Reference/Members Section
I'm using SandCastle December 2006 CTP with the SandCastle GUI and am trying to determine how to automatically create a help file with the "reference" section under the "See Also" section. An example of what I'm looking for can be found at: http://msdn2.microsoft.com/en-us/library/system.io.compression.gzipstream.aspx Scroll to the bottom of the page, where the "See Also" section starts. Here, you can see the "Reference" section which contains a link to the class members. I'm trying to determine how to automatically create this section with Sandcastle. I don't want to add a "See Also" section for each C# class and link it to an external page -- I'd like Sandcastle to simply create t ...Show All
Visual Basic Application as a service
Hi, I have started to develop a WindowsApplication in VB.NET using Visual Studio.NET 2003.. The application consists of a two forms, three classes running one thread per class and XML-configuration files. The forms and the thread classes uses the same configuration files. This application should be run as a service and here starts my questions: Question 1 : Can a service have graphical window forms Question 2 : Should I create one project (Windows Application) for the user interfaces managing the configuration settings and one project (Windows Service) for the three thread classes. Question 3 : If I already have created a Windows Application and want to run it as a service. How shall I proceeed. Can I change my current pr ...Show All
Visual Studio IDE in Design view
i have just installed vs2005 and have a problem with the design view of the IDE. i cant place a button or txtbox or the like on the design view and see it. the code is there but it is invisible in design view. ive tried resetting all settings but with no look. is there a way to turn on the feature that allows for the display of buttons etc in design view. thanks jimkn also make sure that you install the latest updates from the Microsoft Update web site. If it crashes again you can start a second instance of Visual Studio, then attach to the first instance, reproduce the crash and create a dump file from the second Visual Studio 2005 instance. Then submit an issue report with the dump file o ...Show All
SQL Server Bulk Insert/ one column
I have no problem importing a file.txt to my table (mehet). Bulk Insert mehet From 'C:\test.txt' With ( DataFileType = 'char' , FIELDTERMINATOR = ',' ) But I would appreciated if someone could help me how to import only 1 or 2 columns. instead of all columns. Thanks. juvan hi, Yes, but as I have said that the area where I go to has no internet connection at all. So in this case what should I do Thanks. Juvan ...Show All
Smart Device Development Screenshot from Pocket PC Emulator
Hi, It looks like impossible to create a screenshot while the Pocket PC 2003 emulator (shipped with Visual Studio 2005) is running. I've tried making the screenshot by - Printscreen button, - Alt + printscreen button - Shift + printscreen button - TNT software, - SnagIt Software It is unpleasant because I want to take screenshots of my own Pocket PC application. I am using Microsoft Device Emulator version 8.0.50727.42 Can this be fixed Is there any update for this problem Or is it posible to create a screenshot directly from the emulator software Thanks in advance. Marc The Netherlands Just wanted to mention that Finkter's solution worked very well. Now I am able to capture emulator screensh ...Show All
.NET Development Web Service: What approach should be taken to return "UNRELATED EXTRA DATA" from web method as response
Hello People, I am working in a web application where business operations are exposed as Web Services (internal at present) and the Web Client consumes the web service for ALL activities. Of course, there is a business layer that executes the functionality. All the web service does is to accept and validate the request, invoke the relevant business method(s) and return the operation response. One of the tricky situations I facing now is to return "Unrelated Extra Data" as response to an operation. I will explain this with an example... ------------------------------------------------------------------------------------------ Consider "Customers" and "Contacts" for each customer. A Customer has details such as address, web sit ...Show All
SQL Server Invoking a service on firing a trigger
Hi Im trying to invoke a .Net service when a trigger is fired on a table in SQL Server 2000. The service is working fine but I need to invoke it when the trigger is fired. How can I achieve this Hi! At first, why do you think your problem is concern with SQL-NS The second: does you question relate to SQL Server 2005 You have wrote, that the trigger on SQL Server 2000 invokes the service and the services works well. Then, what do you mean by saying "invokes" Does the trigger start the service or it just send a message to him ...Show All
Windows Forms One or more errors encountered while loading the designer.
I can't open a user control in designer: Message: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. The method or operation is not implemented. Hide at Microsoft.VisualStudio.Shell.Design.VirtualTypeImplementor.InvokeConstructor(ConstructorInfo ctor, Object[] args) at Microsoft.VisualStudio.Shell.Design.VirtualTypeBuilder.VirtualConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.ConstructorInfo.Invoke(Object[] parameters) at System.SecurityUtils.SecureConstructorInvoke(Type type, Type[] argTypes, Object[] args, Boolean allow ...Show All
Visual Studio Express Editions Question about converting data types
Good day, I'm having a little problem in C# while reading from a binary file. What I am trying to do is get the decimal value of 2 bytes of hex data, i.e. "0008" in hex would become 8 in decimal data. Problem is, whenever I try to read it it outputs 2048 or something similar, at least not the number I am looking for, which means I should be doing something wrong... Do you have any idea to get a right number out of this My current reading code: -------------------------------- private int packageType; // Nothing interesting to see here either map = new FileStream (url, FileMode .Open, FileAccess .ReadWrite, FileShare .ReadWrite); BinaryReader br = new BinaryReader (map); map.Seek(0, SeekOri ...Show All
Visual Studio Team System Method to change properties in several requests at once
I'm recording some web tests that have as many as 62 top level requests in each test. Due to a web analytics tool failing each step of the test, I need to set the Parse Dependent Requests to false on each request. While I can go into each request and set the parsing, this seems a bit tedious. I don't see anything in this forum or in the library on how to grab multiple requests and then set the parsing in a single stroke. Can this be done Thanks. Rick, That worked. Nice quick way to do a global change. That said, it would be nice to have the feature in the tool to begin with. Perhaps the next service pack. Bruce ...Show All
Visual Basic rtf files and images
I'm creating a program that uses a richtextbox and saves to a rtf file. I'm ok with the whole saving and opening part, and can even copy and paste images into the file and save them, but I want to create an insert image button similar to that of Word where it pops up a box that allows the user to select the file they want to insert. Any suggestions Ok, so this is what I have so far Private Sub MenuItem7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem7.Click Dim MyFormat As DataFormats.Format = DataFormats.GetFormat(DataFormats.Bitmap) Me.OpenFileDialog1.Filter = "*.bmp|*.bmp" Me.OpenFileDialog1.ShowDialog() If (OpenFileDialog1.FileNa ...Show All
Visual FoxPro Lost Ability to play wav file
My racing software has always allowed the user to play a wav file on startup. This can be anything but normally it is a race car going down the track. All of a sudden I cannot get the sound to work Unless I SET STEP ON in the code, or run the form in design mode. It has worked for 8 years just fine, what setting did I change that I don't remember This code works from the command window, a prg, or the design mode. It will even work with set step on, but the chr(7) is completely ignored during normal execution. SET BELL ON * SET STEP on IF ! USED("SETUP") USE SETUP ELSE SELECT SETUP ENDIF * look under setup, if playmusic is true then * play the dragshrt.wav file SELECT SETUP LOCAL PlaySound PlaySound = playmusic IF PlaySoun ...Show All
