UtterMan's Q&A profile
Visual Basic Converting PDF to TIFF
In my current project I have a requirement to convert pre-existing PDF documents to TIFF documents as part of a process in a Windows Service. I've seen and demo'ed a few third party tools such as EasyPDF and PDFRasterizer. I was wondering if anyone knew of any open source or other solutions I should consider. If Adobe Acrobat is installed on the computer you can use the Acrobat Interapplication Communication library to export it as a series of TIFFs. ...Show All
Commerce Server Custom and Orders Manager crash
After I add a credit card to a user's profile and then I try to open the user's profile in the Customer and Orders Manager, it crashes. If I debug it, the error is: A property value provided in the profile XML could not be persisted to the underlying data store. Validation of the property value failed. Profile Type = 'CreditCard' Which is odd, because this used to work fine. The only thing that I recently changed that remotely might affect this is I extended the orders system by adding two weakly typed custom properties. These are working fine for me. Any ideas on how to proceed Best Regards, Brad I'll answer myself on this in case someone has the same problem. I tracked it down to the Customer and Ord ...Show All
SQL Server How to pass mult-valued parameters via webservices render method?
Hi there, Trying to update the value of a multi-valued parameter for use in programmatically genereating a report via the RS webservice's render method ... but ain't working. Any ideas on how this is done thanks - wg I tried this: ReportParams[4] = new RSWebReference.ParameterValue(); ReportParams[4].Name = "QuestionAnswerAnsLabel"; ReportParams[4].Value = "{[Question Answer].[Ans Label].&[Strongly Agree], [Question Answer].[Ans Label].&[Agree]}"; ... and got an exception of invalid parameter value. I found the answer in the end, it seems that you just repeat the same parameter name for each value in the multivalue list. http://groups.google.co.nz/group/microsoft.public ...Show All
Visual Basic Numbers and date format in Visual Studio Reports (.rdlc)
I am using an english version of visual studio 2005. I am from a spanish spoken country (CHILE!). Until now when I program, I can change the format of numbers and dates to the formats use in my country. The problem is that I need to format numbers in the reports that I create in visual studio. The reports are in the format .rdlc. I need that the numbers have as a decimal separator a comma (,) and as a number separator of thousands a period (.). In the case of date format, instead of showing the report the day "Monday, 12 of Febrary", I need to appear the name "Lunes 12 de febrero". How can I do this in my reports since I have a english version of the program Thanks in advance Mike ...Show All
.NET Development How to read and display MS Word and MS Excel Xml files programmatically
Hi all, I'm wondering how to read and display the WordML format word Xml file and Excel SpreadsheetML xml file programmatically using c#. Thanks forum. hey, best bet is to use xslt to turn the documents into html, then display it using the web browser control. I downloaded a stylesheet that turned WordML to HTML but its at home, I am positive it was part of the Office XML Schema Reference, have a look here and maybe you can find something that will help.... http://msdn.microsoft.com/office/download/toolutil/ ...Show All
Windows Live Developer Forums Hotmail Contact Invites
Hi, I apologise if I am posting in the wrong forum. But does anyone know of a way that my site users can send invitations to join my site to all of their hotmail/msn contacts Someone suggested i check out this forum. Thanks There is an API developed in PHP to access your Hotmail account and get the contacts / emails / send emails / see folders You will find it here: http://www.fgde.com.ar/hotmail-api.html Best regards, Fernando ...Show All
Software Development for Windows Vista Architectu System.Transactions vs EnterpriseService
Hi, I'm a little bit confused with this new System.Transactions namespace. I was able to understand its propose, but it looks like it is the replacement for EnterpriseService (ServicedComponent) when all you want from COM+ is the transaction coordination. I'm about to start a new project and I have to decide how to architect the components. I'd like to know if is possible to use only single assemblies without all the COM+ stuffs (packages, registration, etc). My environment: .NET 2.0, Win2003, SQL 2000 and Oracle 9i. Thanks, David "Of course, if you are starting your project now, you might also look at Windows Communication Foundation (aka Indigo) which will be available .Net 3.0.&qu ...Show All
.NET Development About windows message
Can someone tell me what's the different between IMessageFilter and WndProc Is it the only method to send windows message by import api dll THANK YOU They serve different purposes. If you are implementing a control or form and you want to handle a custom message then you would override WndProc. WndProc is called for each message in the message queue for the control/form. It dispatches each message to an appropriate message handler for processing (for example eventually to OnPaint for WM_PAINT messages). IMessageFilter is used to filter messages that are sent to a control/form. Rarely would you do this if you own the control/form yourself (since you have WndProc ). Instead this interface is useful ...Show All
Community Chat Kyro KidSafe Browser (alpha)
Hello all, I am making a "KidSafe" browser for kids. Please download my program and post any noticed bugs,etc. It takes only minutes to set up. I am 10 years old, so who can make a browser for kids better than a kid Progress: Final will be started in January Thanks you everyone for your contributions and encouragement. *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. Beta Features: *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. *Talking Help guide *A new install program Updates in final version: *Button text replaced with graphics. *A game room with games, and fun KidSafe software (suc ...Show All
Internet Explorer Development Detect Browser Refresh - Related Problem
A related problem to detecting refresh is with the CNN web site. After my best efforts to detect refresh done, it continues (sometimes) to run a javascript periodically named prActivity (point roll - advertising software ). Once it starts (only if there's a flash add that must be calling the javascript internally - as point roll's doc says), then the IE ready state stays stuck at 1 until you navigate IE to a new web site - and we receive the document complete on the top document. This is with IE7 on XP home. Is this a bug in IE7, or am I doing something wrong My code is just waiting for and looking at status line change events and then tracing the IE Ready state. Stays stuck at 1 until IE is navigated to a new site. Thanks. ...Show All
SQL Server Copying databases
Hello, I'm attempting to launch a new ASP .NET site and I'm having problems moving my database, caused I'm sure by my own ignorance. I built the database in SQL Server 2005 Express but found that I couldn't use it to copy the database to the deployment server, so I uninstalled it and now I'm using a 6 month trial version of SQL Server 2005 Enterprise Edition. The server to which I want to copy my database is SQL Server 2003 (version 8.0.760). My first attempt succeeded in uploading the tables and their data, I then used the "Generate Scripts" command to produce a large query detailing how to create my stored procedures, I ran this script on the destination server and it eventually worked ok. However, for some reaso ...Show All
SQL Server ERROR using GROUP BY
Hi guys, The code below works fine if I take the "GROUP BY" Sentence out. Without the group by, I am getting something that looks like: Proj Nr Proj Name Proj Nr & Name 001 Proj 1 001 - Proj 1 001 Proj 1 001 - Proj 1 001 Proj 1 001 - Proj 1 002 Proj 2 002 - Proj 2 002 Proj 2 002 - Proj 2 002 Proj 2 002 - Proj 2 And I need only one line for each Proj, like: 001 Proj 1 001 - Proj 1 002 Proj 2 002 - Proj 2 (It is not because of the tables. It is because the Nr "001" is only a substring of the data) I thought I can use GROUP BY in order to get only one line for each Proj. This is the code I am trying: ...Show All
Visual Studio RenderingComplete event is not always fired...
I'm using a WinForms ReportViewer control on a MDI child window. On my form, I have the ReportViewer control, along with buttons to generate/regenerate the report and to close the form. Originally, I was disabling the Generate/Regenerate and Close buttons in the RenderingBegin event and enabling them in the RenderingComplete event. However, one thing I noticed that when toggling the Page Layout button on the report toolbar, as the report refreshed the RenderingBegin event was always called, but the RenderingComplete event sometimes was not! (Try toggling the page layout 3 times in a row and watch to see if the RenderingComplete event is triggered or not). This of course caused havoc on my form, as the enabling of my form buttons (Generate ...Show All
SQL Server Applying CASE in Stored Procedures
I'm creating a stored procedures, and pass in few parameters, which is @keys, @fields, @types and @likes, whereby I will select from certain table based on the @types, where the @fields equal to @keys, I also wanted to implement the LIKE to the statement as well, but I found out some problem, so ends up my stored procedure looks like this: ALTER PROCEDURE searchBooks @keys varchar(50), @fields varchar(50) AS SELECT * FROM books WHERE (CASE @field WHEN 'Author' THEN Author WHEN 'Publisher' THEN Publisher WHEN 'Title' THEN Title WHEN 'ISBN' THEN ISBN END)= @keys This statement run well, but I would like to specify the table to select with parameter instead of specified it, but I found it won't works, not even let me s ...Show All
Visual Studio 2008 (Pre-release) Problem with DatePicker (Kevin's Bag-O-Tricks - January 2007)
Hi all, I'm having a problem with the DatePicker contained in Bag-O-Tricks. The situation is as follows: 1. I have a DatePicker in my XAML-file. 2. The Value of the DatePicker is bound to the StartDate (DateTime) of my class: Value="{Binding StartDate}" 3. Now, when I run my app, open the DatePicker and click on a date: nothing happens! I put an event handler on 'ValueChanged', and that event only gets called one, when the DatePicker is created and the value is set to the StartDate. It seems that the control doesn't like it when it's Value is set explicitly, because it won't budge from that value. Any ideas on how I can work around this I'm now working with the MonthCalendar, which does not have this problem, but I would like ...Show All
