qrli's Q&A profile
Visual Studio Need to modify a report
Hi guys, Greetings! I want to modify a report, that I want to remove the company header. Is it possible to reflect the changes after I modified the .rpt file eventhough the entire application has been published(or turned to an exe file) Will it carry the changes Thanks, ...Show All
Visual Studio Team System Blog Posts, Papers, Videos, and More! Comprehensive index to web test and load test content
http://blogs.msdn.com/edglas/pages/content-index-for-web-tests-and-load-tests.aspx Great resources Ed !!! Thanks El Bruno www.elbruno.com ...Show All
Visual Studio Express Editions how do i set gradient backcolor on form
hi i'm new to programming. how can i set the forms backcolor to a gradient color. example blue on the top and white on the bottom. Thanks Thanks again That worked great. i have another question. i added a spliitcontainer to the form and added a usercontrol to fill panel2. how can i set the backcolor for the usercontrol to a gradient color. Thanks ...Show All
Visual Studio 2008 (Pre-release) Zoom in *.xbap
Hello, i've written this code to zoom all controls in a grid: void Window1_SizeChanged(object sender, SizeChangedEventArgs e) { SetTransform(); } void SetTransform() { double sx = 1; double sy = 1; sx = Width / 800; sy = Height / 600; ScaleTransform st = new ScaleTransform(sx, sy); grid.LayoutTransform = st; } now, i want this in a Browser Application and i get the following Error: UIElement.Measure(availableSize) cannot be called with NaN size. has anybody a idea what is wrong Thorsten Sorry, my english is not really good Because Width and Height are not explicity set in the containing element (in an XBAP you no longer have a Window ...Show All
.NET Development insert record into SQLServer
This is probably very trivial... my problem is that I want to find out the best way to take the values from two textboxes and insert them into an existing table in a SQL server 2005 database. My initial plan was to do this using an SQL insert query triggered by a click on a button but can not find out how to bind the VB textbox variables to the appropriate value expression in the insert query. The on-line help provided with visual studio proposes multiple quite extensive approaches, but they seem to be over-elaborate considering the elegance otherwise provided by the environment. Looking forward to your advice on this! Erik Can you fix that code for me, im really new to this and i am trying t ...Show All
Visual Studio Team System SMTP Issues
Hi All, When i try to send mail, i am getting the following error...SMTP server is correct and port was opened from firewall ...and it is listening also...but i couldn't figure out what problem is ..because the same configuration i am using in another TFS, it is working FINE...please help me in this regard. Event Type: Warning Event Source: TFS Services Event Category: None Event ID: 6011 Date: 12/14/2006 Time: 7:44:02 PM User: N/A Computer: <ServerName> Description: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the adm ...Show All
Windows Forms Databound DateTimePicker not firing events if Visible set to false in Designer
I have a DateTimePicker that has Visible set to false in the Designer. It is also bound to column a DataTable using the Designer. I have a DataGridView that is also Bound to the DataTable. I have a Delegate attached to the ValueChanged Event of the DateTimePicker. When I move between the DataGridViewRows the DateTimePicker's ValueChanged Event does not fire. (Is this a bug, intentional or am I missing something) Now the reason I cant figure this out is because I can set the DateTimePicker's Visible Property to true at Design Time and then set it to false at runtime(perhaps with a button). Then if I change between the DataGridViewRows the ValueChanged Event does fire even though the DTP is not Visible. ...Show All
.NET Development Bug in CLR
I don't know where I can send bug report. So.. If 2 threads simultaneously creating another threads this way: using System; using System.Threading; namespace HungsUp { class Program { static void Idle() { while(true) { Thread.Sleep(1000); } } static void CreateThreads() { for(int i = 0; i < 50; i++) { Thread thread = new Thread(new ThreadStart(Idle)); thread.Priority = ThreadPriority.BelowNormal; thread.Start(); } } static void Main(string[] args) { for(int i = 0; i < 2; i++) { new Thread(new ThreadStart(CreateThreads)).Start(); } Idle(); } } } Then CLR will hangs up. Tested on .NET 2.0 with hotfix #1. One of ...Show All
SQL Server WIndows Authenticated linked server
How do you create a linked server to use windows authentication We want to be able to use user level authentication with Windows Active directory. In other words, we would create a link using 'be made with login's security context', but all logins would be under NT user groups. I've been told that this works in theory, but in practice is very flaky. Why You can define this through sp_addlinkedsrvlogin. e.g. exec sp_addlinkedsrvlogin 'linkedsrv','true' This will require the connected user to use their own credential to access linkedsrv. If you need double hopping, you will have to implement kerberos. http://blogs.msdn.com/sql_protocols/archive/2006/08/10/694657.aspx ...Show All
SQL Server The user instance
Hello, I have a problem with setting up a connection in visual studio 2005 professional. Sqlserver express is installed on the machine so I try to set up a connection by means of a microsoft sql server databasefile . When I click ok I get the error : The user instance login flag is not supported on this version of sql server . Can someone help me to resolve this problem. Thanks in advance Ilja zwolsman Hello, Thanks for the reply. I used the stored procedure sp_configure in sqlexpress : sp_configure 'user instance enabled', '1' Reconfigure; Go Then I get the message: The configuration option 'user instance enabled' does not exist, or it may be an advanced option. Sqlexpress was installed ...Show All
Visual Studio Tools for Office Smart tag development not part of the vsto.
Hello, I would like to develop a smart tag project which will deploy to all the office application as : word, excel and outlook, not just part of a specific word development. In version 1.1 smart tag were register in the registry and all the office document word, xl and outlook identify the smart tag automatically and behave as expected. Now when I develop a smart tag it must be part of word or excel application and its not what we need, Can you please solve this issue and send us a link or an example how to develop a smart tag and catch all the office documents bye regards Yaron karni. www.attunity.com - InFocus - Workplace application yaronkarni@attunity.com Hi, Is the deployment of smart tag rem ...Show All
Visual C# How can I change the volume using C#?
How can I change the volume using C# Thanks, I want to use a trackbar or buttons (up and down) using QuartzTypeLib(quartz.dll) IMediaPosition, but when ever I try to change the vol., Value is out of range. Is there another way to change the volume other than using the Master Volume Which volume do you want to change For the wav volume for instance take a look at this article on Pinvoking to call waveOutGetVolume() and waveOutSetVolume() . ...Show All
.NET Development Load image column from database into image control
Hello all, I am using VB.NET 2005, and I have an image from database that need to load into image control in the form. This is what I got so far. 1) strSQL = "SELECT MyImage FROM ImageTable" 2) making connection to database 3) sending sql command to retrieve image from database cmd = new SqlCommand(strSQL,myconnection) 4) myReader = cmd.ExecuteReader() 5) myReader.Read() 6) Load image from DataReader into Image control 'This is the step I don't know how to do it. Please help Thanks very much. Look at Load image from Database, I posted the code for this. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=250564&SiteID=1 This code shows storing and showing. ...Show All
Software Development for Windows Vista InvokeWebService-Return value
Hi, I am using InvokeWebService for web method that returns me a List<string> in the workflow class I have a property with the same type of List<string> who bind to the return value of the web method. but the object do not pass from WS to the workflow- and I get null exception at run time. I also tried to pass a collection of object that I wrote - this collection derive IEnumerable and ICollection and have a [Serializable] property- but I get the same error. with simple return variable like int its work fine am I missing something I need some help... Thanks, Dror (Happy New Year :-) &n ...Show All
Visual Basic ports range
hi can you please tell me what is the ports range in Visual Studio 2005 to prevent add in blocking by a firewall With best regards yuval yuv, Please read the following article and hope that can help you with the question: How to turn on remote debugging for Visual Studio 2005 in Windows XP with Service Pack 2 http://support.microsoft.com/kb/908099/ This article discusses how to turn on remote debugging for Microsoft Visual Studio 2005 in Microsoft Windows XP with Service Pack 2 (SP2). Windows Firewall replaces the Internet Connection Firewall (ICF) feature that is included in earlier versions of Windows XP. To turn on remote debugging for Visual Studio 2005, you may have to c ...Show All
