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

Software Development Network >> Visual Studio

Visual Studio

New Question

proper way to use BuildWindowCore params?
Howto: make the Enter key work like the Tab key
WPF observable Collection
Large scale windows application... redevelop using XBAP's? or other 3 options?
Defer the settings within an ItemGroup
Using Crystal report with MFC
how to keep doc file in document viewer
Playing wav file using MediaElement
Custom Controls
Help installing visual studio 2005 please

Top Answerers

james_cline_
ACTCY
twilightown
dbaf
Wojo
Bill Partridge
BabyGBear
zhihao
AE from SFO
Northern Rob
sitemap
Only Title

Answer Questions

  • nayob UpdateObject() / AddObject issues

    I just got done reading Danny's excellent article here and I just tried to incorporate that logic into my own ObjectDataSource. When I call db.AddObject(), the entity's ID gets reset to 0. This doesn't seem right at all. :) Is there something I could be overlooking Thanks for any help! (Have I mentioned yet that this is AWESOME STUFF I haven't been this excited about programming in years!) Mike Ok. Found the problem. The problem is that even though the values for the ProductID is set, the actual Key property is null. If I put the following line in before the AddObject is called: entity.Key = context.CreateKey( typeof ( T ), new KeyValuePair < string , object >[] { new KeyValuePair < string ...Show All

  • NeederOfVBHelp CustomPeerResolver vs NAT

    To my great regret, I do not have an opportunity to experiment with WCF on a computer running a "client" WCF p2p application behind a NAT and/or a proxy server, so I can only ask the following questions and hope that someone will kindly answer them... Can CustomPeerResolver enable a client app running from behind a corporate NAT router and a proxy server to successfully communicate with a p2p server (such as the one in the "Net Peer TCP Sample") If it can, is custom configuration on the NAT (and/or, for example, ACL on the proxy) required, or will it work without any changes as it is implemented in the "Peer Channel Custom Peer Resolver Sample" Thank you. Hi Reggie, First apologies ...Show All

  • Cute_Celina Toolbox weird behavior!!!

    I am using VSTO 2005. I am working on an Excel Template. Suddenly the toolbox becomes disabled and prevents me from adding controls to the Excel sheet but it is enabled in regard to the taskpane. I reinstalled VSTO and it was enabled but now disabled again. Do you have any idea this is very urgent.... Thank you........ Thank you for your reply. Hopefully I will come back with the exception.... but what about the Excel Tools menu that is not displaying anything. It appears in the vs menu but do not expand to show the excel tools. It is always like that I dont recall it working. I can't tell exactly after what action the toolbox becomes disabled. It is a sudd ...Show All

  • AdamusTheGreat Controlling and detecting what elements are droppable on the diagram and other elements

    Hi, I've created my first DSL which can accept DSRef items from the server explorer. To implement I followed some samples which are already described on the forum. In an overriden OnAssociated I bind the DragOver and DragDrop events and check for a CF_DSREF type. This is all working OK and I'm creating business objects, attributes and relations fromt the database metadata. My issue is that I managed to change something in the DSL which prevents business objects being dropped from the toolbox onto the diagram. So I'm looking for leads on which properties control this behaviour and where in the underlying DSL tools framework sources I can debug to get more knowledge of how this is implemented. Grtz, Harry ...Show All

  • XNA Rockstar Porblem with Certificate validation

    Hi i have a service and client that uses certificate to validate the identity. when the client takes to the service i get the following error at the service side. The X.509 certificate CN=www.fabrikam.com, O=Fabrikam, L=Redmond, S=Washington, C=US chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. The revocation function was unable to check revocation because the revocation server was offline. My Client App file is <endpoint address=" http://localhost:8000/Bancassurance/Authentication/Service " binding="wsFederationHttpBinding" bindingConfiguration="WSFederationHttpBinding_IAuthen ...Show All

  • Francisco A. Noriega A. Installation Error resulting in SQL Server 2005 issues

    I installed the ORCAS Jan CTP yesterday on my Windows XP system. I already had installations of VS2005 and SQL Server 2005 present. Part of the ORCAS CTP installation is the automatic installation of Sql Server 2005 Everywhere which resulted in a 100% repeatable error when using my regularly installed SQL Server 2005 instance when attempting to Modify a table in Sql Server Management Studio. This error stated that Exception has been thrown by the target of an invocation. (SQL Editors) Additional information: An error occurred creating the configuration handler for system.data: Column 'InvariantName' is constrained to be unique. Value 'Microsoft.SqlServerCe.Client' is already present (C:\WINNT\Microsoft.NET\Framework\v2.0.50727\ ...Show All

  • sjm8 propagate Claims

    Hi, I have a Service A, hosted in IIS. Service A provides 2 endpoints using 2 different bindings. Binding 1 is wshttpBinding and Binding 2 is netNamedPipeBinding. Service A uses a custom authorization manager and authentication policy as a behavior with the wsHttpBinding. Service A calls Service B by using netNamedPipeBinding. The motivation for using netNamedPipeBinding when calling service B is purely for performance reasons, and I can change the binding later on if I choose to deploy service B somewhere else (i.e. not on the same machine) and the programming model would be the same for service A when invoking service B. The thing is, netNamedPipeBinding only supports security mode none or ...Show All

  • Heng-yi Liu An error has occurred while trying to access the log file. Logging may not function properly.

    I receive the error message defined in the subject of this post, then Visual Studio hangs and fails to launch. How can I repair this Gabriel, Thanks very much - I owe you one for this, you just saved me hours of futzing around with my new vista install to try and figure out what it going on... Cheers, Martin. What a coincidence, I just installed VMware Workstation 6 Beta. ;-) You just saved me hours of troubleshooting. Most gracious thanks. I was also having this problem. Sure enough, I just installed VMWare Workstation 6 Beta as well. Disabling th VS plugin fixed it, thanks. :) I'm surprised you were seeing this as late as m ...Show All

  • gheese How to read XDocument with untyped dataset?

    Hi, currently it seems datasets can't directly read a xdocument. I would like to do something like the following XDocument xdoc1 = new XDocument(); ...something happens.... untyped_dataset.ReadXml(converted_xdoc1); How can I do this Hi, In the upcoming release of LINQ to XML you will be able to instantiate a XmlReader on top of XDocument. The code should be close to: XDocument doc1 = new XDocument(); ... untyped_dataset.ReadXml(converted_xdoc1.CreateReader()); Any component that knows how to consume a XmlReader will easily integrate with LINQ to XML as well. Ion ...Show All

  • Kevster454 TCP error code 10061: No connection could be made because the target machine actively refused it.

    I hosted a wcf service application using windows services. When my client (ASP.NET) tries to call the service class hosted by the windows service, I get this error "TCP error code 10061: No connection could be made because the target machine actively refused it. ". Is there a fix for this The same code works fine if I host it using a console application. Hi , I am getting this error if I host it using a console application. it works fine if client is asp.net. Is there a fix for this -ravi Kenny, I've unblocked the port on the firewall and still unable to connect. What was the fix What port are you listening on Is that port unb ...Show All

  • dbcuser How to understand MPF architecture?

    Hi there, Could anybody help me in understanding the MPF architecture I tried to go through SDK, but for novice like me there are too much information. First of all, it would be great to find the MPF architecture diagram . Also, it would be amazing to understand to MPF role in VSIP development . Hope for the Gurus' aswers   Many thanks! Hello Dmitry, I'll start with your last question. The MPF is a rich layer on top of the VS API to facilitate the development of application in managed code. In addition, it includes attributes that are used to enable self registration via regpkg.exe. The Visual Studio API is composed of a bunch of interfaces. While sometimes it may be enough to call some of those inter ...Show All

  • Jim_Olap Have MSBuild pull all labeled files in solution?

    Is there a way to run MSBuild on a solution and have it pull all of the files/projects in the solution from source control for a particular label Can this work for VSS and TFS Thanks. As far as I know, there are no version control related tasks that work with files in VS project (as solution is simply set of projects); all tasks available are path based. So your best bet is to open solution in VS and perform get there. You could create your own task (after all project/solution files can be parsed and have well defined structure), but I believe that would be no minor effort. Hope that helps. Eugene All of those seem to get all files under a directory hierarchy. We just want ...Show All

  • SOTY_Programmer What one-shot recipes would you add to DSL Designer?

    If we were to add some recipes to the DSL Designer in future to automate some one-shot code and model customizations, what features would you most want automated To Evgeny: You can get some of that from Microsoft Guidance Automation Toolkit (GAT), install the add on from here and rename your templates to *.t4 and you're good to go. Though there isn't much help in Intellisence (code completion), but coloring and such. http://msdn.microsoft.com/vstudio/teamsystem/Workshop/gat/default.aspx Oh and you might have to reset the Experimental Hive to get it to work fully. There was a thread on it on the forums, can't find it atm (with just a quick search). adding a command to a shape's context menu (or any menu)- would gather info an ...Show All

  • SimonJohns Building mixed code

    I've been trying to compile some C# and VB code in a single file assembly, which is possible with VS 2005, by compiling the code into netmodules (one for each language), and then by linking the netmodules with link.exe To do this from the VS IDE, I've thought about creating a VB project to perform the build, and to customize its MSBuild steps. I did the following and it almost works: I've added the CS files inside a folder in the VB project. I've created a custom item group with the CS files in the VB.vbproj I've overridden the CoreBuild target in the vbproj to execute the following tasks: Csc for the CS files to output a netmodule Vbc for the VB files to output another netmodule Exec link.exe to link the netmodules in a si ...Show All

  • ron nash SubreportProcessing not firing, does it have to be an executable project?

    Summary: SubreportProcessing is not firing when the project output type is not executable. Hi , I am using LocalReport in my application. All the reports are located is inside a library and also all of them are embeded inside the assembly, so far everythings worked fine until I tried to use a subreport. I notice for some reason the SubreportProcessing event does not get fired, in order to test the application, I copied exactly the same files into an executable test project, and I noticed everything work properly there. Can you tell me what is the problem   And if my guess is correct, problem is related to the project output type, how can I achieve this without chaning the project output type Many Thank ...Show All

717273747576777879808182838485868788

©2008 Software Development Network

powered by phorum