Answer Questions
TheQuietShadow Trying to get client parameter values on the server
I cannot seem to do the following: 1) I have a report that uses the ASP.NET 2.0 Report Viewer against a RS2005 report that has parameters. Some have default values. One is a text box. Others are drop-down lists. 2) I have ShowParameterPrompts = true and am presented the parameter area upon first visit to the page. 3) I fill in the parameters on the web browser page and click the View Report button 4) Now, on the server side, I want to examine the parameter values (in the Page_Load event). When I do a GetParameters on the ServerReport of the ReportViewer, I receive back a collection of the default parameters values, not the values that I just submitted. 5) The report is working just fine. How do I see the parameter values submitted b ...Show All
kyu5354 Binding width to a Gridview column
you are all probably getting tired of me :-). Last question... well.... at least for tonight. In the code below in the Listview there is a GridViewColumn named PublishDate. I would like to have the content of that column span the entire width of the column always. Even if the column is resized. I tried binding the width of the ItemsControl in the template to the columns, but I'm getting some weird compile errors. Is this this the best way to go about this I could use some help writing a binding expression that would get me the width of the column. Thx. <Window xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' Width="664.8" ...Show All
JumpyXNA Obtaining a local application object from a separate AppDomain
Hi, I have a scenario using VSTO 2005 SE that requires multiple AppDomains, each of which could manipulate the application's object model using the PIAs. The initial VSTO add-in is obviously passed a local instance of the application object (Microsoft.Office.Interop.Excel.Application). If I pass that instance along to any of the other AppDomains, transparent proxies and remoting gets involved, eventually causing problems when the lease expires (less than 10 minutes). What is the correct way to obtain a local reference to the Excel application object from a separate AppDomain I've tried creating a local instance of the Excel application by reaching into the Running Object Table (ROT), but this only seems to grab the first instance ...Show All
monchhib 3D performance in WPF
Hello I created a simple 3D model (there are two spheres in this model) with 3Ds max, exported it as 3ds file and then converted to XAML by using ZAM 3D. Then I inserted created viewport into a scene. I was using Daniel Lahenbauer's Tracball class for rotating around a model. When a model gets bigger (after zooming in), it starts to be hard to rotate around or to zoom in again, so the performance is bad. By the way, I have watched Daniel Lahenbauer's video about 3D integration into WPF on MSDN TV http://msdn.microsoft.com/msdntv/episode.aspx xml=episodes/en/20060504WPFDL/manifest.xml and there is a 3D globe demo. As I have seen, this demo has a posibility to move around the globe, and the performance is just great! So how to ma ...Show All
Hans1982 Difference between var, object and variant
Am I understanding things correctly. That in this new version one feature is you no longer need to declare a variable of what it is. Meaning instead of : string b = "hi" var b = "hi" seems like using var for everything really isnt a good idea and in a way is almost like vb.net where you don't even need to declare variables at all. Please explain to me as I am thinking all I learned of variables was wasted if you can just use var. Again I could be misunderstanding. "object" is a type (System.Object to be specific). "var" is not a type. Rather, it instructs the compiler to determine the type of the variable from the variable initializer. ...Show All
Al Pie Remote Deployment
Hi, I'm working on setting up CruiseControl.net and using it with MSBuild to do continuous integration and help automate the release building and deployment of apps for my clients. This is for my consulting business, so the machines I deploy to I access through VPN, but my build machine is not on any of my client's domains. I've gotten the MSBuild scripts to do this so far: 1. Build application 2. Copy files to release directory on my development server 3. Fire off an EXEC task that uses rasdial to dial up the VPN connection to my client's server 4. !!!!!!!!!! Authenticate against their domain !!!!!!!!!!!!! 5. Copy files to deployment directory on client's server 6. Hang up VPN connection Number 4 is the task I need help with. Eve ...Show All
ckoppang Exception: The type 'XYZ' has no identity key
Hi there, I used SQL metal to generate some C# code against a database. Some of the tables in there have primary keys that are not identity columns, but just integers. Whenever I try to retrieve any data from these tables using Dlinq it throws an exception saying where 'XYZ' is the object generated from the table: Exception: The type 'XYZ' has no identity key Am I doing something wrong here Are identity columns a requirement for all objects used through Dlinq Any help would be greatly appreciated. Thanks, Dhugal. Dinesh (or anybody): Is there going to be a way to add meta data in SQL that SqlMetal will recognize for example, add a meta data tag of "Id=true" to the view when SqlMetal doesnt ...Show All
JacksonJones Exception in MeasureCore
I'm simply trying to set the Button.Content property to the value of a string, like myimage.jpg. The Measure method on the FrameworkElement seems to be failing with: "Overflow or underflow in the arithmetic operation." Is this a bug or what's the issue here See exception stack below. Thanks! "at System.Double.Equals(Object obj) at System.Object.Equals(Object objA, Object objB) at System.Windows.DependencyObject.Equals(DependencyProperty dp, Object value1, Object value2) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEn ...Show All
Sarguna MS-WORD AUTOMATION ERROR : "The message filter indicated that the application is busy."
Hi, I am getting this error while creating word application instance from vb.net/c# for web applications. Dcomcnfg is configured as per microsoft instructions for the same for the permissions. But still I am getting error: {"The message filter indicated that the application is busy." } If any one can provide the resolution for the same that will be a great help. Thanks and Regards, Ashish Complete Exception detail as below: - exc {"The message filter indicated that the application is busy." } System.Exception + [System.Runtime.InteropServices.COMException] {System.Runtime.InteropServices.COMException} System.Runtime.InteropServices.COMException System.Object {System.Runtime.InteropServices. ...Show All
enric vives debugging WCF service in IIS 7
How do you debug a WCF service hosted in IIS 7 in Vista I turned on Windows Authentication under IIS/WWW Services/Security, and have set the service up for Windows Authentication in the IIS manager. I can attach to the w3wp.exe after hitting the service in a browser ( https://ferrari/CommerceServices/TestService.svc ) but I get "The breakpoint will currently not be hit. No symbols have been loaded for this document." Am I attaching to the right process On a side note, is there any way to get F5 debugging support working for IIS7 hosted services Thanks Hi Richie, Thanks for your reply. I do not currently have the service in a separate dll file, but I can certainly do so. Is structur ...Show All
MJL_1966 Problem: VSTemplate only uses first wizard extension
I'm trying to create a custom item template for web services based on the Web Application Projects template. I wrote my own wizard extension class to replace custom parameters. The problem I have is that the <WizardExtension> element can only be added to the vstemplate file once. It can have multiple <Assembly> and <FullClassName> child elements though, and I tried adding tags for my custom wizard extension, like so: <WizardExtension> <Assembly>Microsoft.VisualStudio.Web.Application, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</Assembly> <Assembly>Templates.Custom.WizardExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d4c05f50bb9e80b6</Assembly> <Fu ...Show All
hunkybilly TextWrapping in Grid with Column '*' sizing
TextWrapping doesn't work in a Grid (TextBlock or TextBox) if the column width is set using * sizing. Is this intentional and if so why Thanks Michael Hi Lee, If you paste the following into XamlPad it should show the problem. Michael <Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Grid.IsSharedSizeScope="True" > <Page.Resources> <XmlDataProvider x:Key="NoteData" XPath="/Notes/*"> <x:XData> <Notes xmlns=""> <Note ScoreDate="1 Jul 2006" TaskName="Bowling" Score="58%" Comme ...Show All
MyraK Report Rendering error
I'm working on a pretty complex report in local mode. This has a single column table having a rectangle in each cell and each rectangle having a table inside. The rdlc is generated dynamically and at rendering time the viewer throws an error "An internal error occured on the report server. See the error log for more details". When opened the generated RDLC in visual studio report designer it openes up fine. I managed to get the exception thrown by the viewer by subscribing to the error_occured event. If any one of u can give me some clue as to where the error may lie it would be really great as I'm kinda lost. Here's the exception trace, at Microsoft.ReportingServices.Diagnostics.Utilities.RSTraceInternal.Assert(Boolean condit ...Show All
S_R_M INSERTING INTO AN EXCEL FILE FROM MS ACCESS
Hi everyone, I have been trying to write in an excel file from an access database. I am getting errors such as: Invalid argument. This is the code I am using: thecmd.CommandText = "SELECT " + tbf + ".Neid," + tbf + ".Famid," + tbf + ".RankID1,(" + tbf + ".Valeur-" + tbd + ".Valeur) AS Valeur " INTO [Provider=MSOLAP.2;Persist Security Info=False;Data Source=""C:\Developpement\Project_RCP\RCP_App\Test.xls"";Extended Properties=Excel 8.0;Client Cache Size=25;Auto Synch Period=10000;HDR=NO;].[Feuil1$] FROM ( " + tbd + "," + tbf + ")" Can anyone Help as it is urgent Cheers, Hi everyone, I actually managed to get it ...Show All
nonno Need a list of email addresses of an email item
Hi, I'm an outlook interop beginner and having problems with something that is maybe (i hope) easy to solve. I have an add-in for outlook that recieves item changed events for the inbox folder. The listener recieves an mailitem object. In a mailitem is a recipient list with recipients. I want to store the email address of each recipient in the database. For example mail to test@microsoft.com , test2@microsoft.com should result in two rows in the database. In a recipient object there is an address value, but when I read the address object, it’s vague exhange stuff, but only the email address is important. F.e. /O=COMPANY/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=JACOBM Source foreach (Recipient myRecipient in inboxMail.Recipien ...Show All
