msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

stop running dll

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB WinAPI
Author Message
karanovicm



Joined: 13 Feb 2008
Posts: 1

PostPosted: Wed Feb 13, 2008 6:35 pm    Post subject: stop running dll Reply with quote

Hi
In my vb.net application I use fortran dll for some calculations and I
was wondering how to stop running dll in the middle of the
calculations by pressing Esc key
Any help is welcome
Thanks
MK

Archived from group: microsoft>public>vb>winapi
Back to top
View user's profile Send private message
Bob Butler



Joined: 04 Oct 2007
Posts: 1081

PostPosted: Wed Feb 13, 2008 6:46 pm    Post subject: Re: stop running dll Reply with quote

wrote in message @h11g2000prf.googlegroups.com...
> Hi
> In my vb.net application

VB.Net + Fortran? ROTFL


--
You need to ask in a newsgroup with "dotnet" in the name. This group is for
VB 6.0 and earlier and does not include VB.Net or VB 200x.
Back to top
View user's profile Send private message
Ken Halter



Joined: 04 Oct 2007
Posts: 4150

PostPosted: Wed Feb 13, 2008 8:11 pm    Post subject: Re: stop running dll Reply with quote

wrote in message @h11g2000prf.googlegroups.com...
> Hi
> In my vb.net application I use fortran dll for some calculations and I
> was wondering how to stop running dll in the middle of the
> calculations by pressing Esc key
> Any help is welcome
> Thanks
> MK

Boy... Off topic squared ... first comes the blurb...

This and all other groups on the MS server that start with
"microsoft.public.vb"
are for VB Classic (mostly VB5/6) and were in existance long before any .Net
products were released. While some of the code looks the same, they are very
different products and require a different set of groups.

Secondly, that Fortran DLL will need to specifically support the
functionality you require.... and I seriously doubt it does. Especially if
it's a "number crunching" dll. Doing calculations while checking for and
processing keystrokes takes considerably more time than just doing the
calculations. The author of that DLL probably optimized the code for
speed... which means... no keyboard/key processing support.

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm
Back to top
View user's profile Send private message
Michael C



Joined: 04 Oct 2007
Posts: 335

PostPosted: Fri Feb 15, 2008 5:50 pm    Post subject: Re: stop running dll Reply with quote

wrote in message @h11g2000prf.googlegroups.com...
> Hi
> In my vb.net application I use fortran dll for some calculations and I
> was wondering how to stop running dll in the middle of the
> calculations by pressing Esc key
> Any help is welcome

The dll needs to raise some sort of event or callback. If the dll does not
support this then there is nothing you can do. If you have the source code
for the dll then you can add something that will raise a callback and check
for cancelling in that callback.

> Thanks
> MK
Back to top
View user's profile Send private message
Michael C



Joined: 04 Oct 2007
Posts: 335

PostPosted: Fri Feb 15, 2008 5:51 pm    Post subject: Re: stop running dll Reply with quote

"Bob Butler" wrote in message
news:%23ArdsoobIHA.1212@TK2MSFTNGP05.phx.gbl...
> wrote in message
> @h11g2000prf.googlegroups.com...
>> Hi
>> In my vb.net application
>
> VB.Net + Fortran? ROTFL

I see quite a lot of questions regarding fortran with .net lately.

Michael

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
How to stop an exe file running? Hi, I am developing a vb which can stop any exe(VC++) file that is running, how can I do it in vb6? Thanks joseph

stop the mouse Does anyone know how to stop the mouse from moving or have it move to the last position during a mouse move and Ctrl key being pressed down? I'm doing the code in VB 6, but any examples or solutions will be helpful.

Re:Stop Printing Hi All I am printing about 100 pages and if for some reason I want to stop printing Is there an API that can Cancel any printing on a printer. Thanks Garry

Stop form resizing Hi, I would like to stop a form from resizing when it reaches a certain size. I have been using the API function: Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtr

How do I stop an open process? Here is the deal: I have a VB program that opens and reads/writes to an EXCEL spreadsheet. This is done probably a couple hundred times over the course of several days and, every now and then, the program is interupted and when I look in the task manager
Post new topic   Reply to topic    msvisual.com Forum Index -> VB WinAPI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group