473,465 Members | 1,957 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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
Nov 20 '05 #1
2 2841
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

Nov 20 '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
Nov 20 '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: 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: 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...
2
by: anil | last post by:
Hi Friends!! Does any body know the interrupt no. of the CD-Rom device to make it function like opening and reading etc..If any body knoow tell me ..I want to learn hardware programming through...
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: 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: 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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.