MA2005's Q&A profile
.NET Development How to store PDFs in SQL SERVER 2000
Hi All I have a windows app which require to upload pdf file in sql server 2000. Does any one know how to save PDF file in SQL Server 2000 (as BLOB). I tried using FileStream object but no luck. Thanks I have tried using OLE Object (Adobe Acrobat 7.0 Document) but with this I am not able to change the PDFs dynamically. All I get is the same PDF file which I browse while creating OLE Object. We are storing PDF files in folders and the location is in DB. Is there any other way to display PDFs in crystal reports using vb.net Thanks ...Show All
Software Development for Windows Vista Performance problem
I have performance problem when working with wwf designer. It is too slow. I have Pentium D with 2 gb of ram memory. Maybe the problem is that I have Graphic card integrated, I don't know is the designer writen in wpf(does it require faster graphic card) Thanks, Indigo Cowboy Our framework is based on WWF,and I met the same problem, it's so excruciating. Can everyone give a solution Also I think MS is in the way of improving the performance of WWF designer, I really want to know the current status. Thanks! ...Show All
SQL Server Question about Jump to URL function
Hi ! When using the Jump to URL function, is it possible to open the URL in a new page instance of doing a redirect Thanks ! I've found how to do it. I didn't know we could use javacript in report but it seems that it work so i added a window.open and now it's working fine. ...Show All
Visual J# Setting focus on external applications and sending keys strokes to them!!
Hello, I am writing an application that has to switch the focus to an extermal application bring it to the top, send keys strokes to it and then switch the focus back to the original application and place that on top. I have seen a number of examples using VB.Net and C# But I found it very difficult to translate them into J# code. Any help would be greatly appreciated. Zand, Many thanks for the reply after rereading my post I appreciate that it is a "little" short on details no wonder it had 82 views and only one reply . The examples I have seen are in VB.Net and C# and use the GetForegroundWindow function which (as I understand it) is a Windows API function. What confuses me is that no ment ...Show All
Visual Studio 2008 (Pre-release) Animation in Code - Clock vs Storyboard
I have a couple of genarlized animation questions that hopefully will be easy to answer by you gurus... If you are doing all your animation in code, is there any advantage to using the Storyboard method vs the Clock method Whats the best way to add an animation complete handler (DoubleAnimation.Completed vs DoubleAnimation.CurrentStateInvalidated) If you are using the Clock method, how do you remove the clock in the animation complete handler - assuming that the FillBehavior is HoldEnd (Assuming the animation was started using item.ApplyAnimationClock() thanks, - j For code applications, Stoyboards provide additional conveniences for managing sets of animations together. ...Show All
Visual FoxPro Choppiness of Graphic animations (progressbars, etc.)?
Its *good for users* to have a ProgressBar Indicator during backups of tables (while they wait for "who-knows-how-long", etc.). 'Twould be so nice for our users to be able to have: 1) the *Windows Flying Paper Progressbar* (during Window's copy/paste of files) ...or... 2) a 'Themed-progressbar' step-timed to the number of BYTES transferring during backup. (not just a wait window/Marquee (like Windows startup-progressbar), which leaves the user *hanging* about when its going to finish) Please try to help me (I'll continue researching this and let you-all know if I've found a ProgressBar routine that step-times according to actual bytes being copied) Do you really want to slow VFP down, just so you can sho ...Show All
Software Development for Windows Vista Error calling events on a suspended workflow
Hi, I'm running a state machine workflow, and trying to fire events on an existing instance, but getting the following error: {"EnqueueItemOnIdle cannot be called on suspended workflows."} System.Exception {System.InvalidOperationException} I tried calling the Resume() method on the WorkflowInstance immediately before raising the event, but that didn't make any difference. Any ideas how I can "un-suspend" the instance to allow events to be raised to it Many thanks, David Cowell Well I've used event with sequential workflow (think it's quite the same) do you have a HandleExternalEvent Activity if so you're workflow must be running when you launch the event. You ...Show All
Visual Studio Team System How to force refresh of iterations on IterationsTree combo?
After adding new iterations/areas in 'Areas and Iterations' window I can't see it in tree controls on workitem forms. I've tried following with no results: Restarting and refreshing data in VS. Restarting VSTS server. Forcing warehouse to update (Run method from Warehouse service) I've even tried to modify specific rows in databases. After adding iteration from interface it is added to tbl_nodes table in TfsIntegration. After that the change is reflected in Iteration table in TfsWarehouse table. I still can't see any connection between those tables and iteration tree. How shoud I fix it Marcin TreeNodes table gets synced with the table in TfsIntegration using some event me ...Show All
Visual Basic WebBrowser Refreshing Problem
I've got a WebBrowser control in my current program that, every minute and a half, loads a web page and parses some string information out of it. The problem is, after running for a while, it stops reloading the page; everytime it 'loads' the page, it loads the exact same contact the page had the last time it was loaded, although the actual page content has changed. Viewing the page in IE outside the program, I can see visually that the site really has changed; but the program continues only to see an older version of the page. Why is this happening, and how can it be fixed Note: the problem persists when I log on/off the computer, and when I restart the computer entirely. It doesn't happen for all pages being dealt with in thi ...Show All
Visual Basic Select Case statement being evil
The select case statement is out to get me! Has anyone else run into the trouble of having a Select Case statement and one of the case statements has hit if you look at the data, but refuses to hit anyway That probably doesn't make sense... Put it this way... I have, say, a ListBox control that has three IP addresses in it. For argument's sake we'll say the three items are: 192.168.0.1 192.168.0.2 192.168.0.3 These items have the indices 0, 1 and 2 respectively. Now, inside a function that receives a string of data (T) from a network user I have code that's something like this: Dim X As Integer For X = 0 To (ListBox1.Items.Count - 1) Select Case ListBox1.Items(X) Case T 'Code segment 1 Case Else 'Code ...Show All
SQL Server Large files(Excel) coming out of Reporting Services how can I compress them for email
I have a 29000 row spreadsheet coming out of Reporting Services that is producing a large file that we email. How can I create the most compact spreadsheet/file for scheduled daily emailing out of Reporting Services I'm pretty sure there isn't any built-in way to compress the report attached to an email in Reporting Services. There aren't really any tricks that you can use to reduce the size of the report generated, other than making sure that you use numbers instead of strings whenever possible -- numbers will generally take less space in the Excel format than strings. Depending on how you are sending the emails, you might be able to use some third party code or write your own code to compress the exporte ...Show All
Visual Basic Backgroundworker Fundamentals
Are these background workers slow or what If you give it a simple 2-3 lines of codes, it could take a long time for it to execute. No, that's not true. The background worker will execut the code but it appears to have amensia, because the error - thread cannot run multiple tasks at the same time... which means, even though it has finished running the code, it cannot automatically dispose itself and therefore is still active until some element deactivate it. Oh, I can understand on a single core CPU, it might have to "wait" until it turn is up - but come on, on a dual core... what's the wait I don't suppose if you tell ******** to give more processing power to background services would help ...Show All
Visual FoxPro application and webdata interacting.
ok first off here is some info about my webserver: i dont no if you needed the information but maybe you do General server information: Operating system Linux Kernel version 2.6.17.11-grsechg Machine Type i686 Apache version 1.3.37 (Unix) PERL version 5.8.7 Path to PERL /usr/bin/perl Path to sendmail /usr/sbin/sendmail PHP version 4.4.4 MySQL version 4.1.21-standard cPanel Build 10.9.0-CURRENT 117 Theme cPanel X v2.6 ...Show All
Community Chat Zune and the iPod
I've been following the Zune announcements fairly closely here at work. If you follow my blog, you'll see that I'm pretty passionate about media technologies, and recently went through the pain of migrating away from iPod/iTunes and onto Yahoo Music/Gigabeat S (Portable Media Center). Here the blog category where I talk about it: http://blogs.msdn.com/joemorel/archive/category/13772.aspx Now Zune is in the mix. It looks pretty neat, but I'm not sure if people are really going to go for the whole WiFi thing. I'm just not sure that I want to listen to the same music as the person sitting next to me on the bus. What do you think Alan4s wrote: I've read that Bluetooth A2DP used for stereo music playback sacrifices aud ...Show All
Visual Studio 2008 (Pre-release) Using the client proxy
Hi, I have a created a service which I expose using a netTcpBinding endpoint. On the client side when I create an instance of the proxy, is it ok to maintain a reference to that instance for the lifetime of the client application Or should i use the proxy once, purge the reference and then instantiate it again when I need to use it Thanks in advance. Vikram Hi Vikram, I have a MS Office development application for Excel Worksheet. I have implemented an XLL for Excel Add-in using VS 2005 C++ managed code. As usual, functions which are registered and exposed to Excel are in the table. That xll is working. It takes parameters from Excel and calculates and the result is returned to the ...Show All
