-
Jun 15th, 2022, 05:06 AM
#1
Thread Starter
Member
[RESOLVED] Sending Whatsapp Group Message with Button through Visual Basic Code
Hai,
This is sending whatsapp group message through python in pyCharm. That works fine.
However i need to add action button just below the message, just 3 button, like, dislike and info.
Is there any possible way to do this, please.
It will be grateful.
Thank you!
ebin
-
Jun 15th, 2022, 05:15 AM
#2
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
Why ask a Python question in a VB.Net forum?
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Jun 15th, 2022, 05:21 AM
#3
Thread Starter
Member
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
Sorry, Since it is coded through Visual Basic Code, i thought i would get help from this forum.
-
Jun 15th, 2022, 06:25 AM
#4
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
What is exactly coded using VB?
-
Jun 15th, 2022, 11:28 PM
#5
Thread Starter
Member
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
Originally Posted by Arnoutdv
What is exactly coded using VB?
The below is the simple code to send message in Python from Visual Basic code.
However i need to add 2 or 3 button for "like".
Code:
import pywhatkit
phone_number = input("Enter phone number")
pywhatkit.sendwhatmsg(phone_number, "Test", 12, 6)
Regards,
ebin
-
Jun 16th, 2022, 01:42 AM
#6
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
Then “like” must be a method implemented in “pywhatkit”
Check the documentation
-
Jun 16th, 2022, 02:28 AM
#7
Thread Starter
Member
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
Yeah... it is not there in the documentation.
I dont know what would be the module to have Button Facility in Whatsapp Message.
-
Jun 16th, 2022, 03:07 AM
#8
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
But I still don't see how this VB.Net related.
The code you posted is Python code:
Code:
import pywhatkit
phone_number = input("Enter phone number")
pywhatkit.sendwhatmsg(phone_number, "Test", 12, 6)
https://www.geeksforgeeks.org/introd...hatkit-module/
-
Jun 16th, 2022, 03:12 AM
#9
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
the library doesn't have this feature but you can create one. some clue here how to send a emoticon. just send a up thumb
whatsapp - Python pywhatkit emoticon - Stack Overflow
The best friend of any programmer is a search engine
"Don't wish it was easier, wish you were better. Don't wish for less problems, wish for more skills. Don't wish for less challenges, wish for more wisdom" (J. Rohn)
“They did not know it was impossible so they did it” (Mark Twain)
-
Jun 16th, 2022, 03:21 AM
#10
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
By the way there are several Nuget Packages for using Whatsapp with .net
The best friend of any programmer is a search engine
"Don't wish it was easier, wish you were better. Don't wish for less problems, wish for more skills. Don't wish for less challenges, wish for more wisdom" (J. Rohn)
“They did not know it was impossible so they did it” (Mark Twain)
-
Jun 16th, 2022, 03:35 AM
#11
Thread Starter
Member
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
Python extension will be installed in Visual Basic Code.
And from there python coding like pywhatkit will be executed to send whatsapp messages.
So in the message i would like to add Button.
-
Jun 16th, 2022, 03:41 AM
#12
Thread Starter
Member
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
Could you please recommend some to me.
Regards
ebin
-
Jun 16th, 2022, 03:46 AM
#13
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
Originally Posted by ebincharles
Python extension will be installed in Visual Basic Code.
And from there python coding like pywhatkit will be executed to send whatsapp messages.
So in the message i would like to add Button.
What do you mean with installing a Python extension in Visual Basic Code?
Maybe you are confusing VB.Net with Visual Studio:
https://docs.microsoft.com/en-us/vis...o?view=vs-2022
-
Jun 16th, 2022, 03:59 AM
#14
Thread Starter
Member
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
yeah... I do not see the forums for "Visual Basic Code", so i posted in .Net forum. sorry.
-
Jun 16th, 2022, 04:21 AM
#15
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
Visual Studio Code has nothing to do with Visual Basic. Anyways if you want buttons and whatnot, you need a GUI library of some kind. Google should tell how you how to do it in Python. There are several UI libraries for Python and beyond that any additional questions you might have should be asked on forums dedicated to Python. Everyone around here is into VBA, VB6, VB.Net and C#.
-
Jun 16th, 2022, 04:24 AM
#16
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
Visual Studio is an Integrated Development Environment for multiple programming languages.
You question is not about the VSStudio, but about Python and the specific library you want to use.
And VBForums is dedicated to Visual Basic (a range of programming languages), not Visual Studio or Python
-
Jun 16th, 2022, 05:22 AM
#17
Thread Starter
Member
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
Thank you for your kind information. i will search for Python forums. regards, ebin
-
Jun 16th, 2022, 05:23 AM
#18
Thread Starter
Member
Re: Sending Whatsapp Group Message with Button through Visual Basic Code
Thank you Niya for your kind information. i will search for Python forums. regards, ebin
-
Jun 16th, 2022, 09:19 AM
#19
Re: [RESOLVED] Sending Whatsapp Group Message with Button through Visual Basic Code
There is a dedicated forum here called "Other Programming Languages"
You can post there and maybe you get lucky.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Jun 16th, 2022, 10:57 AM
#20
Re: [RESOLVED] Sending Whatsapp Group Message with Button through Visual Basic Code
Originally Posted by sapator
There is a dedicated forum here called "Other Programming Languages"
You can post there and maybe you get lucky.
Lets be real, it's kinda dead over there. He'd be better of in a Python forum. 99% of the activity here is in the VB6 and VB.Net sections. 1% is in Chit Chat.
-
Jun 16th, 2022, 11:13 AM
#21
Re: [RESOLVED] Sending Whatsapp Group Message with Button through Visual Basic Code
Last question was May 11th about a python game .
So it's kinda dead but possibly because no questions are written there. But it is there.
With what you said about the percentage we probably should not post C# questions either. That is fine, I dislike C# and so do you I guess since you didn't even put it in the 1%
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Jun 16th, 2022, 11:22 AM
#22
Re: [RESOLVED] Sending Whatsapp Group Message with Button through Visual Basic Code
Originally Posted by sapator
With what you said about the percentage we probably should not post C# questions either. That is fine, I dislike C# and so do you I guess since you didn't even put it in the 1%
Actually you're right. I'd say 98% VB6/VB.Net, 1.5% Chit Chat and 0.5% C#.
-
Jun 16th, 2022, 01:02 PM
#23
Re: [RESOLVED] Sending Whatsapp Group Message with Button through Visual Basic Code
Post race may be getting more reply's in a good day than all the other threads combined, so I think the percentage is dead wrong (I'm looking for a fight for quite some time now and I don't get one... )
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Jun 16th, 2022, 06:20 PM
#24
Re: [RESOLVED] Sending Whatsapp Group Message with Button through Visual Basic Code
Originally Posted by sapator
(I'm looking for a fight for quite some time now and I don't get one... )
lmao.
Tags for this Thread
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
|