Answer Questions
arthaskucarr export each page on different pdf file
Hi! I have a dataset containing two related tables. The parent table contains many rows. Each of them normally creates a page in my report. Is it possible to export each of these pages into separate pdf files The most simple thing to do would be to loop through each row, copy it to a new dataset, copy also the child rows and then perform the export to the new dataset. Can you think of a more elegant way to do that Thanks Dimitris ...Show All
marta_p Accessing binary resources in beta 2
Using beta 2, how do I set the Source property of a System.Windows.Controls.Image to a JPG resource from my codebehind The resource is locaded in a directory called "Resources/Images/Test.jpg". Should the JPG file be marked as a resource or an embedded resource If it matters, I'm building a WPF Browser app. Thanks a lot! Thank you both for your answers, but keep in mind that I need to set the S ...Show All
Bhavin Vyas Practical questions
Hello all, For as far as I can see, LINQ offers key features that belong to the data access layer. (Not like the current features from System.Data in .NET 2.0.) LINQ is all about replacing existing data access layer code with LINQ code, I think. So is the true advantage that we don't have to write SQL code anymore If so, would the LINQ code be placed on the database server (stored procedures) or on the application side Would data access layers ...Show All
BattleCattle How do I edit while debugging a mixed-mode project?
How do I edit while debugging a mixed-mode project The file is locked during the debugging and to edit I must stop the debug session. At least in VS.2003 I could edit the file, even though the edit was not incorporated into the debug session. If you are using C#, then disabling the option *will* allow you to edit the code. However, this is not the case if you are using VB. Habib Heydarian Program Manager Vis ...Show All
brandon beacher Add Text into Word Document By Visual Basic
Dear All My boss asked me to insert some text into the word document using visual basic. Let say I have a word document with some contents inside already and I need to insert a text (ABC) to the (Line 4, column 2 or left: 60 points, top 40 points) document using visual basic. I have searched for the methods provided by Word.document object. But still cannot find out the solution. Anyone can help me KIt ...Show All
Webme Question on Snippet?
The following is a snippet which create a property. you see that it define a private field first.The question is that maybe the fied has been defined and this snippet define it again,So I think it brings problems.So I want to know is there any metheds can judge if the field that we defined in the snippet has been defined.If so,not define it once more else define it. Thanks very much. < xml version="1.0" encoding="utf-8 ...Show All
rkarem How to restore MainWindow to maximized on startup
I tried to restore the MainWindow on application startup on the second screen. I saved some window position, Size and state on previous window shutdown. On startup i tried to restore the old state. window.Left = rectangleLocation.Location.X; window.Top = rectangleLocation.Location.Y; window.Width = rectangleLocation.Width; window.Height = rectangleLocation.Height; if (state == System.Windows.WindowState.Maximized) window.WindowState = state; ...Show All
Alkazam How do I set the source of an image programmatically?
Hi, I'm just starting to work with WPF and I'm trying to set an image that I've declared in my xaml. <TabPanel> <TabControl Width="400" Height="500"> <TabItem Width="90" Height="20" Header="MapView"> <Grid HorizontalAlignment="Center" VerticalAlignment="Center"> <Image Name="Map" Width="350" Height="400"&g ...Show All
Fred Morin Argument 'Prompt' cannot be converted to type 'String'
Hi, I'm writing an application to change the queries in some Excel pivot tables (like 300). I exctract the query, modify it and then replace it in the pivot table. When I do the replacement I've got the error: Argument 'Prompt' cannot be converted to type 'String' Here is the code I'm trying to run: Try objPivot.EnableRefresh = False stQuery = objPivot.CommandText.ToString() objPivot.CommandText = QueryReplacement(stQuery) ...Show All
hdb XBAP and default browser
Hi, I got the following problem since I uninstalled the February CTP and installed the May CTP instead: When I press Ctrl-F5 in Visual Studio for a XBAP application, Firefox is started instead of IE. Since Firefox doesn't understand XBAP, I cannot run or debug the application as easily as before. I know how to change the default browser for a HTML application, but I didn't find such a setting for XBAP applications. Any hint welcomed! Greetings, ...Show All
UltraMAX Enhance the Unit test environment
Hi, We are currently working with Unit Test in our development cycle and we would like to continue and even expand the ue of "Unit Test" into integration and even peformance. Using the VS Extensibility, will I be able to extend VS's unit testing capabilities Regards Martin Hi Craig! Wow, that was fast! We would like to introduce new attributes to test methods. Some would just be to refine the w ...Show All
krick Can't clear the VSS Working Directory in VSS2005
In VSS 6.0d, I can clear the working folder for any given project/subproject by simply setting it to a blank entry. This allows me to remove/reset the working folder of a subproject, which in turn causes it to inherit the working directory of its parent. In VSS2005, when I clear the textbox for the "set working folder", the "save" button is disabled. Is there an option to turn this feature back on in VSS 2005 I really ...Show All
vhalexxs IE7 Beta 2 Preview & VS2005 Help
Hi Friends, I've downloaded and installed the IE7 Beta 2 Preview (released yesterday) on a WinXP Professional O/S + SP2 + latest Security Updates test machine with: MS VS2005 Team System RTM VS SDK 2005 VS Help Integration Wizard 2005 MSDN Library 2005 as contained on the VS2005 Team System installation CD custom installation method: ALL items installed IE 7 Beta 1 was manually uninstalled as required by the Bet ...Show All
Nachiketa [Native to Managed Transition] in Call Stack
I do a lot of debugging of mixed native/managed code. On VS.Net 2003 when stopped in managed code the Call Stack in the debugger would display the stack for both the managed and unmanaged calls on the stack. In VS.NET 2005 I get a couple of entries in the Call Stack window [Appdomain Transition] and [Native to Managed Transition], but no native frames underneath. How do I get the full stack displayed like it is on 2003 Thanks in advance ...Show All
JustinDyer Designer for Avalon UIs
Hi, if I understood correctly, the following facts are correct: 1. Avalon will be available on Win XP machines. 2. Visual Studio 2005 will be the developing tool for the next 2 to 3 years for XP and for Vista. 3. Microsoft encourages developers to develop UI-designs for avalon and use XAML for that purpose My question is, since I know VS2005 quite well: Will there be a designer, similar to the windows forms designer, for designing XAML applicat ...Show All
