Answer Questions
narukrish WCF Serilization of System.Exception
Hey, I am trying to serilize an Exception in WCF. It is simple class [ Serializable ] public class NNTraceData { private Exception _Exception; public Exception Exception { get { return _Exception; } set { _Exception = value ; } }.... } and my generated interface contains the following line. [System.ServiceModel.ServiceKnownTypeAttribute( typeof (System. Exception ))] When I set the exception and try to send the class I get an http error. (otherwise it works fine) I see that type Exception implements ISerializable so I would expect it to work but could it be causing the error or is there an attribute needed to insure it is using the correct seialization method Anyone know if this should work or am I ...Show All
Bernhard Huemer FilterParameters
Yo sync bros... going for a param filter and have the below working except for the FilterParameters section. What is the SyncTable command Equivalent for param filters used like in the example below Thanks for looking. :) ' -------------------------- SYNC TABLE ProposalDetail --------------------------------------- ' the SQL Server Everywhere Edition provider for the local Database Me .ClientSyncProvider = New SqlCeClientSyncProvider( My .Settings.MyConnectionString3, True ) 'Each table to be syncronized needs a SyncTable definition to set the options Dim ProposalDetailSyncTable As New SyncTable With ProposalDetailSyncTable .TableName = "ProposalDetail" ...Show All
a. Nova Element Binding: Line X1 Y1 bind with UIElement's location
I have a line object on the canvas and along with button. line's X1, Y1 exactly start from the right border of the button and end after some distance. Now what I want is to bind the X1, Y1 properties of the line object with the location of the button. Now e.g. if the button object moves, the line's X1, Y1 should move with button (just because of element binding). (make sure that X2, Y2 should be static, no movement should occur) Can we do that in xaml.... Any question please ask Thanks alot to read this thread :) and too thanks in advance to feed it thanks for your post! Lee d: In your code you are binding only the X1 property of the line with Left property of the Canvas, now its mean that if you move t ...Show All
PublicError how to open an excel workbook in c#
How can I open an existing workbook in c# (ex:c:\test.xls) and add values and print. Hi Zerrin You apparently aren't using the VSTO technology, but wish to automate Excel. The more appropriate venue for this kind of discussion is the office.developer.automation newsgroup. This knowledge base article will get you started. For follow-up questions, please go to the office automation group. ...Show All
rad2319 Creating a Message from scratch
Hello, I'm trying to create an Message instance, and I have the following problem: How can I add objects in a easy way to a serializer who writes them in the body of the SOAP envelope ! On other words, What is the standard way to add objects to a SOAP envolope (encapsulated by Message) Thanks, M There's a sample of this in the client side caching sample. In that the response message is created and sent back to the proxy without ever leaving the client. http://wcf.netfx3.com/files/folders/transport_channels/entry3782.aspx Thanks, Scott The System.ServiceModel.Message class provides several static factory methods for creating Messages by hand. Take a look at the Message.C ...Show All
Apple I winfx wizard framework
Hello, I'm using WPF to develop a wizard to guide users through a setup process. I'm trying to follow the vista guidelines. I came across a few postings on 'WINFX WIZARD FRAMEWORK'. So far I've gathered that it is a mix of WPF and WWF, sound very cool and useful. Would someone please explain what it is When is it going to be released. Is it already part of the CTP I want to know if I should wait for it or go ahead and hand code the wizard. Thanks Houman There is no "official" wizard framework. It looks like Chaz had posted about a wizard framework that he was planning...but his blog has not talked about it as of late. WPF does have navigation built into many of ...Show All
Flakky Announcing the Cider June CTP! (for the .Net Framework 3.0 June CTP Release)
The June Community Technology Preview of the Cider Visual Designer for Windows Presentation Foundation is now available! As usual Cider is being released as part of the Visual Studio Code Name 'Orcas' CTP, an early preview of technology for the next release of Visual Studio. Similarly to the previous CTP, this release of Cider supports basic "form" creation/layout and "XAML Preview". The primary focus for our June CTP is to release an updated Visual Studio toolset that is compatible with the new .Net Framework 3.0 June CTP . The major updates you should expect to see in this CTP are: Compatibility with .Net Framework 3.0 June CTP . Improvements to XAML Parsing and Rendering - like XML Data Island suppo ...Show All
exulted Getting CodeModel events from Generic objects
It's possible to use EnvDTE80.Events2 to track pretty much all the changes to your code model. For example, I can track new parameters, renamed paramters, and other signature-change events. However, I don't see how to get notifications when generic arguments change. Also, as far as I can tell, the only way to find the generic arguments to an object is by looking at the FullName object, and there's no way to get at the constraints for a generic argument at all. Am I missing something Steve, You are absolutely right. The only generic thing that you have represented in FileCodeModel is the IsGeneric property located on CodeInterface2, CodeClass2 and CodeFunction2. Pablo ...Show All
kopo Crystal Reports Showing Empty Report
In a C#, VS NET 2 Windows app I am trying to display a report made with CR which comes with VS 2005. When the form containing the report viewer opens, the report is empty of data in the dataset. I know the dataset is coirreclty filled, however. The form is very simple, there is only a report viewer - crv. crBizInvoice is the report form crBizInvoice.rpt dsBizInvoice is the name of dataset created and used in designing the form - dsBizInvoice.xsd This is the code in the form: public partial class rptBizInvoice : Form { SqlConnection conn; SqlCommand cmd; SqlDataAdapter da; DataSet dsBizInvoice; crBizInvoice crB; public rptBizInvoice() { InitializeComponent(); String strConn = sqlClass.getConnString(); conn = new SqlC ...Show All
Mat_77 Dynamic Crystal Report Genration
hi forum is it possible to create Crystal Report dynamically. Dynamically means i don't want to bind crystal Report from any table at design time. is it possible to create FieldObject dynamically. Thanking u in advance Hi Yes it is possible through the Crystal report Automation Object Model, but remember Version 9.X required a Report Generation API licence. If you are using other version then these API licence are free. Add a refrance to Crystal Reports .NET Active X Designer Designe and Runtime Libraray. (It is a COM Component..... so look in COM Tab in refrencing window) CRAXDDRT.Application app = new CRAXDDRT.ApplicationClass(); CRAXDDRT.Report report = app.NewReport(); ...Show All
Rick T Questions about Sandcastle
I have some questions and observations regarding the July CTP of Sandcastle when using it to generate documentation. The generated CHM file doesn't seem to have an index. There's no Index tab displayed in the viewer. The generated CHM file doesn't seem to have search capability. There's no Search tab displayed in the viewer. When the CHM file is double-clicked to open it for viewing, the right-hand pane of the viewer shows a mostly-blank page with a small warning icon in the upper left-hand corner. This mostly-blank page goes away when any of the entries in the table-of-contents in the left pane are clicked. In the CHM file, the documentation entries for class constructors always seem to have ".ctor" prepended to them. The table ...Show All
Colin Bowern Bug with datetime picker?
I create report that uses stored procedure with 2 parameters. 1st parameter is datetime, 2nd is string. In preview mode I see datetime picker for 1st parameter. I pick September 1, 2005. I use Russian regional settings and date is displayed as dd.mm.yyyy (01.09.2005). It is OK. But after I click "View Report" date is changed to 09.01.2005 (January 9, 2005) and I get empty report because I have not data on this date. I click again and date is changed to 01.09.2005 (September 1, 2005) and I get report with data. I click again and date is changed to 09.01.2005 etc. If I change Standards and Formats in Regional Options to English (mm.dd.yyyy) I get normal behaviour. But I need Russian standards. SP1 ...Show All
Rich G A walk through for Project Sub type sample
Hi - I am currently using the August 06 - Visual Studio SDK. I am trying to understand the Project Sub Type sample and was wondering if there is some walk through that can help me me understand as to how the project was built. Thanks, Kushal. Hi Dmitry, Actually I am trying to create a flavor on top of the already flavored project. As of now I was successfully able to change some GUIDs and templates within the project sub type and have a flavor on top of our flavor. However I want to create something from scratch - see exactly what steps need to be followed in coming about the final flavor. Hope this answers your question. Thanks, Kushal. Hi Kushal, Could you please specify what is "the root o ...Show All
amritamritamrit Wotking through https
At first, sorry for my English. We created service using WCF, which hosted on asp.net. When I connect to service through http, I have not any problems. When I connect through https it throws an exception with message: "There was no endpoint listening at https://www.domainname.com/services/Services.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details". Inner exception message: "The remote server returned an error: (404) Not Found" Proxy class generates with not problems. Service configuration: <service name="Services" behaviorConfiguration="Behavior_IServices"> <endpoint address= ...Show All
Carl Grainger Com Add-in creating custom events for keyboard Shortcuts
Hi, I have written a COM Add-in for Office 2003 using C#2005. I have sucessfully added custom events to most of the menu items and tool bar buttons, but, if the request is done via the short cut (F7-Spell check for example), then, my newly created event doesnt fire. I still want to access the shortcuts, but want my event to fire first. Is this possible Thanks in advance Office and VS use commands, from which buttons, menus are created and you can bind keyboard shorcuts to them. While VS gives you access to commands and you can capture events, AFAIK Office applications don't give you such access. Why do you want to set so many event handlers to buttons and menus We have an applicati ...Show All
