Answer Questions
mary w Currency Textbox Like In Visual Foxpro
I Want a Currency Text Box Line In Visual Foxpro That only Accept Numeric Values in Visual Foxpro Numeric Textbox Has Fixed 0.00 how do like this in vb.net 2005 This will work just fine for accepting numeric or control characters such as delete. Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress ' textbox1 just accept numeric data or control characters such as delete, backspace If Char.IsDigit(e.KeyChar) Then e.Handled = False ElseIf Char.IsControl(e.KeyChar) Then e.Handled = False Else MessageBox.Show("plz click numbers only") e.Handled = True End If End ...Show All
MickJ27 Changing bytes to Kbytes / Mbyts / etc
I have a program that downloads a file from net and it shows progress in progress bar and in a text box.... the problem is...it shows the data in Bytes....i wanna know how can i convert it and make it show in all others like Kbytes Mbytes Gbytes TBytes ( well maybe not Tbytes ;p ^^ ) thx ahead. Hi. The value that you are getting is correct. You just have to format it. Take a look at this example. Dim var1 As Double = 3560 var1 = var1 / 1024 MsgBox(FormatNumber(var1)) Best regards. dp Try this: Prg1 = e.TotalBytesToReceive >> 10 well the first thing to realize is that a kilo byte is actually 2^10 bytes or 102 ...Show All
JPeterson How we can call perticular server api's by using unit test ?
How we can call perticular server api's by using unit test how we can write the code for that api's and also how we can parameterized. pls send me some sample example how we can call the api's into unit test. Actually i have to do api level testing after that i have to add this tests into load tests.But i dont know how to write the scripts for api level test by using unit test,also what are the configurations we need to do and how to set the parameters for that perticular api test...... can you explain me and give me some examples on that api level test ..... Do you mean somthing like NUnit.Forms like a button click If so, I am not sure but I do not think there is any support for that just yet. Hi, You can create ...Show All
Vistator Get load test run name in coded test?
Is there a way to get the name of the current run of a load test within a coded test <user name>@<computerName> <date/time> I really want the folder name that also gets created during the load. It looks as if it is the same as the trx filename. I have some code that will write to a file should the test encounter any anomalies and, rather than creating the file in a fixed location and moving it, I would like to directly store it in the folder associated with the individual test. Just say I'm lazy. That's what I was thinking of doing. Just thought there might be an easier way. Thanks. Thanks Dennis. Getting the loadte ...Show All
agenda9533 Please make sure your program is correct
VB Express has now started crashing often, particularly when I rename of classes or fields and it often leaves my code in an inconsistent state. Currently, after attempting to change the project type from "Class Library" to "Windows Application" the IDE crashed again in the middle of the operation. When I restarted the IDE the compiler is now giving the error: 'MyForm' is a type in 'MyProject' and cannot be used as an expression. D:\MyProject\MyForm.designer.vb 0 0 MyProject This makes no sense as it is saying the error is on "Line 0, Column 0"! I have used "QuickFind" to search the whole project (case insensitively) for mentions of "MyForm"and there is no occasion of using "MyForm ...Show All
mNilysg Can anyone give a sample to capture an alertbox in webtest?
Hi, I need to check client validations in my web application. Since, the webtest does not playback the clienside scripting, i need a sample of the same(say e.g name is a required field) and advise me how to implement the same. Thanks - Vijay Hi, Can you explain how to validate the response from server briefly I am new to this part. Thanks in advance - Vijay. Thanks paul - Vijay Team System has built in Validation Rules that you can use to validate responses from a request. You can check these out by right-clicking a request in the Test and selecting Add Validation Rule. You can play around with the built in ones to see what ...Show All
nairB how to resolve the cross DB warnings?
when i wrote the SP in database A,i used the like this insert into table select * from [Database B].[table] then warnings raised like below: Warning 1 TSD3025: The following cross-database dependencies could not be verified: [wsRStaging].[dbo].[ExemptCustomer], [wsRStaging].[dbo].[ExemptCustomer].[CustomerId], [wsRStaging].[dbo].[ExemptCustomer].[CountryName], [wsRStaging].[dbo].[ExemptCustomer].[GeoAreaName], [wsRStaging].[dbo].[ExemptCustomer].[CBNFlag], [wsRStaging].[dbo].[ExemptCustomer].[RegistrationID], [wsRStaging].[dbo].[ExemptCustomer].[deleteFlag]. Your database application might fail at runtime when [dbo].[usp_ImportLiveExemptCustomerData] is executed. E:\TFS Folder\System Architecture\wsRDB_Prod\Schema Objects\Store ...Show All
JavaBoy excel report of all the test cases is possible??
Hi My requirement is to get an excel report of all the test cases that are written along with the results if executed. TFS reporting and build is configured Is it possible to get the report. Please help. Thanks. Regards Yuvaraj hi Chrispat Got the error, I was using Olap driver 8.0, installed the 9.0 drivers and it worked... Thanks a lot for the help Regards Yuvaraj if you are using the team build part tfs all of that information in is the warehouse CUBE which is easily accessible from Excel. Simply open an excel worksheet and select the "Data-Import ExternalData->Import Data..." menu item. Create a new datasourc ...Show All
Chuckster123 MCTS e-learning question
Hi, This web page http://www.microsoft.com/learning/mcp/mcts/webapps/default.mspx shows the training requirements for MCTS shows classroom training as well as E-learning training. Do I have to do the classroom training as well as the e-Learning training (I'm hoping I can get away with just doing one or the other), Thanks in advance, Chiz. Hi Chiz, You do not need to do either the e-learning and the classroom based training. You should choose which ever method you find works best for you as they both cover similar content and should help you pass your exams. Regards Anthony Borton Thanks Anthony - big relief ...Show All
herman_hhh Creating a folder structure that allows easy merging?
I have read several blogs and posts here as well but have not been able to get a clear idea of a branching structure to create that will allow merging without any problems (no baseless merging). Here is the sample folder structure that I would use: $/Main/Release $/Main/Release/v1 $/Main/Release/v2 $/Main/QA $/Main/QA/v1 $/Main/QA/v2 $/Main/Src I want to have one codeline per major release in both QA and Release - hence the v1, v2 etc. Dev work would be performed under Main/Src - for ALL releases. Selected builds (labels) would be promoted to QA, and from there to Release. Any bug fixes would be performed on the Release/vXX branch, with the changes being merged back to QA, and Src. This would allow d ...Show All
Luis D. Rojas Integrate Labels with Sharepoint documents
Hi guys, anybody know if can I save sharepoint documents from project portal to source control Because I have all project documents at Sharepoint but if I need to restore a version of my project I get the specified label at source control, but I havent this function at WSS, right Tks a lot., There's no built-in link between the WSS and source control repositories. You'd have to manually check it in. Ok Richard. Tks a lot. I'll think about something to work around this. ;) Thiago Alipio Tritech Team - Visual StudioTeam Foundation Server and Team System ...Show All
redneon How do I get the Windows Service Template?
The windows service template is missing in my VB 2005 express edition. How do I get it How do I install it Plss help someone I'm not sure you can I do have VS2005 standard Edition, I do NOT have window service template Have tried many ways even reinstall it, HOW CAN I get it Okej.. So what am I supose to do if I want to bild a Service purchase Visual Studio 2005 or download the Trial version: http://www.microsoft.com/downloads/details.aspx FamilyId=B2C27A7F-D875-47D5-B226-E2578A116E12&displaylang=en Remember, Express editions are limited in what they can do. You could probably still create ...Show All
Shaantu Need help with new application
Hello, I put together a small desktop cms application for a clients website. I am as it is just a novice programmer and have run into a problem. The application run great in debug and when I use the exe from bin/release it also works great. They do what they are suposed to do. When I try to use the published version, it will not work. At first it would not even open. It opens now, but still does not work. After trying it on my clients machine, the puplished version did not work at all. I even tried a copy of the bin/release version. With out any avail... Please I need help. Here is a link to download the source: http://julannadesigns.com/download/CMS.zip If some could please tell me what I did wrong. Why it will not work at ...Show All
MrT25 How can i fill into a drop down list all the Work Item of a specific type?
Hi to all, I would like to know if is possible to create a drop down list, in the form of my Custom Work Item, where are filled all the Work Item of a specific type, for example Milestone, without using Custom Control. Thank you. I know the features of LinkControl but I don't want use this Control because when I do the report of Work Item's "Detail Activity" in MS Excel I can't display in my table the "Main Activity" linked to them. So I'm looking to have a drop down list in my form of all Main Activity titles like you said. In this way when I report "Detail Activity" Items I can display the "Main Activity" linked to them in my Excel ...Show All
cdun2 progressbar help
Hi im new to this programing stuff im using visual basic express edition and im trying to make a program its like a internet explorer and i cant seem to figure out how to get the progressbar to work when im loading the web pages what do i do please help fast! Anywhere in your form. I am having this problem too, where do i put this code thats it works but after it loads and everything it stays full how would i get it after its fully loaded and full to were the bars went away untill you load another page ok I am working in C# now! I have the progress bar working but when the page is loaded, the progressbar is still ...Show All
