Marc Kuperstein's Q&A profile
Visual Studio Rendering a report inside a PrintDocument
Is it possible to use an embedded report to render on to a Graphics object, like the one that is given in the PrintPage event of the PrintDocument class Graham Yes, export the report to EMF format. You get one EMF stream per page, which can be rendered to the Graphics object in the PrintPage event. ...Show All
SQL Server about processXMLdata sample,how to insert a return in end of each row data of the result text file?
I am newbie, having a job to handle some XML files into sql server 2005. In the procXMLdata sample,,pls tell me how to insert a return in end of each row data of the result text file hi, Thanks for your reply. The processXMLdata sample was put in the sample directory of ms sql server,which just converted a xml file into a txt file ,using two xml task. The first was to preform ...Show All
Visual Basic hi,I am focusing on this subject......
I´m trying to develop a decent tv tuner/capture application (since there are no such apps, nowhere, I say) in Visual Basic 6.0. I´m using the MSVidCtl component together with the AnalogTVTuningSpace and IChannelTuneRequest object to achieve this, as desc ...Show All
.NET Development Can I use ZIP files in C#?
Hi, I've been watching around for a while now but in the end came up with nothing. I want to write an application in C# .NET 2.0 that can handle ZIP files. It must read any files from archives into memory or disk files and create new archives from files on the disk and from memory. I have read and tested the J# article from supposedly 2 years ago but failed with the writing to memory part due to incompatibilities between C# and J#. (That ...Show All
Visual Studio 2008 (Pre-release) Looking for a programmatic HierarchicalDataTemplate example
Anyone seen one Robert Ingebretsen and Kevin Moore just shown on MSDNTV talking about data templates and control templates in WPF, Kevin has a great demo on how to use data templates in WPF, and his awesome code sample also demonstrates how to use HierarchicalDataTemplate, you can download the sample code from his blog Sheva ...Show All
Windows Forms DataTable EndEdit uniqueidentifier NewRow
I am becoming heartily sick of .NET data controls. Things that should be simple to do just aren't. Ok, DataTable has a primary key column of uniqueidentifier. Table insertion is via stored procedure which uses an output param to return the guid for each inserted row. First problem: When 'Save' button hit EndEdit called so that current edit is captured. Constraint exception thrown saying column does not accept nulls. It is null because i ...Show All
SQL Server The database 'x.MDF' cannot be opened because it is version 611. This server supports version 607 and earlier??
Hi, I have tried to attatch a database ,created by SQL server Express within a C# application , in SQL server 2005 Enterprise edition, but the following error message appears: ----------------------------- TITLE: Microsoft SQL Server Management Studio ------------------------------ Attach database failed for Server 'MEDO'. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft SQL Server& ...Show All
Visual Studio 2008 (Pre-release) Composing animations and translations
Hi, I am thinking how to combine animations and translations for UI elements. I will give you an example: a canvas can be animated from 0,0 to 100,300 then later translated (without animation) to 300, 500 then later animated to 500, 600 etc. These are based on user input so they have to be applied using code not XAML. Both the animations and translations are using RenderTransform. In Avalon Beta 1 for each animation request I was creating and ...Show All
SQL Server failure installing SQL Server 2005
I am trying to install SQL Server Sept 2005 on Windows Server Enterprise Ed. 2003 which was just freshly installed on a new partition. I downloaded files from a DVD and when I click on install.exe it checks the system configuration: everything is OK (all checks passed) but then I get a window/message: "The installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor t ...Show All
Windows Forms Casting EventArgs object to KeyEventArgs - is it possible?
Hi all , I am receiving a casting error message when I try to perform the following code... private void txtSnagDetailsActionBy_GotFocus(object sender, System.EventArgs e) { KeyEventArgs ke = (KeyEventArgs)e; } Is this type of casting not possible Tryst Hi, you can't cast it like that because KeyEventArgs derives from EventArgs and since e is not a KeyEventArgs , it says that it can't cast it. If e was of type KeyEventArgs then ...Show All
Visual Basic Convert centimeters to points.
Hello, How can I convert centimeters to points spotty wrote: 20 TWIPS per point 72 points per inch 2.54 Centimeters per Inch 1 Centimeter = 28.34 Points => (72 / 2.54) Hope that helps Actually, considering the number of significant figures you are using in the other measurements, there are actually 72.21 points per inch. so the result is 28.43 points (72.21 / 2.54) OK, so I can ...Show All
Visual FoxPro Vfp9 page footer report
Vfp9 Report paper size: US Letter Save printer data environment=not checked Print Area=Whole page Width=8.500 inches Left margin=0.000 inches Page footer Height=1.040 inches I've create a 9 detail band report..works just fine..but. Why my info can't be printed until the page footer report ..there's about 4 inches of "blank spaces" between my last detail band and the page footer in every page..and some info "fits" in that 4 i ...Show All
Windows Forms Showing Icons In A DataGridViewImageColumn
First had this with the beta, but it's still there with the release MSVCS/framework. My main problem is that there is no background drawn in for the Icon. Hence when the control is first drawn whatever was there before remains around the Icon. If the icon changes, it overwrites the previous one. If the window is dragged the Icon and the (incorrect background) are moved. I tried converting the icons to bitmaps, but the bitmaps h ...Show All
SQL Server Small Business Accounting
Using Small Business Accounting with SQL Server 2000 sp4. Tried updating SQL Server to 2005 and updating the instance name for Small Business Accounting but received an sql time out error when starting SBA. Any suggestions how to update correctly. When I installed sql server 2005 some how my (local)\microsoftsmlbz sql server was no longer registered. Since I did not know the username or password to reregis ...Show All
Visual J# New Release of J# Browser Controls
I havent seen a new release of J# Browser controls for a while. Is it dropped We have been making investments on it, so I was wondering if it is about to be dropped or if we are going to see a new release soon Thanks and regards, Bora Ertung Hi Brian, These are excellent News, Thanks for the reply. Bora Ertung ...Show All
