Errors At Running VB Programs On Other Computers?

Jun 24, 2010

When I made a program and tested it on the machine I have compiled it , all works well. I tested them even on my other computer works fine. Every time though when I passed the program to my friends computer or such , I got that common error message "A problem has encountered . tell Microsoft about this problem [Send Error Report] [Don't Send]. I checked my computer here is on XP SP3 with Microsoft .NET Framework 3.5 SP1 installed , same thing on my other computer. My friends computer is on an XP SP2 with Microsoft .NET Framework 3.5 (no SP1).

View 3 Replies


ADVERTISEMENT

Programs Can't Run On All Windows Computers

Mar 15, 2006

Run time error '339" Component 'COMDLG32.OCX ' or one of it's dependencies not correctly registered: a file is missing or invalid.

There is no HINT of how to fix this problem anywhere. I've searched the Visual Studio help, these forums and the Microsoft site.

View 5 Replies

Macbook-computers Run Programs From A Vb 2008?

Jun 6, 2009

Can Macbook-computers run programs from a vb 2008 .net, Windows Vista computer?

View 6 Replies

Report Error When Running Exe In Other Computers

Jul 8, 2010

I developed a Windows application within which I embedded a couple of reports (produced using Crystal Reports 12 version). The application project running fine on my development machine (Windows XP,visual studio 2008, crystal report 2008). i tried this exe into another machine but all manner of problems arose. The main problem is at report loading time, it shows the following error -"could not load file or assembly Crystal decission.windows.forms version 10.5.3700.0 ,culture=neutral,public key token =692fbea5521e1304 or one of its dependencies s assembly the system can not find the file specified."

View 1 Replies

VS 2010 Program Not Running On Other Computers?

Oct 23, 2010

I've just created a program in Visual Basic.NET 2010 Express Edition, and the program works great on my computer. Unfortunately, when I try running it on other computers, the process on the Task Manager for it comes up for literally 2 seconds and then goes away, and the program does not run. Basically, the program doesn't open. I'm not sure why this is happening, and I'm not getting any errors.

I am running Windows 7 Ultimate 64-Bit, and I've tried getting it to work on two other computers, with no luck. The first one had Windows 7 Home Premium 64-Bit, and the second one had the same operating system as my computer. All computers have the .NET Framework 4 Client Profile installed, which is what my application is compiled to work with. I also tried compiling it to use .NET Framework 4 (without the Client Profile), and that didn't help.

If it helps, my References are as follows (which I believe are the defaults):

- Microsoft.VisualBasic.PowerPacks.Vs
- System
- System.Core

[Code]....

View 5 Replies

All VB Programs Running Very Slow?

Jul 12, 2009

All of a sudden all vb programs running very slow in XP...... nothing has changed.I took the vb2008 complete out, and reinstalled...... and no difference. other programs like excel run as before, just all my vb2008 programs are really slow.....

View 2 Replies

Running Programs Without Full VB?

Dec 28, 2009

I am fairly new to VB Net and getting quite familiar with the coding. What I am trying to do is find a program that lets other users simply load a VB form that I have coded and run/debug the program (like f5 in VB net) without installing the full VB download on their own computer. As VB presumably can not be coded to run from the operating system like C++, I need something easily downloadable to run VB programs (eg games, quizzes). Is there anything out there that could do this, without the full VB package?

View 6 Replies

Running Two Programs For The Price Of One?

Jun 16, 2009

I want to make a program(Program A) that allows you to use another program(Program B ) for an amount of time, then shuts it down. I already know how to shut down ProgramB down during runtime, now all I need is the part where Program A automaticly starts when Program B is opened.

View 3 Replies

VS 2010 Running Programs?

Jul 9, 2011

Yesterday I was using VS 2010 just fine, I was doing my code and hitting F5 and if all was right it ran.Today I start up my computer again and load up VS though and...F5 does nothing and the little play button at the top is greyed out. This is the same on any of the programs I open up.How do I let myself test programs again?

View 2 Replies

Bug In 2008 Programs Running Under 64 Bit Windows 7?

May 27, 2010

I know there are compatibility problems with 32 bit code running on 64 bit machines, but this doesnt seem like it should happen.

View 3 Replies

Debug Programs That Run On VBNet2008 Still Running?

Jul 21, 2009

I have a small program on the menu written in VB6 retrieve data from Acess run very fast and now want to switch to VBNet2008. VBNet2008 conversion is still normal, but when running the menu does not appear that waiting in line, then click on the menu bar of this menu appears, but not the font is in Unicode data is available. Expect you to help debug programs that run on VBNet2008 still running good access Menu fast as running on VB6. Also supported is Unicode font on VBNet2008 does not function for unicode font. Attach program with VB6 and VB2008.

[Code]...

View 4 Replies

Running VB 2008 Programs On Windows 7?

May 16, 2010

I've coded this program in Windows XP 64 Bit. I also compiled it in Windows Vista 64 Bit. I've ran this program on 32 bit machines before and never had any problems. I purchased a new laptop with Windows 7 on it and i'm getting a "Not a valid Win32 Application" Error.

View 3 Replies

.net 2.0 Multiple Programs Each Running Threads On Xp, Will .net 2010 Be Better?

Oct 2, 2010

In the past few weeks, to speed up our database freshening process, I've created a couple of extra programs, basically copies of the exe file. The program itself, accesses web pages, images etc and uses threads to do so. The second program uses LIMIT 300,100 and the third LIMIT 600,100, to make sure they don't work on the same records.

Before the last few weeks, one occurrence of the program used to run without problem, from the task scheduler all through the day. Only one occurrence of each exe can run at a time.Since theres now three programs running, .net 2.0, on xp, the program often seems to get stuck and never ends. I have to kill it from task manager.

It runs fine in the IDE I just wonder if there would be any benefit from upgrading to vb.net 2010 ?

View 1 Replies

Running A Program Cause Giving Errors?

Jul 18, 2009

i have old program which is create in vb.5 i have in my PC vb.6 but when i want run program is give me a lot of error , i understand that i miss some .OCX i have this control or reference in my program 1- function MyScan(FpLibXCapture1 As FpLibXCapture, txtID As Object, LabelMessage As Label, LabelAlarm As Variant, Optional txtName As Object) Dim FpLibXVerify1 As FpLibXVerify Dim result As Boolean

View 2 Replies

.net - Errors Running VB 2010 XML Transform Code?

Mar 6, 2011

I have this code:

Public Class Transform
Dim inputFile As IO.StringReader ' Object variable
Private Sub OpenFileDialog1_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles ofdOpenFile.FileOk

[code]....

And I am getting these errors:

'Private Sub Transform_Load(sender As Object, e As System.EventArgs)' has multiple definitions with identical signatures. Line 15
'strOutputPath' is not declared. It may be inaccessible due to its protection level. Line 51
Type 'XslCompiledTransform' is not defined. Line 83

View 1 Replies

Imported Namespaces Cause Errors When Building Or Running

Sep 5, 2011

I've created a project which references some other projects in my solution. I've added the references properly to my project (which I've done a thousand times before), and used them in an Imports statement. I can successfully create references to the objects contained in the referenced namespace at design-time but whenever I attempt to build or run the project, I get build errors saying that the referenced projects do not exist. Their Imports statements change to the broken green underline and the only way to remedy the problem is to re-add the references in my project's properties.

I know that the referenced projects are valid, will compile etc... because they work fine for other projects in the solution. Also, I can go to the definition of their objects as long as I don't build/run.

View 2 Replies

Check For Errors When Running DataAdapter / DataSet SQL Query?

Jul 8, 2010

This is how I update a table using DataAdapter and DataSet in VB using SQL Server[code]...

I know that the Fill method does not make sense in case of an INSERT statement, but I am new to this technology and the above statement does the job and updates the table w/o problems. My question is this: If there was an error (say a duplicate key error) how would I know this in my application? Should I be putting the above code in a try/catch block?

Also, if there is a "proper" method for running INSERT statements using a DataAdapter/DataSet combination that does not use the Fill method, please indicate that as well.

View 1 Replies

VS 2008 - Running Into Some Errors - When Try To Delete An .dll File Using Kill

Apr 28, 2010

I am writing a simple program that I'm going to use to end a process and then delete a folder with its contents but, I am running into some errors when I try to delete an .dll file using Kill. I would have figured this out on my own but its being weird.

1. If I run the .exe it doesn't delete it and gives me and error

2. I i run the .exe as administrator it doesn't delete it and gives me an error

3. If I run visual basic 2008 as Administrator and then execute the program it works.

4. If I try and execute it again as Administrator under Visual Basic it doesn't work and says I don't have sufficient access.

What I am trying to do is End a Process so that I am able to delete the folder, the folder contains and .dll which is being stuborn and saying I don't have sufficient access to do this.

Kill
Public Class Form1
Public Sub killprocess(ByRef strproccesstokill As String)
Dim proc() As Process = Process.GetProcesses

[CODE]...

View 13 Replies

Build A Class Or A Part Of A Program That Can Be Add Into Other Programs To Be Used In That Programs?

May 27, 2011

I am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).

View 4 Replies

Coding Programs That Interacted With Other Programs?

Feb 2, 2010

I started with VB 6.0 back when i was 14, I was mostly into coding programs that interacted with other programs. Recently I installed VB.net 2005 pro i got from school, and i grabbed few source codes that teach show interaction, I feel so dumb, i dont remember anything lol. It be great if you guys can share some source codes and other stuff in this field. also other day i was in dream spark and i am able to get copy of VS.net 2010 ultimate edition, are there a lot of major changes, cause i got 2 thick book for VB.net 2005..

View 1 Replies

Distributing Programs: Getting Programs To Users Who Might Want Them?

Feb 23, 2009

When you've finished a program and you're trying to distribute it to the mass public. How is the best way to go about doing this? What sites would you post your program on and getting the word out that there is a new program on the block and it does xyz. This is directed to freeware so there wouldn't be any advertising.

Sorry for not explaining it very well the first time.

View 2 Replies

ASP.NET UpdatePanel Timeout And 500 Errors With Custom Errors?

Sep 23, 2011

I have a .net application that uses customerrors web.config module to display meaningful messages for errors. It works without any issues for 500 errors/exceptions caused by non-ajax and ajax components (updatepanel). However, in a scenario where updatepanel's asynchronous request times out, there is no error raised at all. I was able to see the timeout in firebug and come up with a solution that would at least display the error message as an alert and then redirect the user to the 500 error page using javascript but it's not quite doing what the rest of the application does in case of an unhandled errors like these. I basically just want everything to go through "LogEvent" mechanism so based on the severity of the error, it does the necessary work.This 500 error page doesn't have anything in the Server.GetLastError() for these timeout scenarios. Is this an expected behaviour? Can it be changed so I do have access to these timeouts in Server.GetLastError() OR maybe just run this error through "LogEvent" mechanism? Is there a better/more graceful way to handle this issue?

Below is my code to give you an idea, not exactly what I have in my application but pretty close.

Web.Config
<customErrors mode="On" defaultRedirect="~/Errors/ErrorUnknown.aspx" redirectMode="ResponseRewrite">
<error statusCode="500" redirect="~/Errors/Error500.aspx" />
</customErrors>

[code]....

View 1 Replies

Publish Build Errors (But No Errors In Debug Or Build) VB 2010

Jan 4, 2012

So when i build or click debug on my program. No errors come up and its smooth. So i decide to publish my programme. However. I come up with a bunch of errors during the publishing.

Here they are:Error 1 Cannot publish because a project failed to build. 1 1 Simple CALC

Error 2 Unable to copy file "binReleaseSimple CALC.exe.manifest" to "binReleaseapp.publishApplication FilesSimple CALC_1_0_0_0Simple CALC.exe.manifest". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

View 3 Replies

Application Running Fine On XP But Same Exe Not Running In Vista?

Apr 24, 2010

I had done one application using api which send the message to given number. The working of software is very fine without any error working on windows XP SP2. I heard that vista already contain the .net frame work so didnt installed .net frame work in machine. I checked in vista it shows .net frame work is in machine. But when same code i tried to run on Vista it gives the error. Error is as follows

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SmsSendingApplication.frmSingleMessage.InternetOpenUrl(Int64 hInternetSession, String& lpszUrl, String& lpszHeaders, Int64 dwHeadersLength, Int64 dwFlags, Int64

[Code].....

View 7 Replies

Can't Run My Program On Other Computers

Apr 16, 2009

I have a 64 bit vista and visual basic express 2008. Made a simple GUI for a class competition. All the GUI have is several forums with timers. It also writes and reads to an excel file to prevent from losing data.

View 8 Replies

Communication Between Two Computers

Jul 3, 2009

I wanna make an application in which i have to make two computers communicate each other. For example when a customer enters, his information is feeded in the computer at reception, and then this information is sent to another computer at upper storey, where the application detects the incoming data and populates in the relevant form.

View 2 Replies

Get List Of Computers From An OU In AD?

Aug 22, 2011

I am using VB to develop a WinForms application. This application should get all the computers from a particular Oraganizational Unit (OU) in the Active Directory (AD). How do I specify the particular OU in VB code? I would prefer to download some fields only from each computer's record.

View 1 Replies

Getting ALL Computers On Network?

Jan 22, 2012

Part of an application that I'm building searches the network that the current computer is connected to and returns a list of the IP & MAC addresses and the hostname. It is based largely on the post by richard__deeming at [URL] At the moment, it will only get the information about computers that are in the same workgroup, but I have several computers that need to be shown, that are joined to a domain rather than the workgroup. How can I get the program to find every computer on the network?

View 2 Replies

How To Get Lan Computers Info

Aug 12, 2010

I'd like to get lan computers info (computer name , IP adress , Mac Adress) and is it connected with wifi or cable. I tryed to search at google , but didn't find any good examples or codes.

View 4 Replies

Printout Is Not Same In All Computers

Oct 2, 2010

I have alignment issues with my application's printout. It isn't same in all computers, or printers. I want to use the whole A4 page in my app without any margin or other spaces. So I set all margins to 0.If I set OriginAtMargins to false, margins are still active for the page, or setting them to 0 is useless? The actual question is should I also set the HardMarginX and Y? I must get rid of all spaces for the correct printing.

View 2 Replies







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