Search Results - VBForums

Search:

Type: Posts; User: MrNorth

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    2
    Views
    183

    Re: How to improve this SQL

    Hi!

    Yes I agree that code was sure hard to read after I was finished with it. Your code works like a charm, just a few typos and it looks much more clear than before without too much repetitive...
  2. Replies
    2
    Views
    183

    [RESOLVED] How to improve this SQL

    Hi!

    I just wrote up some SQL that I am not really happy about. One of the problems is that I ahve to query a really nasty non-normalized table with lots of duplicate records.

    The thing I am not...
  3. VS 2012 Any tool or setting in VS that prevent/alert on cross thread operations?

    Hi!

    I am doing code review of some of my customers developers code, and found that two of them are producing code (VB.NET and C# windows forms) with a lot of potentially dangerous calls to the UI...
  4. VS 2008 Re: How to programmatically add columns with data to listview or datagridview?

    Interesting thought, but not exactly what I need.

    I have 5 checkboxes representing 5 columns in the grid with statistical data. 3 columns in the grid are mandatory and should always be visible. So...
  5. VS 2008 [RESOLVED] How to programmatically add columns with data to listview or datagridview?

    Hi!

    I have a small issue I have been working on.

    A UI has a search button and a couple of check boxes. Depending on what check boxes are checked, certain columns of data sould be listed in the...
  6. Replies
    0
    Views
    163

    3.0/LINQ Is this a good testable method?

    Hi!

    I started doing maintenance on an old system, and the first thing I did was to fix a bug in a method that loads a connection string from a custom cml config file.
    Here is the code:


    ...
  7. Replies
    5
    Views
    194

    Re: TFS 2012 and Visual Basic 6.0?

    Hi!

    Thanks for all the assistance. I did manage to solve it by installing VS2010 shell and this tool https://visualstudiogallery.msdn.microsoft.com/bce06506-be38-47a1-9f29-d3937d3d88d6

    After...
  8. Replies
    5
    Views
    194

    [RESOLVED] TFS 2012 and Visual Basic 6.0?

    Hi!

    I have been assigned to do some changes in a VB6 + ASP (interdev) project. The whole development environment is in a virtual machine running Windows Server 2003.

    Previously, they used ...
  9. Re: Have problem with url and file://

    Hi!

    My mistake, I assumed this part of the forum was for asp classic and vbscript.
    I solved it by putting " around the path, seem to work like when you are typing paths with spaces in the command...
  10. [RESOLVED] Have problem with url and file://

    Hi!

    I want in ASP generate urls on a web page that point to locally stored files, like a file browser. I build the paths in visual basic code on the server.

    The problem is that files with a...
  11. Replies
    1
    Views
    152

    VS 2012 Help with LINQ query

    Hi!

    I need to create a LINQ query that flattens a list of nested objects into a list that I can easily bind to a gridview.

    The object hierarchy looks like this

    Factory A

    * Client 1
  12. Replies
    0
    Views
    142

    VS 2012 Execute multiple sync operations at once

    Hi!

    I have been trying to follow the example here

    http://msdn.microsoft.com/en-us/library/hh696703.aspx

    but is not exactly as I want to do, the biggest difference is that they have a fixed...
  13. 4.0 Any way to write a method that accepts generic parameter and assign value?

    Hi!

    I am working on refactoring an application that is written as a Model View Presenter (winforms).

    I am stuck on a scenario where the view fires events to the presenter when certain...
  14. 4.0 Refactor this code for binding data to Combobox

    Hi!

    I came across this piece of code from a BaseForm class in one of our projects:



    public void BindDropdownList(ComboBox control, string displayMember, string valueMember, object...
  15. VS 2012 Question about domain entities and properties only for display.

    Hi!

    I am developing a WInforms application where I use Fluent Nhibernate as OR-mapper.

    We have chosen not to expose certain DTO objects to the client, but instead use the Domain Models when...
  16. Replies
    0
    Views
    179

    VS 2012 Help with MenuStrip and MDI

    Hi!

    I have a problem wiht the MenuStrip in MDI applications. I have set the child menus to merge with the main menu. This works just fine, BUT when this happens, the menustrip on the child form is...
  17. VS 2012 Re: Windows FOrms and MVP, Closing forms...

    Hi!

    Thnaks for your suggestions. I solved it by injecting the unity container to the "MainPresenter" and then resolve presenters from those when starting new forms. Kind of the "factory pattern"...
  18. VS 2012 [RESOLVED] Windows FOrms and MVP, Closing forms...

    Hi!

    Im currently building an MDI windows forms application. I use the pattern "Model View Presenter" with the "Passive View" approach, which means that the view know nothing of the presenter, and...
  19. VS 2012 Question about MVP Pattern, Winforms and data loading.

    Hi!

    We are currently developing a WinForms application using the MVP patten (passive view). A few questions have appeared and we have different views on how to solve these...

    1) When should the...
  20. Replies
    1
    Views
    288

    VS 2012 Need help with WCF + nhibernate

    Hi!

    I have spent a few hours googling over this "issue" and found no satisfactory result, or just really old blog posts with old versions of .NET and/or nhibernate.

    Here is the deal, we have a...
  21. Replies
    0
    Views
    185

    VS 2012 Need help with WinForms and WCF and DI

    Hi!

    I am currently setting up a "template" project for a Winforms Application (mdi many different winfors) that will use the Model View Presenter pattern (passive view), as well as a WCF backend...
  22. Replies
    1
    Views
    454

    2.0 IDisposable, Finalizers and Interop...

    Hi!

    I am trying to figure out some code I came across, and I am not sure it makes any sense (either my understanding of the IDisposable pattern or the way someone has implemented it here).

    The...
  23. 3.0/LINQ Re: How to execute a Function() and wait for it?

    Hi!

    I dind some research on the code, and it turned out there was a small snippet of code embedded in a lambda that was called asynchronously. And that is a totally different use case than what I...
  24. 3.0/LINQ How to execute a Function() and wait for it?

    Hi!

    I have a small helper method for executing client code (windows mobile). The purpose of this helper is to minimize the lines of code on each user interaction on the client, stuff like...
  25. VS 2012 Re: Client app and WCF, business exceptions?

    Yes, I have checked the code, and there is no validation on the server side. The client call varios server methods "CheckIfBlaHasConnectionToDa" etc And after all these chekcs have been passed, the...
  26. VS 2012 [RESOLVED] Client app and WCF, business exceptions?

    Hi!

    I am currently rewriting a desktop app that talks with a WCF service. They have one form where the user input some data, and then press an "Order" button. What happens is that the client does...
  27. VS 2012 Developing a vb.net store app for windows 8.1, help!

    Hi!

    I just came back from a meeting with the customer, and I am somewhat confused...

    I have experience with developing embedded software for the industry, using xp embedded, visual studio 2008...
  28. Replies
    0
    Views
    166

    VS 2008 Integration testing refactoring

    Hi!

    I am currently managing a winforms application which has a classic 3 layer design with wiforms client, WCF service, then a business layer and finally a DAL layer.

    Along with this...
  29. Replies
    5
    Views
    608

    3.0/LINQ Re: Need help with typed dataset and LINQ

    You are right, but since intellisense failed on me 8it is usually very clever, even at design time) I didn't bother to compile it. The error with this code




    var areaGroups =...
  30. Replies
    5
    Views
    608

    3.0/LINQ Re: Need help with typed dataset and LINQ

    Also, the code below works just fine;



    var areaGroups = _areaManager.GetAreaGroupByName(areaGroupName).AREAGROUP.AsEnumerable();

    var isActive =...
  31. Replies
    5
    Views
    608

    3.0/LINQ Re: Need help with typed dataset and LINQ

    Hi!

    Thanks for the heads up and corrections. You are right an all counds. So I guess what I really try to accomplish is to use "LINQ for Datasets" against a typed dataset. I get the typed dataset,...
  32. Replies
    5
    Views
    608

    3.0/LINQ Need help with typed dataset and LINQ

    Hi!

    I am trying to write the following as a lambda/linq expression:




    var areaGroups = _areaManager.GetAreaGroupByName(areaGroupName).AREAGROUP;

    foreach...
  33. VS 2005 Calling async webservice, get an unhandled threadabort exception

    Hi!

    I am currently troubleshooting an old compact framework application. The users complain that sometimes they get this annoying unhandled exception native dialog box when there is something...
  34. VS 2008 Re: Unit- or integration tests for a 3 tier winforms app

    Hi!

    Thanks for the reply.

    Ok, say that we decide to write unit tests for these business methods, how should we proceed, and which frameworks to use? I have written some unit tests in the past,...
  35. VS 2008 Unit- or integration tests for a 3 tier winforms app

    Hi!

    Our customer has asked us to add a level of quality control to one of their existing applications. It is a 3 tier application with has

    - Data layer with oracle database, and typed datasets...
  36. VS 2012 Re: How to handle major solution changes with VS2012 and TFS

    I am not sure I understood it either, but I have never had to redesign a solution this complete before. I did a test now, and only deleted (removed project from solution in visual studio, and deleted...
  37. VS 2012 Re: How to handle major solution changes with VS2012 and TFS

    Okay, then I finally get it. So, now we have the "old" version in Main and the "new" in Development.

    What we should do is to delete the stuff we don't need anymore (or that has been moved) in...
  38. VS 2012 Re: How to handle major solution changes with VS2012 and TFS

    Appreciate the advice.

    Well, in our case, I guess you can call "Main" our QA branch. Code that is merged to Main has been through both unit testing and code reviews. We utilize the "Branch by...
  39. VS 2012 How to handle major solution changes with VS2012 and TFS

    Hi!

    In TFS we have a setup like this:

    Project
    - Development
    - Main
    - Release
    -1.0
    -2.0
  40. Replies
    2
    Views
    400

    3.0/LINQ Write more efficient code

    Hi!

    I stumbled across this line of code, and began to wonder if it can be written more effectively using LINQ and lambdas? It feels rather "verbose". We are currently learning this newer style of...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.