Getting The Floating Function Keys?

Jan 10, 2010

I use IrfanView for screen capture.After activating it (making it ready) it is necessary to use Ctrl & F11 to invoke the actual screen capture selector.how I may achieve a "Floating Key" which would act in the same way as the Ctrl & F11 combination?

View 4 Replies


ADVERTISEMENT

.net: Capture Function Keys F1?

Jan 7, 2011

I cannot capture the function keys F1..F12 for my application. I am able to capture regular keys and modifiers such as shift, ctrl, alt, etc.This question recommends KeyPreview = True, however that does not seem to work for my application. What am I doing wrong?

[Code]...

View 2 Replies

Using Function Keys From MDI Form

Aug 5, 2010

I have a MDI form where I have a status bar at the bottom of the form. It has a literal representation of several Function Keys. When I first load the MDI form and press any of the function keys, they all work like they're supposed to. However, if I have a Child form active and then try and press one of the function keys...nothing happens. What do I need to do to overcome that?

View 2 Replies

Using Function To Send Two Keys Together

Jun 12, 2011

I want to know how to send keys like ALT, Shift, Ctrl, Entre, etc. with the My.Computer.SendKeys() function. Also, I need a code with which I can send 2 keys together like Ctrl+C. Is it possible with SendKeys(). [I use Visual Basic Express 2008 and 2010].

View 3 Replies

Capture Function Keys Even If Minimized

Apr 5, 2012

i need to capture function keys even if form is minimised. how can i do it? i tried many tutorials for key hook etc etc. but none work

View 2 Replies

C# :: Capture Keystrokes (e.g., Function Keys) While A Messagebox Is Up?

Jun 15, 2010

We have a large WinForms app, and there is a built-in bug reporting system that can be activated during testing via the F5 Key. I am capturing the F5 key with .Net's PreFilterMessage system. This works fine on the main forms, modal dialog boxes,etc.Unfortunately, the program also displays windows messageboxes when it needs to. When there is a bug with that, e.g., wrong text in the messagebox or it shouldn't be there, the messagefilter isn't executed at all when the messagebox is up! I realize I could fix it by either rewriting my own messagebox routine, or kicking off a separate thread that polls GetAsyncKeyState and calls the error reporter from there. However I was hoping for a method that was less of a hack. Here's code that manifests the problem:

Public Class Form1
Implements IMessageFilter
Private Sub Form1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles

[code]....

View 1 Replies

IDE :: Debugger F8 Step Into And Other Function Keys Not Working?

Sep 30, 2010

I've reviewed the other posts regarding this subject. I'm using VB from Excel and the function keys are not working. I'm running Windows Vista Home Premium with Office Ultimate 2007 Looks like Excel is running VB 6.5So, this used to work for me...I've used the debugger quite a bit. When I try the solutions suggested Tools->Options->Keyboard (after checking check-box to show all settings) when I click on the box just below "Apply the following additional keyboard scheme" the only item in the list is default. There is no selection for VB 6 or anything else for that matter.

View 2 Replies

VS 2010 Send Keys Function Keeps Ctrl V

Jul 1, 2011

I have a loop that takes text from a richtexbox, and pasts it into a field on a html web form within a webbrowser control.When i run my code, it goes to where it copy/pastes the text, however it keeps doing this over and over and over and over again, it wont just copy and paste 1 time, and stop.[code]

View 1 Replies

Function Keys Stop Working While Using Windows Media Player

Sep 29, 2011

I am developing a vb.net media application using Windows Media Player which is working fairly well. However, I am having problems where the Function key handler will stop working after doing anything on the media control panel, i.e. mute, move the slider etc. So long as I don't touch the panel everything continues to work. I'm using the function keys to pull up menus for selecting other media and if I do anything with the control panel I can no longer display the menus.

View 1 Replies

Game Programming :: Detecting Whether One Of The Arrow Keys Is Pressed, All The Other Keys Seem To Be Detected Apart From The Arrow Keys?

Oct 21, 2008

I have a problem detecting whether one of the arrow keys is pressed, all the other keys seem to be detected apart from the arrow keys??? I have set key preview to True........ It detects the arrrow keys BUT ONLY if I have NO other controls on the form??? example..

Me.Text = e.keycode

It works, but then if I add a button for example, it stops.

View 3 Replies

Hot Keys VB 10 Express - Giving Auto Typer Hot Keys?

Jun 25, 2011

just wondering how i could give my auto typer hot keys, for example they press f1 to start the typer f2 to stop it.

[Code]...

View 4 Replies

VS 2010 Shortcut Keys (KeyUp) E.Keys Combinations?

Mar 25, 2011

I'm trying to create a shortcut which expands or collapses my treeview using the ctrl+alt+up-arrow or ctrl+alt+down-arrow:

If Keys.ControlKey And e.KeyCode = Keys.Alt And e.KeyCode = Keys.Down Then
mytreeview.ExpandAll()
End If

[code].....

View 2 Replies

Use The Send Keys Function To Send Text To Another Program?

Apr 29, 2009

I am trying to use the send keys function to send text to another program.I ahve gotten it al working well, except for using () as I know sendkeys doesnt like these.I have tried using the Replace function in several places in my code to replace the ( with {(} and {+0} etc, with various other options tried.But when I run the program, it seems to skip this out completly and leaves them in the string as (, and therefore it errors and wont run.When I step through it, it goes through the function but doesnt alter the strng as it should. This is the code to send the string and my attempt at making it replace the () in the module

Module TextReplacement
Private Declare Function GetAsyncKeyState Lib "user32.dll" (ByVal vKey As Int32) As Short
Dim counter As Integer
Dim sData() As String

[code]....

The error I get when i try send "Test :)" is: ArgumentExcveption was unhandled "SendKeys string 'Test :)' is not valid"

View 2 Replies

Add A New Floating Rectangle With An Image?

Mar 16, 2012

i want to add a new floating rectangle with an image inside it to my form when i click on a button control and then use a timer control to move it in a straight line across the Form. the problems I'm having are:

1) Drawing and filling the RectangleF on the screen.

2) Animating/moving it from X1,Y1 to X2,Y2

3) Triggering the Drawing and movement with a Button Control

View 6 Replies

Loop Through A List Of The Keys That Are Available In The 'Keys' Enumeration?

Jan 13, 2011

How could I loop through a list of the keys that are available in the 'Keys' enumeration? It seems like it should be something easy to do, but I'm not having any luck finding a collection that I can loop through.

View 6 Replies

Forms :: Make A Floating Toolbar

Jan 7, 2010

How can I make a floating toolbar (like the font toolbar that appears when highlighting text in Word 2007)?

I would like it to appear at a given point when mouse is clicked.

View 2 Replies

Make Floating Mini Toolbar?

Jan 7, 2010

How can I make a floating toolbar (like the font toolbar that appears when highlighting text in Word 2007)?

I would like it to appear at a given point when mouse is clicked.

View 9 Replies

Read 6 Bytes Floating From A File

Mar 5, 2011

I have an old fashion Database with several random access files and I need to import the data to a new Sql Server dababase the data. There are tables with 6 Bytes floating numbers fields and we have no Number data type with that length in VB. I tried and tried and... and can't find. I found this code in the ERP folder, is AlphaBasic. It use an envoirement namend A-shell from Microsabio .

[Code]...

View 1 Replies

C# - Understanding Floating Point Limitations In Calculations

Jan 12, 2011

How to determine when floating point limitations will cause errors in your calculations. For example the following code.
CalculateTotalTax = function (TaxRate, TaxFreePrice) {
return ((parseFloat(TaxFreePrice) / 100) * parseFloat(TaxRate)).toFixed(4);
};

I have been unable to input any two values that have caused for me an incorrect result for this method. If I remove the toFixed(4) I can infact see where the calculations start to lose accuracy (somewhere around the 6th decimal place). Having said that though, my understanding of floats is that even small numbers can sometimes fail to be represented or have I misunderstood and can 4 decimal places (for example) always be represented accurately.

MSDN explains floats as such... This means they cannot hold an exact representation of any quantity that is not a binary fraction (of the form k / (2 ^ n) where k and n are integers). Now I assume this applies to all floats (inlcuding those used in javascript). How can one determine if any specific method will be vulnerable to errors in floating point operations, at what precision will those errors materialize and what inputs will be required to produce those errors?

View 5 Replies

Implementing Floating Toolbar In Desktop Form?

Mar 30, 2009

How to implement a floating toolbar in the desktop form that can be placed anywhere in the form and also tell me if this can be called by other form other than actual form implementing it to display to the user for some common purpose.

View 5 Replies

VS 2010 Floating Splash Screen Image?

Jan 31, 2011

I have an image on a transparent background. This is my "splash screen" for my project. I want it to basically show up in the middle of the screen for 5 seconds and then load my frmMain Form.

Here's the image: (removed)

I can't seem to get the gray form's background off it.

View 7 Replies

C# - Arbitrary Precison Floating Types In .net : Finding Library That Allows That?

Oct 21, 2009

I need to do maths on both floats and integers with much bigger accuracies and magnitudes than offered both by int/float/double in .net. I recall there was something like that for c/c++.

View 2 Replies

Floating Point - Displaying A Decimal With A Given Maximum Length?

Apr 28, 2010

I am writing a custom totaling method for a grid view. I am totaling fairly large numbers so I'd like to use a decimal to get the total. The problem is I need to control the maximum length of the total number. To solve this problem I started using float but it doesn't seem to support large enough numbers, I get this in the totals column(1.551538E+07). So is there some formating string I can use in .ToString() to guarentee that I never get more then X characters in the total field? Keep in mind I'm totaling integers and decimals.

View 2 Replies

.net - Floating Point Result Discrepancy Between Two Seemingly Identical Statements

Sep 14, 2011

I've got the following Visual Basic code:

Dim L16, L23, L45, t As Double
Dim LBase, LAdjacent, LOpposite As Double
L16 = 20

[Code].....

Both equations should be equivalent: I've simply replaced L16 with LBase, L23 with LAdjacent and L45 with LOpposite. Yet the first equation outputs 3586 while the second outputs 3587.

View 1 Replies

Regular Expression (RegEx) To Replace Floating-point Numbers In XML?

Aug 22, 2011

I'm using Visual Basic 2010 Express to edit an XML file. I want to replace items that have (typically) non-zero floating point numbers with a single zero.

View 4 Replies

VS 2008 Floating Toolbar - Display That Container (containing Toolstrip) In Form

Mar 30, 2009

I've two forms Form1 and Form2, I want to add container(*) in form2 having toolstrip(Toolbar) and later want to display that container(containing toolstrip) in Form1, that enable the user to use toolstrip to execute needed actions written in form2.

[Code]...

View 1 Replies

Convert Single Precision Floating Point Numbers To IEEE 754 Hex And Back?

Aug 12, 2009

Private Function SingleToIEEE754Hex(ByVal pValue As Single) As String

[Code]...

View 1 Replies

Interface And Graphics :: Drawing Objects To Picturebox With Floating Point Numbers?

Jul 17, 2009

If I try to draw a circle by using e.g.

Code:
e.Graphics.DrawEllipse(Pens.Red, 50.133, 100.321, 0.1, 0.1)

I will get an error message. I tried something like

Code:
Public ObjectPoint As PointF
Dim cpoint As New PointF()
cpoint.ObjectPoint = New PointF(startX, startY)
e.Graphics.DrawEllipse(Pens.Blue, cpoint.ObjectPoint, 0.4, 0.4)

but it didn't work for the location and the circle size. How to draw a circle(and rectangle) by using floating point numbers?

View 6 Replies

Why Do Simple Math Operations On Floating Point Return Unexpected (inaccurate) Results In .Net And Python

Oct 20, 2009

x = 4.2 - 0.1
vb.net gives 4.1000000000000005
python gives 4.1000000000000005
Excel gives 4.1
Google calc gives 4.1

What is the reason this happens?

View 4 Replies

Recored Arrow Keys And Then Tell Computer To Enter Arrow Keys?

May 23, 2010

So I found this little morpg. The game is fun but really repetitive. I would like to simplify some of the tasks in the game. I do not know how to start this project. How can I recored arrow keys and then tell the computer to enter the arrow keys? One of the objectives in the game is to run around a farm 2x and scare away any wolfs. So the commands would be "arrow key up" for 30sec and then "arrow key right" for 4 sec and repeat. I have worked with robots in real life for some time. We would fill arrays with such instructions. One of the most fun things to program! But I have no idea how to do this in VB.

View 12 Replies







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