15,900,461 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by fanoftheplanet (Top 14 by date)
fanoftheplanet
15-Jun-20 9:56am
View
Well, kinda... I need a realtime interface. It is a music player I am controlling. The web gui should show elapsed/remain and vu. And it will have stop, play,pauze... buttons on it.
fanoftheplanet
12-May-16 4:37am
View
Thanks Sergey for this extensive answer!
I will spend this weekend to give it a try. Because of various reasons I will stick with my ListBox though. Currently I am overriding the .drawitem event and simply paiting the image using Graphics.DrawImage. This works for me. But the principle is the same if I am correct.
fanoftheplanet
11-May-16 14:26pm
View
Have you ever used spotify? If you lookup a song it shows a list of possible matches along with the cover art. That's exactly what I want to accomplish. People look up songs in an online MySQL database and get a list of possible matches with their respective coverart.
Now, the problem is that I want to use a ListBox for this, and that while downloading the coverart, the listbox can't complete it's drawing, and thus freezes the UI.
So I am looing for a way to fill a ListBox async.
fanoftheplanet
11-May-16 8:19am
View
Thanks Sergey,
I rephrased my question.
fanoftheplanet
22-Feb-15 16:54pm
View
Thanks Andreas, it's indeed a huge file to be loaded into memory. But I need the additional data for other searches (single tracks a user searches by artist, album, year, genre...)
I was thinking about cutting the size down by grouping objects:
artist-----album----track
........|.........|-track
........|................
........|---album----track
.................. |-track
This would significantly cut down the memorysize and searchtime I guess, but to be honest I have no clue of what collection-type would be appropriate for this kind of structure and would be searchable this way.
fanoftheplanet
22-Feb-15 16:38pm
View
...finds only exact matches.
fanoftheplanet
22-Feb-15 16:05pm
View
That would be an idea. The problem with this, is that the program should work offline as well (when there is no access to the database). What I do atm is compare that downloaded list to files that are locally available.
fanoftheplanet
22-Feb-15 16:01pm
View
A list is indexed, isn't it?
What would be the proper way to do this then?
fanoftheplanet
30-Nov-14 8:32am
View
I'm sorry but I can't get the translation right (from c++ to vb). So it's still not working as I want it to.
fanoftheplanet
19-Nov-14 5:33am
View
No not yet. I don't get it yet.
Must be me being stupid but I cannot get this translated/working in VB :-(
fanoftheplanet
18-Nov-14 16:02pm
View
Imagine a link like:
<img src="c:\img23.jpg">
When I click on img23.jpg, the navigating event e.uri gives me "c:\album3.txt", but what I also need is the path to "c:\img23.jpg".
That's basically it.
Regarding the WPF carousels: Would it be possible to load a carousel from external code (so not being part of my app), or would the carousel be hardcoded? I will definately take a closer look at this option.
fanoftheplanet
18-Nov-14 15:33pm
View
I tried the approach of attaching an event handler, but I came only across c++ code that I was only partly able to convert (just like the references you sent). So I asked in a different thread, and we came up with this solution. But it is only useful for the "clicked link" part. It does not give me the link to the image itself.
I agree the wpf browser is a real pain with many flaws, and I agree that I could better use plain wpf instead. But the problem is, the html page I am loading contains a fancy javascript image carrousel, that I can manage externaly (change, add, replace, etc...). If I would hardcode a carrousel into my application, there would be no easy way of changing the layout and behaviour. Now I only need to update my HTML page to instantly change the look and behaviour with all my clients.
fanoftheplanet
18-Nov-14 13:28pm
View
Maybe you can help with one more thing: I do not only need the clicked link, but also the path of the clicked element.
E.g. I have an image with a link. When I click on the image I need to know the uri of the clicked image as well. Is this possible?
(Sender gives the the webbrowser handle, not the clicked element).
fanoftheplanet
18-Nov-14 10:15am
View
Navigating is called whenever the WebBrowser starts navigating (hence the name). This happens not only when a link is clicked but also e.g. when initialising the WebBrowser control. So it's not exactly the same.
However, in my case, using the navigating event as you said, in my case does the job, because I just look at the URL and filter out the links I need. Thanks!
Show More