|
I don't think anyone here has any clue what you're talking about.
Show the code you're using and we might be able to figure out what you're talking about.
|
|
|
|
|
This is not the way to link menu items with keyboard shortcuts, as far as I know. In C++ projects it's done by settings in the resource script, and I guess there must be something similar in VB. Maybe properties of the menu item.
btw I've changed the subject line in the hope that one of the VB experts who know the answer, will spot this.txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
Are you talking about the MenuItem.Shortcut[^] property?? You don't have to use My.Computer.Keyboard.anything to use this property.
|
|
|
|
|
You can register you Key to as a HOT KEY. then you can use it. If you can think then I Can.
|
|
|
|
|
Thanks for reply ,
suppose from keyboard i pressed CTRL + A then i am doing functionality to select the controls on the panel by checking
IF My.Computer.Keyboard.CtrlKeyDown then
-- some functionality
End If
CTRL + A --- SelectAll in EDIT MENU in menubar
This menu item is clicked then how can i forcefully
IF My.Computer.Keyboard.CtrlKeyDown then its in false but how to make true
-- some functionality
End If
-- the condition is linked with this one .
regards,For1206
|
|
|
|
|
I believe you're saying My.Computer.Keyboard.CtrlKeyDown is not reflecting the Control key state during a Click event.
I was not able to confirm this behaviour: that is the CtrlKeyDown reflected the state of the Control key for me using both MenuItem and ToolStripMenuItem.
Regards,
Mark Hurd, B.Sc.(Ma.) (Hons.)
|
|
|
|
|
I am not able to meaning of your question. But if you want to Use Ctrl + A to without using keypress then you have three ideas
1 : You can use HOT KEY By using Registerhotkey
2 : You Can use sendkeys option
3 : You can Use Keyboard Hook for doing this operation.
okIf you can think then I Can.
|
|
|
|
|
Hi ,
Thanks 4 reply ,
This is the code which i used.
if in keyboard CTRL key is pressed . Working fine
If SelectedControls.Count > 1 And Not My.Computer.Keyboard.CtrlKeyDown Then
'Some functionality for controls like n vb.net Design Editor.
Call ExHandles()
End If
if from EDIT Menu -- How to make My.Computer.Keyboard.CtrlKeyDown = true
i tried SendKeys -- its hanging the application .may i know how can i implement ?
Regards,For1206
|
|
|
|
|
I have some Ideas which i already pass to you. Then you should implement it now.
And your Code is not properly for getting the meaning of your query?If you can think then I Can.
|
|
|
|
|
Hi Anubava,
There is nothing in my query . Only a small query .
on the form there are some ctrls like at design time . On using of CTRL keypress i am selecting the control one by one .
Suppose if i select the EDIT Menu -- SelectAll (CTRL + A) then i have to select all the controls present on the form .
I have achieved this one using a boolean variable .
My idea is to not using of boolean variable & setting the Keyboard.CTRL to true by using some technique ..
Regards,For1206
|
|
|
|
|
Thanks in advance
There are some Graphics Website for Graphic Designers which published daily Assignments/Tasks/Puzzles in their respective tools like Adobe/Dream viewer etc.
My question is that are there same kind of websites available for Daily routine tasks/assignments
for visual studio.Best Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
are you looking for problems so you can ask more questions on this forum?
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.
|
|
|
|
|
lol , i spend 18 hrs at least on programing stuff nd still hungry , thats y ..... Best Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
S0FTDEV wrote: i spend 18 hrs at least on programing stuff
I guess that's per year ... txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
lmfao Best Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
|
Hi
I am trying to extract details from a smart card chip using a Omnikey 3121 usb reader into a VB program. I have heard that Microsoft have smart card functions built into the .net framework but I am struggling to find any information on how to implement this. Can anyone point me in the right direction.
Many thanks
|
|
|
|
|
I am not familiar with ANY smart card technology.
But what i have managed to determine with a help from our friend Google is;
Omnikey 3121 is a standard PC/SC compliant device. It is also compliant USB-CCID device, so does not require any additional drivers. It will just plug and play.
SmartCards API are built directly into the Platform SDK for windows.
A white paper can be downloaded from here[^]
I dare say if you go and search Google a little, you will be able to find out what you need.
|
|
|
|
|
Thanks for your help Dave, I will have a good read through that document
|
|
|
|
|
mates,
how to add barcode control in crystal report, in access i used the Microsoft BarCode Control 9.0. i want it to add also in cr. in short, i want to add activex control.
thanks in advance.C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
Component is Not supporting in Crystal Report. You can Use Barcode Image.
You can User Barcode Fonts to Create Barcode in Crystal Report.If you can think then I Can.
|
|
|
|
|
Hi all,
I have an issue that has nearly been causing my poor VB.net non-savvy brain to melt.
I need to be able to copy a certain url into a textbox, and then be able to extract certain parts of that URL and then place them in a data grid.
Thankfully most of the parts I need in the URL are seperated by ampersands (&) which should make detecting them easier..?
The Url might look something like below:
adredirect?readform&admodel=mazda3&unid=ff501d42303c0601ca2574790021874b&make=generalnews&model=safety&time=0&client=1&adtype=useful&page=news&site=va
I need to be able, for example, to extract the following values out of the above URL:
admodel=mazda3
make=generalnews
model=safety
page=news
and somehow convert those above values into:
mazda3
generalnews
safety
news
THEN I have to place those values into a data grid... lol
I have a certain idea how to do it, but I have no idea how to VB it.
Any insight or help would be appreciated. And forgive me if my explanation is lacking.
Thanks in advance!
|
|
|
|
|
Hi FloodLight
I take it that the keywords (admodel,make,model,page) remain constant and only the values change, then you could use a function like this :
Private Function ExtractValue(ByVal URL As String, ByVal Category As String) As String
Dim strValue As String = String.Empty
Dim strSplitURL() As String = Split(strUrl, "&" & Category & "=")
Dim strSecondSplit() As String = Split(strSplitURL(1), "&")
strValue = strSecondSplit(0)
Return strValue
End Function
then you could just call it like this ExtractValue(strUrl, "admodel")
Hope this helps.
|
|
|
|
|
zimvbcoder you are an absolute legend! I actually got it to work, thanks so much for your help
|
|
|
|
|
No Worries. Thats what I'm here for.
|
|
|
|