parosky's Q&A profile
Smart Device Development Command Button (C#.Net VSN 2005)
Hi I have 100 buttons on GroupBox of a form. ie., Button1, Button2....Button100. I need to change the Color of their texts in a single event. If so far, I don't need to mention "this.BtnSurah11.ForeColor = System.Drawing.Color.Maroon;" for each and every buttons. So is it possible to build up a loop for 100 sequences which define the object (button), from the loop can we change their property For example int i; for (i=1;i<=100;i++) { String Str = "Button" ; Str + i .forecolor = System.Drawing. Color .Maroon; } or foreach ( Control control in this .Controls) { if (control is Button ) ...Show All
Windows Forms CPU usage
Hi, I am looking for a simple way to diaplay CPU usage and (if possible) memory usage on a windows form. Cameron. How know my proccess name Reading this genial thread, i'm monitoring the cpu and mem usage of my app, but i must put explicit name of my proccess in: private PerformanceCounter MEM = new PerformanceCounter ( "Proceso" , "Espacio de trabajo" , "MyApp" ); And when run like 'Release' runs Ok, but when run in 'Debug' crash because the proccess is called in another way. Regards. ...Show All
SQL Server <Error> The process could not be created for step 1 of job *** (reason: A required privilege is not held by the client)
We are deploying SQL 2005 SSIS packages into production, they work well when run manually. But getting this error when running from SQL agent jobs using a proxy, the proxy account is using SSIS account user(not sysadmin) as the principle. Executed as user: ***. The process could not be created for step 1 of job 0xC92B73399BDE6544B741931C36B0C80D (reason: A required privilege is not held by the client). The step failed. We are aware of this is relevant to account users and privilidges, but couldn't figure out what is exactly wrong. Some suggestion will be appreciated ^_^ Steve I finally did get this to work. The problem I had was that the failing package contained sensitive informati ...Show All
Visual Studio Prerequisists CD VS 2003 .NET Enterprise Architect
Ihave the .net 2003 enterprise edition but dont have a prerequisites cd, were can I get one If I cant can I install the components individually (like install .net 1.1 then some other common applications ) you should have the prerequisites CD - where did you obtain the product from Be sure its legal... to obtain .NET 1.1: http://www.microsoft.com/downloads/details.aspx FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en .NET Framework 1.1 SP1: http://www.microsoft.com/downloads/details.aspx displaylang=en&FamilyID=A8F5654F-088E-40B2-BBDB-A83353618B38 J# 1.1 redistributional package: http://www.microsoft.com/downloads/details.aspx FamilyId=E3CF70A9-84CA-4FEA-9E7D-7D674D2C7C ...Show All
Visual Studio Team System Do I understand VSTestHost and devenv correctly?
Hi, I have a question about the different processes under process counters in load tests (for example, Process -> Virtual Bytes). Do I understand correctly that devenv process reflects resources used by Visual Studio and that VSTestHost process reflects resources used by the application being tested Thank you. Yes, devenv.exe is the Visual Studio process. VsTestHost.exe is the process that is driving the load test -- generating the load -- when you run the load test "local" (without a controller and agents). If you run the load test with a controller and agents, then vstesthost.exe is not started and the load test is driven by the processes on the agents. To monitor the resour ...Show All
Windows Forms Improve GUI
Hi I want to improve the look of my applications GUI. What free tools are best Where can I find free user control collections Thanks! I've had good experience with the following control vendors: http://www.devexpress.com/Products/NET/WinForms/Index.xml http://www.telerik.com ...Show All
SQL Server Prolonged execution for table UPDATE statement - not sure it finishes
I am cleaning up a large database table that has Date keys instead of real DateTimes. To do this, I am running the following query... UPDATE MQIC.DBO.OBSERVATION_F SET MQIC.DBO.OBSERVATION_F.OBS_DATE = MQIC.DBO.DATE_D.ACTUAL_DATE FROM MQIC.DBO.OBSERVATION_F INNER JOIN MQIC.DBO.DATE_D ON MQIC.DBO.OBSERVATION_F.DATE_KEY = MQIC.DBO.DATE_D.DATE_KEY where Actual_Date is what is being stored, and the Date_Key is to be dropped. The particulars are this - Date_D table - 92,000 rows - 40 MB Observation_F - 20,000,000 rows - 3.2 GB This is being run on a remotedly hosted rack server with an AMD processor, 1 GB RAM, 60 GB harddisk space, 20 GB used. SQL-Server 2005 Express - SP1 If I do the same query as a SELECT statement... UPDATE MQI ...Show All
SQL Server Who is Logged in
I need to know how to get the name (login-id)of the person who is loggged into the Reporting Services server - this is for reporting services only. I need to know who is running the report so I can check that name against some application security data. Currently I have a "select suser_name()" in my report and it returns - WI\haberej (Domain\login-id). I can then deploy the report to the server. I login as a different user and run the report. However, the suser_name() still returns WI\haberej. It seems to be returning the name of the report developer, regardless of who is logged in, or who is running the report. This has to be done entirely within Reporting Services. I cannot seem to find any command that works. ...Show All
Microsoft ISV Community Center Forums Another SendKeys
After Derek's advice a while ago, I had the Send keys function working pefectly. However I have had some testing done on a more powerful machine and when the SendKeys functions takes off, it seems to be holding the keys to be sent so that multiple iterations appear. For example, I'm trying to send "^f81.". I've had to split this up into "^F","8",".","1" (with the Sendkeys and wait for each sendkeys line). What I end up getting is the search box comes up fine ("^F") but then in the search box I get 888888888888888888811111111111111111...... etc until it comes up with an error because the search string is too long. I've tried different variations with the SendKeys Wait value ...Show All
Visual Studio Express Editions Making Webrowser
Hello everyone,i have a few questions about making an WebBrowser in Visual Basic 2005 Express. Question 1 : I'd like to make an progress bar,but wich codes do i need to add to let it work,and let it only be visible when the page is loading. Question 2: Wich Code is Required to open a new window by clicking on : New Window( in the ToolStrip Menu) I just want it to open a new window of my own browser.(see code) And wich one is needed to let ip open an File( See code 2) Private Sub NewWindowToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewWindowToolStripMenuItem.Click End Sub Code 2: Private Sub OpenToolStripMenuItem_Click( ByVal sender As System.O ...Show All
Software Development for Windows Vista windows vista adoption?
hi all, i know its not a platform to ask this question but i didnt found any better forum to have my reply than this one.. so plz if you all can comment.. What are the features apart Vista UI & media stuff and .Net 3.0(as i can install in on winxp) in windows vista because of them i should switch to vista only major features plz... why i'm asking this question as i believe its just a UI & User friendliness enhancements in the vista nothing else.. regards faraz Thanks for the quick reply and this is kinda reply i was expecting.. truly speaking when i explored features as you mentioned and found few things really useful but majority of the features made windows vista resource hungry especially in mem ...Show All
SQL Server Sql 2000 Connection Problems
I am trying to install Sql Server 2000 at the moment but when i try to connect to local Windows NT server i get this messege http://img293.imageshack.us/img293/3263/connection8rq.jpg and if i go to properties of the server i get http://img369.imageshack.us/img369/1335/properties9dd.jpg. I believe it is trying to log in using my Windows Authications. Thanks for any help. James Here's a good place to start: http://msdn2.microsoft.com/en-us/library/ms190944.aspx Buck Woody ...Show All
SQL Server Changes related to PDF in SQL Server 2005 Reporting Services
Hi All, I am working on SQL Server 2005 reporting services. In reports I am required to make changes related to exporting report to PDF. Following are those changes: 1) Change PDF export page format to letter from legal 2) Fix page break to ensure that all details related to a specific issue are viewable on the same page In reports exporting is done through the control given by services itself. So can any one please guide me regarding how this changes can be done. Please help me ASAP... Thanks.... With regard to page breaks I can see a KeepTogether property that refers to the whole report but not to individual groups. There is no RepeatWith setting within my rdl (SQL2005). I would like ...Show All
Visual Studio 2008 (Pre-release) How to use CommandParameter from multi-controls?
A typical scene use command in WPF is like this: <StackPanel> <TextBox Name="_textBox"/> <Button Name="_button" Command="{Binding MyCommand}" CommandParameter="{Binding Text, ElementName=_textBox}"> Do something </Button> </StackPanel> Now, I want to add another TextBox "_textBox2", and the Text from both the TextBoxes should be passed to the Command as CommandParameter. How to do this Thank you You can use MultiBinding here: < Button > < Button.CommandParameter > < MultiBinding > < Binding Path = " Text " ElementName = " TextBox1 " ...Show All
.NET Development ASP 2.0 NET SQL Provider Membership Management
Hello I need to connect this provider to a database being hosted by my hosting provider. I am a little confused about how this works. I take it I need to first create the tables using this tool -->aspnet_regsql which connects to my database and creates the tables. I have done this. How do I connect this database to the sql provider in the asp 2.0 Website Administration Tool. I believe I need a connection string and it should all connect and work the way it should. Is this thinking correcting and could someone please provide me with the connection string I can use to connect to a ms sql 2005 database hosted by my hosting company. Thank You Joe Hi Joe, This post should be in http://foru ...Show All
