Tallier's Q&A profile
.NET Development C# wait for x seconds
I need an app to wait for x seconds. How can I implement that System.Threading. Thread .Sleep(5000); this codes make your application waiting for 5 seconds ...Show All
SQL Server Getting Error when calling a SQL Server Report with Paramter from asp.net page using Report Viewer.
I have impletemented SQL Server Report using my analysis service in my localhost/reportserver. The report has a multi-valued parameter. Depending on the paramter selection it create dynamic report. It is working great in my report server. I have to integrate the reports to my asp.net project which is also writen in VS 2005. So I add an asp.net page and put Report Viewer control on the page to connect with the server report. Using smart tag, I give the following value: Choose Report: <Server Report> Report Server Url: http://localhost/reportserver Report Path: /ReportProject/ReportName When I run the project and navigate to my new asp.n ...Show All
Visual Studio Team System Deleting a Team Project
I am using Beta 3 Refresh. I tried using the TFSDeleteProject utility to delete permanently a team project but it does not work. Here is what I use at the command prompt: TFSDeleteProject "My Project Name" All I get in return is the help for the utility. The project is not deleted. Then I tried specifying the server name: TFSDeleteProject /SERVER-NAME "My Project Name" and I get the error: Unrecognized option '/SERVER-NAME' What am I doing wrong Thanks for any help you can provide. There were a number of bugs in beta 3 regarding deleting and recreating Team Projects with the same names. Many of the issues have been hit by variou ...Show All
Visual Studio Team System Snippet manager missing
Anyone know where code snippet manager is hidden in the VS 2005 team suite edition (trial). It should be under tools but I can't see it anywhere under there. In some cases, the snippet manager mysteriously disappears from the menu bar. You can add the command back by going into Tools/Customize, Click on the Commands Tab, select the Tools Menu, and drag the Code Snippets Manager onto any commandbar that you like. Thanks, Ajay ...Show All
Visual Studio Team System Shortcut to "Go to Work Item"
I know this is "piddly" but is there a shortcut to the "Go to Work Item" command Thanks, ~slee CTRL+G will also work for GoToWorkItem if you have a work item node (or any child) selected in Team Explorer. So, you don't actually have to get a query up to make it work, just select Work Items and you're good to go. ...Show All
Visual Studio Tools for Office Comments color in Word
Hi, I'm trying to change the backgroud color of the comments I add to a word document. I can do it using Options.CommentsColor but this function modifies the color of all of the comments in the document. Is there any solution to modify the color of the comments in an independent way Can I have various comments in a different color in the same document without change the author Hi, You can programmatically set the color when you add the comment: Me .Comments.Add( Me .Range, "Here's my comment" ).Range.Font.Color = _ Word.WdColor.wdColorBlue Or you can loop through all commen ...Show All
SQL Server How do you backup a database using sql server 2005 express???
I know there isn't a backup feature but I was wondering if there was a way to back up a database Thanks!!! Hi, You're not quite right here, SQL Express fully supports backing up a database. What it does not have is SQL Agent, which allows you to schedule backups and the Mataintenance Plan wizard which allows you to create a plan to perform a number of tasks, including backup. You can backup your database in two ways: Use Management Studio Express (available separately or as part of Express advanced from this download page) which has the Backup option on the right click menu for each datab ...Show All
.NET Development Problem: How to draw text into bitmap?
Hi, I need to draw text into the bitmap. Resulting text should be "smooth" (antialiased) and international scripts should be handled properly. In addition, it should be fast. You might think, "That is simple, isn't it " Well, it is not! There are at least two ways to do it: 1. Graphics.DrawString and 2. TextRenderer.DrawText. Problem is that I cannot reach my targets with these two guys (who would say, huh ). Graphics.DrawString is too SLOW, and it is not handling complex scripts properly they say. On the other hand, rendering quality is ok, and it is not depending on system-wide tex ...Show All
Visual Basic math function
Hi, I was looking for a Polar to Rectangular math. function but could not find it. Is there such thing Thanks, Dietmar Such a thing does not exist, however it is not too hard to do. Public Function RectangularToPolarMagnitude(ByVal pt As PointF) As Single Return CSng(Math.Sqrt(pt.X * pt.X + pt.Y * pt.Y)) End Function Public Function RectangularToPolarAngle(ByVal pt As PointF) As Single Return CSng(Math.Atan2(pt.Y, pt.X)) End Function Public Function PolarToRectangular(ByVal r As Single, ByVal theta As Single) As PointF Return New PointF(CSng(r * Math.Cos(theta)), CSng(r * Math.Sin(theta))) End Function ...Show All
Windows Forms how can I get value form listview ?
some checkboxs showed in Listview ,each row have two datafields as prefix ,type user can update the value of type ,I want get the value of type after user checked .how can I do it please give me suggestions ,Thank you very much . ...Show All
Visual Studio VS2003 Invisibly steps through dissassembly
In VS2003, the debugger will stay on the same line for multiple presses of the F10 key, in a pattern consistent with the underliying dissaembly. Toggling the disassembly to visible, the current line moves as would be expected through the disassembly, with I believe the same number of lines/breaks that it takes to go through the code with disassembly toggled off. Is there a way to turn off this behavior I also have VS2005 installed. Thanks. Sounds like you have Step By Instruction turned on somehow. Try the following: Open the Command Window Type >Debug.StepByLine and <enter> N ...Show All
Windows Forms Combining ClickOnce and MSI Installer
Hi, I have been surprised by the gap there is between ClickOnce and MSI. And I need to solve this. The scenario is this: Install a windows form application on a client (registry values, files, folder creation) and use ClickOnce to just update the application. Any GOOD documents about it Thanks!!! Hi... thanks for the response. What I mean is that the msi will create registry values, and folders, and by using ClickOnce the application itself will be automatically updated. By the way... I have solve it and It woooooorks!! Just needed to create a bootstrapper manifest and wrap the msi as a prerequiste!! ...Show All
SQL Server Miss tables in replication
I have setup a transactional replication from oracle to MSSQL2005. One of the publication includes 26 articles but I found that there are only 24 articles replicated to the subscriber DB. I found that the repldata folder includes only files for 24 articles only. Besides, I double check the publication properties, totally, there 26 articles. Please advise. Thanks in advise. did you set this up through the UI Anything interesting/particular about the two articles that did not get replicated ...Show All
Visual Basic Calling API with "void *"
I declare a function in VB6 thusly: Private Declare Sub CopyPtrFromStruct Lib "kernel32" Alias "RtlMoveMemory" ( ByVal ptr As Integer , ByRef Struct As Any, ByVal cb As Integer ) and call it: CopyPtrFromStruct(mxcd.paDetails, Struct, Len(Struct)) What should I change the "Any" to in order for this to work I tried Integer, but then got the compiler error "Struct cannot be converted to Integer." Thanx! ---Mike Imran Koradia wrote: Mike, If you just want to mute the output volume, can you not just use the waveOut ...Show All
SQL Server job scheduling for SSIS
I created SSIS package which executes from SSIS without problems. However, when I'm trying to schedule it through the Agent, I'm getting Error 14234: "the specified '@subsystem' is invalid...". Message recommends to run sp_enum_sqlagent_subsystems to find out which systems are supported and this list does not include SSIS. Probably I did something wrong during the installation. What can it be and how to fix this problem Or can this happen due to some other reason Thanks ...Show All
