I am building an application using the reference Google Developer Sample Project. According to this tutorial i will get an authorization code from browser and will put it later in my application.But i don't want to work like this. I need to get the authorization code in direct way. Actually I want to upload file to the Google Drive account with a button click event. Every thing should be done hidden inside button click event.
Related
We would like to know how the Start Over button was used in one of the examples in Gupshup chatbot. Attaching the image for your reference.
We are actually intrested in allowing the user to go back to the main menu by using the button option. We have seen videos with user tying back. And also we have used the linking options.
Thanks
Manjiri
i wrote a (visual basic.net-2008) desktop app that allows ham radio operators to enter a call,
such as WA0H, and the program gives the ham's location (springfield, mo.).
you can download the program free from my website .. www.wa0h.com
i want the program to display the ham's location on a google map using google's api-v3.
i have created an (html/javascript) webpage, where you enter the location in a form box,
click a (find) button, and the app displays the map ok, including a marker pin on the map.
??? how do i run the (webpage) from inside my (vb.net) program ???
my vb.net program needs to:
1 .. pass the address to the webpage
2 .. click the webpage (find) button
according to the google maps (developers) website, they want questions posted to stackoverflow.
thanks for your time.
1-First you need to create pin on the map
i suggest using Google Static Maps API as in hear : https://developers.google.com/maps/documentation/static-maps/intro#quick_example
for the example use this
https://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=13&size=600x300&maptype=roadmap&markers=color:blue%7Clabel:S%7C40.702147,-74.015794&key=YOUR_API_KEY
then you get something like this
https://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=13&size=600x300&maptype=roadmap&markers=color:blue%7Clabel:S%7C40.702147,-74.015794&key=AIzaSyDnw6k3UjE2qZ5nLnI8cKghaEEdCXV0PUI&signature=5xiF2jgoXwFonsjew0PmtZdSTHU=
2-you need to open this page using web browser.
to use "WebBrowser" inside of toolbox, drag and drop it then set ScriptErrorsSuppressed to true
to set webbrowser url you can use webbrowser1.navigate("your url as string")
Hi ive developed a application that works with my site by using
SendKeys.send("{ENTER}") to submit info on one of my forms.
Is there a way to stop it from running outside the application?
For example im trying to run the program in the background and when im browsing my facebook or on google it randomly keeps hitting enter.
Any help is greatly appreciated thanks for your time.
The short answer is to look at the windows available for a process and check the titles to see if it's the page you want.
If System.Diagnostics.Process.GetProcessesByName("firefox").MainWindowTitle = 'My Page Title'
...
End If
That said, there are much better ways to do this - If you're using firefox, look into GreaseMonkey, if in Chrome, look at TamperMonkey.
Both allow you to inject custom javascript into any page whose url matches a pattern you choose. In effect, you could write some Javascript to submit a form (say) 30 seconds after page load.
This would have the benefit of working if a different tab is selected as well as not requiring a whole application.
The SendKeys.Send method will indiscriminately send the key stroke to the active application. There is no way to use this API to target a specific application.
You could change your app to try and verify the active application is the one you want to send keys too. This is destined to be a flaky process though. No matter how good your verification is it's always possible that the active app is switched to another app after your verification completes.
If VerifyActiveAppIsTarget() Then
SendKeys.Send("{Enter}") ' Active app could change before this runs
I would persue a different solution for sending data between my apps
I am implementing a simple webview application with only one url. I have over ridden back button function for webview navigation (which is working fine). Now my app has only one screen with webview and user visits the links inside main url and navigates using back button.
I want to know that, What is Microsoft Certification Policy as my application has only one screen so should it Close when user press back button anytime? Or Microsoft allows implementing of webview with over ridden back button functionality.
If question is still unclear Kindly tell me. I'll explain more but I need to know answer to this question.
Thanks.
You shoulld be fine, I have submitted applications which works like that myself which passed certification.
As long as the application quits when pressing the back button when there is no more "history" for the webbrowser control it shouldn't be a problem because the user still get the experience of moving "backward" in his use and can finally quit the app.
Regarding WebBrowser control and content of the app please consider this requirement:
"Your app and metadata must have distinct, substantial and legitimate content and purpose. Your app must provide functionality other than launching a webpage."
So, the application's sole functionality must not be only to launch a website.
This is not releated to back button but very important thing that need to be considered!
Best regard
I have started creating a custom button for Picasa to be able to upload some photos to a website. I followed the guidance found here. It works fine so far but now I have made a small change to the button and picasa will not refresh the button no matter what I try.
Adding a link like this:
Acme Inc. Uploader
to a page with access to your PBZ file will cause Picasa to open and instal the button. I made a small change and tried again. It updated once but now it refuses. I tried changing the name of the button, the version of the button, nothing works. Only the original button remains in Picasa. I even remove the button from picasa, reboot just in case its in memory somewhere, then tried again and still only original button remain.
The google group associated with the API does not appear to be very active. One other person asked about the same thing but there was no response. Searching the web found no other answers. I hope someone here has some experience with this.
I found a buttons folder in the picasa folder on the hard drive but my custom button was not in there. I have no idea why it keeps finding the old button.
I am using Picasa 3.1.0 on Windows XP if that makes any difference.
So the question: does anybody have experience building these custom buttons and/or encountered this situation before?
Thanks