visual-studio-2013

ASP.Net MVC: how to write unit test code when working with ValidationAttribute and IClientValidatable

最后都变了- 提交于 2020-01-17 05:09:46
问题 apologized to post bit similar question here. i am bit familiar with asp.net mvc but very new in unit testing. do not think that i know lot just see my reputation in stackoverflow. i like to know how to write unit test code for IsValid and IEnumerable<ModelClientValidationRule> GetClientValidationRules here i am pasting my code including my model. so anyone help me to write unit test code for the above two function. i am new in unit testing and working with VS2013 and using VS unit testing

can anybody help me solve this error “OleDbException was unhandled”?

安稳与你 提交于 2020-01-17 04:37:12
问题 This part of the code is to let lecturer publish consultation schedule, unfortunately i experienced another error as shown in title, after done asking a question at Can anybody help me to solve this error "NullReferenceException was unhandled"? ,and that error is probably resolved. Now, my problem is when i clicked on the publish button which is like saving all the labels(that has the color lime as shown in the form) to an access file, and those labels already declared as(lime = available,

make the data of datagridview as source for crystal report vb2013

老子叫甜甜 提交于 2020-01-17 03:51:04
问题 i'm trying to print the data of a datagridview using crystal reports, i found an idea of filling a data table with the dgv then make it as a data source for the cr report the problem is the report shows nothing ! and when i drag the database fields from the field explorer of crystal report, the report shows the whole data stored in the table .. not the dgv data ! any help ?? i tested the data table to check if it's filled with data by this Dim c As Integer For c = 0 To dg.RowCount - 2 Step 1

Adding a button to a 3rd party ribbon tab addin

痞子三分冷 提交于 2020-01-17 03:50:34
问题 I have a 3rd party addin in word 2010 and do not have access to the source code. The addin adds a new ribbon tab and many groups in the ribbon tab generated by the 3rd party addin. I understand how to use vb2013 to create my own new ribbon tab etc. My question is, is it possible for me a create a new word 2010 addin, which somehow gets a handle on the 3rd party addin's ribbon tab and adds a button to one of the groups within the 3rd parties ribbon tab? So basically, if the 3rd party addin is

VB 2013 Application Out of Memory

梦想的初衷 提交于 2020-01-17 02:55:49
问题 I'm new to VB but recently created my first working app :) Anyway it just compresses files and little bit more. The latest thing that I added was a marquee style progress bar to animate while the operation was in progress and stop when it ends and the user can do the next zip operation. The progress bar wasn't updating, so I used a background worker to do the actual task while the button click just did the animation. Since then I've notcied serious degredation in the app. It struggles to load

Visual Studio 2013 Update 4 generate clone Designer.cs for .resx

心不动则不痛 提交于 2020-01-17 02:42:04
问题 I think its result install update 4 I have S.resx and S.Designer.cs . After edit in visual designer (in table) S.resx - VS generate S1.Designer.cs with content of S.resx and add S1.Designer.cs in solution. Its not correct. Its duplicate public class S . Project in git and i cant replace S.Designer.cs with S1.Designer.cs VS must rewrite S.Designer.cs with content of S.resx . What can i see and correct? 回答1: Solution Delete S.Designer.cs and S1.Designer.cs . Build (with error) Edit S.resx Now

InstallShield LE is not working in vs2013 in windows 8.1

谁说胖子不能爱 提交于 2020-01-17 01:45:08
问题 I am working in Visual Studio 2013 on Windows 8.1 . I have windows service project, for that i want to create a setup project. I am trying to add install shield limited edition project. When i am clicking on OK button. Nothing happend, nnly setup1 named folder created in my solution folder. What should i do to fix this bug. 回答1: In the Visual Studio 2013, IDE showing "Enable InstallSheild Limited Edition", it means you have not installed InstallSheild yet. Download InstallShield from here.

Visual Studio 2013 configuration properties missing

老子叫甜甜 提交于 2020-01-16 20:03:45
问题 I just installed Visual Studio 2013 (Update 4) and when I right click on the solution under Solution Explorer and select properties I get a window like this (sorry can't post images, not enough reputation): https://social.msdn.microsoft.com/Forums/getfile/375794 As you can see there are a few options missing there, like General options, Debugging, Linker etc, which were all present on my old computer when I used VS 2010. It is set up to C# development environment, if that's relevant. This is

Visual Studio 2013 configuration properties missing

别来无恙 提交于 2020-01-16 20:03:32
问题 I just installed Visual Studio 2013 (Update 4) and when I right click on the solution under Solution Explorer and select properties I get a window like this (sorry can't post images, not enough reputation): https://social.msdn.microsoft.com/Forums/getfile/375794 As you can see there are a few options missing there, like General options, Debugging, Linker etc, which were all present on my old computer when I used VS 2010. It is set up to C# development environment, if that's relevant. This is

Error: Retriving the COM class factory for component with CLSID failed due to following error : 80040154

佐手、 提交于 2020-01-16 09:34:31
问题 I have a c# winforms application which i use to send audio out form a camera, which uses third party dll for connecting to device and sending audio out to device. when i run my application on my local machine then everything runs fine without any problem. Problem: But when i copy my application onto another machine and run it i getting this error Unable to send audio to this device. Error: Retriving the COM class factory for component with CLSID failed due to following error : 80040154