Make The Application Adaptable To The Other Computers After Making Exe Application

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


ADVERTISEMENT

Making OOP Via Observer Paradigm And Easily Adaptable To Test Driven Dev't

Apr 25, 2009

How to implement an observer pattern in VB.NET?

Currently I have a lot of working code in VB6 which the company wants me to migrate to VB.NET. Well, that would normally be straightforward ... yes? Unfortunately, not so in our case.... recently, our company decided that I need to modify it to implement the MVC (Model View Controller) paradigm to make it truly OOP and adaptable to TDD (Test Driven Development).

Currently, my move was to start with a simple one, opening a form and then grabbing a piece of text from a textfile and putting it as the caption of the form... now, that is easy.

The problem lies in trying to implement observer patterns ... in the observer pattern I cannot simply call the usual me.caption = mytextstream.ReadLine from the form_load event instead, I need to use objects that would use an interface to register themselves as observers as the form loads but not necessary having to be residing in the form_load event... in fact ... if there is somehow a way for me to make such a thing happen before the code goes through the form_load event then that would more completely separate the View layer from the controller layer which gets implemented through the use of observers and observer related patterns.

View 2 Replies

Make A Stand Alone Exe Without Making The User Install The Application?

Apr 17, 2009

I wanted to know how I can make a stand alone exe without making the user install the application. So that the program can be ran from a disk or flash drive. Currently I can run it just fine on the PCs, I'm developing it on. But when I take it to another, that has the targeted framework, it crashes.

[Code]...

View 24 Replies

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

Cannot Get Application To Work On Multiple Computers?

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

Published Application Won't Launch On Other Computers

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

Setting The Application Automatically When It Is Run On Different Computers?

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

Shockwave - Application Is Not Working On Other Computers?

Dec 29, 2011

i have a simple app of one form.on this form there is:

webbrowser -
axshockwavecontrol -
combobox -

[code].....

View 2 Replies

Application Icon Not Being Shown On Install Of Other Computers?

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

Office Automation :: .net 2010 Application Does Not Run On All Computers

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

Finished A Console Application And Deployed It To Several Computers On Our Network For Testing

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

Windows Forms Application Hanging Regularly On Some Client Computers?

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

VS 2008 Make One Application Send A Task To Another Application / Receive Result From That Secondary App?

Apr 26, 2010

is it possible to make one application send a task to another application and recieve the result from that secondary app?i made a text editor program and i added a scan feature and i made another app that has ocr capabilities.The scanner ability is in my text editor program, the ocr program doesnt scan you have to input an image into it and it will give text result a few seconds later.the prob is alot of times the ocr code uses sooo much memory and crashes when its incorporated with my text editor, but individually each application works fine and doesnt take too much memory. Memory wont be even an issue if the ocr program is standalone so that when it is done decoding image the application can be made to exit. now here is the question, how do i make my text editor send the image to the ocr program and how do i make my ocr program send the text back to my text editor? is it possible? i mean the only way i know off is creating temp files in a certain folder and having a timer on each program that keeps waiting for temp files. That just seems like pretty lame coding to me i was wondering if there's a better way?

View 11 Replies

Detect Connected Computers In A LAN Using Visual Basic And Connect It Using A Client Application?

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

Make A Hidden Application - Close Unwanted Application?

Dec 5, 2009

I want to make a Hidden Application,my application Block Unwanted software or Application

View 13 Replies

Make An External Application 'child' Of Main .Net Application

Jan 23, 2010

I use SetParent to make an external application a "child" of my Main .Net application. This works fine.What I need to know is why can't I use Me.MDIChildren(0)I thought that using SetParent would increase the number of children by 1, thus allowing me to reference it with the above code, but it shows there are no children in the array.I have been trying, without luck, for 2 days to try to maximize an external app being displayed in my app. I can get it to display, but I would love it if it could Dock to the same size as its container (a panel)

View 3 Replies

MD5 Verifier - Make An Windows Application Or Just A Console Application

Aug 11, 2009

Okay so basically I want to see if I can make an windows application or just a console application in VB.NET that will verify an MD5 Checksum. I have no idea how to start this out, but I have the ideas of what I'd like to make it.

[Code]...

View 14 Replies

Reference Application.ThreadException In Application To Make An Addhandler?

Mar 22, 2011

I have been trying to reference Application.ThreadException in my application to make an addhandler, but I also am using imports growl.connector which has a growl.connector.application method. When I create my addhandler:AddHandler Application.ThreadException, AddressOf ThreadExceptionHandler

And I get "ThreadExecption is not an event of 'growl.connector.application'"

View 2 Replies

Skype4COM - Make A Skype Application Using VB - Application That I Call You?

Aug 27, 2010

I'm going to make a Skype application using Visual Basic, I use them "Skype4COM.

Below is a link on the page somewhere in the middle Skype4COM. It is the DLL that I use.

But my question is, how can I in my application that I call you? Not that you're on the phone but if someone phoned you before you've pressed record.

View 2 Replies

Making An App To Show All Computers In Domain?

Jan 9, 2012

I am making an app to show all computers in domain, is this possible with visual basic 2010?

View 1 Replies

.net - Making A Vb6 Application That Can Run On Android?

Jan 20, 2012

Sir, I am a vb programmer. I want to develope a vb application that can be run on an android phone or tablet.What I should do for that and how can i install this application on android phone or tablet and run it successfully? Generally i use ms access or sql server for my desktop application. Which data base should i use with my vb application on android phone or tablet?

View 2 Replies

Making A .net Application DPI-Aware?

Jan 24, 2010

I have an application written in VB.net 2003, and I would like to make it 'dpi-aware', but I haven't the faintest idea how to even begin. I am an experienced coder, but this is throwing me completely.

View 1 Replies

Making A .NET Application The Only Program Which Can Run?

Oct 18, 2011

What would be the best way to make a Windows .NET application be the only program that can be used on a computer? I have come across timers or events to switch windows back to a window with matching text and some api32 calls to make a form top most.

Is it possible to make an application like the windows lock screen where nothing can be done except that what is on screen? I want to block users from doing other things and only let administrators get to the desktop.

View 3 Replies

Making A Setup Exe For The Application

Jul 27, 2009

I have a vb.net application which dials another computer and send message to it with the help of cdrvlibnet.dll . I want to deploy this in another computer. I tried following steps.

1. Added a new project with type as deployment project

2. then build the project

3. took the setup.msi to another machine and installed it.

Here are my problems.

1. The icon which created in the desktop and start menu is not running the exe, but pointing to desktop only.

View 5 Replies

Making An Application To Run On .NET Framework 1.1?

Mar 25, 2009

I'm currently using MS Visual Studio 2008 Express Edition. My .NET Framework version is 3.5. I made an application in VS 2008 and it worked perfectly. However, when I ran it at my friend's place (who's got .NET Framework 1.1), it didn't run. Now, I know that the framework incompatibility is the issue.So, what I ask is, how do I code the application so as to make it run on Framework 1.1 as well while still using VS 2008?

View 5 Replies

Making Extensible Application?

May 11, 2010

Anybody can show me an example how to use system.addin namespace?I need create an extensible application using "plug-ins" or "add-ins" and I only find a very few tutorials in C#

View 2 Replies

Making Installer For The Application?

Apr 16, 2010

I made the setup project for mt VB.NET Application, but when I take it to another computer for installation, the wizard does not show any window for specifying the path. It just asks to accept the license agreement and then starts installing/copying files. Later after installation and rebooting I see the shortcut but it does not start the program/application. It just goes to a folder.

View 4 Replies

Making Window Application?

Apr 3, 2010

developing chat server which as a console application but i want to open that console when i click on to the window form button and another button to close that console application. so how to do that in window form to open console

View 2 Replies

Making A Console Application With A Login?

Mar 26, 2012

I'm making a console application with a login. The system I have now is extremely basic and very redundant. I would like the password to be masked as you type it in "*****" for example and If possible I would like to encrypt the password with md5. Can someone let me know how to/give me the code to do it.

This is my current login system:

Sub LogIn()
'A log in system to prevent unwanted users from acsessing the system
Console.Write("Username: ")
Dim username As String = Console.ReadLine.ToLower
If username = "sian" Then

[Code]...

View 1 Replies

Making A VB Application Place Itself In Startup

Jun 9, 2011

I've created an AIO tool in Visual Basic and i need to create some code so when the application is opened it places itself in the computer startup folder. I know i can do it manually but i want to do it on school computers (restricted access).

View 3 Replies







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