473,624 Members | 2,642 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

disable right-click in vb6?

12 New Member
how to disable right click in vb6? because i put a flash document in my form and i want to be it like a touch screeen....so how?
Jan 31 '08 #1
11 8792
daniel aristidou
491 Contributor
how to disable right click in vb6? because i put a flash document in my form and i want to be it like a touch screeen....so how?
UM ...........disa bling right click........If there are no events on right click isn't that the same result.......no thing happens when you right click on the mouse?....if your talking about Standard (ie windows in built) context menus on right click......i can't help you in vb6 though someone esle might be able to.
Jan 31 '08 #2
shuvo2k6
68 New Member
how to disable right click in vb6? because i put a flash document in my form and i want to be it like a touch screeen....so how?

Is that Shockwave Flash? then u cann't do anything, becoz there is no event for mouse click.
Jan 31 '08 #3
daniel aristidou
491 Contributor
Sorry...did wonder what the flash part was.....
Feb 1 '08 #4
lotus18
866 Contributor
I don't think that you can disable the right-click event of the flash because it is from macromedia corp. (now adobe). If you find a solution to this, please tell me. We have the same problem. : )

Rey Sean
Feb 2 '08 #5
kZero
23 New Member
i found this link is very usefull

http://www.planetsourc ecode.com/vb/scripts/ShowCode.asp?tx tCodeId=36308&l ngWId=1
Feb 2 '08 #6
VACEPROGRAMER
168 New Member
OK look. Select the flash object into VB form, get in the object , select on "MOSE DOWN" in the left uper corner and do this:

Dim A As Key
A = vbRightButton

So you can write what you want for the right click

*VACE*
Feb 2 '08 #7
shuvo2k6
68 New Member
OK look. Select the flash object into VB form, get in the object , select on "MOSE DOWN" in the left uper corner and do this:

Dim A As Key
A = vbRightButton

So you can write what you want for the right click

*VACE*
Flash has very few events. There is no event for Mouse.
Feb 2 '08 #8
shuvo2k6
68 New Member
i found this link is very usefull

http://www.planetsourc ecode.com/vb/scripts/ShowCode.asp?tx tCodeId=36308&l ngWId=1
Hey,
It works. Thanks....
Feb 2 '08 #9
VACEPROGRAMER
168 New Member
Nothing , we are here to help . . .

*VACE*
Feb 3 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

2
5008
by: Derek White | last post by:
Ok here's the deal. We are finally getting DSL again... but our PC is in the living room... and the youngest has figured out that if he hits the right keys... he can bring up Internet Explorer. All is fine and dandy right now, but come next week... that things wont be so dandy. I am setting our LInux router/server back up soon, and would like a quick, easy way to enable and disable our internet access. What I would like to do is have...
5
5913
by: Greg | last post by:
I am developing an application where I need to secure a workstation for periods of time. I can use BlockInput to stop users from task switching or messing with the keyboard, but I would like to disable Ctrl-Alt-Delete. It seems there seems to be only one real way I know about: Write a replacement Gina Driver to eat the keyboard events I dont want. Does anyone have a good template for this in Visual Basic .Net?
7
15591
by: Mathias Herrmann | last post by:
Hi. I have the following problem: Using popen() to execute a program and read its stdout works usually fine. Now I try to do this with a program called xsupplicant (maybe one knows), but I dont get the output of it while it is running. This is probably a problem of stdout being buffered, because if I use fflush() after a printf() in the xsupplicant then I can read the output.
6
9069
by: Al Cohen | last post by:
I'm using a LinkButton to call some code, then do a redirect. The code does some queries, sends some emails, and takes a few moments before the redirect is performed. I'd like to disable my LinkButton during this period to prevent multiple submissions. (Obviously) the disabling should be done at the client side to prevent any delay. I've tried adding some javascript to LinkButton.Attributes: LinkButton1.Attributes.Add("onclick",...
7
2435
by: John den Haan | last post by:
Hello! When I use putchar to fill up an entire screen (of 80x25) with text, it seems to leave an empty line at the end, thus forcing me to scroll upwards in to see the first line. This forces me to repositioning the cursor to the first line, which costs computer power. I know the loss is negligible, but it's more a matter of principle: how to prevent this line-wrapping behaviour? --
4
4460
by: Vincent | last post by:
I have created a drag and drop scheduler within Microsoft access. One of our bug testers was doing some testing and noticed that the drag and drop gets messed up if they press both the left and right mouse buttons simultaneously. The code to handle the drag and drop is already complicated enough without taking this scenario into account. Is it possible to completely disable the right mouse button when this particular form is loaded? Any...
8
3693
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I disable the right mouse button? ----------------------------------------------------------------------- The oncontextmenu intrinsic event is the only safe and reliable method. Of the other approaches often presented, most depend on an alert box interrupting the process and rarely work. Note that oncontextmenu is a non-standard event and is not...
2
8456
by: emlimeng | last post by:
Hi everyone It is maybe a questions asked many times. I am trying to limite users' access to Database Windows to improve security. I am working on an Access Data Project in Access 2000 format as front end and SQL Server as backend. The ideas in my mind so far are: • Disable the F11 key • Disable “Unhind” function on “Window” on Menu bar, so users can’t go to Window-> Unhind to reopen the database window. • Disable the SHIFT key – I’ve...
56
3812
by: Deepan HTML | last post by:
Hi All, Currently i am working in a framed environment where i have divided the window as 20% and 80% and the 20% is used for navigation purpose and right frame for displaying the orignal content. Now i want to Disable ad Enable the menu items which are placed in the left frame for navigation purpose. Can any of you input me with any idea as how to proceed? If you need any other information then please let me know.
16
6649
by: nagmvs | last post by:
Hi, Can any one tell me How to disable Keyboard Functions using JavaScript.If knows please tell me the code.Also tell me the code for mouse disable also. Thanks, Nagesh.
0
8246
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8490
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7174
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6112
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4184
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1489
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.