Speed Fast Query From SQL And Share Applications

Dec 19, 2009

I'm asking about the best way to get data from SQL Database with less than 1 sec. Really I need to know if iIused LINQ is the faster way or ADO.Net? How can I start with application like CITRIX that will be helpful to share this application after I got data. I mean any example to start create an application to share applications like citrix to share applications?

View 6 Replies


ADVERTISEMENT

Screen Refresh Speed Is Not Fast Enough?

Jul 3, 2008

I am looking for help on how to speed up VB.NET (or C#) screen refresh speed. Specifically I need to update many controls and then refresh them on the screen all at once.I am in charge of writing a .NET interface for an older legacy program. Because this needs to run on slow legacy machines I did a performance test and discovered the screen refresh speeds of VB6 is faster then .NET. In VB6 there is barely a flicker as controls change across the entire form all at once. In VB.NET you can see controls change moving across the form like a wave. I must be doing something wrong...

To do a head to head comparison I put together equivalent VB6 and VB.NET programs, each with a maximized form and 48 labels. Clicking on any label changes the background color of all the labels on the form. To really see the problem it is best to try the following code on a slower machine (1GHz etc.)

In VB6 create a project MyProject and add a form MyForm with the following properties

Caption = "Screen Refresh test VB6"
BackColor = Black
WindowState = Maximized

On that form add a label MyLabel with the following properties:

Index = 0
Caption = "Hello World"
BackColor = Cyan

In the form add the following code:

[Code]...

View 8 Replies

Krypton Form V4.3.2.0 Plus Controls : How To Make App Fast In Speed

Jan 15, 2012

im using krypton free toolkit and we all know the speed is not good?i should try and code in diffrent ways using more apps to do small stuff taking more load of app but just an idea?

View 1 Replies

Share A Vb Class For 3+ Web Applications?

Dec 17, 2009

I have three different web applications that I made in VS08 vb.net. Each application uses a class that i continue to update (MyClass.vb), other than using Vault to propogate changes, is it possible to create a class or dll and put it out on the webserver and have each web app call that class or dll?

View 3 Replies

Share Data Between Two Winform Applications?

Feb 14, 2011

I have two VB projects in one VS2010 solution. The first program brings in about 60 integers every few seconds from my PC's serial port. The second program, published via Click-Once and running on my customer's PC, needs to see that new data every two to five seconds.

Is there a simple and reliable way to accomplish this, staying with VB?

View 3 Replies

Share DDL's Shared Data Between 2 Applications?

Jun 25, 2011

I would like to know if it was possible to share data between several assemblies using the same DLL.

I'm not looking for a workaround using memory or disk files of some kind of pipes to do the job I just want to know if and how:

1 - I can run an App. referring to a DLL which contains a given shared data structure.

2 - Run another App. referring to the same DLL that will use the already loaded DLL and data instead of creating a new base instance.

View 3 Replies

Share Static Data Between Applications?

Sep 16, 2011

I want to build a main application that make the autentication process and store the loged user... Then use X and Y applications to ask the current user and depends of the user will have full access partial or none access to the app. In future a Z application could be created and will ask for the current user also. XYZ apps are lauched from Main app, when Main app is closed the others are closed and User ID data is cleared. Of course the main app will handle the log on/log off process.

- Store User ID in a Database is toooooo much for just do this

- Save the User ID in a local file like XML is a security problem

I tried to do a WCF Service but i think its not possible to send data and store in it.The other point is who to handle the instantation issue... each program will access to the same static data not create independent.

View 4 Replies

VS 2010 Different Applications Share Same Sessions?

Oct 19, 2010

just wanted to ask if it is possible to have different applications sharing the same session (i.e. database session)... i'm planning on creating a web-based application and a form-based application using asp.net for web and vb.net for forms but i need to have them share sessions since some global variables will be session based and also authentication to one application should also authenticate on the other.

View 2 Replies

Share Data Tables For All Applications (only One Instance)?

Feb 25, 2012

I have 5 websites running on same server and I have some sql tables that I access frequently. that was time consuming and by defining them shared I pumped them in memory. So my application is accessing those static data tables from memory quite efficiently.
But I realized I did a mistake and I occupied my memory unnecessarily while I keep same tables 5 times for each web application. Now I need to find the best way to share that table only 1 time. my options are;

1) using a local database - sql CE. my original sql database is on other server. so it makes the access slower but I can add a sql CE database(to be honest I never used it and dont know if it gives me anything) to access only these tables while they have static rows.

2) I read over forums that making a WCF using tcp binding. not sure if it will give me any advantage.

3) windows service: is it faster than wcf? programming is defiantly faster as i have experience with winservice but nor sure about performance.

View 2 Replies

C# - When Deploying .NET Applications - Find Out What Zone A Share Is In Relative To The Computer Running The Application?

Jun 8, 2011

Using any version of .NET how do you find out which zone a particular share is classified under. I am having a problem identifying if a share where my referenced dlls reside is in the "intranet zone" or "internet" zone relative to some user machine that is running my .NET application. I suspect this is a problem because I am having a problem accessing referenced dlls from a share on some machines but not others. How can I tell which zone .NET is classifying that share in so I can adjust permissions accordingly?

View 1 Replies

Speed Up LDAP Query

Oct 14, 2011

I need to query AD to work out what access a user has to my application.I have 7 AD groups (FTP1 to FTP 7), these groups can have other groups added so I'm using GetMembers(True) which is recursive.The below function works great but it's a little slow, is there any obvious changes I can make to speed it up?[code]

View 6 Replies

Filling Listbox From Ado Query Far Slower In Vb2005 Than Vb6 - Speed It Up?

Aug 3, 2009

I converted some code from vb6 to vb2005 that opens a recordset and populates a listbox
with about 8,000 names. It uses classic ado. The vb6 code does it in about 0.75 of a second, the first vb2005 code does it in about 5.5 seconds while the second vb2005 code does it in about 4.5 seconds. Is there any way to improve the vb2005 performance a fair bit more?

[Code]...

View 2 Replies

Can't Get Results From A Query In Code Behind In Silverlight Business Applications?

Jul 19, 2011

regarding your book "Pro Bussiness Applications with Silverlight 4" there is something that makes me cumbersome. I'm Talking about getting results from a query in code behind.uppossing you are using WCF RIA Services, you are always getting Nothing as a result due to asynchronous mecanism betwwen Server and Client.I've tried to use a BusyIndicator like this (VB), but it doesn't work:

dim ctx as new DomainService1
dim query= from p As Entity1 In Ctx.GetQueryEntity1Query select p
If ctx.IsLoading = True Then

[code].....

View 1 Replies

Check Internet Speed - Download A File Like 1mb Size, Then It Will Calculate The Speed?

Feb 21, 2012

How do i exactly check internet connection speed.I have searched around google and found out a method w/c will Download a file like 1mb size, then it will calculate the speed.

View 1 Replies

Check The Bandwidth (download Speed And Upload Speed) Of A User In .net Or Php?

Dec 31, 2010

how do i check the bandwidth (download speed and possible upload speed) of a user in vb.net or php that uses my app or visits my site resp?

View 1 Replies

VS 2010 Calculate DownLoad Speed And UpLoad Speed Kb/s And Graph

Nov 30, 2010

I have a codes that calculates DownLoad speed and UpLoad speed kb/s. I would like to implement this kind. I also want to put such kind of graph. Any article or links where can I start building my own like that.

View 2 Replies

Calculate Internet Download Speed And Upload Speed

Jul 29, 2009

i want to monitor the speed at which my system is currently Downloading and uploading. I dont have any idea how will it can be done.

View 6 Replies

Check For The Lan Speed And Put This Speed Value In A Progress Bar?

Jan 4, 2012

i want to check for the lan speed and put this speed value in a progress bar.

for example:

[==== ] the lan speed now is 23 KB/s

and there is another problem is if there are a LAN and a WiFi adapter in the same time how do i check for the speed for both adapters

View 1 Replies

Controlling Outside Applications - Resize Multiple Applications And Send Keystrokes To Each One

Sep 12, 2011

I am working on a project that is used for key broadcasting. Don't worry nothing illegal, I'm making a multibox application for world of warcraft. However I am having trouble when it comes to launching and manipulating other applications from another.

[Code]...

View 2 Replies

Get The Speed Of A Computers Fan Speed?

May 5, 2009

how would i go about getting the of a fan of a computer that my program is running on in rps(revolutions per second) using vb.net?

View 4 Replies

Connect Different VB Applications To A Database Server.like Accessing Data From One Database By Different Applications?

Aug 15, 2011

how to connect different vb applications to a database server.like accessing data from one database by different applications...

View 4 Replies

Sql - When Run The Query In Query Analyzer, It Returns One Row But When Use The Same Query, No Rows Are Returned?

Aug 19, 2010

Here is the code:

Function getData(ByVal id As String)
Dim reader As SqlClient.SqlDataReader
Dim statement As String

[code].....

View 1 Replies

Running Applications Within Applications?

Jul 24, 2009

Is there a way to, when a parent application is opened up, that at the click of a button, or anything of designated event, that this parent application can open a secondary one?

View 11 Replies

Getting Fast Hex Reader?

Feb 7, 2011

I've been developing a simple virus scanner and it works by reading the hex code of a file and comparing it to signatures from a database. Anyway, the only thing slowing it down is how it reads the hex. This is the hex reading part of my code so far:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoadFile.Click
Dim ArrayHold() As Byte
Dim Index As Integer = 0
Dim Str As New StringBuilder

[code]....

View 1 Replies

What To Do If RichTextBox Is Not Fast Enough

May 17, 2010

What I need is to highlight multiple matches within some portion of text as the user types a search pattern. Right now I'm using a RichTextBox to highlight text. The highlighting takes place if a user changes the search pattern and naturally it happens with each key press. It works, but I'm experiencing a performance issues. If the text is large enough the highlighting takes too long (up to several seconds).
Facing that I tried to launch the highlighting procedure in a different thread aborting it and launching it again if the search pattern was changed during the highlighting but still I'm not satisfied with performance. Now I'm asking if there some other control I could use to speed up the process?

View 6 Replies

Wpf - UI Not Updating Fast?

May 13, 2011

Following is the code I used for reading the files and folders from a drive etc.

Public Class LoadingBox
Public counter As ULong
Public OpenRecords As New Dictionary(Of String, MainWindow.records)

[code].....

View 2 Replies

Class To Disable Fast IO

Aug 11, 2009

OK. I am making application for copying. Problem is that every time application wants to write it first tries to write via fast IO and get response that it isn't allowed and then it writes a file (i am assuming without fast i/o). I have no idea what fast i/o is (i know io is input output -> read write). So I can assume that it is handled by class that I am using to write. I am using System.IO.FileStream and its functions Read and Write. Is there any other class that I can use witch will allow Fast IO or disable trying it in first place (I would like the first solution)? Or should I do something else?

View 6 Replies

Fast File Transfer Using .NET?

Mar 15, 2011

I need to transfer files from one server to multiple cients (using the internet) in the fastest possible way in .NET . What are the different types of transfer protocols which can be used in .NET or VB.NET so that the files are sent in a very short time ? I have tried using FTP, but that is slow because it requires authentication, handshaking etc. What i want to know is the options which we have in .NET for sending files in the fastest possible way between a server and multiple clients.

View 1 Replies

Fast Import To SQL (2005)

Aug 2, 2009

I have text file which contain the 15000000 Rows with the Comma delimiters..i want to import that file to SQL Table Through VB.net(2005) With 1000 Rows per seconds. Is that Possible through VB.net

View 2 Replies

Fast Sorting Using .net 3.5 Framework?

Mar 5, 2010

In a scientific application I'm writing (vb.net) I use a huge collection of object stored in a tree structure. Every object exposes a LastAccessed property (datetime) that stores the last time the node was accessed by the algorithm.I need to find a fast way to find the N least accessed objects in the structure.I'm using an algorithm like this (pseudo-code)

dim Olist as new list (of myobject)
....
array.sort(Olist,address of compareByDataReverse)
for index=0 to N-1[code]....

I'm sure there is a better way to do that because the list is normally huge ( consisting of more than 10^6 objects).

View 3 Replies







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