Answer Questions
Paul_G 'Unable to find the emdedded reports auto generated wrapper class'
Hello, I have just upgraded my VS2003 project to VS2005. Had a million things to fix, but I'm finally down to the last few. The biggest remaining problem is my Crystal Reports don't work. The error message is below... On googling it the answer seems to be I have to include the *.rpt's as an embedded resource. However, and this is the really odd bit, the properties that should show up in VS2005 to allow me to do that are simply missing! No matter how I fool around with it, there is no Build Action property when I select a file in the Solution Explorer. I notice that if I create a Windows application in VS, the Build Action property (and 3 others in the Advanced category) are available. Just not when I'm working with web projects. ...Show All
Manojit Paul bindingName and bindingNamespace in configuration file
There is a way to specify the binding name and binding namespace in the end point of a service through configuration. These two attributes affect the way WCF generates the wsdl:binding names. What I noticed is that if you have a service with multiple end points (in my case I have a service with multiple contracts, each with one operation) and if I explicitely specified bindingName and bindingNamespace in each of the endpoints, the last set of binding name and namespace are winning. For example, if my configuration file is authored as below: <system.serviceModel> <service name="WCFFooService.MyCustomerService"> <endpoint binding="wsHttpBinding" contract="WCFFooService.ICustomer" bindingNamespace="urn:MyCompany.Custom ...Show All
UltimateSniper ListObject binding Help
hi i am facing a small problem in excel programming. I just read your doubt. From that it seems you may be able to clear my doubt. My problem is as follows: I have one listObject added to each sheet in a workbook during design time. Inside Workbooks sheet activate event I iterate through all worksheets using foreach loop as follows foreach(Excel.Worksheet ws in ThisWorkbook.Worksheets) { Excel.ListObject ls = ws.ListObjects[1]; } Now i need to bind this listobject to a dataset using SetDataBinding method inside the foreach loop. Is it possible Or is there any other way to find listobject added to each sheet (design time) and bind it to the dataset. Hope u will be able to help me Thanking ...Show All
GRK Possible To Intercept Naming of Worksheet Created From Excel Template?
Hi, folks! As the title says, is it possible to intercept or otherwise specify the name given to a workbook created from the template in an Excel Template Project I'd like to be able to append a date to the end of the name. Thanks In Advance! Have you tried using the WorkbookBeforeSave event I'd try it setting the SaveAsUI param to false. Then display a dialog box to get the path and file name the user wants to use. When the user dismisses it, your code performs the actual SaveAs with the supplemented file name. If this were Word, I could even tell you how to use Word's built-in SaveAs dialog box. I don't think Excel lets you manipulate the dialog boxes in the same way, but you could ask in http://msdn.microsof ...Show All
Izzy545 Outlook 2007 Add-in woes
I have been developing/maintaining an Outlook plugin for over a year. It works fine with Outlook 2003, as well as Outlook XP. Unfortunately, during my testing with the Outlook 2007 Beta 2 version, I've run into some problems. It seems like enabling my add-in causes Outlook to throw an exception when it exits. I am using a debugger and Application Verifier to try to solve it, and this is what I've come up with: When the add-in is enabled, I receive the following error from Application Verifier on exit: ======================================= VERIFIER STOP 00000202 : pid 0xC38: Freeing heap block containing an active critical section. 0B65AB98 : Critical section address. 00000000 : Critical section initialization stack trace. 0B658AE0 ...Show All
Olle SW How to override instance property value with style value?
Hi, I am trying to create style for my button which would set its color, font type, size and so on. Unfortunately, it seems that button instance values take precedence over template values. Is there a way to change precedence such that style values will take precedence What I would like to achieve is that in following sample my button to have text 'Hello' and background to be black: < Style x:Key = " GeneralButton " > < Setter Property = " Control.Background " Value = " Black " /> < Setter Property = " Button.Content " Value = " Hello " /> </ Style > ... < Button Background = " #FF008000 " Style = " {StaticResource GeneralB ...Show All
Matrixchyah Application memory leak?
When I open a system.windows.application object and load a xaml stream as a window, the number of handls for the proccess in the Task Manager proccess increases. This behaviour continue without stopping untill the proccess becomes very slow. Does anybody stumbled into this situation I'm running framework 3 release ...Show All
flubla Excel & C/C++
Hi People! I have developed at some time ago an application that runs as windows service. Now i've to integrate this application with Excel... Until here no problem... The problem begin when i try to access the Excel application object Activex, when the application is running as service. The excel runs the installation wizard, as if it need some plugin or library that is not installed. The observation is that the Office (2000/ XP/ 2003) is installed seted up as complete (all the software possible). And the wizard belongs to appear ever time i use the integration from the software (in service mode). Any ideia how i can mitigate the problem, maintainning the application as windows service and accessing the Excel ...Show All
ailuz VSTO SE, Vista RC2, Caspol, Oh My
Hello, I've been playing with my VSTO 2005 SE Outlook addin under Vista RC2 using Office 2007 B2TR and the VSTO 2005 SE beta loader (I also run around a lot with scissors) My first issue has been with the installer. I get a 'Error: 2869' that requires my users to go and either turn off UAC (can you imagine!) or run the MSI with 'Run as Administrator'. Obviously I don't like this and would feel bad for lots of good reasons. What seems to fail is some custom action [RunInstaller] code that allocates the .NET Security Policy around my wee Add-in assembly. This code seems to work fine under XP before. I had a look at how the VSTO Team recommends doing it and saw the tutorial/examples of SetSecurity/CaspolSecurityPolicyCreator. I ...Show All
yvolk Fuzzy "out of focus" text in drop down menus
Hi, Most of the ClearType text used by WPF running on XP normally looks at least "OK" to me. But the text in the drop-down part of menus of the samples looks blurry, fuzzy or "out of focus". See the link below to the screen capture of part of WpfNotepad. You need to view the largest size to see the problem: http://www.flickr.com/photos/52602162@N00/376915412/ Notice that the text in the drop-down portion of the menu is using "grey-scale" ClearType (looks fuzzy to me), while the text on the main part of the menu is using the normal "colored" ClearType (looks OK to me). Is there some way to get the drop-down text to use the normal "colored" ClearType The drop-down menus on Blend itself use the "colore ...Show All
Brian Laws Source Control User Interface Reference
msdn - Source Control User Interface Reference This section describes the dialog boxes used by source control in Visual Studio. The following dialog boxes are templates that the plug-in developer can tailor as neededSource Control User Interface Reference Check In Check Out for Edit Get Undo Checkout Is it possible to override the Check In dialog box Which references are required I have a plug in that traps checkin\checkout events, but cannot find any info about customizing these dialog boxes. Any help is appreciated. thanks, nick VS 2005 provides two ways of source code control: - One is a generic package for SCC systems implementing the M ...Show All
kirk bailey Updating custom control
I am working on an WPF media player control (for various reasons I cannot use MediaControl). I have the video up and running now, but I am in doubt if I am doing the right thing when it comes to updating the control. Currently I am calling InvalidateVisual on the control and then doing the drawing in OnRender, but I seem to remember that invalidate is very expensive. So, how should it be done I am not using a Texture3D, I am using a Directshow sample by that name (since the original sample uses a Texture3D). However I have ripped out all of the texture references and use the bits in the MediaSample directly. Sorry for not being too clear in what I was doing. Are you ...Show All
Alex-MyRpg WebLogAnalyzer Bug
I recently downloaded the WebLogAnalyzer 1.0. It ran it's own sample file find. However, when I provided it with a folder of several files it only reported on the last one it read. This code looks like the culprit: ' Parse each file in the list and build a collection of LogFileEntry objects. Dim fi As FileInfo For Each fi In files logFileEntries = LogParser.ParseLogFile(fi.FullName, extensionsToIgnore) Next I think that logFileEntries = LogParser.ParseLogFile(fi.FullName, extensionsToIgnore) is only holding the result of the last file parsing. Shouldn't this be a summation statement I have tried logFileEntries=logFileEntries & logParser.ParseLogFile...... but it won't work. Comments Thanks ...Show All
Luigi Fonti Assembly does not allow partially trusted callers.
I have an object model source thatlooks something like this. class BudgetBalanceCell double TotalAmount BudgetBalanceLine line ... In my report I just add two columns to a table: =Fields!ActualAmount.Value =Fields!BudgetBalanceLine.Value.ActualAmount This used to work just fine when my budget-classes where in an assembly of it's own. But when I merged the classes with the rest of the domainmodel assembly I get the following error on all report fields that try to access anything other than "top lever members": The Value expression for the textbox ‘BudgetBalanceLine’ contains an error: That assembly does not allow partially trusted callers. E.g =Fields!ActualAmount.Value works but =Fields!BudgetBalanceLine.Value.ActualAmoun ...Show All
RavirajDanasekaran Frames not going to the correct place
I'm new the web page design but at this site www.burchetts.net (sample site for now) the frame will not go to the right window on my computer, Im useing Front Page to make it, and I'm useing IE 7 RC1. However I know the code is right, and when I use firefox the page works just fine, any idea on what I can do to help, is it a bug in IE RC1 You right I did post this in the wrong area, sorry. I am not sure how I even got here.. Just a bit to much info on this site=) This seems like an HTML-related question, and not WPF -related which is what this forum is about. But I believe you need to use named targets with your hyperlinks. Declare your right-hand side frame with a name e.g. <Frame Name="some_frame_name" ...> ...Show All
