Ken98045's Q&A profile
Visual Studio Team System How can we automate(creation of test scripts) the functionality testing of windows based application developed in vb using vsts
i would like to know is there any possibility to migratie scripts from loadrunner to vsts. Is there any possibility to record the vb application by using unit or web test. 1.How can we automate(creation of test scripts) the functionality testing of a windows based application developed in vb using Visual Studio Team System for testers. 2.previously we were using load runner for testing the vb application. now we are planning to create the scrips for the same application in vsts for testers by using same functionality. pls give me quick answer. thanks and regards rams is it possible to genarate code for vb application by using unit test for team system.pls give me quick answer.............In loadrunner we have code for vb application t ...Show All
.NET Development save not working ...... please help
Hi Everybody, I am writing an application using the bindingnavigator and the oledbDataAdapter. I am not able to save the changes to the actual access database. Please help me. The code follows. What do I mean when I say that I am not able to save the changes I mean that they are not reflected in the database when I reopen it. Does an error occur No error occurs. If not then how am I determining that the save operation didn't work No changes are reflected in the database. What value does Update return It returns zero. So, there might be a problem with the update function. I am binding the richtext box with the bindingsource. And the bindingsource is the datatable. Are the values in the datatable automatically updates when I chan ...Show All
Visual Studio Selection state not retained by report Viewer control
Hi, I have created a aspx page with a reportviewer control which refers to a server report. the report has several parameters of which one(customerId) is being passed from the aspx page and the other parameters like City,State, Date etc(whose values are calculated based customerId which is passed form the aspx page) are defined in the report and are exposed to the user for selection. when the user selects city,state or date parameter values and clicks on view report, the report, instead displaying the data according to the selected parameter values, is reverting back to to the default parameter values that is set in the reports. It is not accepting the selected values of the parameters whose values are not coming from the aspx ...Show All
Visual Studio 2008 (Pre-release) Print the contents of a form
Using WPF, I have laid out a really nice looking form on the screen. Is there a way to send it more or less as is to the printer Or do I have to start over from scratch writing print code. Thanks. Do you have any recommedations for learning WPF I am specifically interested in learning the ins and outs of creating data-bound GUI forms that are also printable, but all the books at my local bookstore don't even mention printing. Jonathan ...Show All
SQL Server Microsoft.SQLServer.ManagedDTS.dll reference error in VB.Net 2002
I am using VB.NET 2002 and we have set up a test environment running SQL Server 2005. I am trying to add a reference to Microsoft.SQLServer.ManagedDTS.dll which is required to run a DTS/SSIS package from VB.NET. However the dll does not show in my add reference listing so when I select BROWSE and select the actual DLL I get a rather long error message telling me that only 'dll' and COM components can be referenced. The exact message is: A reference to 'C:\Programs Files\Microsoft SQL Server\90\SDK\Assemblies\Microsoft.SQLServer.ManagedDTS.dll' could not be added. This is not a valid assembly or COM component. Only assemblies with extension 'dll' and COM components can be referenced. Please make sure that the file is accessible, ...Show All
SQL Server Web Service Task always failing
Executing the simplest of Web Service tasks consistently fail with the error: "Object reference not set to an instance of an object". This really isn't a very helpful message for this task, and there's nothing from the task editor that can be adjusted. I am using SP1, the HTTP connection to the service tests OK, the WSDL file downloads OK, and the methods and parameters appear OK. Suggestions Richard Hi, I have the same problem in the same webservice, but i must use a proxy, company will not allow me to bypass the proxy. Is there a fix to overcome this problem Is there a workaround I'm passing the parameters that the webservices provides i'm not using variables to fullfill ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?
Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream With the ability to use unsafe code in C#, I expect performance to not be an issue in any game other than cutting edge stuff. There will probably always be those that will prefer C++ over anything else, but I can see a move by smaller companies to C#, for the increased speed of development if nothing else. ...Show All
Smart Device Development Loading a BitVector32 or a Bit Array from an Integer
I'm writing an application (VB.Net Mobile) where I have 16 checkboxes on a form for the user to individually set the state of bits in 16-bit words I've looked at both the BitArray and BitVector32 classes - both appear to have methods for extracting the 16-bit binary value of a bit-mapped array but there doesn't appear to be a method for loading a 16 bit binary value into the bit-mapped arrays. Suggestions Anything's wrong with traditional bitwise operators for packing/unpacking bits http://en.wikipedia.org/wiki/Bitwise_operation You can look up VB.Net syntax on MSDN if you’re not familiar with these. ...Show All
Microsoft ISV Community Center Forums Password protecting to a command button in Excel?
Hi Trying to set a password for a button i have on my user form. I want a popbox asking for password to display when the user clicks the button. I did try to use an If statement and setting a variable as my password but didn't seem to have any luck Any ideas Here's the link if any else needs it... let me point out this is not a 100% secure method. http://homepage.ntlworld.com/derek.smyth1/blog/Authenticate.xls ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Sun effect
Hello, this is my first post. I'm working on my first project in XNA. Is it possible to create with this beta relase an effect that looks like sun screenshot of my project: link Sorry for my english. There are typically several different parts of doing a convincing sun in a 3D game: You need to render your objects with lighting, so they are brighter on the side that faces the sun. You probably also want to draw some kind of glow and/or lensflare to represent the sun itself. And of course you need shadows on the side of objects that face away from the sun. BasicEffect gives you three directional lights, which are plenty for rendering your objects, in fact you only really need one for an outdoor scene lit by ...Show All
Smart Device Development Debug an application on emulator
I have a Application Consists of two exe's and three dlls. When I deploy the project through Cab file it run perfectly. Now I mwant's to debug the project but as i use DLLImport to call my custom installed dll functions I get Missing method exception. In my exe project if I refrenced the dll I get error "A reference to 'MyProj.dll' could not be added." I don't know how can I debug my application Following is my .ini file to create the cab file [Version] Signature = "$Windows NT$" Provider = "MyAgency" CESignature = "$Windows CE$" [CEStrings] AppName = "My Project" InstallDir = %CE1%\%AppName% ...Show All
Windows Forms Downloading data updates
Hi Guys I am an asp.net developer who has been tasked with writing a Windows Forms app to display some data which will also be available via a Web Site. I have not done much Windows Forms programming so as this is a new area to me I'm looking for some inspiration. Specifically I am exporting the data that runs this app to XML which will be included with the app when it is distributed (probably on CD). I can happily devise an app to interogate and display the xml data, but I also want users to be able to download updated data when it becomes available. I'd like the user to be able to click a "Check for updates" button that looks for and downloads updated data. I have various ideas, e.g. providing a Web Service which exposes the da ...Show All
Visual Studio Team System Team Build Unit Tests of ASP.NET Web Service
I have developed a web service for use on an intranet. I created unit tests by right-clicking on the methods in the class in the app_code folder. The unit tests run correctly on my local machine using the asp.net development server. When I create a Team Build that runs the tests I get the following error: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it. The test methods do not include any attributes other than <TestMethod()>. I have looked at using the AspNetDevelopmentServer attribute but I don't know where to set the path parameter for use with the Team Build. ...Show All
SQL Server How Start/Stop shortcuts in system tray ?
Hi, I want to tell to user about SQL Server Configuration Manager and wants to allow him "START / PAUSE / STOP" for SQL Server Express in system Tray. It is easy for the end user who don't know SQL Server. Thanks hi, you can perhaps have a look at http://www.sqldbatips.com/showarticle.asp ID=46 , a replacement for the "old" SQL Server Service Manager available for SQL Server 7.0 an 2000... as a side note, remember that users require admin permission to start/stop Windows services, and usually you'll not grant them this high level membership to traditional interactive users.. so SQL Server should already be started as they log in (as it actually does), and they should be ...Show All
Visual Studio Debugger doesn't start
I am using Visual Studio 2005 Professional. And now, i encounter problems debugging VC++ concole project. The debugger simply doesn't start. When pressing "start"-icon, there are no messages, the IDE looks like preparing for the debugging session, but the executable doesn't show up. This is a rather new effect, because after installation of Visual Studio debugging made no problems at all. But suddenly, a few days ago, the debugger refused to start. Does anybody has any idea, what has happened Where i could take a look in my system (logfiles ...) Or what to do to make the debugger start again Thanks nharendt wrote: OK, all the way: - Open console project - Press F5/start debug -> IDE ...Show All
