You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Lukag
3 months agoCollaborator | Level 8
Error reading file async
I had a problem to download a file ( an Image ) and someone recommended to me to do asynchronously.
I changed my code so :
Async Function _take_file(ByVal _file As String) As Task
....
Dim ...
Здравко
Legendary | Level 20
Lukag wrote:...
Dim client As HttpClient = New HttpClient()
...
Dim myStreamReader As New StreamReader(_responseStream)...
Then, what's different and common in above code lines (aside of different types)?
Lukag
3 months agoCollaborator | Level 8
In first case a define the object and i create as a new httpclient
in the second i declare ad object as a new streamreader using data from response .
In the code of example i see i thought it works so 🙂
- Здравко3 months agoLegendary | Level 20
Your error message means that in your code you have used something not initialized at that time. That's it.
- Lukag3 months agoCollaborator | Level 8
Yes but i don't understand.
.
First of all, in you opinion is correct use streamreader ?
I don't want become crazy and after i have other problems 🙂
- Здравко3 months agoLegendary | Level 20
Lukag wrote:...
First of all, in you opinion is correct use streamreader ?
...
What you use is matter of design decision, so don't ask anybody else. The best way follows what you're doing. If you don't know what are you doing... no way to decide what's the best (or even to suppose).
Such questions are not Dropbox API related though. If you have something to learn about programing lang in use, read some tutorial or similar.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 10 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!