Create A Child Processes Which Will Execute In Parallel The Piece?

Nov 2, 2010

My aim is to create a child processes which will execute in parallel the piece of VB.NET code say a function. I want to do it specifically using processes and not threads. Please suggest the ways to do this?

View 2 Replies


ADVERTISEMENT

Threads And Parallel Processes Cannot Be Used For Manipulating Controls?

Oct 27, 2010

With threads and parallel processes you can process raw data but notcontrolsUielements) because they belong to another thread,

View 1 Replies

Get Time That A Piece Of Code Toke To Execute?

Feb 16, 2009

How can I get the time that a piece of code toke to execute ?

View 3 Replies

Piece Of Code To Only Execute Scoring Algorithm At Certain Times

Dec 15, 2011

I have a standard scoring algorithm but I need to help on a piece of code to only execute the scoring algorithm at certain times.I want it to be triggered by dates, but the problem arises if the program is used after 2 (or more) dates have passed, the first date will not be added as the second date is the newest and therefore the one that triggers the scoring algorithm. - The scoring algorithm gets the scores for that week, which are stored in a text file.

View 5 Replies

VS 2008 : Execute A Piece Of Code At Set Intervals Without Using Functions Or Timers?

Jan 7, 2010

How can I execute a piece of code at set intervals without using functions or timers?

View 3 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

Data Exchange For Parent / Child Processes?

Apr 23, 2010

I am writing an application in VB 2008 Express which will consist of a parent process which calls / runs / executes several child processes. I can happily start up a utility program from the parent process, passing parameters to it through Process.StartInfo.Arguments

View 1 Replies

Unable To Run Unix Commands To Execute Processes On A Unix Server?

Jul 6, 2011

I was recently assigned to do some research on how to approach a project. Right now we have an old program written in tcl. From this tcl program ( running on VMS client computer), we are able to run unix commands to execute processes on a unix server. This is done via tcpip. Now, we are thinking of making upgrades to this system . We are wondering if this kind of thing was possible with Visual Basic. Are we able to run a VB program on windows computer to run UNIX commands on a server? If so, what issues might be brought up. If anyone has even the briefest guideline or tip on this,

View 3 Replies

Create A Piece Of Software That Will People Develop There Ears?

Jan 18, 2009

I am trying to create a piece of software that will help people develop there ears, so that they can learn songs by ear.For this, I am creating a piece of software that plas a musical note and you have to answer what the note is. the plan is, the sound plays, but incase you miss it, you can tell it to replay, and on the page, there is a text box, where you type in the musical note and then you click accept, and you get a new sound, and do the same. and I want it to just loop and randomly play sounds up untill the user clicks end and then I want a score sheet to come up with there answers and what the actual answer was and basicaly what there score was.

I will be ok making certain parts of the program, but there are a few concerns. the main concern is how to get these sounds to randomly play. and have the answers with it too.

View 2 Replies

Parallel.For Termination - Service That Scans Network Folders Using A Parallel.for Method

Jan 16, 2012

I have a service that scans network folders using a parallel.for method. However recently I am finding if I stop the service then while windows says the service is stopped the process is still running in task manager. However it is at 0 cpu and the memory does not change. If I try and end the task (even a force in command prompt) it just says access denied and i have to reboot the server. What would be the best way to make sure everything terminates? I thought of adding a global Boolean that in the stop procedure it turns true and part of my parallel code will check for that and call s.stop.

View 1 Replies

VS 2008 Create And Execute Bat File?

Nov 11, 2010

assuming that I have form and a button, clicking the button,how can I create bat file and execute the command inside and then delete the bat file?

View 4 Replies

Interface And Graphics :: MDI Parent / Child - Child To Check To See If It Is The Last Child Object Before Closing

Feb 18, 2011

Im working with MDI parent/child objects. when closing the child objects i need the child to check to see if it is the last child object before closing. i couldn't find anything on google, maybe im searching for the wrong thing.

View 2 Replies

Timers On Server-side - From A Client-side Piece, Call Off To A Server-side Piece

Apr 22, 2011

I'm trying to, from a client-side piece, call off to a server-side piece. I need to do this synchronously. On my server-side code, though, I'm calling off to another piece of code, which I want to have a maximum of, say, 10 seconds to return a value. If I don't have a response within 10 seconds, I want to force my own server piece to set my result equal to 0, and return to the client.

Here's what I have on my server-side code so far:

Public Function GetWebResult(ByVal inputParameter As Object) As WebReturnObject Implements IWebInterface.GetWebResult
Dim result As New WebReturnObject
Dim webItem As WebItem = Nothing

[CODE]...

I realize this code is not functional. The problem is that I'm unsure how I would go about getting back into GetWebResult to set the appropriate return values before it is sent back to the client.

View 1 Replies

Create A Timer To Execute On A Separate Thread?

Jan 23, 2012

Currently I'm creating a task that runs a hardware i/o loop for the duration of my program.i.e. it's a task that's created at the program's start and runs a loop that is only broken at the programs termination. Each loop cycle communicates via ethernet to hardware.depending on time outs each cycle takes 30-300 msec)I've noticed that if the loop runs with out any break that the program really slows down... to counter act that I placed a thread.sleep(x) in the loop

View 6 Replies

Create A Module That Will Contain All General SQL Functionality Like Connect - Disconnect And Execute A Sql Query

Sep 8, 2010

I'm fairly new to VB.NET and I'm looking to create a module that will contain all general SQL functionality like connect, disconnect and execute a sql query etc. I think I'm almost there but the code keeps bombing in one place. Can anyone see what is wrong with the following code?

[Code]...

View 1 Replies

Visual Studio 2008 - Create A Service To Execute An Exe After One Screen Opens In Different Exe

Apr 22, 2011

My question maybe not be very clear, but I just want to know how this process is called or references needed to create something similar, so I can investigate on my own ( but if you have code is welcome.Basically I have 2 desktop programs ( A and B). For A, I do not have the source code, for B I do.What I need is to create some service/program that after a screen pops up from program A, automatically runs B. IN other words, capture the moment a specific screen is shown in A and execute B.

My real life scenario is that I have a very basic POS where I can't collect customer demographics ( zip code, etc), so I created a second application to capture that but my cashiers are always forgetting to run the program and I need to find a way to run it after a screen is shown ( let's say the "Change Due" in the POS, so they don't forget to run it.

View 2 Replies

Create A New Mdi Child Inside Mdi Parent

Sep 3, 2009

I create a new mdi child inside my mdi parent. do the work, save the data and close the form.Then I open the same form again, different record, and it opens up cascading as if the 1st form is still open. (even though it is closed)I've search the net for the past hour, and can find no concrete information regarding this issue.Now imagine sales department creating 100 sales orders a day. they keep on having the issue to move the form back to the top.

View 5 Replies

Asp.net - Create Child Nodes Of Treeview Node?

May 15, 2012

I have an xml file with following structure:

<table name="tblcats">
<row>
<Id>3680</Id>
<Industry>Associations</Industry>

[code]....

I want to create a treeview using this XML file. I have written following code

' Load a TreeView control from an XML file.
Private Sub LoadTreeViewFromXmlFile(ByVal file_name As String, ByVal trv As TreeView)
' Load the XML document.

[code]....

where as I want table as parent element like this

->table
->Associations
->Fortune 100

so that If i click table node, all tree collapses or expands.

View 1 Replies

Create A Child Management System For A Nurse Using .net And SQL?

Jun 5, 2011

Basically I am trying to create a child management system for a nurse using vb.net and SQL as my backend dbThe application consists of a number of differen forms. Two of these forms are called "frmSearchInfo" and "frmChildDetails".

frmSearchInfo consists of:
- three textboxes "SFirstName" "SLastName" and "SDOB"
- one button "BtnSend"

[code].....

When users enter details on form "frmSearchInfo" I want it to be able to search records in the database and return the same first name, second name and DOB as well as the ID, phone, addressline1, addressline2, county. I also want the datagrid to show dates of appointments for the children.The records needed are stored in the Child Table.

View 3 Replies

Create A Child Window In Single Form?

Jun 18, 2009

i am doing windows application in vb.net , i want to know how to create a child window in single form.

View 3 Replies

Pass The Id Of The Parent To The Create View Of A Child?

Sep 30, 2010

I'm new to MVC2 and my question should be pretty basic. At least I thought so until I could'nt find any answer on the web, so here I am.

I have a parent object Pool that can have 0 to many children Question.

In my Details view of Pool, in addition to the Pool's property, I render his childs using RenderAction on the Question action List, so far, so good.

Inside my List view of Question (which is always rendered inside the Details view), I want a button to start the Create action of the Question object. My problem is, I don't know how to pass the Pool object, which is the model of my Details view, to the Create action so that I can link my Question to the right Pool.

Is there a way to access the "Master" Model inside the "included" view via RenderAction and if not, what's the best way to implement a work around.

View 2 Replies

Create A ConfigurationSectionHandler That Can Store All The Child Element Of A Section?

Oct 28, 2011

I want to create a custom section Handler for the 'Security' section of the following config file:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>

[Code].....

View 2 Replies

Create A Treeview With Radio Buttons In Child Nodes?

Oct 5, 2010

I am trying to create a treeview that looks something like the following:[code]I am using vb.net in Visual Studio 2008.

View 1 Replies

Create The Relationship So That When Move Thruogh Master The Child Have Corresponding Records?

May 21, 2009

I created a dataset.xsd and it contains two table adapters and these table adapters use stored procedure for select.in my vb form, i get value in text box and then fill table using tableadapter and pass parameter to sp. Till this point everything is working fine. Now these tables have relations and i want to create relationship and show the data from child table on basis of master table. How i can do it?

Example

Me.MasterTableAdapter.Fill(Me.dataset1.spMaster, 1) --1 is parameter which is passed to sp
Me. ChildTableAdapter.Fill(Me.dataset1.spChild,1) --same parameter is passed to child table.

Now i have the records in spMaster and spChild. how i create the relationship so that when i move thru Master the child have corresponding records?

View 1 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

Converting Piece Of VBAcode To .NET?

Apr 29, 2012

I would love some help on converting this piece of VBAcode to VB.NET. Line Input #1, regel1 'Basis_debiteuren_mutaties Line Input #2, Regel2 'Debiteuren_Mutaties_yyyymm

[Code]...

View 3 Replies

Getting A Special Piece Of Software?

Jun 22, 2011

I am running an experiment that datalogs to the computer. I need to know when there is a change in on of the databoxes. Since there is no way to modify the software, my mind thinks the next best thing would be to design a software that allows you to select part of the monitor's screen and have it refresh very quickly to detect any change in the image in that area.

View 3 Replies

How Would I Multithread This Piece Of Code

Mar 3, 2009

On this piece Of code I want to multithread, beginning where the for loop takes the data out of the array arydata. The threads would all do the same task.

View 1 Replies

Translating A Piece Of C# Code

Aug 6, 2009

I am translating a piece of C# code into VB.NET using online convertors..[code]The VB.NET translation is not up to the mark and gives compiler errors Any VB.NET expert who can suggest what to change to make the code compile?url.

View 10 Replies

VS 2005 .NET 2.0 Is A Piece Of Trash?

Apr 6, 2011

Having same piece of code, but debugging on 2 separate machine, both running WinXP, 1 higher spec'ed than the other.The lower spec'ed one threw Exception on the implementation of IP Injector class. It worked if I step through it slowly.

View 10 Replies







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