Vb6 - Dotnet Is Bulky And Slow Compared To Vb6 Version

May 31, 2012

I am working on a large project with hundreds of dll's being used on the same machine, on the real large windows there is latency issues that I would love to address. The VB6 project was quick and effective but dotnet is bulky and slow compared to vb6 version, what changes from vb6 to dotnet would increase performance and reduce latency in the larger windows?

Working with VB08 3.5 Framework so parallel isn't going to work sadly, what other methods are there from a code standpoint could I use? DUring the conversion process could it be using parts of code that bog the system down?

View 1 Replies


ADVERTISEMENT

Detect Which Version Of Dotnet Framework Is Needed?

Dec 21, 2009

i have a component developed in dot net if i want to find out the dot net framework required for that component to run, how can i find out?

i know we can detect the framework installed on a system, but here i have a dot net component, and want to find out which framework is needed for it to run?

View 1 Replies

What Version Of The Dotnet Framework Is Required By My Application?

Apr 29, 2011

How do I tell what version of the dotnet framework is required by my application?I am using Visual Studio 2008.I have these installed on my machine:

.NET FW 2.0 SP 2

.NET FW 3.0 SP 2

.NET FW 3.5 SP 1

Are the service pack 2 updates inclusive of service pack 1? I don't think I need .Net 2.0 - do I need 3.0 if I also have 3.5 ? Do I look somewhere inside Visual Studio, or at my references?

View 3 Replies

IDE :: Assembly Version, File Version And Publish Version In ClickOnce In VS 2008

Mar 31, 2009

How they relate and differ from each? What are the best practices for version control? Is there a primer about publish online? Or a good book?

And is it possible to make ClickOnce and a msi in one solution of VS 2008? If so, is there any conflict or pitfall?

BTW I am using VB if that makes any difference.

View 1 Replies

C# IntelliSense Delayed Compared To .NET?

Jun 6, 2010

In VB.NET projects, errors are highlighted immediately after cursor leaves the line. In C#, I have to wait several seconds for IntelliSense to highlight it. Also, the C# version doesn't show all project errors in "Errors List", unless you start to build it. Actually, it seems to work differently in every way. Is it possible to adjust that behavior?

I am using both Visual Studio 2008 and Visual Studio 2010.

View 2 Replies

Is .NET Weakly Typed Compared To C#

Apr 15, 2011

Yesterday I was at an interview where my interviewer (who admittedly didn't claim to be an expert on the subject) stated that "VB.NET is more weakly typed then C#" - (At the same time he couldn't recall an example). This statement seemed incorrect to me (particularly given that both languages use the same framework libraries for their types) and I advised as such and that perhaps he was confused with the option to turn Option Strict or Option Infer on/off.

At the same time I know that VB.NET has situations where it will do type coercion - leading to occasionally unexpected results (although I also cant recall under what conditions) - (Actually I think I just remembered that it was mainly when performing arithmetic operations with different types - whereas other languages will force you to be explicit (?) ).

View 4 Replies

Python Use In VB .Net As Compared To Excel?

May 1, 2012

I have an interesting issue I've run into where I can easily tap into python code from VB in an excel instance, as described here: Calling python script from excel/vba.However, when I mimic the exact same code structure in visual studio in a form, the pyscript.language = "python" line fails. Does anyone know if MSScriptControl.ScriptControl can be used in VB .Net to control python like you can in excel? This would be a lot easier than setting up a com object for my python scripts.

Example code (need to add microsoft script control 1.0 and excel object library):

[code]...

View 1 Replies

Create New Array From 2 Compared Program?

Jan 15, 2012

I have 2 arrays one is a and second is b. how do i compare each of them and insert to new array c?[code]...

View 10 Replies

Interface Development Compared To MS Access?

Mar 23, 2010

I've been developing databases for research using ms access for the last few years. The application is used on accross a hospital network and while it was slow initially, itstarting to come to a grinding halt as numerous users are accessing it at once. I've been debating whether to try and develop the front end using vb.net in hopes of making the application faster.Does anyone know if this would be the case?

View 1 Replies

VS - Why Is IntelliSense Support For C# Lacking When Compared

Jul 4, 2009

However, for several years now, I have been working primarily in the .Net space. Initially, my transition into the .Net world consisted of writing and maintaining VB.Net code. VS provided almost all of the nice intellisense support I came to expect after years of working with the Eclipse/Java combo. Eventually my employer decided to do new development in C#. My initial impression of the intellisense support for C# was less than stellar. At times it seems as if VS has no background compiler for C#, but occasionally it does something smart, indicating there is some background processing there, but not quite enough to really boost productivity in meaningful ways. Is there any sane technical reason for this discrepancy regarding intellisense support between the two languages?

View 4 Replies

VS 2010 Text Compared N Override?

Mar 15, 2011

I have been doing this project for couple of weeks and i get stuck and cant find a way to do it. I need to compare this 2 txt files. So if the data in FILE A matched data in FILE B, the quantity in FILE B need to deduct the one customer bought and replace the new quantity. For example:

[Code]...

View 8 Replies

How Fast Is .net Compared To Native Code For Arithmetic

Mar 4, 2010

I need to write software that will do a lot of math. Mostly it will be matrix multiplication with integers to compute DCT. How much faster should I expect the code to run in native c as compared to VB .Net? Factor of 2, factor of 10, factor of 1000...?

View 3 Replies

Creating A Class That Can Be Compared To A String In A Switch Statement?

Jan 13, 2012

Is it possible to create a class in VB.NET that can be compared to a string in a switch statement? For example, let's say I have a class Foo:

Public Class Foo
Public Bar As String = "test"
End Class

Is it possible to implement some interface or override some equality operator so that I could use Foo like so?

Dim foo As New Foo()
Select Case "test"
Case foo
' It worked!
End Select

View 2 Replies

VS 2008 Form Displaying Different At Runtime Compared To Design?

Aug 9, 2010

Im having odd problems with how my form is displaying at runtime...if you look at the 2 attachments you can see at runtime the labels disappear under the check box's, but at design time they are positioned perfectly.

View 5 Replies

Asp.net - Radio Button List SelectedItem.Value Not Working When Compared To A String?

Dec 12, 2010

I am using VB.NET and I can't compare the radio button lists selectedItem.Value to a string, it doesn't work...here is the code: (I have also tried selectedValue it does not work either)

[Code]...

Why won't it evaluate that rblOne.SelectedItem.Value = "No" !?!?!? I tried rblOne.SelectedValue, that doesn't work, AND I added .ToString to both, which did not help, I even tried it w/ "No".ToString...this doesn't make any sense.

View 1 Replies

Code That Works In Excel Version 2003 Does Not Work In Version 2007

Oct 21, 2008

This code no longer works in ver 2007:' Obtain max resources available for Excel

[Code]...

View 3 Replies

Make Programs Use A Lower Version Of Net.framework Other Than The Newest Version 4 That Comes With VS2010?

Jun 10, 2010

Is there any way to make my programs use a lower version of net.framework other than the newest version 4 that comes with VS2010?I use my programs within a closed network and there isn't an easy way for me to install any software since I'm not the administrator.

View 3 Replies

Disable Button Depending On OS Version By Reading OS Version Via Registry?

Jul 29, 2009

I'm trying to add functionality to my application that will disable buttons and checkboxes depending on what version the OS is when the app is launched. I made a test app to test this but unfortunately I can not get it to work. Here is my code:

'OS Check
Dim osValue As Object
osValue =
My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrent Version", "CurrentVersion", "5.2")

[Code]...

*Note - 5.2 is Windows 2003, 6.0 is Vista, 5.1 is Windows XP

View 1 Replies

VS 2008 Check Difference Between A Full Version And Unregistered Version?

Sep 1, 2010

I have created a license system for my application with MySql about half a year ago. What it would do is take the serial number and send it to my server if the key was correct it would return a 0 if its wrong the return value would be a 1.The problem was that when the serial number was entered correctly my program would create a "fake file" for example vb.dll in the system.And on run time my program would check for that vb.dll if the file exist it would skip my trial program and run the app as a full version. Half year later i think creating a "fake file" and checking for it on start up is extremely wrong and that's not very good security.How can i check the difference between a full version and unregistered version?

View 23 Replies

How To Compare Against Application.info.version To See If It's Latest Version

Jun 24, 2010

I have a XML file with the latest application version number, I have this loaded into a variable, how can i compare this against the application.info.version to see if it's the latest version??

View 3 Replies

VS 2008 Textbox Tabbing - Cannot Find A Difference In Properties Of Textboxes Compared To Rest

Sep 1, 2010

I have a program that someone else designed the form on and sent to me to populate the code. I am not sure what could have been done to cause this problem, hoping for a quick oversight on my part. There are several fields of textboxes that the user enters numbers in. Normal behavior for textboxes is when you tab to them the current contents are highlighted. On one of these textbox fields, and only that one set of textboxes, the contents are highlighted like normal at first, but after the user edits the content of the textbox, if you tab to it again it will go directly into edit mode instead of highlighting the contents. Each textbox in the field does this individually, so if you just edit one, all the rest will continue to highlight contents until you edit them as well. It appears you don't actually have to change the value of the textbox, just entering edit mode and getting a blinking cursor is enough. I cannot find a difference in the properties of these textboxes compared to the rest.

View 4 Replies

Compare Assembly Version With File Version?

Jun 3, 2012

I want my application to do something special :D.. jks

I just want it to compare assembly version to the file version something like this (btw i also want it if it is the same i want it to enable a button):

Private Sub StartSplash_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
If Assembly Version = File Version Then

[Code].....

so how do i detect Assembly & File version numbers?

View 4 Replies

Set Publish Version To Overwrite Previous Version?

Jun 16, 2011

I would like my program to overwrite its previous version such that users don't have to uninstall the previous version before installing the new one.

I'm guessing it has something to do with setting Publish Version (Major, Minor, Build, Revision), Assembly Version or File Version.

View 3 Replies

DotNET Native Can Use Instead Of One Of These COM Libraries?

Nov 1, 2010

I'm looking at a small remoting project in VB.NET. Initial research turns up references to msrdp.ocx which my Windows 7 Ult system doesn't have; a filesystem search on the same platform turns up MsRdpWebAccess.dll which doesn't appear to be well documented; finally hunting through COM references in Visual Studio turns up rdpencom.dll labeled "rdpcomapi 1.0 Type Library" which seems to be best documented via personal developer blogs (which isn't encouraging but is a lot better than other options).

My goal is a lightweight remoting application I can deploy to Windows 2000 Client/Server, WinXP x86/x64, Win2k3 Server, Vista x86/64, and Win2k8 Server.Is there anything DotNET Native I can use instead of one of these COM libraries? Is one of these COM libraries better for the job overall than others; and then am I going to have platform-specific compatibility issues if I don't provide support for more than 1 of them in my app?

View 5 Replies

Can Not Open Designer Window In Dotnet

Mar 13, 2010

When i try to open a designer window of a project in vb dotnet an error occurs, Could not find editor for this vb.Why this error shows. But i can open code window.

View 12 Replies

Dotnet 4.0 On Thin Client Machine?

Sep 19, 2009

I am developing application in VB.Net (dot net framework 4.0) and SQL Server 2008 R2.will it work sucessfully on thin client machine

View 2 Replies

Download File Over HTTPS Using .NET (dotnet)

Jan 26, 2010

I would like to download a file using VB.NET (preferably) or C# via HTTPS.

I have this code to download a file over plain HTTP:

Dim client As WebClient = New WebClient()
Dim wp As WebProxy = New WebProxy("[IP number of our proxy server]", [port number of our proxy server])
wp.Credentials = CredentialCache.DefaultCredentials
client.Proxy = wp
client.DownloadFile("http://sstatic.net/so/img/logo.png", "c:logo.png")

How do I change this code to download a file that is stored on an HTTPS-server? I guess it has something to do with adding credentials or something.

View 2 Replies

How To Save And Retrive Image In Asp Dotnet

Mar 25, 2012

How can I save and retrieve an image from a SQL Server database in ASP. VB DOTNET ? When I double click on `FileUpload1 control noPrivate Sub` comes. What am i missing?

View 1 Replies

IDE :: Tool DotNet Functions Exporter

Oct 2, 2011

This tools enable u to Export Function form dll files Created in both Visual Basic .net and C# (2005 to 2010) . no need now to VC++ or C++ to export function u can do it legally in VB.net and C# . [URL]

View 1 Replies

Microsoft Report In Dotnet 2010

Jul 7, 2010

can tell me description or demo in working with microsoft report in in dotnet 2010 ie.. framwork 4.0,iam good in 3.5 framwork microsoft reports, but when i am doing microsoft reports in dotnet 2010 iam getting many errors, can u tell me how to do , is anything new in this or same as 3.5

View 2 Replies







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