Questions tagged [visual-studio-2010]

Microsoft's Visual Studio 2010 stands as an exceptional integrated development environment (IDE). So, please reserve this tag solely for inquiries related to the usage of this specific edition. Avoid requesting assistance on generic coding topics unrelated to Visual Studio 2010.

What are the steps for setting up and executing NUnit/WebDriver test suites in Visual Studio?

After transitioning from a Java-JUnit4-Webdriver setup to a C#-NUnit-Webdriver one, I found myself missing the convenience of creating test suites in Eclipse. In Eclipse, I could easily compile test classes into a test-suite class and run them as JUnit tes ...

Using NUnit with the Chrome driver without specifying the path

Currently, I am in the process of developing a Selenium test using Chrome Driver. In order to execute the test on my local machine, I have been running the Chrome Driver by specifying the path on my computer like so: Instance = new ChromeDriver(@"C:Users ...

Determine the upper limit for selecting a date on the

I have a problem with setting the date range in two calendars. The first calendar is for selecting the starting date, and the second one is for selecting the ending date. I want to restrict the maximum date selection in the second calendar to be three mont ...

Implementing HTML tags in C# code

Below is an example of HTML script: <h1> This is heading one </h1> <p> This is paragraph. </p> I would appreciate any recommendations on how to add <html></html> tags to the above script using C#. ...

Using JSON in Visual Basic 2010 to Encode and Decode Objects

Here is a snippet of code I have: Imports Newtonsoft.Json Imports Newtonsoft.Json.Linq Module Module1 Structure JSONList Dim Name, Email As String Dim Age As Integer End Structure Sub Main() Dim Data(1) As JSONList Data(0).Name = "Josh" ...

Challenges with locating text within the innerHtml property of a VB WebBrowser Object

Using Visual Studio 2010 with Visual Basic.NET In my project, I have created a form that utilizes a WebBrowser control to load an HTML file. Users are able to search for specific words or phrases within the document, prompting me to extract the innerHtml ...

Changing a Unique JSON Structure into a VB.NET Object

I have a JSON object that is structured as follows. { "Errors":{ "err1":[ //* Array of err1 objects ], "err2":[ //* Array of err2 objects ] } } This object is used to report errors identified in a request to a PHP page. My goal i ...

I am curious if there is a wysiwyg web editor extension specifically designed for VS2010 available?

In my experience, I have been working with C#, HTML coding using VS2010 and MVC. Utilizing VS2010 has proven to be an invaluable tool for me in this process. Currently, I find myself needing to create some straightforward static web pages. I am wondering ...

Modify property page configurations in Visual Studio C 2010 Express

A while ago, I made some adjustments to the Property Pages and Configuration Properties, such as the output directory and code generation settings. Now I want to revert back to the default settings. Despite trying to reset all environment settings using th ...

Utilizing Visual Studio: Implementing jsmin in post-build actions

After attempting to add jsmin.exe as a post-build event in my VS 2010 project, I encountered an "error code 9009" when building the project. I tested this in the command prompt and found that it works if I navigate to the folder and run: jsmin < debug ...

Converting plain text to HTML in emails using Outlook

Trying to figure out how to maintain the formatting of plain text email while displaying as virtual plain text in C sharp, specifically when receiving in Outlook 2007 with VSTO. The current code is not preserving the original formatting, instead it changes ...

Enhance your textbox with the Ajax Calendar Extender

Similar Question: How to add a specific number of days to the current date? I'm inquiring about how to prevent users from selecting a date within the next 3 days after today by adding 3 days to the current date. Here's the code snippet I've been worki ...