Answer Questions
Rajesh Ladda Where are the Windows Forms controls equivalents?
Hi, I was wondering if we are going to see equivalents of the Windows Forms Controls and Windows Forms capabilities in WPF. Although WPF seems impressive, it lags the Windows Forms power and its also counteractive. Lambros Vasiliou wrote: I can understand what you say but lets keep in mind that 3rd party controls cost a lot. With the present windows forms controls, great applications can be developed with no 3rd party components. I hope this release isnt the best of WPF otherwise I see a lot of people staying to Windows Forms. Myself I wont be moving to WinFX until it "matures" and I surely hope the final release of .NET 3.0 WPF will be as powerful as .NET 2.0 WinForms. That's ...Show All
Matt Bell 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 Thanks!! I was having the same problem here.. and now it works.. once again. thanks. I have a similar problem...here is the code for a 'csv' download. Can someone help Response.Clear(); Response.ClearHeaders(); //set the conttent type of the file to be downloaded (IF NEED ...Show All
nick5454 How to copy owc's chart to Excel?
Thanks! owc = Office Web Component. This has nothing to do with VSTO, so it's unlikely you'll find an answer here. Try asking in the following group. And it would help others help you if you give more background for your question. For example: Are you asking about how the end-user can do this, or how it can be done programmatically http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.web.components&lang=en&cr=US Private Sub lmduPrintToExcel( ByVal mDataset As DataSet) Try 'Dim dEndRow As Double, dEndCol As Double Dim j As Integer , k As Integer Dim intCellX As Integer , intCellY As Integer Dim appExcel ...Show All
J M B Syntax for Output property of MSBuild Target
I'm trying to get the Output of a MSBuild Target, what is the project file syntax Here's my property marked as an Output in my Task class [Output] public string Value { get { return _value; } set { _value = value; } } Here's how I invoke my Target normally <Target Name="Build"> <MyTaskName Variable="MyTaskArgument" Value="blahblah"/> </Target> How can I capture the Output string returned for later use in another Target You would have to utilize the Output task to capture the output. Something like this: <Target Name="Build"> <MyTaskName Variable="Value" > <Output TaskParameter="YourValue" Pr ...Show All
ACCOUNTINGONLINE.US Bitmaps on a toolbar
I admit to being very frustrated right now. Will Expression ever be a useful WYSIWYG tool, or even a text editor as useful as notepad I am editing XAML in VS2005 right now, and using Expression merely as a preview. I have three panes in my app, and I can only edit one in Expression. Anyhow, that's my rant. Right now, I cannot work out how to put a bitmap into my app as a resource so I can add it to a toolbar I hope this is what you were looking for <DockPanel Name = " MainToolBar " Height = " Auto " HorizontalAlignment = " Left " Margin = " 0,30,0,0 " MinHeight = " 30 " MinWidth = " 640 " VerticalAlignment = " Top " Width = " Au ...Show All
jzfredricks Configure Sandcastle to use local MSDN Documentation
Hi, will it be possible in the future to configure sandcastle to use the locally installed msdn library (for HxS help files) Our developmentmachines do not have internet access. thanks ralf Sandcastle allows four different options for resolving reference links. Please see http://blogs.msdn.com/sandcastle/archive/2006/08/28/727901.aspx . I will get you more details about the local library. Anand.. The problem is that you can choose between none - Results in text with no active link local - Results in links within project using <a href> tag index - ms-help style links for HxS msdn - links to Framework topics in MSDN and local is just *within project* and the desire ...Show All
Flip597 How to reference resource when binding.
I have a LinearGradientBrush defined in my resources part of my XAML. I would like to bind the two GradientStops to user settings. How can I reference the stops in my codebehind this.FindName doesn't seem to work. < LinearGradientBrush x:Key = " HighPriorityTaskBrush " StartPoint = " 0.5,0 " EndPoint = " 0.5,1 " > < GradientStop x:Name = " HighPriorityTaskColorStop1 " Color = " sc#1, 1, 0, 0 " Offset = " 0 " /> < GradientStop x:Name = " HighPriorityTaskColorStop2 " Color = " #FFFF7878 " Offset = " 1 " /> </ LinearGradientBrush > bd = new Binding ( "HighPriorityTaskColorStop1&quo ...Show All
Strini Cannot Debug in VS2005
I cannot launch the debugger in VS2005. I have a solution with numerous projects (1 C#, the rest VB). Whenever I run the solution and hit a break point, I get a message saying that Visual Studio has encountered an internal error. I have sent multiple error reports to Microsoft about this. This also happens when I just try and single step into the solution. Everything in the solutions builds fine and runs fine, until I try and use the debugger. I am running Windows XP (SP2) with a dual-core processor. I read some posts online that recommend setting up your startpage and I did that. I also set the project to run on x86 CPU and I am still having the same issue. Another developer in my environment can debug the exact same solution and the prim ...Show All
vdv_phuong Help search problem
A few days ago I installed .NET framework 3.0, Windows SDK, and the Visual Studio extension. The development works ok, but searching in the help does not work. Whatever I ask to search for, the number of hits in the local help is 0. The "Contents", though, is OK - I can see all chapters and sections related to developing .NET 3.0 applications. Just so that I am clearly understood, there is a section "Get started using Windows Presentation Foundation". I can open this section and navigate through the links in the page. If I search for exactly these words: "Get started using Windows Presentation Foundation", I get 0 hits in the local help!!! Can I somehow update or link the new help to the help of my Visua ...Show All
JayakumarG WCF Client Behind ISA: HTTP Error 407
I am moving this thread to WCF from .NET Networking and Communication Situation: We have to connect to a 3rd party XML Web Service outside our LAN by adding a WCF Service Reference to a simple console application Problem: When attempting to invoke any of the generated client class methods, we recieve the following error: "The remote server returned an unexpected response: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )." In old style ASMX Web Reference: TheServiceWse client = new TheServiceWse(); client. Proxy = new System . Net . WebProxy( "ISA Server Name" , 800 ); client . Proxy ...Show All
RayClark096 November CTP: MRefBuilder /internal+ is ignored
The MRefBuilder command line option "/internal+" no longer works. Is this a bug or is there a new way to enable documentation of private and internal members Eric Eric, There is no change in functionality. The only thing we added was the ability in MrefBuilder.config to rip Namespace, Types and members. There is a sample provided under comments in MrefBuilder.config. I am checking on to find if this regressed in our CTP. We apologize for this and if this is a regression we will provide a hotfix. Anand.. Mike, Yas and this is a regression bug, and it’s our fault. When we implemented the ripping feature in MrefBuilder for Namespaces and Types, we inadvertently removed ...Show All
Pockey How to catch .net 2003/5 solution tree drag and drop event
I am using EnvDTE to build an addin for .net 2003/2005. I am trying to catch the drag and drop event of the solution tree for both file items and folders. From the EnvDTE module, I can't find anything which is really useful to do this. Also, found that IVsHierarchyDropDataTarget and IVsHierarchyDropDataSource interfaces in the VSIP provide support for drag and drop, but I have no idea to hook them up with the IDE's solution tree so that we could catch the event. Please help on this. Thanks very much. Ivan Hi Ed, Are you talking about VSIP when you said IVsUIHierarchyEvents, ProjectItemsEvents.ItemAdded event could be helpful, right Thanks, Ivan Hi Ed, ...Show All
rsraos WPF Contextmenu for notifyicon
I've searched everywhere but there doesn't seem to be any NotifyIcon for wpf, all the results i've found says "use the old windows.forms one instead" Does this also mean that you can't use the WPF contextmenu for this notifyicon You can of course not assign a WPF contextmenu to the old notifyicon's Contextmenu-property but is there any hacks that can move a wpf contmenu into position and put it on top so it looks and behaves just like an old contextmenu that is assigned to the notifyicon I've also read that as soon as you add windows-forms references to your wpf-assembly the program will start running in software-mode. Is that true Because if it does there seems to be no way to get notifyicons for wpf-apps. I ne ...Show All
BlueMikey T-SQL Debugging on VS2005/SQL2005
Hello, I can't seem to debug an SQL stored procedure using VS .Net's 2005 debugger. When I Step into stored procedure the breakpoint turns to a question mark and says "The breakpoint will not currently be hit. Unable to bind SQL breakpoint at this time. Object containing the breakpoint not loaded". VS2005/SQL2005 are on the same machine running Win2003 Sp1/R2 Thanx for the help Actually i am trying to debug SQL2005 T-SQL stored procedures from VS2005. ...Show All
DaveSmith Generating C# Code Help in Viusal Studio 2005
Dear ppl, I have a solution in visual studio 2005 with a couple of projects in it and lots of source code files. All C# code. I heard that there is a way you can generate help for your code (classes, properties, methods etc.) you have to specify comments like e.g. /// <summary> /// Retrieves data from database by filling object arrays /// with rows of data and adding those objects to an ArrayList /// </summary> /// <param name="command"></param> /// <param name="rowLimit"></param> /// <returns></returns> public static ArrayList ReadValues( SqlCeCommand command, int rowLimit) { } Can any on ...Show All
