Answer Questions
js06 How to display a .xls file data in my form or tab page?
Hi, how to display a .xls file data in my form or tab page Can the data be edited from the form or tab page ok now my dataGridView1 show nothing and got a unhandled exception occured when button1 was clicked. So did the sample code above connect my Book1.xls file to the dataset or directly to the datagrid Sorry to ask so many questions, hope you don't mind. Thanks for the help. I need to try this out 1st to see is this what i am after. possibly, some times its case sensitive so instead of Sheet1 try sheet1 Where is the file located currently the code I posted looks in the application startup directory, the file may well not be there therefore you will need to modify the path of where the file is so ...Show All
Handerson Subscriber Event - Issue in passing the userid (URGENT)
Hi All, I came across with some strange problem ..I am extending the notification services in TFS and for the same i h've created new website and programmatically i used the subscriber method in which you can pass all the parameters like userid, eventtype, address (email or soap) and all the parameters which is required for the subscription. While subscribing the events if i passed the domain\\userid as the parameter ..for example let's say one sample user who is having the permission in subscribing the event in the project Domain\SampleUsername as user id .... it is successfully subscribed and to check the same i went to the database and check the table called tbl_subscription under the TfsIntegration...i really shocked after seeing ...Show All
ashwin_k_s Unit Test Adapter threw exception: System.NullReferenceException
Hello, maybe anyone can provide a solution to the following scenario. I have a device project that compiles fine and I have a unit test project for this device project that was working well too. After signing the assemblies the tests do not run anymore. But it's not the tests that are failing. If I debug the tests I see that all my test code is executed without any failure. After the test the TestCleanup method is also executed. The code within this method is executed fine too but when the method is finished the test immediately displays the Error result with the following error message: "Unit Test Adapter threw exception: System.NullReferenceException: Object reference not set to an instance of an object.." Code coverag ...Show All
Avhacker Serial Port -> How Do I now If it is used?! and Speedproblems
Hello there and happy new year from Germany! I have some troubles with my application whitch uses serial ports..... ....again:) Quite a lot of data are beeing sent through the serial port. When I start the next function while there is still data to be sent, I get an error. The solution would be: Knowing about data traffic on the serial port at the moment.Is there a way I can get the informataion Something like comport.datatobesent or something like that Oh: Yes: I am using 38400 baud at the moment, and not 9600. Is there another way to get the data faster to my serial port device Changing buffers or something I am thankfull for your help and hits... Greetings, Carsten Sorry. Actually, there are no spee ...Show All
Doug DeBug Customizing team build number?
When Team Build launches, it automatically assigns a build number of the format: <BuildTypeName>_<YYYYmmdd>.<number> This is pretty heinous and means essentially nothing to our QA department who is used to build numbers like 5.30.010. Under other circumstances I wouldn't be so picky but I've just discovered that the bug tracking uses these numbers to populate its drop down list of build numbers. Is there any way to change this number I suspect from what I know about Team Build that the answer will be no. I have thought of a work around but I would really not go through the hassle (the work around being to change the name of the build type before every build by using a tf rename command, such that it would be som ...Show All
cmsesan1 BgWorker report Proress
Im trying to get my BgWorker to report his progress.. i do private void backgroundWorker1_ProgressChanged(object sender, ProgressChangedEventArgs e) { progressBar1.Value = e.ProgressPercentage; } and it dont work :s *Reportprogress support is Enabled = True ---- *My BgWorker downloads a file with WebClient Hey thx Dale nice find what doesnt work what happens using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using System.Net; namespace WindowsApplicat ...Show All
cantfindunusedname make code analysis rules from warnings to errors
Hi, From Server How can force to make code analysis rules from warnings to errors while compiling the code . Thanks in advance Hi Murali, In the situation you describe, you will have to manually override the policy. Unfortunatlely, the policies are designed to be enforced at team project level and not an individual project/folder. You can perform the override with justification in the box that appears when you try to check in and the policy fails. Sorry for the inconvinience. Thanks, Ravs Hi Ravs, Thanks for the clarification, But if i make the security rule to errors (not just warnings) it wont allow me to checkin the code and to overide t ...Show All
Philipp Lamp After upgrading to latest VSTS reports are not working
We get the following error: An error has occurred during report processing. (rsProcessingAborted) Get Online Help Cannot create a connection to data source 'TfsOlapReportDS'. (rsErrorOpeningConnection) Get Online Help For more information about this error navigate to the report server on the local server machine, or enable remote errors -------------------------------------------------------------------------------- SQL Server Reporting Services What do I need to check Thanks, Staffan Browse to http://<TFSapp tier server>/reports. There should be two data sources there: TfsReportsDS, and TfsOlapReportsDS. Make sure both of these are properly configured. There are instruct ...Show All
Nico Vuyge Single source file branch and compilation
Hello, I come from a clear case background, so forgive me if I'm not understanding something quite right. If I create a branch (this would be a developer private branch) of a single file in a C# solution, for example, a new branch is created. I can make changes to this branched file like I would expect. However, the solution itself doesn't see the branched file, just the original file, therefore I can't determine if changes I make result in a bad compile action. Is there something I'm missing with single file branching that is causing my confusion I would expect that the branch get created and that the solution now sees the branched file in place of the original file, I would work on the file, and when things compiled clean, I would me ...Show All
Evan Mulawski Data Generation issue involving Constraints
I imported the AdventureWorks schema and trying to generate data for most of the tables. One of the challenge that I ran into involves Production.BillOfMaterials table. It has a constraint that says ProductAssemblyID can not be equal to ComponentID. I have made sure all other fields have proper rules to generate data. After doing all that, the standard data generator fails to insert because of the constraint named CK_BillOfMaterials_ProductAssemblyID. Both ComponentID and ProductAssemblyID is pointing to the same key. Is this by design Do I have to create custom data generator to address this issue I am under the impression that's the only way to correct this issue... Right now it is by design that we a ...Show All
kevinj Request Failed: Context parameter '$HIDDEN1.FORM' not found in test context.
Hi All, I am running a Load test that has one web test. It runs successfully when the maximum number of users is 12. But, if I increase the number to 18, I get 22 errors with message: "Request Failed: Context parameter '$HIDDEN1.FORM' not found in test context" and 64 errors with message: "Request Failed: Unable to Connect to the remote server". I have already checked old threads but did not find any information about the first error. And, regarding the second error, none of the solutions are applicable to my case.. Can you please help me Thanks a lot. Best Regards, Reshmi Singh Hi All i am also facing the same problem i set proxy also i am getting only one error message Requ ...Show All
Ravuth Save layout
Hello! How can i save my layout in Form1 I am using VB 2005 Express. Form1 contains about 150 TextBoxes, 50 Labels and 1 Rich TextBox. I want to save the layout as a Word document with Boderstyle around TextBoxes and Labels. Does anyone have a code example Can't get it to work! Grateful for any help. yes! maybe it could work. How do i wright the code to get it to work Im just a beginner in programing. Tanks for answering! I want to save my layout in Form1 into a Word document and i would like to be able to edit it in Word 2003 Thanks for answering! I.H Are you saying to want ...Show All
Blackwood isNumeric
I have been having trouble getting this to work. It is in the Visual Basic express edition. It is a miles per gallon calculator but I can't seem to figure out the isNumeric funtion. I need to make sure the input from two text boxes are are numbers.If a letter is typed a message box or the label should instruct the user to enter a number Dim mpg As Decimal Dim miles As Decimal Dim gallons As Decimal miles = Val(txtMiles.Text) gallons = Val(txtGallons.Text) If IsNumeric(miles) = False Or IsNumeric(gallons) = False Then lblMpg.Text = ( "Please Enter A Number" ) Exit Sub Else mpg = miles / gallons lblMpg.Text = FormatNumber(mpg, 1) & ( " Miles Per Gallon." ...Show All
Tadwick Auto restart a appliction
Hi there, i want to make a programm that "protect" a other app. if other programm crashes or closes, my application should resart it automaticly. i ve got a problem: how do i check if a process exist or better how do i automaticly start the crashed app again without using timers to check it /edit: and how do i setup a label or something that displays how many hours, minutes and seconds the "protectet" application has run. Dim P as process = Process.GetProcessByName("MyProcess") but "My process" is not started when i run my application, and my application does not know the path WHERE the "child-app" is placed... and how do i manage it to restart the "ch ...Show All
thezepp How to delete selected row in datagridview?
Hi, how do I permanently delete selected row in datagridview as well as permanently deleting it in my .mdb file . Thought of using oledbcommand or something but I am still a beginner in C# so not familiar with Oledb. Thanks. Am I right to say that the OleDbType is the 'Field Size' of my access database So if I selected a 'Field Size' - Long Integer than the corresponding OleDbType is "OleDbType.Integer", what do I put for the length "int64" Thanks. whats the exact exception you are getting Remember, you may need to create your Update/Delete/Insert command for the DataAdapter in order to update the database correctly private int sn; private double ps = 60.0, odc = 0.62; private double Q, ...Show All
