We do not do your HomeWork. HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them. Any failure of you will help your teacher spot your weaknesses and set remedial actions. So, give it a try, reread your lessons and start working. If you are stuck on a specific problem, show your code and explain this exact problem, we might help.
As programmer, your job is to create algorithms that solve specific problems and you can't rely on someone else to eternally do it for you, so there is a time where you will have to learn how to. And the sooner, the better. When you just ask for the solution, it is like trying to learn to drive a car by having someone else training. Creating an algorithm is basically finding the maths and make necessary adaptation to fit your actual problem.
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
Hi, I have written a surveying program for a ppc 2003 device using VB 2005. I need the code to make it search for a Bluetooth instrument and pair with it. It has to send a command for that instrument to take measurements and then receive the measurements and populate text boxes in my program. Can someone help please.. Many thanks
Thanks Richard, For now I just need the code for my program to discover and pair with other devices. I will contact the manufacturer to see if he is willing to help. Instrument documents don't show anything like that. Regards
i used keyboard shortcuts to windows form application... but when i minimize the form application key shortcuts what i used for form applies on other applications also ... need help....plz ... send me solution
Keyboard input is send to the active window. If you have minimized your application it does not have an active window anymore and the input is send to the window which is then active (the desktop if there is no application window).
The system posts keyboard messages to the message queue of the foreground thread that created the window with the keyboard focus. The keyboard focus is a temporary property of a window. The system shares the keyboard among all windows on the display by shifting the keyboard focus, at the user's direction, from one window to another. The window that has the keyboard focus receives (from the message queue of the thread that created it) all keyboard messages until the focus changes to a different window. ... The concept of keyboard focus is related to that of the active window. The active window is the top-level window the user is currently working with. The window with the keyboard focus is either the active window, or a child window of the active window. To help the user identify the active window, the system places it at the top of the Z order and highlights its title bar (if it has one) and border.
So there is no solution. Your form must be the active window to receive keyboard messages.
Hello everyone, I'm new here.
I am desperate for a solution to my problem in the visual basic code.
With the library TagLib I can write ID3v2 tags on mp3. I'm having trouble seeing the text Lyrics on Android devices and I realized that the problem is the text encoding (by TagLib).
With an encoding in ISO-8859-1 or UTF16 everything works good, but with UTF8 encoding will not work.
What I would know is how can I set the encoding TagLib write ISO-8859-1.
I do not know how, but it is the library that selects and applies automatic text encoding even if I have encode the text before in ISO-8859-1.
How can I fix?
Here's the code:
Dim Testo AsString = "Text Lyrics"Dim mp3 As TagLib.File = TagLib.File.Create("C:\Music.mp3")
'convertion in iso-8859-1'Dim byText() As Byte = System.Text.Encoding.Unicode.GetBytes(Testo)'Dim strTemp As Byte() = Encoding.Convert(Encoding.UTF8, Encoding.GetEncoding("iso-8859-1"), byText)
mp3.Tag.Lyrics = Testo