Make It Execute (.exe)?

Oct 7, 2010

about execute a program, what do I have to do in order I can make the program run on any other computer. I have a program on a floppy disk, and I have a copy on my desktop. when I run the program on my desktop it always say "File not found", when I put the floppy disk it's working fine. So, is there anything I can do, to make it run on any other desktop without saying "File not found"

View 10 Replies


ADVERTISEMENT

Make A Procedure To Execute Only Once?

Jun 6, 2012

How to make a procedure to be executed only once when an application is installed freshly.

I mean if my application is installed, i want to execute a procedure only one time at the first use of the application.

View 3 Replies

Make VB To Execute SQL SP With Parameters?

May 23, 2010

I have a database in MS SQL Server 2008, I have Stored Procedures. One of them does an INSERT with parameters. It works in Server Management Studio.Now I'd like to make a button in Visual Basic 2008 that executes this SP. I have made a DataSet, it contains my 3 SP's, I can easily use 2 of them, because they return data, but the one I'm having trouble with doesn't. Could anyone please tell me how to make VB to execute it? (The command should look like this: "EXECUTE SP2 a, b, c, d".)

View 1 Replies

How To Make A Timer Automatically Execute Code

Jun 8, 2011

how to make the timer automatic execute a code weekly?The timer will automatic generate a report for every monday(8am),how 2 do it?

View 1 Replies

Make A Menu Item To Execute 3 Tasks?

Dec 11, 2009

Can I make a menu item to execute 3 tasks? For instance when I select a file from a ListBox and I press ToolStripMenuItem1, the program will move the selected file to a directory, execute archive.bat file and the move the archived file to another directory? I tried but I can make only one operation - to move the file.

View 6 Replies

Make A Subroutine (LoadIntro()) Execute On Another Thread?

Aug 4, 2006

How do I make a subroutine (LoadIntro()) execute on another thread?

View 6 Replies

Make Property Or Directly Execute Query?

Jul 7, 2010

Public Class Customer
Private m_CID As Integer
Private m_FirstName As String

[Code].....

My question is that do I need to add an OID in customer class or I can directly send a query to customer table when ever an order is made.

View 1 Replies

Make Threadsqueued To Threadpool Execute Sequentially?

Sep 13, 2011

Learning about threads at the moment, barely managing to wrap my head around it, anyway I was wondering how you would go about making threads run sequentially from threadpool if you added them with
threadpool.queueuserworkitem()

In my code currently I know it is not running sequentially as I set it up to call a function and print a number each call. I gather this could be achieved with using synch lock but not quite sure how.

View 5 Replies

Forms :: Make A Menu Item To Execute 3 Tasks?

Dec 11, 2009

Can I make a menu item to execute 3 tasks?For instance when I select a file from a ListBox and I press ToolStripMenuItem1, the program will move the selected file to a directory, execute archive.bat file and the move the archived file to another directory?Hmmm... I tried but I can make only one operation - to move the file. Can someone post a helping code or something?

View 2 Replies

Make A Timer Execute A Code Daily,weekly,monthly?

Jun 9, 2011

i wan set a timer in my program to execute a certain function daily,weekly or monthly(which will decide by the user)!User also can execute manually the certain function at anytime!any1 can teach me how 2 do these 2 function in my program?

View 10 Replies

Make A Launcher My Private Server But Failed It Always Say 'This Exe Can't Execute Independent"?

Apr 11, 2011

I am using VB 2008,I am trying to make a launcher my private server but, I failed it always say 'This exe can't execute independent" I tried these method
Shell ("Game.Exe") And System.Diagnostics.Process.Start("Game.exe")

View 9 Replies

C# - Make A Image-button In The User Control Execute Code In The Defaultpage.aspx?

Apr 7, 2011

1-I have three user controls.

2-I added them to AJAX TabContainer on my default.aspx page

<asp:TabContainer ID="TabContainer1" runat="server">
<asp:TabPanel runat="server" ID="GroupOne">
<HeaderTemplate>

[Code]....

so how can i execute that sub when i click on the image button in the user-control??

View 3 Replies

Make A Image-button In The User Control Execute Code In The Defaultpage.aspx?

Jul 8, 2011

make a Image-button in the user control execute code in the defaultpage.aspx?

View 1 Replies

Make A Blackjack Program - Execute A Different Piece Of Code Each Time A Button Is Pressed By The User?

Nov 22, 2010

I am trying to make a blackjack program and I need to execute a different piece of code each time a button is pressed by the user.

View 5 Replies

Execute Scalar Vs Execute Reader?

Feb 25, 2010

[Code]...

how can i get this code to return all values instead of just the first value ?

View 30 Replies

Execute A SP From A VB App?

Sep 1, 2009

i have a stored procedure that updates TableA with data from TableB when i run it from SQL managment studio it workes, so the SP is error FREE, all i need is to execute this from a button click event.

i tryed this:

Try
Dim cnn As New SqlConnection(My.Settings.sqlCn)
Dim cmd As SqlCommand = cnn.CreateCommand

[Code]....

View 2 Replies

VS 02/03 Execute Only If The EXE Is Not In The IDE

Jan 15, 2010

I have code I want to execute only if the EXE is not in the IDE. How can I determine when I'm running outside the IDE?

View 8 Replies

Error In Execute SQL

Jun 6, 2011

i just want to ask why this error mean?InvalidOperationException was unhandled by user code//The provider could not determine the String value. For example, the row was just created, the default for the String column was not available, and the consumer had not yet set a new String value.

View 8 Replies

Error When Execute .net Exe

May 31, 2010

I've been running the exe file ok but recently I got this error. I suspected it could be because of the windows update which the IT technical had run earlier. Anyone knows what's the cause of this error? Please see the attachment for the error.

View 1 Replies

Execute A .cmd File In VB6?

Nov 24, 2010

I have a sample.cmd file that has the following code.

dir/b/p D:Satheesh > TableOfContents.txt

When I run the bathc file seperately I can able to get a text file that contains all files in the folder.

But when I execute the cmd file from VB code using Shell function, I am not getting the text file created.

View 2 Replies

Execute A Btnclick From A Sub?

Jul 7, 2009

I have a BindingNavigatorMoveNextItem_Click event and I want to execute btnSave_Click() event.. its asking for e args, what do I use as args?em.EventArgs) Handles BindingNavigatorMoveNextItem.Click

View 4 Replies

Execute One Form From Other?

Jun 6, 2011

[code]...

how Can I call privileges.vb from the btn_next_begining?

View 1 Replies

Execute Sql Query On .net?

Jan 30, 2012

ALTER DATABASE test SET ENABLE_BROKER this is the sql query i wish to execute while program is executing.because i do not want to everytime i change computer also need open sql management tool to execute this query rath

View 3 Replies

Execute Two Commands At Once?

Dec 31, 2009

catch statements - it works well just checking my disk drive for a file, if an error is thrown then I open the disk tray and ask them to put the disk in, click OK on the message box and it performs another check for the file, if this fails the button that starts all this is disabled on my main form (the code is shown below).

Okay, so my problem is I'd like to have the message box pop up and the have the drive open up (using an API which I have) either at the same time or in the order of: message box then drive open. I can see two ways to do this: Have the commands happen at the same time (Can you even do this?) OR Have the message box appear and then open the disk drive (but how I could achieve this I don't know as the message box waits for the user to click OK... I originally though of starting a timer just before and getting it to open the disk drive tray in the tick event,

Code:

Public Class Form1
'open cd-rom tray API
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal _

[Code].....

View 5 Replies

How To Execute A *.bat File

Jun 3, 2010

I created a *.bat file : osql -Usa -Paugust -SNgocThach -iMYDATABASE.SQL When it run at cmd, it ok. My database has just been setup. Now, I want to setup my database use VB.NET. How can i do

View 1 Replies

How To Execute A Jar File

Aug 31, 2010

For example I got Form1. And I want to get a jarfile inside it just like its possible for .swd and .pdf files.I thought of something like a webbrowser, going to a page with the jar file, but that Isnt really brilliant as the webbrowser might be slow, or cause problems.

View 1 Replies

How To Execute Exe Via Code

Jun 25, 2010

for example there is a file named abc.exe in c:

what would be the code for executing this file?

View 8 Replies

How To Execute Program

Mar 29, 2011

My basis of my programForm 1 has functions, which are controlled through button1 which sends an email, At the end of the send email function I have Dialog1.ShowDialog() Which opens Dialog1 to say "Email has been sent" With a button, I want this button to execute the whole program, How do I do this?

View 2 Replies

How To Execute VLC Player

Sep 21, 2010

I'm trying to play a video file by executing the player file and calling the "open" method. Although it works perfectly on GOM player, it does not work in VLC player, Windows Media Player and BS player. I tried other methods instead of "open" such as "url", "play", etc. but they are useless. Below the working code is shown:

Dim PlayerPath As String = "C:Program FilesGRETECHGomPlayerGOM.exe"
Dim process As Process = New Process
process.StartInfo.FileName = PlayerPath

[code]....

View 2 Replies

Next Condition Won't Execute

Sep 15, 2011

I'm trying to read data from database.

If objReader.Read = True Then
If objReader("cell") IsNot DBNull.Value Then
Me.txtContact.Text = Trim(objReader("cell"))

[code]....

Problem is, no data displays if cell is empty.

View 8 Replies







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