Filip2412's Q&A profile
Visual Studio Team System Unit Test Question
Please forgive me as I am fairly new to Unit Testing. I have a class library that I am trying to create Unit Tests for. This is a CSLA project, if that means anything to you guys. I can create the test project and the tests fine but when I go to run the tests I get an error that the tester "could not load type". The library in question is one that I have referenced in my class library and my test project. I don't know what to do so any direction here is greatly appreciated. Thanks My Nunit v2.0 can not found nunit gui runner nunit gui.tests timing tests, could you please tell me where I can downloa ...Show All
Visual Studio Express Editions pchnotify.exe error
This is my errors poping up!. 1. first error: Just-In-Time Debugging An exception 'System.TypeInitializationException' has occured in pchnotify.exe. However, no debuggers are registered that can dubug this exception. Unable to JIT debug. 2. second error: JIT Debugging JIT Debugging failed with the following error: Odefinierat fel "undefined error" Please check the documentation topic 'Just-in-time debugging errors' for more information. This error's started after i installed 'Visual Studio 2005 C# express', i allready had an version of 2003 installed. When i for the first time started the new version i was ...Show All
Visual Studio Team System Unshelve confusion over "no pending revisions"
OK I understand what happens during shelving but I'm not so sure I completely understand unshelving. The docs for "Working with Source Control Shelvesets" say this about unshelving: "restores each shelved revision into the destination workspace as a pending change as long as the revision does not conflict with a change that was already pending in the workspace." and "To unshelve an item, there must be no pending revisions against it in the destination workspace." I'm still a little fuzzy on what is meant by "does not conflict" and "no pending revisions" Is that a case of poor wording e.g. change "no pending revisisions" to ...Show All
Microsoft ISV Community Center Forums VBA WORKSHEET
COMPILE ERROR END IF WITHOUT BLOCK IF Sub EnterDates() Columns().Clear Dim EilDownloadSheet As Worksheet Set EilDownloadSheet = Workbook.Worksheets("Name of worksheet") Dim startDate As String, stopDate As String, startCel As Integer, stopcel As Integer, dateRange As Range On Error Resume Next Do startDate = InputBox("Please enter start Date: format (dd/mm/yy)", "Start Date") If startDate = "" Then End Loop Until startDate = Format(startDate, "dd/mm/yy") Or startDate = Format(startDate, "m/d/yy") Dim blnCancel As Boolean Dim blnValid As Boolean blnCancel = ...Show All
Windows Forms XSD.EXE
HELP! I'm trying to create a strongly typed dataset using the XSD.EXE. I have managed to create a file that, once renamed (with xsd filename extension) is visible within VS. Only problem is, i need a .vb version of this file. I have tried the following code within my mini dataset creator app but to no avail. Private Sub ...Show All
Visual C++ 2 questions
1.) I am having problems installing the software. It gets to the downloading part says 0% and says it couldent load. 2.) I..want to become a game developer...but dont know anything. Anywhere I can go to get started learning My bad!!! meant to put this in C++ .......nope.....found another place I should have put this.....When a mod gets to this, can they move this Hi, I guess you're talking about installing the VS. Are you behind a router/firewall that may block the download For the second question, firstly I recommend you to learn how to program. There are lots of tutorials online about c++ just searc ...Show All
Windows Forms abort thread
I have an app that will import some data into a database. I can't seem to stop my worker thread from running. Am I missing something t = New Thread(AddressOf oPF.ProcessFile) t.IsBackground = True oPF.oCnn = SqlConnection1 oPF.myStream = myStream t.Start() then in my oPF classs i'm going through the motions of parsing the stream and such. My problem comes when i'm tryi ...Show All
Visual C# Get ALL the forms into a collection
I am able to get all the open forms into a collection and iterate through them. Is there a way to get all forms, opened and closed Thanks... Yes. But that depends on what you mean by 'all forms'. Do you mean all forms in the current assembly or all forms in all the loaded assemblies You can use reflection to get the forms for either of these cases. Here's how you would get them from the current assembly: List<Form> allForms = new List<Form>(); Assembly asm = Assembly.GetExecutingAssembly(); foreach (Type t in asm.GetTypes()) { if(t is Form) { allForms.add(t); } } hope that helps, Imran. ...Show All
Windows Forms netwrok and windows information
Hi, How can I find out the Windows and Network information of the local machine Any example what exactly are you looking for System.Environment class has some good information such as OSVersion, UserName, UserDomainName, and MachineName. System.Net.Dns has some methods for getting computer name and IP Addresses...is this what you are looking for ...Show All
Windows Forms Datetimepicker bug
i have a datetimepicker with a showcheckbox property set to true. I set the format of the date to MM/dd/yyyy so that i can input numeric dates. But everytime i input the numeric dates the cursor focuses on the checkbox control. This is obviously a bug. is there any workaround to this problem please help. To attempt to clarify your issue, you have a DateTimePicker on a form with other controls. Programatically setting the date of the DateTime control forces focus away from whatever control had it before to the DateTimePicker If that is what you are stating, I have not seen this behavior. The CheckBox does get the yellow focus, but doe ...Show All
Visual Studio VS Web Site Project
Hi Kevin, Sorry for your frustration. Building web sites is a bit tricky because they don't support the same set of platforms as normal client projects. After talking to the Team Build folks, it appears that what you have to do is ... open up the .PROJ file (e.g., TFSBuild.proj) that gets created when you create a new Build Type. Look for the property called "PlatformToBuild". It probably has the default value of AnyCPU. Instead, try changing this value to "Mixed Platforms" if your .SLN contains a mix of web sites and client projects, or change it to just ".NET" if your .SLN contains only web sites. In the ...Show All
Windows Forms property grid item collection
hi, we want to develop a property grid item on the property browser like treeview's node property ( has a browse button that opens a new editor). is there any special name for this kind of property we think that this kind of property takes collection. can we access the .net built-in editor like treenode editor and modify the content of it ...Show All
Windows Forms XPanderControl
I see there is no code for the XPanderControl and there is no info available on it on the Vertigo site. Will this be made available or can I use the XpanderControl DLL in commercial projects The source for the GDI+ binary controls is included in the "TaskVision Source Code Lite" link on the following page: http://www.windowsforms.net/taskvisio ...Show All
Windows Forms DataGridView and Focus
I am trying to use the RowValidating event of the DataGridView to Cancel any edits and return focus to the DataGridView. I have created a small application that replicates the problem I am having. Create a form named "Form1", add a TextBox named "TextBox1", add a DataGridView named "DataGridView1", add a Button named "Button1", then paste in the code below. Tab into the DataGridView and then type a value in the Test1 column and leave the Test2 column blank. Next, click on the TextBox. The ErrorText will show up on the correct row in the DataGridView, but it no longer has focus. You can click agai ...Show All
Windows Forms Hiding Inherited Control's Properties
Is this possible I'd like to inherit from a control so i can reuse some of it's base functionality, but override other parts. I tried using Shadows and creating a property over one that already existed, but the WindowsForms designer cried about the property not being there, so is there an attribute or something I can add to just make it not  ...Show All
