Taya Cool's Q&A profile
SQL Server compatibility issue between Reporting Services and IE7 !!!
Is there any compatibility issue between Reporting Services and IE7. We need to test compatibility with both SQL Server 2005/200 versions. The 2005 version of Reporting Services should work with no issues. The 2000 Version of Reporting Services has not been certified to work on IE7. There are known issues that make RS2000 less usable. One issue that I know of is that Document Maps do not work. ...Show All
Visual Basic Creating a program that restarts a server
I wouldn't be asking this if it weren't for someone that has exploited a bug in our Server and has been using it to run two instances thus shutting it down, now I would like to make a (FREE!) program that restarts the server if it should hang, shut down, or lock up giving a run time error. I have looked through an infinite amount of forums, thumbed through my books and I can't seem to find anything of help. We could use this ASAP and if anyone is willing to help it would be much appreciated. I was thinking something simple, but I can't quite figure it out, something like: if system.diagnostics.process. (C:\______) then system.diagnostics.process.start(C:\_____) end if I would like to thank everyone in advance you can ...Show All
Audio and Video Development backgroundImage parameters
The CSS used in iHD seems to be a bit different than CSS2.0. First question: Does the HD specification cover style syntax and definitions Second question (and example of my confusion): One of the samples posted to these forums includes a backgroundImage assignment with multiple items. I'm guessing this is to define different images per state. style:backgroundImage="url('BUTTON_T1_0.PNG') url('BUTTON_T1_1.PNG')" What is the signature for this style declaration Thanks. You're right, I did get a DOM exception for that line. I thought it was an issue with the default node and my lack of experience using xpath ;) Thanks Peter. I'll try it on my production machine when I get a chance. ...Show All
Smart Device Development PictureBox displays white background
Hi, I need to develop a menu form which contains icons and when user clicks those icons they will be directed to respected forms. Easiest way is to use PictureBox and set PictureBox.Image property to icon images. For this, I'm using .ico format of images since PictureBox can accept that. Then i handle the click event of those PictureBoxes. It works just fine except those PictureBoxes can't display transparent background, instead they display white background. No matter what color I chose for the BackColor property, they still produce white bground. It took me hours to think what is going wrong. I googled this problem and some say PictureBox can't display transparent bground. Kinda weird here, it is not just fail to go transparent, Pi ...Show All
Software Development for Windows Vista Problem while EXECUTING CUSTOM ACTIVITIES in State Machine XOML WF(URGENT)
Hi Gurus, Im facing a problem like after putting custom activities inside a Xoml State Machine Workflow,the method in the interface i set to call is not working! The scenario is like,i hav a statemachine Xoml having a StateInitialisation activity which contains a custom activity of base class Callexternalmethod activity which has to call the method LaunchWorkflow in another library LaunchWF having the interface and implementation of that method.This Launchworkflow method wil inturn create another sequential workflow containing other custom activities. But the control is not passing to the method and its directly going to the next eventdriven activity without executing the method set in the stateinitialization activity! I tried ...Show All
SQL Server A question on @@IDENTITY
There is a stored procedure in our partner's application on MS SQL 2005 server like this(simplified): Create Proc sp_SubmitData { @data int @ID int OUTPUT } AS BEGIN TRAN INSERT INTO dataTable (data) VALUES(@data) -- Check @@ERROR SET @ID=@@IDENTITY COMMIT TRAN RETURN 0 In most cases @ID returns the primay key of newly inserted row in dataTable. But in some cases (randomly, about 1/20 chances) @ID returns a number we cannot figure out where it comes on the condition of a new row has been inserted into dataTable successfully. There is no trigger on dataTable. Is there any other chance that @@IDENTITY is refreshed by other sources between INSERT and SET sentence Chester ...Show All
Windows Forms How can make one cells value changed with other cell value same time in DataGridView ?
In DataGridView control , there are more than 3 cell in a row, like int i = invoiceDetailsDataGridView.CurrentCell.RowIndex; DataGridViewRow row = invoiceDetailsDataGridView.Rows ; row.Cells .Value = Convert.ToInt32(row.Cells[3].Value) * Convert.ToDecimal(row.Cells[4].Value) - Convert.ToDecimal(row.Cells[5].Value); how can i make the Cell .value changed with the Cell[3].value changing same time i can make Cell .value changed by leave the current cell (Cell[3]) and click other cell of the DataGridView. I want all the values changed at same time with out exit the current editing. I searched many times in this forum, but didn't find any advice worked. I tried a lot events of DataGridView to make ...Show All
SQL Server Problem creating stored procedures
I am getting the following error message every time I try to create a stored procedure - any stored procedure: Msg 6354, Level 16, State 10, Procedure AuditOperations, Line 14 Target string size is too small to represent the XML instance A search of books online and MSDN didn't return anything. Thanks. Geez! How stupid ! I'm working through examples preparing for the 70-441 test. That was it. Thanks so much! ...Show All
Visual Studio 2008 (Pre-release) Newest Interactive Designer xaml code compatibility ?!?!?!?
Hello, im trying to create a xbap application using a xaml code done with the newest Interactive Designer version but i just get errors while debuging in VS2005. Is the Expression Apps code not 100% compatible with VS2005 Im also using all the newest versions of vs2005,orcas,sdk,extension,netfx3rc1. best regards - lleoneye Hello, it's a simple rectangle but with more objects in scene i get other code errors, too. <Grid> <Rectangle Stroke="sc#1, 1, 0, 0" Fill="sc#1, 1, 0.9154789, 0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="138,129,189,95" Width="Auto" Height="Auto" x:Name="Rectangle& ...Show All
Visual Studio 2008 (Pre-release) How to solve this problem when we transform a picture?Help me
The formatter threw an exception while trying to deserialize the message: Error while trying to deserialize parameter http://tempuri.org/:GetUserPhotoResult . There was an error deserializing the object of type System.Drawing.Bitmap May you show me how do you have change to Stream Object I have same problem, bu when tranfer Stream Object instead of Bitmap, the received Stream is unusable, length property thow and exception. Thanks ...Show All
SQL Server Error trying to create Maintenance plan
We have a SQL server installation on a managed hosting environment and last night they upgraded our version from standard to enterprise. It looks as if they uninstalled, and then reinstalled. So now I need to re-configure our maintenance plans but when I try right-click on Maintenance Plans and select New Maintenance Plan in Management Studio I get the following error: An OLE DB error 0x800004005 occured while enumerating packages. A SQL statement was issued and failed. I thought it had something to do with the new installation not running as a particular user/system account and the account it wass running under didnt have the proper permissions. As a smoke test I made the user it's running as (sqlservice) an admin in SQL Server, but that ...Show All
.NET Development .Net Framework 1.1 vs. 2.0 adoption
We are considering migrating our product from .Net 1.1 to 2.0. However, we are concerned about adding the extra 25mb download requirement for the .NET 2.0 framework. Our product is designed for personal users and is exclusively available as a download from the web. 1) What is the difference in the personal computer install base between .NET 1.1 and 2.0 2) What computer manufacturers are shipping with .NET 2.0 already installed as for shipping, its all down to Windows Update and if the supplier selected to install all updates including custom updates. .NET 2.0 is of course needed for newer classes and so on - if the end user doesnt have .NET 2.0 and your app is built on .NET 2.0, it will not work ...Show All
Visual Studio Printing without the ReportViewer
In a Win Forms app, is it possible to print a report without using the ReportViewer control I want to provide a print button on a Form (like Outlook does) and then use an embedded Report to print the data so I don't really need the ReportViewer. I would want to display the PrinterDialog though and use the settings from here to control the printed Report. Is this possible too Regards Graham In the final product you'll be able to print using the code below. Notice that ReportViewer object is not required. (This code will not work in Beta 2 unfortunately.) using System; using System.IO; using System.Data; using System.Text; using System.Drawing.Imaging; using System.Drawing.Printing; using System.Coll ...Show All
SQL Server Books Online reply to Barry Andrew
I have registered to use SQL server 2005 Express Edition. I want to download relevant documentation for books online. The guidance for this is to download the 'SqlServer2k5_BOL_Jul2006.msi' software. When I initiate this download:- (1) I get a message from my ISP (I.e AOL) saying the publisher coud not be verified, and asking if I wanted to run this software. (2) when I press 'run' software is downloaded to a tmp file, and I get the option to install. (3) On clicking the install button, a Windiws Installer message appears - this states that ' the installation package cannot be opened and suggests contacting the application vendor to verify that this is a valid Windows Installer Package. How can I access the ...Show All
Visual C++ Visual Studio 2005 relative paths
Hello folks I know this is a litlle bit unusual question, but I just installed visual studio 2005 and my converted solutions from 2003 are fine. But when I create a new project using 2005, my additional include directories are messed up. I cannot use relative paths anymore and instead of showing relative paths from my project, it shows the Visual Studio path, i.e : .\1033\..... Btw, the relative paths created in the converted solutions are ok. Anyone had the same problem Thanks in advance :( The really interesting stuff here is that converted solutions can use relative paths with no issues. One thing I noted is that converted solutions have the _VC80_UPGRADE=0x0710 preprocessor definition. I will remove t ...Show All
