C# - MaxDegreeOfParallelism Deciding On Optimal Value?

Mar 23, 2011

How do you decide what the optimal value for MaxDegreeOfParallelism is for any given algorithm? What are the factors to consider and what are the trade-offs?

View 1 Replies


ADVERTISEMENT

Deciding Which Flavor Of VB To Implement?

Feb 15, 2012

I had been dev'ing projects in VB6 until around 2006 when I stopped all my development. Mainly it was a change in responsibilities but it was also because I had heard that Microsoft was not going to continue support of this dev platform.

Regardless of that I am now interested in building some software and maybe opening up those old projects. The million bit questions is what platform to develop on; VB, VB.NET, or even Visual Basic 2010 Express. I really don't know enough about these option and certainly don't want to head off in the wrong direction. I would also like to take any opportunities that may be available to 'convert' old VB6 projects into VB.net or VB.??? (if possible).

I'm getting a little old to start in a whole new language so I want to stick with VB.whatever as a platform. Most my previous projects involve a DB and Access is just fine for what I'm planning.What are my VB6 options and is there any future down that road?Are there any options to 'convert' previous projects to another platform of VB (NET or ???)?Is Visual Basic 2010 Express worth a look; pros & cons?

View 1 Replies

.net - What Is The Optimal Approach To A WithEvents Collection

Mar 5, 2010

What is the optimal approach to a WithEvents Collection - VB.NET?Have you any remarks on the code bellow (skipping the Nothing verifications)?The problem is when I obtain the LinkedListNode(Of Foo) in a For Each block I can set myNode.Value = something, and here is a handlers leak...

-Could I override the FooCollection's GetEnumerator in this case?
-No. :( cause NotInheritable Class LinkedListNode(Of T)
Class Foo

[code]....

View 3 Replies

Optimal Way For A Service To Interact With User

Feb 10, 2011

My application needs to be a service (it needs run regardless of whether a user is logged on), but I also need some sort of client control/oversight over what it is doing. What is the optimal way to do this?Write a separate application to communicate with the service application - I see that as best solution in terms of stability, since the applications will be decoupled somewhat Use callbacks on system events in the service application to load UI forms directly from the service application - I see this as being easier to deploy.

View 2 Replies

Optimal Way To Save Settings For Different Users?

Feb 21, 2010

I'm writing a windows application and I've hit a bit of a roadblock. It wouldn't be a difficult program, except that I'd like to support more than one user and with each user I need to have many, many different settings change instead of, say, two or three. I'm wondering if there's a standard ideal way of storing large amounts of settings for different users?

I'll try to describe what I'm trying to do here..At the moment I have an Access database (for easy deployment) with about 60-something tables. 66 tables are named after books, and each have a different number of chapters. Each of those tables contains one row for every chapter plus a CheckState field that contains a 0 or a 1. I also have a simple Users table with a UserName and UserID field, and another AllBooks table with data for every book, like the name and the number of chapters.

When I user is selected, I have a listbox that displays every book (taken from the AllBooks table) and then a checkedlistbox that displays the chapters of the selected book and automatically checks off different boxes depending on the CheckState field.

So but I'm a bit stumped on how to implement different users... instead of tons and tons of different tables should I have a different table for each user that have 60-something columns...? I dont know enough about relational databases to make the right call.

View 8 Replies

Getting The Optimal Resolution In Visual Studio 2010?

Oct 5, 2011

Is there any way of getting the monitors optimal resolution in vb?

View 1 Replies

VS 2008 Most Optimal Method Of Dataset To Excel?

Oct 22, 2009

I am looking for some guidance with the most optimal or efficient way to export a dataset to an excel file. I have searched the forums and found a number of methods to do this. However, the code I am currently using is very inefficient as it is itterating through the rows and columns to create the excel file. The app I am working on needs to be able to create 50 or so excel files each with 500+ rows and 40-50 columns. This method seems to inefficient for my use

View 9 Replies

C# - Optimal Database Connection String For High Traffic Connections?

Mar 14, 2011

I just want to know, What parameters or attributes should be taken in connection string so as to handle high traffic enterprise applications? Like in general we use server, initial catalog, userid, passwd. Some times we add timeout , and in some scenario pool etc. But i don't know what attributes should i take in as my common practice apart from above.

View 3 Replies

VS 2008 - Most Optimal Or Efficient Way To Export A Dataset To An Excel File

Oct 29, 2011

I am looking for some guidance with the most optimal or efficient way to export a dataset to an excel file. I have searched the forums and found a number of methods to do this. However, the code I am currently using is very inefficient as it is itterating through the rows and columns to create the excel file. The app I am working on needs to be able to create 50 or so excel files each with 500+ rows and 40-50 columns. This method seems to inefficient for my use.

I have seen some code out there to use an ODBC call to excel to create the file. I am wondering if someone can verify that this is the most efficient way to meet my goal. It should also be noted that after the export I will want to do some basic formatting of the sheet. Adding bold column headers, autofilters, and autofit all columns.

View 2 Replies

Optimal Use Of Realtime Application List(of T) Avoid Internal Redim Of When One Extra Element Is Added Or Removed?

May 30, 2012

I am working on a realtime application where the data is addded to a List(of T) all the time. MB per minute

Elements older than X minutes shall be removed from the beginning of the list to free memory.

As far as i can understand will there be an internal (slow) redim when i add each element after i have reach the number defined with the Capasity metod. (I set that quite big from the start, but the data speed is unpredictable so it can be exceed)

What happens each time i remove and element from the beginning of the list , seems like it takes a lot of time, ? new redim ?

What is the most CPU fficient way of removing 1 or many elements from the beginning of such a list?

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved