Software Development Network Logo
  • Game Technologies
  • Microsoft ISV
  • SQL Server
  • .NET Development
  • Visual C#
  • SharePoint Products
  • IE Development
  • Windows Forms
  • Windows Vista
  • Visual FoxPro
  • Audio and Video
  • Smart Devicet
  • VS Team System
  • Visual C++
  • Visual Basic

Software Development Network >> Visual Studio

Visual Studio

New Question

LocalReport Export graph in Pdf
Limiting Number of records per page
How to draw connector line between 2 shapes
Vsot - Outlook - The macros in this project are disabled. How to enable macro in outlook
How to rotation a point that user clicked on the 3D model to the centre of screen?
Documenting public nested classes/types produces incorrect namespace
ComReference with MSBuild
Is <exclude> now supported and--if so--could you demonstrate its use?
WS-AT - getting Disabled address for Registration Service
Rename projects in multi project template

Top Answerers

Michael Grau
MagedSalah
arieltk
Yiftach
azbwilcox
ROLIVIER
gafferuk
Amber48019
freeflyr
msebald
Etasoft Import Studio
Only Title

Answer Questions

  • Bill_Henning [WCF-RC1] Custom ServiceAuthorizationManager override CheckAccess or CheckAccessCore?

    I'm implementing a custom ServiceAuthorizationManager to test claims. It's not clear whether I should be overriding CheckAccess or CheckAccessCore. Documentation suggests to override CheckAccessCore, but the FederationSample BuyAuthorizationManager overrides CheckAccess. I understand that what I want to do could be achieved in either place, but I would like to know what is best practice Should CheckAccess be testing Authenthication, and CheckAccessCore be checking Authorization Pete Interesting. Is this documented somewhere Thanks. SM I felt compelled to add a note on this as it is not obvious why one would want to override: CheckAccess. The SecurityAuthorizationManager's (SAM) V1 Ser ...Show All

  • etcheverrjc BUG: DLINQ problem in VS designer

    Hi guys, I know it is too early and many-to-many relationship is not supported but I notoced somethign that could help you. Preface: I have SQL database with three tables: Customer, Vehicle CustomerVehicle (junction one). I noticed this when I tried to delete all vehicles from junction table with similar statement //find appropriate record form VehicleCustomers table and delete it var vc = Program .DataContext.VehicleCustomers.Where< VehicleCustomer >(c => c.VehicleID == arg.VehicleID); Program .DataContext.VehicleCustomers.RemoveAll(vc); and ... NullReferenceExceptin was thrown... Itook a look at generated code and this is what I saw: [System.Data.DLinq. Table (Name= "VehicleCustomer" )] ...Show All

  • Elham Sarikhani LINQ to SQL DataContext too slow with large databases

    I've discovered that LINQ to SQL is currently too slow for real applications once you've got more than a few dozen tables in a typed DataContext. I presume this is purely a CTP thing but am mentioning it anyway so it doesn't get overlooked. The problem is with the AttributedMetaModel classes - they totally rebuild (essentially static) type information for every table class each time a DataContext is instantiated. Because in a distributed application a fresh DataContext must be instantiated for each middle tier request, this is a killer. My (so-far) successful workaround is to write a custom meta model with two MetaTable collections - a static dictionary for table-attributed classes, in addition to the existing instance collection for proje ...Show All

  • gobby74 Blury images

    As far as I can see, images can be blury because of the way WPF handles pixels. If the image is positioned exactly on a pixel, everything is OK. However, if the top left corner is at, say, (12.5, 14.5), the image can be fuzzy. (see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=498561&SiteID=1 for background info) I tried SnapToPixelDevice = true but it did not have any effect. I am considering going computing the position difference between the image and its top level window and adjusting the Margin to have the top left corner the Image be exactly on a pixel. That seems somewhat crazy though. Is there a better way Hi Tom, I'm also very interested in fixing this problem. I asked ...Show All

  • Keith Chapman Setting data source from codebehind?

    Hello I'm making a simple rss reader proof of concept application When the program loads it reads a default rss feed but then the user should be able change the rss feed. How is thi accomplished Have tried the following but can't seem to get past XmlDataProvider rss = new XmlDataProvider (); Uri uri = new Uri ( TextBox .Text.ToString().Trim()); rss.Source = uri; ListBox.ItemsSource = "{Binding Source={StaticResource rss}, XPath=rss/channel/item}" ; I get a wrong string format on the ItemsSource property so this is probably not the way to do it....but then how It might be possible directly from XAML but it would be nice to know how from the code behind perspective ...Show All

  • BPH How2 convert RDL to RDLC?

    Hi All, how can i quick & easy convert my RDL (with 3 subreports) report to RDLC for using in ASP.NET-website and local-rendering Rename the files and replace the <DataSources>-block with values form one existing & working RDLC was not enough... Thanks Georg See: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=252395&SiteID=1 ...Show All

  • Adam Tappis - IMGroup Can Visual Studio 2005 proffesional coexist with Visual Studio 2005 Developer?

    Hello I would like to know if anyone have tried to install and run different Visual Studio 2005 editions on the same machine Thank you Kind Regards Mikael Olesen To be honest I have never tried this out but as far as I know you can only install the following side-by-side: One of the Visual Studio 2005 editions side-by-side with one of the Express Editions; Visual Studio 2005 with different languages but the same edition and feature set; Visual Studio 2005 and previous versions of Visual Studio with the same language; ...Show All

  • Austinsnana How to handle a collection of Words in a FlowDocument

    I would like to develop a richly interactive FlowDocument or RichTextBox. Some examples of what I would like to do are Fire events when a user navigates (either with mouse or keyboard) to beginning or end of a word in the Document. Fire events when a user modifies a word, such as deleting a word, shortening a word, or lengthening a word. as is, the Document class does not provide a Words collection. Overall, i've found manipulating a RichTextBox to be very difficult in terms of reading what text is actually in the RichTextBox and responding to events at the Inline, block or Run level. Any guidance would be appreciated reading text is possible using TextRange.Text As for handling events for ...Show All

  • Mark Remkiewcz Passing 3MB DataSet via WCF - Best Practice

    Hi In our application we have several DataSets with about 2-4MB of size. Each DataSet contains of only one single DataTable. The data has to come from the server to a client via WCF. Client and server are in the same LAN. What are best practices to pass the data The only thing I think I can be sure about is that I should use binary encoding for the binding. The following questions are still not clear for me: Which binding should I use - netTCP or WSHttp I know that a DataSet produces overhead, but does this really matter in my case If the DataSet produces to much overhead, what should I do best to get the data to the client fast Should I use streaming or better the standard buffering Which timeout and max size settings do I have to t ...Show All

  • ramjamman Unable to install VSTO 2005

    Hello, I have installed Microsoft Office 2003 Professional with SP2. I get the same error message and I am not able to install VSTO. How can I go on How can I remove Office 2003 SP2 Regards Sven Hello Cindy, Thank you for your support. But I have everything installed correctly. I'm still not able to install VSTO. I will try to remove SP2 so that the installert only recognizes SP1. Sven Hi Sven Ahhh. SP2 and Sp1... See if the information in these links helps http://support.microsoft.com/kb/907417/ http://support.microsoft.com/kb/908002/en-us Hi Sven Is the .NET Framework 2.0 already installed on t ...Show All

  • DiamonDogX Multi-threading in VSTO

    I have read throught many texts and i am not able to get to a conclusion. I have an excel application. The application queries various tables. After data is obtained through each table it is processes. Doing everything serially takes a lot of time. Is there any way i can put each task on a separate thread. None of the threads will be calling the Excel COM server. The tasks will perform data access/processing operations and once all the threads are done, the MAIN thread will do the writing on the workbook. In other words "Is is possible to do multi threading in VSTO solutions, assuming that threads won't interact with the office object" Thanks1!! ok i did post it on that forum. Thanks Cindy. ...Show All

  • Marken VSTO SE + Office 2003 + VS 2005 Pro

    This is more of a Getting Started type of question. For some reason, I'm not finding any kind of basic tutorial that covers building an Add-In using VSTO SE (Beta) + Office 2003 Pro + Visual Studio 2005 Pro. The document that comes with VSTO SE Beta describes how to build a Ribbon, Custom Task Pane and a Custom Form Regin but all for Office 2007 components. I'd like to build an Excel 2003 add-in (or whatever) that displays a button to my end-user. Once the button is clicked I'll grab some data from the current/active worksheet, send the data to a web service and then take the results of the web service call and poke it back into the current worksheet. I've been able to do this in old school VBA (plus the now unsupported SOAP Toolkit) b ...Show All

  • CNB Listview content Wrap

    Is there a way to have the control list items like in a list box but when the bottom of the screen is reached have a new column formed so that all of the content is on the screen I.E. If the screen can hold 40 rows of data and I have 100 rows to display I would end up with three columns of data. Thanks in advance there are few issues we should use "{}" around bindings, there was probelm with XPath and Declaration of the source Try this < Grid > < Grid.Resources > < XmlDataProvider x:Key = " InvDS " Source = " c:\inventory.xml " XPath = " inventory/stores/store/Parts/part " /> ...Show All

  • Windows Project How can I use the Page interface in the Microsoft.Office.Interop.Word.dll?

    I am not sure if this is the correct place for this question but since it relates to Office automation I figured this is a good place to start. My problem is that I need to walk the pages of a generated Word document to add page breaks so that blocks of text are not chopped off during printing. The only way I can find to do this is using the Page object. However, I cannot access the Page interface/object in Microsoft.Office.Interop.Word. It is not listed in the reference and yet it is documented in the Microsoft site. What I am missing Any ideas Anybody Cindy, Thanks for the feedback. I am new to this newsgroup/forum stuff and I cannot determine which one is which. However, I may have explain the p ...Show All

  • Kevin Dente Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack

    I'm new to this forum. I hope you can help me. I'm using the Enterprise edition of VS 2005. When I debug my project an exception is raised - 'Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack'. I can't find anything about this on-line. I suspect this message is hiding the true exception. Does anyone know what this message means Regards, Andy Ham Dear Ian, I have similar problem which showing these unable.. message in the debugging in VS 2005 Team Suite (released). I had my attached debug module in both Native & Managed code mode, the module I attached to debug is in debug mode ( its the windows service app). Not having an ...Show All

626364656667686970717273747576777879

©2008 Software Development Network

powered by phorum