Steev's Q&A profile
Software Development for Windows Vista Problem using WCF
I have built an application using WCF. When I try to run it I get the following exception message... "The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state." I have no clue what this means or how to go about fixing the problem. Can anyone help with information, such as ... 1. Where do I go looking for meaning of WCF error messages 2. What is the likely cause of the above error message 3. What are the appropriate debugging techniques to use with WCF applications if you are using wsDualHttpBinding .. please stop IIS and it should work.. I faced similar issue because for callback contract by default l ...Show All
Software Development for Windows Vista Wait until time/Persistence & Tracking
Hello, I have to questions based on waiting/persistence/tracking scenarios: 1. Suposse that I want to wait until a specific day. If I use a delay or something like that I understand that at this point the wf becomes idle and the persistence service writes it down. What happens later if I turn off the runtime engine and I want to start it later. How do I continue with the saved instance without explicit set this Is there any standard solution to this 2. Suppose that I want to track the wf states and I implement a tracking service that also persist data. How do I solve the scenario where the wf has changed but the tracking updates are interrupted Does anyone know a solution or better approach to them Regards, M ...Show All
SQL Server Distributed processing "farm" using Broker for middleware.
In our current project, we are attempting to use Broker for the middleware for a "queuing" solution that helps in throttling & load-balancing incoming messages. These messages could potentially be either long-running jobs or simply an incoming flood of messages received from our integration web services that are called upon via BizTalk. For the posting of messages onto the "to do" queue, we are implementing the "fire & forget" pattern that has been discussed here previously and on Remus' blog. This aspect of the design seems to work fine for us. Currently we have this setup where activation is occuring on the target queue, but we don't want to hold open a thread there on the server while waiting for ...Show All
SQL Server Expression to get the last word of the fields
Hi, How do i get the last word of a field in an expression Thanks Yes I did try different ways to do it with a combination of FINDSTRING, SUBSTRING and LEN I never used the REVERSE now I will for sure know the different ways how to use it and how powerful it is. Thanks for every one ...Show All
Visual Studio Tools for Office VSTO 2005 SE runtime componentID
To deploy a VSTO 2005 SE addin I'll need to follow the instructions for adding the custom actions and installation prerequisites but I'll need the componentID for the new VSTO runtime. The componentID's for the Office 2007 PIA's will also be needed. Is there an updated version of the installation/deployment walkthrough that provides that information Where can we get that information Thanks, Ken Slovak Sandra, The information has now been updated in the Whitepaper. HTH, http://blogs.msdn.com/johnrdurant ...Show All
.NET Development Raw Sockets?
Is there a way to use raw sockets in vb.net Please not some operations are limited when using raw sockets on Windows: please see here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=431824&SiteID=1 The blog meantioned above is here: http://blogs.msdn.com/feroze_daud/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. urgent , how to use maya files in directX
How I can use my maya and 3ds Max models on my game using Maya 7 , 3ds Max 8.0 and DirectX SDK 9 The directx sdk contains plug-in exporters for Maya 6, 6.5 and 7 They are installed here e.g. C:\Program Files\Microsoft DirectX SDK (June 2006)\Utilities\Bin\PlugIns\Maya\Binary7\Plug-ins ...Show All
Software Development for Windows Vista Questions on managing a large number of users
I have a question on whether CardSpace can be used in the following scenario. Just wondering if anyone can point me in the right direction. I have a system that will employ approx 250 laptops and approx 2500 users. I want to use CardSpace to store information about each user and provide the authentication for the users. For the most part, each user will only be using 3 different laptops, and each laptop will have a total of 100 users. I would like to be able to store all the cards on a main server, and have the server download the cards to the laptop as needed. I also have several fields on the card that are expiration dates, making the card invalid. Can something like this be done in CardSpace Thanks for the help, Joe ...Show All
SharePoint Products and Technologies Install WSS 3.0 with Search but without SQL Server
I'd like to make a full WSS installation with the exception of SQL Server Express. If I choose "Basic" or "Advanced -> Full" intallation scenarios it installs SQL Server and I cannot uninstall it separately. If I select "Web Front-End", it then lacks search service (as per imbedded help). Is there any workaround well, as often, the way around the settings pre-defined for wizard is command prompt. So these two commands brought me a fully functional database connection and working Central Administration site. "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\PSCONFIG.EXE" -cmd configdb -create -server <my server address> "C: ...Show All
Visual Studio Express Editions Blog Starter Kit?
My mother mentioned that there's a blog starter kit, or some kind of tutorial that is around that you can use to learn a bit about how Visual Web Developer works Can anyone tell me if that exists Hi, here's a link to some VWD starter kits you can start with. You can check online demo, view the webcast and read the documentation of some kits before downloading and installing on your computer. Also, it looks like Blog Starter Kit is also in the works... Andrej ...Show All
Windows Forms Windows 98/.Net Framework Problem
Hi, I have a ClickOnce, VB Express application that is working fine on many clients, except for a client who is stuck in the world of Windows 98. I have uninstalled, rebooted and re-installed .Net Framework 2 several times. The reboots seem clean, but when I attempt to Run the application, the file is downloaded and then Windows asks if I want to Run or Save the file. In either case, Windows attempts to open the file, Prize%20Money[1], but of course there is no application associated for this file. I assume that there is a problem with either Windows 98 or .Net Framework 2, but I don't have clue where to begin. Although, I'd like to tell the client to upgrade his old iron and get Windows XP this is not an option. Thanks for your sugg ...Show All
Smart Device Development SmartPhone (WM5) Regestry Lock
I work in a software company and we have an application that should run on smartphones (WM5). Several of the devices we got, are locked for registry editing. Where can I find help in unlocking those devices (and I don't mean finding cracks on the net :-) Thanks, Rotem If you are making programs for WM 5.0 then you can join the Mobile2Market program. Before 5.0 you need to contact all the phone companies that you wish to provide for. 200th post ^^ ...Show All
Visual Basic ping IP/host
hey i have now somewhat succesfully made an ip-tracker. how do i make it able to "ping" an IP og host sa it will send out 4 packets or something and then count how many returns you know what i mean im sure. and is it possible to get a "whois" thing build in to it im using Visual Basic xpress 2005. //Martin No The process is purely a call to an external process. You cant update a progress bar from here. This will result in the window not showing. Public Shared Function RunExecutable(ByVal ExecutableName As String, ByVal args As String) As String Dim p As Diagnostics.Process = New Diagnostics ...Show All
.NET Development Pulling a cell to a text box
I have my user selectable file opened (automatically loads and opens excel) using Process.Start (filename) If I wanted to populate lets say Textbox2 on my form (single form) with data from the current opened excel file....How would I go about doing that something like :- sheet.range ("a3").Value = textbox2.text (obviously this doesnt work but the intention is there !) Thanks Instead of using Process.Start you are going to have to interact with Excel using Excel Automation. Take a look at this article: http://support.microsoft.com/default.aspx/kb/301982 ...Show All
Windows Forms DataGridView - How is mouseDown implemented?
Hi I've made a class that inherits from DataGridView. I have overridden the mouseDown like: protected override void OnMouseDown(MouseEventArgs e) { DataGridView.HitTestInfo hti = this.HitTest(e.X, e.Y); if(e.Button == System.Windows.Forms.MouseButtons.Left) { if(hti.Type == DataGridViewHitTestType.Cell) { if(this.RowChanged != null) this.RowChanged(this, new MyProject.DataGridViewRowSelectionEventArgs(this.CurrentRow, this.Rows[hti.RowIndex])); } } As you see, I do not select the row pressed, because I want to have this done outside the control. (Because sometimes I ask the user if she wants to select/unselect that row). Then to select/unselect a row I have a method: public void SelectRow(int index, bool selected) { this.Cu ...Show All
