473,320 Members | 1,831 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,320 software developers and data experts.

VB interrupt functions.......

Hello All

Is there any intrrupt function avilable in VB similar to Int86() avilable in
C language.

I tried the CALL INTERRUPT function mentioned in KB# 43534. But it seems
like it is not for VB.

I could not implement that.

The required included files are not avilable in VB6 .Also See Tip 140:
Identifying CD-ROM Drives

at MSDN page given below

msdn.microsoft.com/archive/en-us/ dnarvbtips/html/msdn_msdn140.asp

In this some dll files are used to call interrupt function. where it is

avilable? Is there any readymade dll's avilable for VB from Microsoft (or)

whether we need to create DLL in C++ which may be used in VB6?

Please help!!

Regards,

Kelly
Jul 21 '05 #1
2 2150
I don't see why you crossposted to *.dotnet groups?

VB6 (or VB.NET) have no such thing. There is a way to inline assembler in
VB6, which is explained in Matt Curland's book (www.powervb.com). Ultimately
you're probably better off just creating a C DLL and calling it from VB.
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

"Kelly G." <no*@moreply.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hello All

Is there any intrrupt function avilable in VB similar to Int86() avilable in C language.

I tried the CALL INTERRUPT function mentioned in KB# 43534. But it seems
like it is not for VB.

I could not implement that.

The required included files are not avilable in VB6 .Also See Tip 140:
Identifying CD-ROM Drives

at MSDN page given below

msdn.microsoft.com/archive/en-us/ dnarvbtips/html/msdn_msdn140.asp

In this some dll files are used to call interrupt function. where it is

avilable? Is there any readymade dll's avilable for VB from Microsoft (or)

whether we need to create DLL in C++ which may be used in VB6?

Please help!!

Regards,

Kelly

Jul 21 '05 #2
Klaus H. Probst wrote:
I don't see why you crossposted to *.dotnet groups?

VB6 (or VB.NET) have no such thing. There is a way to inline
assembler in VB6, which is explained in Matt Curland's book
(www.powervb.com). Ultimately you're probably better off just
creating a C DLL and calling it from VB.


Forgive my ignorance, but I thought that DOS interrupts weren't supported in
Win32. I thought this only applied to 16 bit processes running under 32-bit
Windows, the interrupts effectively been handled by a Windows software
layer.

--
Mark Bertenshaw
Kingston upon Thames
UK
Jul 21 '05 #3

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

Similar topics

19
by: Jane Austine | last post by:
As far as I know python's threading module models after Java's. However, I can't find something equivalent to Java's interrupt and isInterrupted methods, along with InterruptedException....
2
by: Marco | last post by:
Hallo, I have made a microcontroller with keyboard (16 key). I have a function to handle interrupt that comes from keyboard when a key is pressed. I should make a C software (not graphic) with...
0
by: LordHog | last post by:
Hello all, I have a little application that will be used for test environment that utilizes the CAN Messaging. The application will capture and then decode the CAN message that are received. In...
2
by: bvermeersch | last post by:
Hi, Here I am again, just learning C# and always wanting to learn the hard things first. As you might already know from other posts I'm trying to convert c++ code to C#. The problem I'm...
2
by: Kelly G. | last post by:
Hello All Is there any intrrupt function avilable in VB similar to Int86() avilable in C language. I tried the CALL INTERRUPT function mentioned in KB# 43534. But it seems like it is not for...
2
by: Hartmut | last post by:
Hi guys out there..., I am not shure if this is the right forum for my Question. Have a problem using my own Keyboard interrupt handler. The handler works fine as long as i do not press keys...
5
by: mysli | last post by:
Hi all, I need to write a ISR using Microsoft VC++ 2005. The proplem is I did not found any hint on how to do it. I can register any function as a ISR and it will be called by the hardware...
6
by: BlueBird | last post by:
Hi, I have a program with a master thread and several slave threads. Whenever an exception occurs, in the master thread or in one of the slave threads, I would like to interrupt all the...
7
by: Anil | last post by:
I have a Javascript program which runs in the browser and has functions work(), and stop(). It listens to commands from the server to work() and can be interrupted by the server to stop(). I am...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.