App Runs Slow On Other Machines?

May 24, 2009

Basically i have designed an app that runs smoothly on my desktop PC (3GHz processor, 2GB RAM, Windows XP Media Centre (SP3)).

When i put the app on my laptop(1.4GHz processor, 448MB RAM, Windows XP Home Edition (SP2)) it runs really slow and is unusable.

I have tried deploying the app and also just copy the whole folder to my laptop and run the apps *.exe from the bin/debug folder, but it has the same results.

I have tested it on higher spec machines with 2GB RAM and they also replicate the slowness, so i'm at a loss as to why it behaves 100% on my desktop PC, where i have Visual Studio installed but not on any other machine.

My question is if little differences like operating system, RAM, service packs, VS installation, etc, make apps run differently on different machines.

View 4 Replies


ADVERTISEMENT

Application Runs Slow

Jul 22, 2009

I have designed an application just like it is an Excel table. By changing each textbox the application runs a huge amount of vb code and it takes time.

E.g. you want to enter a three digits number it takes from two to four and sometimes more seconds for ech digit to enter. That`s really embarrassing.

View 11 Replies

Code - Runs Too Slow ?

Jun 5, 2011

I've got a vb.net 2005 form that calls a stored proc to load a combobox with eligible sales reps. There are approximately 40k sales reps available...I know that's a lot, but that's what I'm dealing with. I'm trying to figure out why it's taking this form 15 seconds to load.

Here's my code:

Want to load this in the most efficient way possible given the HUGE amount of data that my client is wanting to see.

Can you help me? :confused:

View 1 Replies

Graphics.DrawImage Call Runs Slow?

Jun 5, 2010

I'm trying to improve the speed of my call to:Graphics.DrawImage (Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes)I want to display two images, where the old one fades smoothly into the new one, driven by a Timer tick of 10 or 20 ticks a second. The following code runs fine on JPEG files of around half a megabyte or less, but takes much too long (up to half a second) fora 2MB JPEG. Using the Stopwatch control, I isolated the problem to the two .DrawImage calls. Do I need to do this in DirectX or is there a way to improve the efficiency of the routine? I thought of trying to resize the two images beforehand to fit the rectangle, but that's not a simple call (I don't think), and it might just mean moving the delay elsewhere.

(Dim fltOpacity As Single = 1.0F 'opacity value)
(Dim BGrafx As BufferedGraphics)
* * * * * * * * * *

[code].....

View 1 Replies

Connect Client Machines With Sql Server Machines?

Dec 7, 2011

How to connect client machines with sql server machines ?Vb.Net as front end.

View 8 Replies

App Not Working On SOME XP Machines

Aug 19, 2011

I have developed an application is VS2010 ( VB app using .NET4 ) ... the application runs fine under Windows 7 and on (3) XP machines we have here. Had one user looking for support on an XP machine ... when he started the app nothing happened. No errors or anything, just nothing happened. Had him install the latest .NET4 framework and everything was fine.

Just had another support issue ... user with the same complaint ... had him install latest .NET4 ... but this time did not fix the issue ... still nothing happens when he clicks to start the app ... no errors ... just nothing happens.

I can't check this because it runs on all our XP machines .... Is the only criteria that .NET4 be installed? I created an install that includes only the EXE from the BINRELEASE folder ... nothing else. Do I need anything else. Strange that it works on all our XP machines.

View 15 Replies

Compile - Cannot Run .exe On Some Machines

Jun 21, 2010

I have a small form program that is basically an interface for installing different software packages so that we can distribute a CD with our products that our customers can just pop in the drive, autorun, and click the button to install what they need. The problem that I am running into is unlike when I had built this same program in VB6, the program rewritten in VB.net will not run on some machines, and shows me an error: .net Framework initialization error. required version of .net framework v2.0.50727.

I realize that it is asking for that version of .net framework in order to run, but what I would really like to know is if there is a way to make my exe non-dependant on this so that it will run on any machine. Requiring my customers to install .net framework in order to access an interface designed just to idiotproof the installation of some setup files and provide easy access to a few pdf's really would just defeat the purpose.

View 4 Replies

How To Switch Machines

May 28, 2012

I have two machines, on the first of which I have developed my application to a point of satisfactory stability. Now I want to move everything to my second machine.Both computers have the same level of XP and NET Framework code, and both have Visual Studio 2010 at the same level.I copied my application's project folder onto the second machine, but the second machine's VS 10 can't load the project because it can't find a couple of Interop files (e.g., AxMSComCtl2). All of files are present in the project folder and also in its.bin subfolder. The only observable difference between the two machines is the presence, on the first machine, of some Assemblies stored under my user name there. Copying the Assemblies to the second machine didn't help (I hadn't thought it would).Is my application permanently "imprinted" on my first computer, or is there a simple way of resusitating its clone?

View 10 Replies

Running On Other Machines?

Feb 25, 2012

My name is Jack, I developed a program and I wanted to run it on a clients PC. I used deifferent framework and that didn't work but when I used 3.5 client, it said it had stopped working and I know my client has .net framework 4 and when I did it with 4.0 client it didnt say it had stopped working it just didn't show up but the notification icon showed up for 2 seconds.

View 4 Replies

Use (.exe) Tool In Other Machines

Oct 13, 2008

i have created a tool written in C# that would parse string (from 3 files) using regular expressions then throw all the matches in a grid. It works fine on my machine.. It returns matches from those 3 input files.. The problem is when i use that tool (.exe) in other machines..there are no errors. The program works fine for the first 2 files.. but doesn't return matches on the 3rd file.I tried copying the codes in one of the machines just to trace the problem, but when i run the program, it suddenly worked fine.. from then, the program is working fine on that machine.

[Code]...

View 2 Replies

Use One EXE On Multiple Machines?

Nov 26, 2010

I have one EXE on my server machine (Windows Server 2003) and now i want users on multiple computers (Windows XP) to create one shortcut on there repective machine and access this EXE.

View 1 Replies

Cannot Execute Exe On Machines Other Than The Developer?

Jul 19, 2011

I updated a VB.NET application from Visual Studio 2008 to Visual Studio 2010 and made a few changes to it. Now it works fine on my development workstation but when the user tries to run it, it fails. The error detail is below. I've searched for System.InvalidOperationException and found several suggestions but none of them have helped. There isn't any static initialization code in the application. I changed the compilation to x86 instead of AnyCpu. None of these has helped. The project is compiled for .NET 3.5 and that hasn't changed. Both environments are Windows 7 64-bit.

Does anyone have a suggestion as to how I might determine what is causing this?

[Code]...

View 6 Replies

Global Variable Across All Machines?

May 31, 2009

I'm focusing on Networking programming and I had found something that was very interesting to me in Remoting, which is the ability to have some how a "shared global variable accross applications" ... Here's a quick example of what I'm saying (which is stripped and modified from one found example on internet):

In the Remoting class:

Code:Namespace remoteclass Public Class xx Inherits MarshalByRefObject
Public Shared_Var As String 'This is our share variable
End ClassEnd Namespace

[Code]....

I found that I can eaisly use this red-marked variable (Shared_Var) acrross all application clients without any extra line of code to update its value ... without using even what is called "singlecall" and "sigletron".

But I have concerns:

1) This is only applicable for simple types of variables (e.g. string and integer) but an array or DataTable for example are not updated! and I don't know why!!

2) Would that load the communication network (I mean the content of these shared variables (few KBs to 1MB) will always be communicated across machines all the time without any management) ... Actually I don't how this works from inside, Does it update on change or cyclic ...

3) And finally, can I found something like this in WCF?

View 2 Replies

How To Run Application On Multiple Machines

Jun 22, 2010

I have created a Office management software in vb.net & access, but i m not able to run it multiple machines.

View 2 Replies

Notify Change Across Machines?

May 11, 2011

I have an object with a GUI interface. This has properties and methods. When this object is modified by anyone, on any machine, all other users should reflect the change, without specifically asking for a refresh. How can I achieve this? Imagine that the Object is static across users. I need complete details on going about it

View 2 Replies

Pinging A List Of Machines?

Feb 1, 2012

I have a list of machines, 1 per line in a file called devices.txt.

What I need to be able to do is to ping each of these machines, and then output each machine that is online to another text file called machines.txt

The files need to just be the machine name and have 1 machine per line.

View 1 Replies

RDP Activate On Remote Machines?

Dec 29, 2009

I have a need to activate remote desktop on machines out in the field and have created a VB button that takes a workstation name from a textbox and activates via a WMI call. problem is that it pops back with an "invalid parameter" error.

View 3 Replies

C# - Restrict Same User To Login From Different Machines

Jun 8, 2012

I have a ASP.Net Web application hosted on a server. I want to restrict same user to login on different machines over the network connection but with certain conditions to be satisfied. So I thought of adding three new columns to the User table so that we can track if same user is logged in on same or different machines.

Those columns are like :
IsLoggedIn : To check if the particular user is already logged in or not.
SessionID : To check if the same user instance is opened.
IPAddress : To check if the same user is on same or different PCs.

This should satisfy some of the below conditions, but it fails to satisfy some of them. Conditions are as follows :

Both computers are on the same LAN.
Each computer is accessing the application over the internet from different locations.
Each computer is accessing the application over the internet from the same location.
Some of the application hosted which means that IP address alone is not sufficient to distinguish different computers.
Some users just close the browser without logging out. So sessions may not be ended at this situation.

How to accomplish all these conditions to satisfy with my application ?
Mainly 4th and the 5th .

View 1 Replies

Deploying On Client Machines / Particularly .NET Component

Oct 1, 2009

This question is about deploying a VB6 application that uses an interop component created in VB.NET, specifically, a .NET dll.Using Regasm.exe, I was able to create a .tlb and use it on the dev machine to add a reference to the VB6 project, but how do I go about deploying on client machines, particularly the .NET component?

View 6 Replies

Enumerating Only 'active' Domain Machines?

Apr 3, 2009

I'm having trouble with program I'm writing for work. It's basically a GUI for some remote management scripts I wrote a while back.I have a listbox (listbox1) to which loads a list of computers from active directory, which works perfectly and quickly.The problem is that I also want to add to another listbox (listbox2) a list of machines 'currently active' on the network. I can't see an easy way to do this in .net but came up with a logical solution.Basically my thought was to 'ping' all of the machines in the directory listing and use the results to make the list...

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim de As New DirectoryEntry()

[code].....

View 3 Replies

How To Make The Database Accessible By The Other Machines

Jun 8, 2011

i am developing a system for a business and would like the server to be one of the computers of the

organisation. My problem is that i don't know how to make the database accessible by the other

machines.

View 4 Replies

Invalid Operation Exception - Only On Other Machines?

Feb 15, 2011

I have an application that I've tested on multiple machines. It runs perfectly on the development machine, but no others. I have itextsharp.dll included and registered in the installer (I used NSIS). On one of the other machines, this was retrieved from the system log:

Application: Evaluation creator.exe Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.InvalidOperationException

[Code]...

View 3 Replies

Run On Client Machines From Central Server

Jun 11, 2011

I have created an application using ODBC data sources.it runs on a local machine well. but i want it to run on client machines from central server. the following is the code that i use:[code]where cleaners is a data source i have manually created in ODBC data sources.and then uses the connection for inserting,deleting and so on.can somebody help me with a code that can enable it access the remote machine.

View 1 Replies

Setup Not Running In Any Target Machines

Aug 24, 2010

my project using vs 2008, crystal report 2008,sql server .

with my set up i added CRRuntime_12_2 .msm,CrystalReportsRedist2005_x86.msm still my setup not running except my developed machine.

View 1 Replies

Use Class To Call X Nr Of Of Machines In Parallel?

Feb 6, 2011

I am making a program that will get information from some machinery over IP,

I have a Class that handles all the communication with the machine.

My problem is that I want to use this Class to call x nr of of machines in parallel

and get results back to my main form from the x instances of the Class,

I have this sample code, but I can not get It to work as I have intend.

[Code]...

View 10 Replies

VS 2008 - Running Ambitious App On Different Machines

Apr 25, 2009

Is there any better way of copying an application so I would have included all kind of things like the right references? I need to copy this big and ambitious application in order to work with it on different machines. Because all I got is errors that I cant get rid of, and it does not build the application, so I can't work on it. I was trying to reference the right components, it lessens the errors but still no chance to run the app.
Thats the link where I posted the errors: [URL]

View 2 Replies

VS 2008 Target And Development Machines?

Aug 12, 2011

I'm not a daily programmer so these nuances regarding VBnet drive me crazy. I've written my app with a P4, XP, dotnet 3.5 PC using VB express 2008.Does that mean are not NOT compatable with any machine running dotnet 3.5?

View 5 Replies

Accessing Same Record By Two Users On Different Machines At The Same Time?

Mar 4, 2009

I am developing Client/Server application in Visual Basic 2005 with back-end SQL Server 2005 Database.I have lot a users to access to this application.I have a problem with accessing same record by two users on different machines at the same time.For example: Two user fetches the same record display on the machine.Now both have same data on the machine. The first user modified and saved the record and after some times another saved the data without modified or modifed some other columns. Now the last user who modifed the record contains the old data.

View 5 Replies

C# - Multithreading On A Multi Core Machines Not Maxing CPU?

Jul 14, 2009

I am working on maintaining someone else's code that is using multithreading, via two methods:

1: ThreadPool.QueueUserWorkItem(New WaitCallback(AddressOf ReadData), objUpdateItem)

2: Dim aThread As New Thread(AddressOf LoadCache) aThread.Start()

However, on a dual core machine, I am only getting 50% CPU utlilization, and on a dual core with hyperthreadin enabled machine, I am only getting 25% CPU utilization. Obviously threading is extremely complicated, but this behaviour would seem to indicate that I am not understanding some simple fundamental fact?

[code]...

And this is occurring in a recursive function, so the QueueUserWorkItem can be executing multiple times, which in turn then executes exactly one new thread via the aThread.Start

Hopefully that gives a decent idea of how things are happening. under this scenario, should this not theoretically pin both cores, rather than maxing out at 100% on one core, while the other core is essentially idle?

View 6 Replies

Check Multiple Services On Remote Machines?

Jun 20, 2011

Im trying to check multiple services on different remote servers. i need to check lets say, RPC, Themes and Print Spooler services.

how can i list the services i need to make sure they're running and if they're not to start them in VB.net without using WMI?[code]...

View 2 Replies







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