chaza's Q&A profile
Visual Studio 2008 (Pre-release) Deserialzed object is null
Hi, I use the IRequestChannel.Request, the message gets deserialized and i dont receive any errors but the deserialized object is null. Both my data contracts match. I dont want to use MessageContract. Any thoughts on whats going wrong Thanks! Client side contract [ DataContract (Namespace = "http://vz/framework/servicecontract" , Name= "CreateUser" )] public class CreateUserRequest { private string userId; [ DataMember ] public string UserId { get { return this .userId; } set { this .userId = value ; } } } Client invoking the server CreateUserRequest req = new CreateUserRequest (); req.UserId = &qu ...Show All
Software Development for Windows Vista Vista and viewing streaming video crash
I am not positive this is the correct area to post this. I am having an issue watching streaming video using IE7 and WMP 11. The video is MLB.TV and it causes the computer to restart without an error message, is this due to lack of support or something else entirely Thank you for your help. I ended up having to do a complete reinstall. I think the problem was stemming from trying to install MLB.TV Mosaic, or at least thats what I think now. It was either a result with the .Net Framework 1.1 or something with not installing something correctly. After the reinstall and avoiding reinstalling MLB Mosaic I am able to view MLB.TV without a problem and stream internet radio. ...Show All
Windows Forms MSI installer issue (Soz if this is the wrong place)
I have VS 2005 SP1 for vista beta. I don't have experience making MSI files, so sorry. I can't find the option int he menus/property pages to change the name on the setup file. As in the setup is named "Setup1" and installs to the application folder DefaultCompanyName\. Where are these settings I really tried to look everywhere I could think of. Cheers. hehe yeah. I was working at about 3:30/4am and I wasn't quite thinking straight at the time. Plus I have the vista version of 2005 and the properties box wasn't showing properly. I found it, but thank you anyway for answering my question. ...Show All
SQL Server Slowly Changing Dimension "Wizard". Is it bobbins?
On the face of it, the Slowly Changing Wizard seems a great idea, but is it really any good in the longer term After you have selected your Type 1 and/or Type 2 changing columns ... then you have "customised" the generated data flow and carefully saved it ... how do you change the column definitions in the future If I want to add another column and make it Type 2 how do I go about it If I run the "Wizard" doesn't this just destroy all my previous customisation work I have tried looking in the .dtsx xml file ... hmmm. I notice it's not really editable without some inside information. All those magic numbers in there ... I've fallen foul of them in the past with cut/paste or trying to INSERT a data flow task on ...Show All
Visual Studio Express Editions Another Problem
Hi, I was wondering if there is anyway to turn a huge amount of code into a simple function. Right now I have a bunch of check boxes and they are all named C1-C7 and W1-W7, instead of putting in code for each one when clicked, which results in a large amount of code, is there anyway I could make one function to handle all of these. I tried something like this. If C(num).checked=true then W(num).checked=false endif its just a basic example of what i want and i could really use this later on. Thanks The code Dim ckBox As CheckBox = sender ckBox.checked = Not ckBox.Checked makes an infinite loop, but now i know how to use sender which should be very useful, thank ...Show All
Architecture Multi-tiered enterprise application
I am trying to get my head around multi tiered web apps in the .net world. In the java world, the tiers can be separated neatly into Web Tier (say Apache)->remotely accesses Middle Tier App server (say weblogic) which implements code which calls the data tier->Data Tier In the windows world, IIS can be the web tier but I cant find the middle tier. I read about enterprise services, but that requires inheriting from a COM interface which is something I dont want to do. Is there a pure .NET component app server out there Any tutorials on creating middle tier pure .NET components I also read about IIS hosting web services and have implemented a couple.. But I want my web app to be able to remotely call components on a s ...Show All
Software Development for Windows Vista Lack of "go to" functionality in WF
I understand that there is no built-in functionality that allows the workflow to jump from one activity to another one up or down the stream... This seems to be a serious flaw in the whole WF framework... Any comments from the esteemed readers will be appreciated.... That is true of the SequentialWorkflow model - but not of the StateMachineWorkflow model - with a Statemachine you can transition back and forth between different states as many times as you'd like. ...Show All
Software Development for Windows Vista WWF , BPEL , BP workflows
Hello, Does WWF support the BPEL Standard dor workflow. My point of view is that it 's difficult or complex to build Business Process with WWF. It's not adpted for this issue. I think it's more generic than BP workflows. Can You help me by some some explainations about this issue. Thanks in advance Hi Hope this article gives a brief idea of what you are asking... http://blogs.msdn.com/lamonth/archive/2005/09/14/466222.aspx Regards, Pavan ...Show All
SQL Server SQL Server 2005 Back Problem
I am new to MS Sql Server, I have installed Sql Server on a system and i created a database in it, now i wanted to uninstall it and install it on other system, but i dont like to lose my database, therefore i want to export my schema and import in other database. what are the steps that i follow, i have installed Sql Server Management Studio Express on it. Thanks to you Reading my problem. There is no need to do any of what you described. Your entire database, schema and data, is all contained in a file, you simply need to detach the file from your development server, copy it to your production server and attach it to SQL Server on that machine. You can Detach the database in Management Studio by right clicking on the database. ...Show All
Windows Live Developer Forums Sample: MSN AddIn - Text to Speech
A very simple sample of a msn addin. It uses the Microsoft Speech API to read incoming messages for you. The addin needs to be strong named and added to the global assembly cach. Same goes for the COM wrapper class for sapi.dll Generate the COM wrapper object for sapi.dll. Instead of just adding a com reference to it use tlbimp.exe and generate it yourself using the .snk file you've used to sign the addin tlbimp.exe /keyfile:”c:\my path\keyfile.snk” sapi.dll gacutil /i SpeechLib.dll Add a reference in your project to SpeechLib.dll The addin: using System; using System.Collections.Generic; using System.Text; using Microsoft.Messenger; using SpeechLib; namespace MsnAddin { public class SpeechTest: IMessengerAddIn { private Messeng ...Show All
Visual Studio Team System Team Build result not showing in the Builds Report
i have stopped getting new entries in my reports, even though they appear in the list of builds. I've only added a task to create a directory & make a dummy exec call to do a "dir"... Build still succeeds... Hi Buck, RE: Timer. Thanks. At least now I know how it works & it explains the behaviour etc. Unfortunate about the failed builds etc. RE: Builds...I actually found that link & am in the process of doing the actual build. One of the issues I have is obviously getting the last build number. I was stuck for where to get this info from, so reverted to my old habit of creating a file to manage it. It's not ideal, and since TFS already knows this, it'd save me a lot ...Show All
Visual Basic how can I use the sender object to determine which of the panels fired the event?
given the following; Private Sub Panel_MouseDown( ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PanelDrawingLeftTop.MouseDown, PanelDrawingRightTop.MouseDown, PanelDrawingLeftBottom.MouseDown, PanelDrawingRightBottom.MouseDown how can I use the sender object to determine which of the panels fired the event Isn't it a cast Thank you, -Greg and also Private Sub Form2_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load AddHandler Panel1.MouseDown, AddressOf OnPanelMouseDown AddHandler Panel2.MouseDown, AddressOf OnPanelMouseDown End Sub Private Sub O ...Show All
Windows Forms How to create UnInstall Shortcut?
I developed windows application in C# and i created setup and deployment project for that application. In that deployment project, i created shortcuts in Desktop & Programs. After that I build the application. When i install the application, it works fine and creates shortcuts. UnInstall open is not available in Programs Menu. How to create shortcut for UnInstall in programs menu. Because my client asked, uninstall option provide in programs menu. This application is created in dotnet 2003. A simple search on this forum led me to this post that should answer your question. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=813710&SiteID=1 ...Show All
SQL Server Manage instances in another machine
I'm trying to manage another SQL Server 2005 instance in another machine. I'm doing this by connecting to another computer thru Computer Management. When I go the SQL Server 2005 Services, the right pane is showing There are no items to show in this view. How can I view the services Another problem that I have is that I have to turn off the Windows Firewall in the other machine. What exceptions are needed I have tried by adding the specific TCP used by the instance. Hi Steven, I'm following this MS article: http://msdn2.microsoft.com/en-US/library/ms190622.aspx I can connect to the SQL Server Configuration Manager of the remote computer thru Computer Management. I c ...Show All
SQL Server Visual Studio crash at Analysis Services Project
I have implemented SQL Server 2005 Developer Version at Windows XP Home. I'm working on localhost. I want to do an assoziation analysis and creating data source and data source view is successful. But when the data mining wizard comes to the point where to choose the data mining algorithm, the visual studio crashes- the application is not responding. No error code is given, so I don't know where to start. Analysis Server is running and the connection to the data source is made. Hope someone can give me a hint. the problem is still there. now I found out, that the crash also occurs when I want to see my OLAP Cube. The build of the cube is successful and I can see the dimensions and so on, bu ...Show All
