Run My Application On Other Computers?
Jul 4, 2009
My program is ready for use on other computers however when I run either the release file I get the following error:
(Program Name) has encounted a problem and needs to close. We are sorry for the inconvenience.[code]...
View 2 Replies
ADVERTISEMENT
Dec 14, 2009
I am making a exe application and i am using mysql as my database. So the thing is, when i change to a new computer, i need to change the file path for the database connection string to that computer.
like below:
Dim connectionString As String = "Data Source=----------SQLEXPRESS;Initial Catalog=Flexlink;" & "Integrated Security=SSPI;"
i need to change the data source = --------------- SQLEXPRESS to the computer name that i am using for my project.
May i ask is there any method such that the user dont have to go in to the source code to change the computer's name like those normal installer?
Just install and the application will run according like any exe file that we buy.
View 1 Replies
Jul 7, 2009
I just completed building an application that reads and writes to a MS Access database located on a network drive. It works great on the computer that I created it on, but when I try to run it on another computer it fails to initialize. I'm not sure if there's a setting in the database I need to change,
View 4 Replies
Aug 15, 2011
I've been working on a piece of software for a few weeks now and I've got to the point where I'm publishing it and testing it on other computers, namely my colleague's. We're both working on the same network and have similar permissions for our accounts, but for some reason the application will launch on my account but not his.
We've tried using the same computer and just changing accounts, but that won't work either; he still isn't able to launch the published application.
I receive the standard "[x] has encountered a problem and needs to close. We are sorry for the inconvenience." message.
What is baffling me is that we've tried previous versions on his computer and they worked just fine. I can't think of any changes that I've made that would suddenly stop the application from running.
A few extra pieces of information: the application has a splashscreen, which displays for a few seconds before the error message crops up. In this time, the program is supposed to check if certain files and directories exist and, if not, create them. It also changes file attributes. These files exist in a directory we are both able to access and both have permissions to change. It also changes and sets some variables within the program itself, but I don't see that being an issue. It is able to catch exceptions of type IOException and InvalidOperationException (which was being thrown when a computer didn't have access to the intranet).
View 4 Replies
Jul 1, 2011
I have written an application. It works fine on some resolutions but most of the controls are over lapped when it is run on some other computers.Is there any way of setting the application automatically when it is run on different computers?
View 1 Replies
Dec 29, 2011
i have a simple app of one form.on this form there is:
webbrowser -
axshockwavecontrol -
combobox -
[code].....
View 2 Replies
Jan 31, 2012
I have an app which has an icon in the application for the project I have developedIt shows when I run my app but is not shown when the app is installed on another computer
View 7 Replies
Jan 4, 2012
I have an VB.NET 2010 application using framework 4 that has issues with reading and writing to cells using command similar to 'RequiredSoftwareVersion = EmployeesSheet.Cells(37, 4).value'. The big thing is I can open/close the workbook, select which worksheet in the workbook. On some computers it works fine, on others I get a pop-up that asks if you want details, continune, quit. All the computers have Office 2007 installed.
View 4 Replies
Dec 17, 2011
I have recently finished a console application and deployed it to several computers on our network for testing. As it is just an EXE a copied to the hard drives of selected computers for now. When the app is launched it writes info to an sql DB so I always know which computers it is on.
During the past few weeks I have modified this app at least 6 times (improvements, adjustments, etc)
It is a paint to keep going back to the computers to update it with the new version, and getting mixed up which version i am on - LOL I am looking for advice on how I would go about doing this automatically, for example, it would be cool if I just had to put an updated file in a repositry and clients would use this to update.
In Visual Studio, when I view the properties of my application>assembly information - I can set a file version. Is it possible to extract this info and store it in a variable? I would like to dump the in my DB. Also I could then possibly compare the file version of the launched app against an updated file in a network share folder.
View 16 Replies
Nov 19, 2010
I have a vb.net 2010 windows forms application (32 bit) which is hanging regularly on SOME computers, mainly when minimised to the task bar
View 6 Replies
Mar 10, 2009
I would like to ask how to connect our application to connected computers in a LAN.Will I use the winsock control?How can I run queries using a server database?Any answers are welcome.
View 3 Replies
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
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
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
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
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
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
Jun 14, 2010
i have a strange problem with a VB.Net Windows Application. On my computer(the development PC) it executes the newest version of the exe and dll's but on the computer of my fellow(he is not a developer and cant debug it) an older version is executed. He has overwritten all files with the new version:
I dont know where to start looking for the reason.
EDIT: the first thing i've done was to restart the pc of my fellow but that was of no use.
When is a dll installed in the global assembly cache? Because i've searched for it in the gac with gacutil.exe but not found:
C:>C:WINDOWSMicrosoft.NETFrameworkv1.1.4322gacutil.exe /l Rule.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4318.0
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
The Global Assembly Cache contains the following assemblies:
The cache of ngen files contains the following entries:
Number of items = 0
I've also looked into the assembly folder but not found any of these dll's there.
Additional info: one of the dll's is loaded dynamically in the codebehind:
System.Reflection.Assembly.LoadFrom("Rule.dll")
The others are referenced in the particular project.
View 2 Replies
Feb 28, 2010
i want to know how to access the client computers using the vb.net program
View 1 Replies
Jun 14, 2011
I recently finshed a program and made a finshed copy of it when I tested it on my computer it installed correctly but when I tryed to use it on a nother computer I got a error saying application download did not succeed.Check your network connection, or contact your administor or network service provider.[code]...
View 1 Replies
Jul 1, 2010
How do i change the computers volume up and down? or mute it all together?
View 2 Replies
Dec 27, 2007
What is a good way to do networking? I tried this example, but it did not work. [URL]
how to connect two computers similar to how you would with Winsock. Also, I would like to be able to send an image, but I can figure that out later.
View 35 Replies
Jan 9, 2009
how do i get list of all connected computers in local network i have tried through Active Directory and it gives all computer names whether connected or not. the main problem is few computers on network have dual operating systems and both have different name like different on xp (comp1 xp) and different on vista (comp1 vista) and when i try to ping a computer name like (comp1 vista) which is not active, but maps to its associated ip and return replying so i m not able to get true status of computer name as (comp1 xp) can also reply on ping
View 15 Replies
Nov 23, 2010
How can I know which computers are connected with LAN (names and IP address), using Vb.Net code?
View 2 Replies
Nov 19, 2011
I am working on a project and my system is connected to the server running windows server 2008 r2.
We are 4 people working on the same project on different machine.
Now every one code the project from the own system stored locally
But i want all of us to be working on the same project located at one placed.
So that every one's work is synchronised..
Currently We are using Visual Studio 2010 Ultimate.
But we dont have Team Server
View 3 Replies
Jul 1, 2011
I have a form with a tab control. Above it, there are lables, combo boxes and text boxes.
On the development machine, it works fine but on other machines, where resolution is different, the position of the controls is changed. Somewhere combo box overlaps the tab control, somewhere text boxes and lables are not aligned with each other.
How to set it so that my application maintains the shape no matter what resolution it is.
I tried AutoScaleMode to dpi, inherit etc. but nothing worked.
View 5 Replies
Jul 1, 2011
I have a form with a tab control. Above it, there are lables, combo boxes and text boxes. On the development machine, it works fine but on other machines, where resolution is different, the position of the controls is changed. Somewhere combo box overlaps the tab control, somewhere text boxes and lables are not aligned with each other.
How to set it so that my application maintains the shape no matter what resolution it is.
I tried AutoScaleMode to dpi, inherit etc. but nothing worked.
View 1 Replies
Aug 20, 2009
My program has Framework 3.5, and my friends' computers have same version of framework. But the problem is that my program says for him
[Code]...
View 11 Replies
Aug 20, 2009
I am using Vb.net 2008.My PC has vista 64bit. My program has Framework 3.5, and my friends' computers have same version of framework. But the problem is that my program says for him......It is look like this[URL] and some of them say like this picture...[URL] Actually, some friends said that you have to register the RealAudioObject ... and ... IWshRuntimeLibrary .... If this is a problem, how can I make this by code because I do not like the slow way...
View 4 Replies
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