Allow Only One Program Running At Specified Time?

Jan 21, 2010

we have this situation, we need to 'force' user to do stock opname at specified time, so when the time has arrived..the stock opname program will run while their current running is'freeze' until the opname is done..

View 10 Replies


ADVERTISEMENT

Checking If Program Is Running For The First Time

Nov 17, 2009

I'm making a new program so I won't be able to post my code here yet.

But I wanted to ask you fine folk how I can check if a program is running for the first time.

[code...]

Just start the program normally and when they click the menubar ask for the password they set in the first time

if it's a little iffy on my side but I just started this project and I've only made the GUI and I have no idea what so ever how to do this.

View 5 Replies

Determine If The Program Is Running For The1st Time?

Jan 18, 2009

i wanted to know if there is a way for the program to determine if its being run for the first time in a computer or in a different user.

View 1 Replies

VS 2010 : Program To Save Settings To Another Program Without Running The Program That Is Being Edited?

May 5, 2012

is it possible by 1 program to save settings to another program without running the program that is being edited?

View 6 Replies

Prevent Program From Running When It Is Already Running?

Jan 20, 2010

I want to prevent my program from running when it is already running.How can I do that in my vb2008 Code?

View 1 Replies

Running A Check At A Certain Time Each Day

Aug 2, 2010

I am developing an application whereyby I want to run a check at 5pm each day. It will check if the next day is the due start of a project and if so send a notification email to the assigned developer, does anyone know the easiest way of doing this.

View 8 Replies

VS 2010 Program Crashes As Published Executable, Not As Program Running In Studio Or Express?

Jun 6, 2012

I wrote this VB program to be able to throw a device we developed into programming mode where we use an ATMEL Flip installer to upload new firmware. I can program one device after another running the application off of Visual Studio Express 2010 or Visual Studio 2010, but when I go to publish this file and run it on another machine, it becomes unstable and crashes after each upload. On those same computers if I run the raw unpackaged program under Visual Studio Express, the system does not crash, and I can program devices repeatedly.

View 5 Replies

Sql Time Out Every First Time Running?

Nov 22, 2011

My desktop application having Time Out exception when running a command in SqlTableAdapter which is inside a SqlTransaction. The error only occur every first time running sql after application start. A few pieces of codes having the same problem. After the exception, the SqlTableAdapter can run and complete like normal.

Also I noticed most of the time a Select command also very slow when first time running after application started.

Below is one piece of the code that having this problem:

' Business Layer
' Transaction Begin
' da is Data Access layer class

[Code].....

View 6 Replies

C# :: Long Time Running Applications?

Jul 5, 2010

I'm going to design an Application (C# or VB.NET) which use .NET Framework to run for very long time. It may be restarted every year or even more...Is there anything (using special design patterns or so) which I must care about in designing "Long time running applications in .NET"?

View 3 Replies

Error When Running Project The Second Time

Sep 22, 2010

I have a project that will run while I'm working on it only once. The second time I try to run it I get the following error.

The operation could not be completed. The process cannot access the file

Does anyone know what that error means and why I'd have to restart my computer every time I want to run the project a second time?

View 6 Replies

Generate Shape At Running Time?

Sep 29, 2010

When I create a shape with the form Open where is the code or all the information like

[Code]...

View 5 Replies

Get The Time And Date That The Server Is Running?

Sep 13, 2009

Im using a MySQL Server and id like to know the date and time that its running...Here's the query:

SELECT GetDate

But im getting an error saying there's no such field in the database.Everything is fine i know how to connect im just bored writing the code here....Do i have to Execute the query or read it?Im using a Reader...

View 1 Replies

VS 2005 Get Process Running Time?

Mar 10, 2010

check how long a process has been running? I'm using the below code to check whether these programs are running.

Is there a way to see how long they've been running?

Private Sub tmrKillJoy_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrKillJoy.Tick
Dim local As Process() = Process.GetProcesses

[Code].....

View 1 Replies

VS 2010 Two Timers Running At Same Time

Apr 10, 2012

I'm creating a 2D RPG game, the character moves by pressing the keys A (left) and D (right), this activates a timer that increments the x.position of the character by 1 pixel in case you press D, or decrements if you press A. The movement of the main character is always perfect and smooth and this is how I want to do it, but when I add other character and I animate them using the same method, they dont have a smooth movement, but if I press A or D these characters regain a smooth movement, so, basicly, the second timer (which is always enabled) only increments a value smoothly if the 1st timer (not enabled) is activated.

View 2 Replies

VS2010 Running 2-3 Applications At The Same Time?

Mar 21, 2012

I have created a main application form that has buttons that start up various other applications.

Following advice on here from a previous post, I have imported all the files of each separate application into the main application.

There will be times when the user wants to run more than one of these applications at the same time. I know you can just import the '.EXE' file of each app, and you can then run several at a time. But because I have all the files without the .EXE, you can only run one at a time, you have to close one app to start another.

My question is simply; Do I have to import the .EXE file of each app, or is there some code I could put in my main form that will allow me to run more than one app at a time? (the reason for having all the files of each app is so you can make any alterations without having to open each app separately).

The code below is a typical code for one of the applications start buttons, all the buttons codes are the same, apart from the app name, the buttons are imported, so not standard buttons.

Private Sub btnCoordsCalc_ClickButtonArea(ByVal Sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles btnCoordsCalc.ClickButtonArea
Dim frm As New frmHoleCoordinateCalculator

[Code]......

View 2 Replies

See The Program Running In The Task Manager After Closing The Program?

Oct 10, 2011

have you of any ideas in why does my software in vb 2010 still exist in the task manager (process tab), after i closed the program? i noticed it when i want to delete the .exe file.

View 10 Replies

When Program Executes Must Show An Notification That Program Is Running

May 1, 2009

I want to create a program that will run every start of computer and will check if it is 9:00 AM and can only be seen at the bottom right cornner besides the clock. When the program executes must show an notification that the program is running.

View 4 Replies

Add Tags To Source Code Of The Page In Running Time?

May 23, 2011

if i using with AxWebWrowser how i can add tags to source code of the page in running time (Make a changes on site)i want Highlight "this is the text" so for example:

[Code]...

View 9 Replies

Execute Multiple Scripts At Same Time, Running On Own Threads?

May 6, 2009

I'm writing a scripter using VBScript, that should be able to execute multiple scripts at same time, running on own threads.
The issue is, I DO start those scripts on different threads, but their sleeps still seem to affect the other threads too.

For example, let's say I start 2 scripts

In the Main event
NewScript1
NewScript2

[code]....

View 1 Replies

Windows Service - Considering Seconds While Running So Can Not Compare Above Time?

Jul 23, 2010

I have written onw windows service..in that i have logic that is some part of code need to execute on certain time.. my service is running in every one min..

[code]...

But iam facing prob that it is considering seconds while running so can not compare above time..

View 4 Replies

Time Formating And Calculation - Time Value In My Program ?

Feb 23, 2010

With a Time value in my program. Basically, I am importing a travel Time from a database e.g. 3:45 so it takes 3 hrs and 45 minutes to get from a to b. I then want to double this - 3:45 * 2 = 7:30, and then want to multiply it by a cost e.g. travel is charged at 25 per hour. so it would be total travel time = 7:30. Travel cost = 25. Total Travel Cost = 7:30 * 25. In the access db, it is stored as a text field, and then imported in vb as a string.

View 1 Replies

Form_Load I Randomly Generate A Time Value - Running Virtual Clock?

Aug 18, 2010

In my program's Form_Load I randomly generate a time value. Once I generate the time value, I put it in a DateTime variable. I need it to work like a clock. I know I can do this with a timer with an interval of 60000, or using TimeGetTime and updating a variable.Is it possible to do this with a thread?

View 3 Replies

Show Real-time Output By Running A PowerShell Script?

Mar 1, 2012

I am trying to run powershell script from VB and I want to see the output of the script as it is running inside a console application. With my script (shown below) when I run from powershell it shows "Command Sleep Starting" and then waits for 5 seconds and then displays the other text.

However, when I run from VB.NET program, the execution waits for 5 seconds and dumps all the text output at once. It doesn't execute first Write-Output command and then wait and then output as it should.[code]...

View 1 Replies

VS 2008 - Multi-thread Two Loops So That This Process Is Running At The Same Time?

Jun 28, 2009

It is my previous problem in vb6, its hard to multithread using vb6 so I migrate my codes to vb.Net.How can I multithread this two loops so that this process is running at the same time.Because when I start my second Loop, my first loop stop in executing. It will start again when my 2nd loop finished.

[code]...

I have 2 connected GSM Modem in usb port.That codes will send SMS in all contacts in my ListBox.

View 27 Replies

WCF Service Running A Background Thread To Speed Up Execution Time

Nov 14, 2011

I have a per-call WCF service that serves a number of clients. I'm looking to speed up the services by running some background processes so they don't block or slow down the main function of the services.

One example is that the main function needs to return a set of data, while the background thread needs to record some statistics based on the parameter(s).

Code:

Public Function GetAccountDetails(id As Integer) As AccountDetails
Dim retVal As New AccountDetails
Dim a As New Accounts

[Code]....

If I use this background thread to record the statistic it doesn't block the main thread from returning the data to the client.

It's been working well in test scenarios, but my question is, are there any dangers with leaving this thread to execute without Joining it before returning the data to the client? Could there potentially be any loss of statistic data? Could there be potential memory problems on the server side?

View 1 Replies

Textbox Text Property Won't Update Programmatically After First Time Running Through A Method (but Will Thereafter)?

Jul 28, 2009

This is my first post on this forum, so please excuse me if I'm posting wrong. Anyway, I've been having an issue that I've never seen before and is driving me nut, I have a windows form on which I have placed many textboxes that display information from a MS SQL database. The user can then change these values and hit a "save" button which writes the changes to the database. I also have certain textboxes that with the "on leave" event (after a user enters a possible new value) trigger a method that recalculates some of the other fields based on the new information. Hopefully that all makes sense.

So the problem is, when I run through this "recalc" method the first time around, it doesn't update those textboxes that it's supposed to. However, when I put a breakpoint in and debug through it, the debugger shows it putting in the correct values into the textboxes. It's just as soon as the method is done, it puts them back to blank, or whatever they were before

'Rebind stuff here
lblCabinets.Text = curMfg.ToString("c")
txtCabinets.Text = curMfg.ToString("c")

[code].....

View 16 Replies

Allows A User To Select A Program To Run At A Certain Time For A Specific Amount Of Time All Choosen By The User

Jul 1, 2010

I have a program that allows a user to select a program to run at a certain time for a specific amount of time all choosen by the user. Everything works with the exception of if my program has launched the other program, my program become non-responsive. Meaning I am not able to look at that window again. Not that one really needs too, because when time is up my program closes the program it opened, then closes itself. I just want to be able to see my program when the other program is running. how to do this and perhaps drop me some links, that would be wonderful. This is what I have coded, but like I stated there are no code errors.

[Code]...

View 5 Replies

Program Not Running Same

Oct 12, 2011

I had the battle system 60% worked out. Went to play some Dragon Age, when I came back nothing was working as the way I left it. I don't know what happened.The richtext box is supposed to disaply the attack monster description, and then it's name, the amount of damage it does. I had it so that I could attack, be attacked, and display damage, and attack discription of both player and monster. when I opened my project to work on it again, hardly anything was working right.[code]

View 9 Replies

Running Cmd From Program

Apr 26, 2011

im a wrtiting a simple vb.net problem that when a button is clicked it launches the command prompt.all i need it to do is open cmd on a buttonclick. i have used [code]this works fine if i substitute iexplore.exe for cmd.exe but when i try to run cmd i get an error message below.

View 1 Replies

Running One Program From Another?

Sep 11, 2009

I am writing a program (that i have recieved a lot of help with) that creates input files for another program. The bridge between the two programs is a program that has been named the task manager as like the windows task manager it shows what tasks are being done/have been done/are about to be done (or executed)

What i would like to know is how can i run the already installed bridge program from my program? Do i need to run it by opening the executable that contains it? Or by declaring the bridge program as a type/structure/class and going from there to open it?If you're not living on the edge, you're taking up too much room

View 2 Replies







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