|
-
May 28th, 2007, 09:08 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] I lost access to a thread
I lost access to a thread I was working in last night.
http://vbforums.com/showthread.php?t=471163
now says
"Mr.Mac, you do not have permission to access this page. "
It was regarding how to make postmessage work. Someone suggested putting it in a loop or putting DoEvents into a loop.
I wanted to add this:
Well, this works without loops, etc.
Code:
Option Explicit
Private Sub cmdStart_Click()
Call PostMessage(Me.cmdTest.hwnd, WM_LBUTTONDOWN, 0&, 0&)
End Sub
Private Sub cmdTest_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
MsgBox "Got Here"
End Sub
Code:
Option Explicit
Public Const WM_LBUTTONDOWN = &H201
Public Const WM_LBUTTONUP = &H202
Public Declare Function PostMessage Lib "user32" _
Alias "PostMessageA" _
(ByVal hwnd As Long, _
ByVal wMsg As Long, _
ByVal wParam As Long, _
lParam As Long) As Long
Any idea what happened?
Mac
-
May 28th, 2007, 09:15 AM
#2
Re: I lost access to a thread
There is a chance it was deleted by the admin.
What are trying to do? Can you gives us details? What message do you need to post, where and why?
-
May 28th, 2007, 09:29 AM
#3
Thread Starter
Hyperactive Member
Re: I lost access to a thread
 Originally Posted by RhinoBull
There is a chance it was deleted by the admin.
What are trying to do? Can you gives us details? What message do you need to post, where and why?
Unfortunately, I can't remember details such as the name of any participants or the title of the post. But it was very active as of last night, and it contained no content that would alarm an admin.
So if it got deleted (which it looks like happened) then it was by accident.
Someone wanted to know how to generate mouse clicks that would operate only on his form, even if the form was minimized. (Something like that).
I was just trying to test some suggestion by someone that the OP was having trouble with.
My post here is the result of my last test, which was about 8 hours after a reply in that thread talking about looping.
Sorry, that's all I know.
Mac
-
May 28th, 2007, 09:36 AM
#4
Re: I lost access to a thread
You can send PM to one of the forum's mods and they will explain what happend.
-
May 28th, 2007, 09:43 AM
#5
Re: I lost access to a thread
Hi,
I've removed the thread until I can find out exactly what the user was trying to do, his example provided wasnt the best .
Any problems please Pm me.
Thanks
-
May 28th, 2007, 04:05 PM
#6
Re: I lost access to a thread
Krass, as your thread has not be un-deleted, I have deleted the posts you made here - please do not continue on the topic anywhere on the forums until/unless your thread is un-deleted.
-
May 28th, 2007, 04:06 PM
#7
Thread Starter
Hyperactive Member
Re: I lost access to a thread
Thanks. I really didn't know what I was doing except trying to figure out how you guys were simulating a mouse click. Since it only highlighted the button as you said, my solution was to change it to "mouse down" rather than "click".
I will bug out of this thread except to monitor and mark it resolved when it looks like you are finished.
Good luck.
Mac
-
May 28th, 2007, 04:15 PM
#8
Hyperactive Member
Re: I lost access to a thread
Hey there si_the_geek (and Pino)...
Would it be possible to simply forget about the other thread and delete it, all participants could move to this one. I've put some 'effort' in those last 2 posts and clearly describes where I ended up..
Anyway, do as you wish, but I can understand that I can no longer seek help on my webbrowser problems ...sad. I want thins thing working!
Keep me informed,
Thank you.
-
May 28th, 2007, 04:17 PM
#9
Re: I lost access to a thread
The other thread was deleted for a reason - it may get un-deleted, but if not then the topic cannot be continued (and certainly not in Forum Feedback!).
Your current posts have not gone completely, so they can be added to the other thread if it gets restored.
-
May 28th, 2007, 04:21 PM
#10
Hyperactive Member
Re: I lost access to a thread
Oh - I just noticed we were in Forum Feedback. Then I'd suggest Mr.Mac to put this thread as resolved - we know what happened, case closed 
I'll wait for Pino to make a move. And btw, pino, I think there's one sentence you didn't "like" in the original thread - just take that sentence off, I don't care much, it was only an example.
Having my 2 last posts here being posted in the original one would be great, too.
Thanks.
-
May 29th, 2007, 04:33 PM
#11
Hyperactive Member
Re: [RESOLVED] I lost access to a thread
Hi Pino,
I don't want to exercice pressure on you but that work I am trying to accomplish is kind of important and someone is paying me and waiting for me to develop the thing.
I would greatly appreciate if thread #471163 could be undeleted.
si_the_geek told me to avoid posting on the subject in other threads, so I guess my hands are tied.
Other forums doesn't quite compare.
Thank you.
Edit: actually, Lord_orwell gave me all the help he could on thread 471163 and I've pushed my code a little further. So what I'd want is start a new thread... SI_THE_GEEK?
Last edited by Krass; May 29th, 2007 at 04:35 PM.
Reason: begging for acceptance :)
Chris
-
May 29th, 2007, 05:02 PM
#12
Re: [RESOLVED] I lost access to a thread
I'm afraid it isn't looking good.. your example (why choose something like that if it isn't what you are doing? ) was enough to concern us, and so far no moderators have 'backed' you on this (I personally haven't got an opinion either way).
On a separate note, I see that you have added your email address to your signature - that's not a good idea, as many bots search this forum for email addresses, and will send you lots of spam (we also have dozens of new fake 'users' each day posting spam here, which gets blocked by our filters).
-
May 29th, 2007, 05:13 PM
#13
Hyperactive Member
Re: [RESOLVED] I lost access to a thread
Hi there.
Thanks for the advice. I normally avoid exposing my email that much, but... surprisingly, that email doesn't get filled up with spam. And even if it would, I wouldn't care much since it's not my "main" email addy.
On the other hand, sometimes, ppl reads a thread and try to add me straight to their Messenger - which can be sometimes useful.
As for the deleted-thread issue, can we just forget the old thread and let me post elsewhere? I used such an example because it clearly explains that it's concerning clicking on a FLASH container. That way, no people would come back to me with all those solutions on retrieving links, all elements, clicking/dealing with them etc. Which is often the desired solution for most users - Been there, done that - I really need it simulate mouse click. That example came to mind because I've done it in the past, like 4 years ago, when a friend told me I couldn't beat up his score in a flash game and was dragging me about it.
So I used a solution to move the mouse and make it click on the screen. But that was a on a maximized, visible and focussed webbrowser.
...There's no chance I would have thought this would bring such a problem. Anyway, it's not big deal.
The big deal is you don't want me to post about that subject anymore. So what I'll do is start a new thread asking why my webbrowser component isn't receiving the good x,y mouse coords (using Winspector Spy) when I use postmessage or sendmessage. I'll make sure to not talk about "cheating a flash game", heheh.
Is that okay with you?
-
May 29th, 2007, 05:18 PM
#14
Re: [RESOLVED] I lost access to a thread
So if that's not what you're doing, then what actually are you doing?
Surely, if you say what your intentions are, people will be better poised to help you, and perhaps someone will have a more elegant solution that avoids the issue in the first place.
That is my personal opinion.
-
May 29th, 2007, 05:27 PM
#15
Hyperactive Member
Re: [RESOLVED] I lost access to a thread
When my client creates a new customer in the database, he has to, obviously, fill all the fields (name, adress, phones etc).
We want to speed up the process (and eliminate errors, because some of those secretary types damn slow and with many typos) of creating a new customer. When a phone number is provided, the app will lookup that number on the net and retrieve the name, address and main phone number (the only actually dealing with the phone company). Actually it might end up being used only to confirm current customer info - but anyway.
I want the whole process to be hidden from the user - there's no need to see the browsing going on. That webpage will require some clickings that I noticed CAN'T be done with my usual techniques (Public Const MOUSEEVENTF_MOVE = &H1) and EVEN IF IT WOULD, I don't want to make the mouse move when the user is on the PC.
I'll also make it fit well with my popup that gets the entering-call phone-number via a caller id. But anyway, that gets off-topic.
Hope that explains well.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|