473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Calling another function after another returns

Hi

Can anybody tell me how to get a function to call another function once it
has finished processing. That is, I have a function which I run, in its own
thread, which does some processing. As soon as it is done, I would like it
to call another member in the main form of the application.

Can anybody give me some ideas on how to do this? I seem to recall reading
something about a callback function (?) which may do the job? Is that right?

Some example code would be great!

Phil
Nov 21 '05 #1
2 1160
Hi,

Maybe this will help.
http://msdn.microsoft.com/msdnmag/is...asicInstincts/

Ken
-------------------
"Phil" <putitinthepost@nowhere> wrote in message
news:41***********************@news.dial.pipex.com ...
Hi

Can anybody tell me how to get a function to call another function once it
has finished processing. That is, I have a function which I run, in its own
thread, which does some processing. As soon as it is done, I would like it
to call another member in the main form of the application.

Can anybody give me some ideas on how to do this? I seem to recall reading
something about a callback function (?) which may do the job? Is that right?

Some example code would be great!

Phil

Nov 21 '05 #2
Thanks Ken

Phil

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:uN**************@TK2MSFTNGP09.phx.gbl...
Hi,

Maybe this will help.
http://msdn.microsoft.com/msdnmag/is...asicInstincts/

Ken
-------------------
"Phil" <putitinthepost@nowhere> wrote in message
news:41***********************@news.dial.pipex.com ...
Hi

Can anybody tell me how to get a function to call another function once it
has finished processing. That is, I have a function which I run, in its
own
thread, which does some processing. As soon as it is done, I would like it
to call another member in the main form of the application.

Can anybody give me some ideas on how to do this? I seem to recall reading
something about a callback function (?) which may do the job? Is that
right?

Some example code would be great!

Phil

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Bill Ehrreich | last post by:
I'm faced with a situation where I will need to calculate a column for a resultset by calling a component written as a VB6 DLL, passing parameters from the resultset to the component and setting...
2
by: anthonyberet | last post by:
This is the first time I have tried out functions (is that the main way of making subroutines in Python?) Anyway, my function, mutate, below #make a child string by randomly changing one...
5
by: claus.hirth | last post by:
If I create the function HELLO in schema S01 as follows, @ CREATE FUNCTION S01.HELLO() RETURNS VARCHAR(32) EXTERNAL NAME 'UDFSRVXYZ!sayHelloWorld' LANGUAGE JAVA PARAMETER STYLE DB2GENERAL NO...
4
by: Jon Ole Hedne | last post by:
I have a possibly stupid question - thought it was simple to do.... From vba code I want to call a sub or function. The name of the sub/function is stored in a table. I want to achieve something...
15
by: Bryan | last post by:
I have a multi-threaded C# console application that uses WMI (System.Management namespace) to make RPC calls to several servers (600+ ) and returns ScheduledJobs. The section of my code that...
3
by: Angel | last post by:
Hello again (and again, and again...) I think I'm getting closer to solving my initial problem of calling unmanaged code. I managed to call the functions with user-defined structs w/o getting any...
7
by: Stu | last post by:
Hi, I have a web service which returns a record set and works well integrated with an asp dot net page. However if I decided to develop a unix app will i be able to read the dataset as it is...
4
by: Henning M | last post by:
Hej All Im relativ new to VB.net and im trying to collect som device information using cfgmgr32.dll I use - Declare Function GetListLength Lib "cfgmgr32.dll" Alias...
18
by: John Friedland | last post by:
My problem: I need to call (from C code) an arbitrary C library function, but I don't know until runtime what the function name is, how many parameters are required, and what the parameters are. I...
13
by: Steve | last post by:
On page 392 of "Javascript the definitive guide" a function is called like this:- <form action="processform.cgi" onsubmit="return validateForm();"> Why, in this instance, is the return...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.