inuwan's Q&A profile
Visual Studio Team System Can anyboby provide a script for custom Web-test plug-in to clean up a database after test recording and also after test has run
Can anyboby provide a script for custom Web-test plug-in to clean up a database after test recording and also after test has run and start with fresh database I have a form in which there is a data grid on it.During recording i add some values in that field so as a result those values get added in the data grid and i got a string saying that record has been saved.When i ran this test those values were already in the data base so the test passed but in test results details in the browser window i was getting the string that duplicate record shall not be added whie during recording it has given the string that Record has been saved. I wa ...Show All
.NET Development XSLT - how do I change element name to create lightwieght xml file?
Hi, I am trying to perform a XSL transformation that, to a beginner, looks rather complex. I have found the forum article: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=122864&SiteID=1 I would like to convert an XML document to a very lightweight attribute name/value pair-this is due to the transport method that will be used, but maintaining some sort of XML structure would allow it transformed again and consumed by other sources if required. I need to do the following - Example from source: < xml version="1.0" encoding="UTF-8" > <module id="jobman ...Show All
Visual Basic I am having a problem with a code and could use help.
I am having some trouble with this code. I would like to covert the for...next statement to a do...loop statement and can't seem to figure it out correctly. Any suggestions 'declare constant and variables Const TERM As Integer = 5 Dim principal, payment As Double Dim rate As Double = 0.04 'as accumulator Try 'assign input to a variable principal = Double .Parse( Me .uiPrincipalTextBox.Text) 'calculate and display the monthly payments, using 'rates of 5% to 10% and a term of 5 years Me .uiPaymentLabel.Text = "" Do While rate < 0.1 'update accumulator ra ...Show All
Visual C# Anyone read the XP Adventures in C# book?
I'm half way through at the moment, and I'd say it's my favourite programming book of all time so far (although it's a close one with Martin Fowler's 'Refactoring'). Great to see in such detail how somebody else works and learn from their methods. Regardless of whether you can see yourself using extreme programming techniques, there's something to be learnt for everyone. http://www.amazon.com/gp/product/0735619492/sr=8-1/qid=1144851776/ref=pd_bbs_1/104-8723997-8974303 %5Fencoding=UTF8Highly recommended.Thanks,Carlos ...Show All
Visual Studio Queries and Feedback on VSS 2005
Hi, I installed Microsoft Visual Studio 2005 beta 2 release and in the process of evaluation. Basic focus of my exercise is to compare VSS 6.0d with VSS 2005. My queries and feedback - 1) Is it possible to use stable platform say SQL Server instead of file system My understanding is No, but want to know the reasons and in future is it possible 2) I have a VSS 6.0d Data size of 6 GB, which earlier has problems, I run analyze at least 50 times to fix the problems (later I found problem was some of the long, similar filenames, were renamed). The analyze result was "Potentially serious errors or inconsistencies were found." I was very eager ...Show All
.NET Development To Disable Cut and Paste in a VB.Net Application
Hello, I have an application in Visual Basic .NET and I would like to disable "Cut and Paste" when the user is entering data in a Text Box and next clicks the right button on the mouse. I saw these options are available but I would like to disable them. Best Regards, Joanna. Hello Joanna, I would recommend asking this question in the Windows Forms General development forum , as the Forms team is heavily engaged there, and can offer guidance on long-term supportability of whatever solution you implement. Modifying the menu-handling logic will 'fix' the GUI, and it may disable some access points to the clipboard. However, it will not disa ...Show All
Visual Studio 2008 (Pre-release) Wrapping Label?
Anyone know how to make a Label that wraps across multiple lines in WPF I can't seem to find a property that makes this work. Thanks. Or better yet, if it makes sense in your object model, go ahead and expose properties like TextWrapping to the Label class itself. The template could pull those in to the inner AccessText. ...Show All
Visual Studio Team System Migrations from 2003 to 2005
Hi I have following scenario I have VS 2003 solution that was involved for some time already. I would like to migrate it to VS 2005 but it will surely take some time since I would like to do some code clean up and testing. But even though I don't have new features in schedule client one in a while calls me that we need to change something. Usually this changes need to be "now" and they don't take more then 3-4 hours. But due to this I am refraining from starting major migration. I just wanted to know if I can resolve this in some secure way. Secure means - that I can return to 2003 at any time with no problems and work ...Show All
.NET Development problem of port for remoted object hosted IIS
Hi there I try to do something, it makes my head in, I try to host a remoted object in IIS(done no problem) Now I would like IIS to listen to another port than 80 so in web.config I tried : <configuration> <system.runtime.remoting> <application> <service> <wellknown mode="SingleCall" type="Server.Hello, Hello" objectUri="Hello.soap" /> </service> <channels> & ...Show All
Visual C# big file storage in sql
Hi i want to store a file lets ley 100 Mb in my sql Database.. how is the best way to do it Thanks!! I suggested actually storing the file in SQL Server (and not the file system) as this ensures the integrity of the data, e.g., support for transactions, back up and recovery etc. ...Show All
Visual Studio Express Editions Closing application on a different computer on the same network
I need to close an application running on a computer in the same workgroup using VBE. I know how to do it when the application is running on the same computer. My reading of the help section leads me to conclude that this is not possible. Can anybody tell me if this can be done and how Thanks, Antonio Hi Antonio, I just wanted to let you know that I got through the part that I was trying to get through concerning sharing a data file on a mapped drive without other users over writting old data. Below is the code. The form has 80 combobox, 80 textbox, 1 button and 1 timer ...Show All
SQL Server Session MDX scripts and assignments
In SSAS 2005 if a MDX script is saved in the default cube script it is possible to assign values to a specified set: SCOPE <set>; THIS = desired value; END SCOPE; In order to add/remove this assignment programmatically the script has to be injected in a cube using AMO. The assigments applied are visible to every user browsing the cube. I'm trying to obtain similar results using a session and ADOMD.NET. I would not like to update server objects until an assigment is saved by a user. I connect to a cube using: Data Source=localhost;Persist Security Info=False;Integrated Security=SSPI;Catalog=<database name>;Cube=<cube name& ...Show All
Smart Device Development .obj/.exe files geneerated by VS2005 are 3x the size generated by eMVC++
We are finding that the .obj/.exe files generated by VS2005 are much larger than those generated by eMVC++ with similar compiler/linker options set (all debugging options have been turned off). Running a stirngs utility against the .obj files produced a huge number of '$Mnnnnnn' references, where '$M' was constant and 'nnnnnn' was an ever increasing integer. Compiling such that .asm files are produced showed that these references seem to be associated with DCD psuedo instructions used for padding ( ). The difference between the VS2005 generated files and eMVC++ files is that there are SIGNIFICANTLY more of them in the VS2005 versions. Any ...Show All
.NET Development Remotely accessing system certificate stores
I am developing a C application to use SSL/TLS. Using the samples provided by MS, I have been generally successful. I am using a stand-alone CA at this time. I have been able to run my server and client with a SSL connection on the same machine as well as 2 separate machines. However, to get this to work I have had to install the certificates on the machine on which the program is running. The issue that continues to "dog" me is how to get "remote system store access" to work. When I open the certificate store I am constructing \\<machine name>\My, but the opening of the certificate store only works ...Show All
Visual C++ date
Vb.net had a variable call date so how to work at vc++ .If i provide a date i want to count the totaldayofthemonth.I had try used some software translation vb.net class to c# class fail.And i have problem trying to convert string to int and int to string The code // This is the main project file for VC++ application project // generated using an Application Wizard. #include "stdafx.h" #include "time.h" #include <sstream> // this file is is similiar with <iostream.h> #using <mscorlib.dll> using namespace System; using namespace std; class dateX { private : std::string changeZero(s ...Show All
