[RESOLVED] Anyone can provide me with a project of a small weather app?
All I want to do is:
Find the current location of the PC that the app is running on
Get the weather for this location from Yahoo (information such as current temp, low, high, and the name of the city or town)
And display it (I can create the pictures by myself)
I know that perhaps I'm asking too much, but I searched a lot and I need to study json parser or xml parser and analize the data and a lot of other complex stuff such as http requests. I am an average developer, but I've never gotten into the network and internet communication part of VB6.
Anyone has a source code or any idea of how can I start?
Thank you so much
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
Yes it was but I just can't figure out what's wrong with the code. I've seen the app in action and it's really cool (I'm not the creator) and it's a pity that no one could help me
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
Yes. It is a great start. Now I need to know how to geolocate. And how to convert the geolocation in WOEID (because I am using the Yahoo Weather API). Any suggestions?
Re: Anyone can provide me with a project of a small weather app?
You do know that Windows 7 comes with a weather widget that you can display right on your desktop right? Not sure how much use there would be for another weather app. IMO not worth the time to create.
Re: Anyone can provide me with a project of a small weather app?
Originally Posted by DataMiser
You do know that Windows 7 comes with a weather widget that you can display right on your desktop right? Not sure how much use there would be for another weather app. IMO not worth the time to create.
I am not trying to recreate the Windows 7 weather widget. And when I say app, I mean application, a software, which is what you do in VB6. What I am trying to do is part of a bigger project and your post was completely unhelpful.
Re: Anyone can provide me with a project of a small weather app?
Well excuse me if I took
Anyone can provide me with a project of a small weather app?
To mean that you were trying to write a small weather app. Duh...
Yes I know what app means and I know what VB6 is intended for, I have been using it professionally for many years now.
If you are wanting to add Yahoo weather functionality to your program then you may consider asking at Yahoo since that interface has little to do with VB though you may get lucky and find someone here that has used it. I personally avoid all things Yahoo. I would use a interface to the weather service instead if I were to do something like this but again I do not see much need for it in a program since it is already available in the OS.
Re: Anyone can provide me with a project of a small weather app?
Originally Posted by DataMiser
Well excuse me if I took To mean that you were trying to write a small weather app. Duh...
Yes I know what app means and I know what VB6 is intended for, I have been using it professionally for many years now.
If you are wanting to add Yahoo weather functionality to your program then you may consider asking at Yahoo since that interface has little to do with VB though you may get lucky and find someone here that has used it. I personally avoid all things Yahoo. I would use a interface to the weather service instead if I were to do something like this but again I do not see much need for it in a program since it is already available in the OS.
I think you misunderstood the whole thread. I have seen a couple of projects which use the Yahoo Weather API (which sends an XML) and parse that data, and get out of it information such as current temp, low, high,name of city, etc.. What I want to do is to find the current location of the user using their IP or sth else, and parse the data from that XML. I am not trying to create a standalone app or a widget. Showing the weather is just a part of my project.
So unless you can help me with geolocating and data parsing then please don't tell me whether you see the need or not for sth that I'm not even trying to do -.-
Re: Anyone can provide me with a project of a small weather app?
Originally Posted by kevinKZzaka
I am not trying to recreate the Windows 7 weather widget. And when I say app, I mean application, a software, which is what you do in VB6. What I am trying to do is part of a bigger project and your post was completely unhelpful.
You could have left that last phrase completely out and I'm sure your message would have gotton across.
Last edited by jmsrickland; Aug 9th, 2013 at 12:53 PM.
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
Re: Anyone can provide me with a project of a small weather app?
How about....
"...What I am trying to do is part of a bigger project and although your post wasn't what I was looking for, thank you anyway"
Your way was rude and that just might make people around here a little less likely to help you.
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
Re: Anyone can provide me with a project of a small weather app?
Originally Posted by jmsrickland
How about....
"...What I am trying to do is part of a bigger project and although your post wasn't what I was looking for, thank you anyway"
Your way was rude and that just might make people around here a little less likely to help you.
I know that it was a bit rude and if you see all my posts I always thank everyone for their help but I just don't get WHY someone would tell me that what I am trying to do is stupid because there is already Microsoft who has made sth like that, and that he is not even trying to help me. How can I be polite with someone who wasn't with me, somehow? Why are you even discussing this? I don't think he needs a protector,does he?
Re: Anyone can provide me with a project of a small weather app?
Actually, you are asking members here to "provide" you such app, if I will discern it, it just means you want somebody from here to do the work for you is it not? It is related to your other thread where you were asking that the code be fixed by some member and share it in the codebank.
What is right is that you should make an effort to do it for yourself, and when you encounter problems you may ask them here in the forums. =)
Regards,
™
As a gesture of gratitude please consider rating helpful posts. c",)
Re: Anyone can provide me with a project of a small weather app?
Since you wanted Yahoo here try this.
I just made this for you, its way from complete but you have everything you need in there to keep going.
It will show you your current location and the current weather of the city you enter in the textbox.
If you need more try to find it yourself (try at least) or post back asking directions on how to do it.
Also look in your debug window that's where you'll get all the info you need, like Low Temp, High Temp...
Re: Anyone can provide me with a project of a small weather app?
Originally Posted by Max187Boucher
Since you wanted Yahoo here try this.
I just made this for you, its way from complete but you have everything you need in there to keep going.
It will show you your current location and the current weather of the city you enter in the textbox.
If you need more try to find it yourself (try at least) or post back asking directions on how to do it.
Also look in your debug window that's where you'll get all the info you need, like Low Temp, High Temp...
Let me know if it works for you, it works for me.
Thank you so much. The method you used is quite interesting, but it is a bit slow, that's why I want to use the yahoo API. I am definitely going to use your method to get the location, but if you could help me with this other thread I would really appreciate it. Again, thank you so much for your effort.