rproffitt 2,701 https://5calls.org Moderator

OK, so I'm not confused, you are working thread IDs and not process IDs. I think I'd be checking the thread APIs starting with:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms684847(v=vs.85).aspx#thread_functions

If you can, reveail what you are trying to do to that thread.

rproffitt 2,701 https://5calls.org Moderator

To me the question is clear and you have your documentation on MP3. Now you have libraries so what's missing here?

Even the H bit is documented. http://www.mp3-tech.org/programmer/frame_header.html
"Private bit. This one is only informative."

At this point I think all your questions have answers.

rproffitt 2,701 https://5calls.org Moderator

Mr.M All the libraries to work tags are out there. If you want to alter them, go right ahead. One of the things I notice in this forum is that folk don't write code for anyone. They give general direction and will drill down and help fix a few lines of errant code.

I see great advice above and maybe you are looking for someone to code something up for you. Maybe that's why you are getting such slow responses.

So how to edit fields, is a done deal. Use existing libraries. Want to change how they work, change the code.

rproffitt 2,701 https://5calls.org Moderator

Just what the world needs. Another audio standard. Good luck with your works.

rproffitt 2,701 https://5calls.org Moderator

That sounds like you are trying to write one of those very bad apps that ransom folk for unlocking their files.

Asking for such help with creating ransomware is going to bring out some very negative replies.

-> Let me be clear here. It sounds like you are working on ransomware. You can guess how I feel about that.

rproffitt 2,701 https://5calls.org Moderator

I think everyone asked what you are trying to do. You have a reason to write some information for this MP3 and have decided how to do that but, here's the question again.

Why are you wanting to do this to MP3 files?

For example you may be trying to mark them as played or stamp them as yours or other. Tell what the reasons are and maybe that's already been solved without corrupting someone's MP3 collection. Which would get folk very mad at you!

rproffitt 2,701 https://5calls.org Moderator

Do tell what the goals are. There are many fine libraries out there and some are .NET with source. http://professionaltag.sourceforge.net/

rproffitt 2,701 https://5calls.org Moderator

I can't find how many times you've posted this. All of them suffer from formatting issues with your post as the code is both in and outside of the code block.

Anyhow, I will have some time next weekend to try this out. Can you share how to set this up for a look see on a plain jane W10 machine?
Or is there an online "fiddle" that we can use?

rproffitt 2,701 https://5calls.org Moderator

I hold no such notion. While I fretted about this in the NiCad and NiMH days, today I won't lose any sleep over this. You will find folk fretting on and on and there's little you can do for them.

Plug in, enjoy the machine. If it offers the battery life extender, use it.

rproffitt 2,701 https://5calls.org Moderator

It looks like there are 3 duplicates on the same topic.

Maybe you need to narrow down the question?

I see some mention of the splash screen so I'd look deeper into that to see about adding a line of code to wait for a click input.

But posting the same question over and over is not accepted on all the forums I visit.

rproffitt 2,701 https://5calls.org Moderator

There are many priors on this and most if not all solutions involve more than a line of code. For my app that starts up many threads and even new instances of the app, I used a message file to get it done. This, for that app was not a problem. That is, I wasn't going to get fancy so a file with the answer was my answer.

OK, priors. Hans and Justin at http://stackoverflow.com/questions/2214002/how-to-get-return-value-when-begininvoke-invoke-is-called-in-c-sharp go over invoke, and how to return a value. As you see, it's more than a few lines of code.

Suzie999 commented: Thanks +8
rproffitt 2,701 https://5calls.org Moderator

And testing is all well and good but to me this reads as if you don't know your own network and gear.

Here's an example where the router with its firewall really sends those that didn't know off the deep end.
"See Page 43: http://www.downloads.netgear.com/files/GDC/DGN2200/DGN2200_UM_3Feb11.pdf

"Your modem router has a firewall that blocks unauthorized access to your wireless network and permits authorized inbound and outbound communications. Authorized communications are established according to inbound and outbound rules. The firewall has the following two default rules. You can create custom rules to further restrict the outbound communications or more widely open the inbound communications:
• Inbound. Block all access from outside except responses to requests from the LAN side.
• Outbound. Allow all access from the LAN side to the outside"

Notice how an inbound access from WiFi is blocked? You'll want to change that.
Page 44 (using the page counter in the PDF viewer) shows the default is BLOCK ALWAYS.

This means features like access to a DLNA, NAS or other server can fail."

You've configured your router to block this, that, ping and must understand what all this does.

-> That's on top of understanding which IP to use in the client for local (LAN) or from the internet.

rproffitt 2,701 https://5calls.org Moderator

"Ok on this router under the firewall Switch there was these options:"

I can't be your router/firewall support here. While it looks as if someone was locking down the network, you also will find that these lockdowns can interfere with access to your server.

Maybe you shouldn't be hosting this service?

rproffitt 2,701 https://5calls.org Moderator

If client and server are on the same LAN, then the client uses the server LAN IP. This works as you told me in your first post.

If your client is outside the LAN, then you use the external IP and port forward on the router.

FINALLY, if the server is on WiFi some routers do not send packets to the WiFi PC from the WAN. It's a feature of the router's FIREWALL. As a networker I don't expect seasoned networkers to know that one!

rproffitt 2,701 https://5calls.org Moderator

Without commenting on networking skills.... The server is not what I'd touch. The client needs to find this server so whatsmyip is run on the server. And you supply that IP to the client.

rproffitt 2,701 https://5calls.org Moderator

My son decided to not do ANY community service and is now paying the price. No prior experience.

As to up to date knowledge, the field is always in motion (nod to the green guy) so I'd rather see folk keep the basics in view. That is, one of the companies I work with lost a year battling bugs for very simple and what I call basic reasons. While we can debate if outsourcing is good or bad, the coders ignored all compiler warnings and under their leader's guidance turned it off because "it's a distraction." That is, it worked in test so it's OK.

If there were canaries in this coal mine, they would have caused the canary to go extinct.

I'd consider heading back to your schools job office for any work. Even as a TA or volunteer.

rproffitt 2,701 https://5calls.org Moderator

Nice enough PC. For this one you plug it in and the battery charges up and you use the laptop. All battery operations are fully automatic and can really upset folk that want to control it all. It's just another Lithium battery, not subject to the issues of NiCAD and NiMH.

rproffitt 2,701 https://5calls.org Moderator

If you want to get into it read http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries

There's a lot of myths out there, including that idea you gave about break in.

rproffitt 2,701 https://5calls.org Moderator

That's news to me. Here I get years out of laptop batteries and I never did any of what you wrote.

I don't see the full make and model so I can't check if it has the battery life extension feature. That feature to me was just what we needed for folk that worry about battery life span.

rproffitt 2,701 https://5calls.org Moderator

I'm going with no. LiON and such batteries do not need breakin or such schenagins. I guess if you want to wear out a battery like that, go right ahead.

Here, only use the battery when I have to and not because it has a battery. These are still 300 cycle devices (we can but won't hold a long discussion about what 300 means.)

So here, I set it to battery saver mode, which charges to 80% and then use my laptop. There are folk that remove the battery, refrigerate it and more to "save the battery." Here I get years out of a battery with my oldest laptop over 10 years old and the battery gets me over 50% of when it was new. Which is fantastic compared to folk that worked far harder than I did.

rproffitt 2,701 https://5calls.org Moderator

Mr.M.
Tipping my hand here. While I did write router code in the '90s that doesn't mean I'm the best at explaining it all. Hope you can muddle or muggle through this one.

rproffitt 2,701 https://5calls.org Moderator

192.168.8.100 is non-routable and not an internet IP address. The client would not use this as the server IP.

There are a few ISPs that do something strange and your "internet" IP can be 192 or 10 based (non routeable) but I guess this all new to you.

https://www.google.com/search?q=what+is+my+internet+ip+address&ie=utf-8&oe=utf-8 should show your internet IP address. This for most is what the SERVER IP address would be. After that, the router would be configured so your server gets the messages.

Mr.M commented: Clear enough. Great +5
rproffitt 2,701 https://5calls.org Moderator

Remember you didn't reveal your internet IP so I'll use something in the example.

Your server behind the router is at 192.168.8.xxx.
The router the server is wired to has it's port forward or DMZ setup to reach 192.168.8.xxx
To connect to the server your server IP is the internet IP the router obtained, which is not 192.168.8.xxx

rproffitt 2,701 https://5calls.org Moderator

That's a non routable address. So there's your problem. The server IP would be the one you get for the WAN interface.

Since you are on the internet, and your app works for the LAN, you have to put up your server just like you noted, expose it to the internet with either port forwards or the DMZ entry and on the client the server IP would be your internet IP. Not your local IP.

rproffitt 2,701 https://5calls.org Moderator

Since the server IP address and more is not told, I can't see if there's a basic mistake I've seen before. You don't have to tell the full address. Just the first 2 numbers like 192.168.x.x and then I'll know.

rproffitt 2,701 https://5calls.org Moderator

I don't know where to start. There's so much wrong with the given code such as "myServer IP Her" that I can't tell if your IP plan was even close to being right.

Hide the details at your own peril but as it stands my bet is your system is OK but setup is a PITR. You are making requirements that run of the mill gamers can't do. I'd start a discussion about P2P comms that don't rely on configurations of the router.

rproffitt 2,701 https://5calls.org Moderator

https://www.virustotal.com/en/file/7bbc9eadfa71d0610586403a0ef25bea06693447d9ebcb1e088867a0ead58a64/analysis/1470753671/

That's an .exe and not source so I ran it through VirusTotal. There's no way anyone here will run your possibly infected .exe.

Here, I see the members work with source code. And while I may know a thing or two about network programming, this exe is not going to be useful.

rproffitt 2,701 https://5calls.org Moderator

By all means stick with web programming and management. The articles about jobs in that area say it's one of the places to be. What I see is not many places need the from the bare iron to web serving but programming and fixing things that clients broke.

rproffitt 2,701 https://5calls.org Moderator

That's why I took a side trip to that link to double check if the LAMP stacks included Python. It looks like they can.

So it's entirely your choice of what to run on the backend, http://1stwebdesigner.com/php-vs-ruby-vs-python/ is inline with my thoughts it's well accepted language but not as much as PHP. Why not stick with PHP for now?

rproffitt 2,701 https://5calls.org Moderator

Color me a little confused. All the stacks I know called LAMP have Python. There are five (well there are more than that) at https://en.wikipedia.org/wiki/List_of_Apache%E2%80%93MySQL%E2%80%93PHP_packages so if you have a LAMP, doesn't it have Python?

rproffitt 2,701 https://5calls.org Moderator

This is not the answer but to share how I debug such a thing. I hook up my device and run it over the Android studio USB debugger and break at that line of code to examine variables to see what's up. If I can't do that I've been sending up "toasts" with messages so I can see what's going on inside.

rproffitt 2,701 https://5calls.org Moderator

You may have to ask a question. I missed where you asked a question in all this. In fact the question mark only appears in your code.

That's one fine dump you have here but what is the question? Few will dive into 100+ lines of code to find where there's an error.
Try again but tell what's causing you to ask for help and narrow it down to a line of code or at most a function.

rproffitt 2,701 https://5calls.org Moderator

A few things. Very few folk write code or your site for you so with that out of the way, you may have reveal more about your web hosting. What database is available as well. To be sure you will learn to code as time passes but if this is to be written by others post this in the for hire or hiring area along with the renumeration for the job.

If I were to tackle this I'd put the details into a database then the PHP would be to query the database to create the view based on today's date.

-> One big deal is that today() could be variable depending on the user's timezone so going in you have to get the user's timezone so you can factor that into your query.

rproffitt 2,701 https://5calls.org Moderator

I'm going with you should not do this. Why? Because your app could be on any Windows version from XP to 10 and the commands vary from OS to OS and machine to machine. That said if I was to tackle this I would shell out to the host OS's command line disk partition tool.

As you know your OS target, then find it's diskpart command line and shell to that to do the deed.

Since shelling out is widely discussed I'll leave that to you.

rproffitt 2,701 https://5calls.org Moderator

Tell more. What app was this report made in?

rproffitt 2,701 https://5calls.org Moderator

This is a long shot but I wonder if the Personal.xlsb is in play. See the idea on that at:
http://superuser.com/questions/122926/how-do-i-get-excel-to-close-completely-after-creating-a-macro-in-a-personal-work

rproffitt 2,701 https://5calls.org Moderator

In fact, just a few weeks ago 2.x.x got a security update. You'll want to have that if you stick with 2.x.x. But a quick read of the differences don't seem so bad. Most of what folk do, from what I've seen won't matter.

Here's my view or method. When I start a new project I step forward my dev tools at that time. Then I stick with that unless there's a burning reason to change (or there's $$,$$$+ at stake.)

rproffitt 2,701 https://5calls.org Moderator

Wasn't Python 2.0 released in 2000? 3.0 in 2008? That's sufficient time IMO to ignore older versions and unless you are paid to do something on 2.x, I'd go with 3.

Since it's a interpreter and a quick look seems to find what differs I'd move again to 3.5.x (latest.)

rproffitt 2,701 https://5calls.org Moderator

For line 11, did you try
s.listen(10)

rproffitt 2,701 https://5calls.org Moderator

I meant to write "learn them all" which is like "catch them all" as the Pokemon Go craze is in full swing here.

As to the two weeks, I kid you not. And yes I've been in many engineering positions and the only old new thing is that some think apps will only take two weeks given all the advancements over the years. The consultant label is tossed at me when they want to well, I would be guessing it has to do with health insurance and the ability to tell me goodbye at any time.

That goodbye is something you have to be at ease with. There have been so many projects over the years.

AssertNull commented: +Rep for Pokemon Go +5
rproffitt 2,701 https://5calls.org Moderator

At least you rolled with my typos too. Thanks for that. At least it's not like one job I had where they insisted to redefining int, Int, true, false and so on. But I did not complain as a few week job took months.

Why they do that? (bad grammar intentional) "Productivity."

rproffitt 2,701 https://5calls.org Moderator

My view over the years is that there were and are some thousands that made this mess. There have been efforts to clean it all up but since it's a commercial enterprise there is a limit to what they'll do.

OK, so there is no master plan here so it would be a never ending slog to find all the data types used by all C++ and Windows API today.

This is why I never tried to learn me all (Pokemon?) but only dive back into the areas I need to understand and little more.

There are academia types that will disagree so I'll tell why I took this approach. "I want this app in 2 weeks." (Obvious Money Pitt reference?)

rproffitt 2,701 https://5calls.org Moderator

That's a vague question. But the file was sent as it was uploaded so all that's there is there. That is, the old meta data in files have been a curse to some. Example:

Your electronic files may include "metadata"—previous drafts, revisions, and even comments meant for exclusively internal use. The metadata associated with your documents may contain confidential or privileged information. It may also include information damaging to your position in the matter at hand.

In addition to basic information such as your name, initials, firm name, names of previous authors, and where the file was saved, the metadata may include "redline" revisions in the document, hidden text, and comments. This article tells you how you can protect yourself from metadata issues in Microsoft Word and WordPerfect.
http://www.americanbar.org/newsletter/publications/gp_solo_magazine_home/gp_solo_magazine_index/june01_07.html

rproffitt 2,701 https://5calls.org Moderator

Try this instead.
echo " AS ", $index - 10 . " - " . $index . " SA ";

rproffitt 2,701 https://5calls.org Moderator

I see this kicked around a lot such as this prior.

To see which is the most efficient you would have to benchmark and I didn't repeat what was covered in the prior discussions. However I always ask if select * is needed. Did you really need all that?

rproffitt 2,701 https://5calls.org Moderator

Why am I thinking "double secret probation"? I really should have asked about deleted posts but Dani just revealed it.

rproffitt 2,701 https://5calls.org Moderator

Are you seeing the new 0/1 count at https://www.daniweb.com/members/1130851/assertnull/posts/6 ?
http://i.imgur.com/MquR55d.png

I went through 9 pages and didn't find a single downvote. "How you do that?"

AssertNull commented: For your diligence +0
rproffitt 2,701 https://5calls.org Moderator

OK, I'm going to assume you did some research on this so let's look at what Java does to convert the object to primitive boolean.

I'm reading http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/lang/Boolean.java

So there it is, it could be a string or a boolean in that object. Try your debugger to look at your variable returned.

rproffitt 2,701 https://5calls.org Moderator

So you have the string name of the object but want to use that to find the object?

There are many priors to that. Example: http://www.vbforums.com/showthread.php?688283-RESOLVED-Changing-a-single-property-of-multiple-objects-having-simillar-name

rproffitt 2,701 https://5calls.org Moderator

I changed from VB6 to later in just a few days. It's not very different here.

That's a lot to plow through to "change the caption of the button." Is the issue the button.caption = "something" or you are still learning about events, etc?

PS. Yes I see your line of code "not working" but very few have VB6 running today so be more specific. Is it VB6 yelping at syntax or something else?