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

Well, a multiline text box could do that. And your PHP parses the text to what final use you have in mind. There doesn't seem to be much going on here except you may have forgotten about text box options when you crafted your web page.

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

As to the collection of your NAME, AGE and such, that's basic PHP so moving on.
https://www.google.com/#q=php+write+to+word+document shows it needs some addon or lib.

If I was doing this I'd split the problem into two pieces. The registration which you write you are creating (but didn't share what's wrong with it so far.

The second problem that I'd split off is the Word doc generation. My solution in the past was to forget Word docs and make a HTML or PDF but I had my reasons.

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

I can't be more specific as I don't know your target system. The last MIPS we used was the one from Microchip. Microchip has a basic C compiler and with their programmer and debugging tools you usually can single step your code till you find what's up.

Embedded systems like this are indeed cool. I've done so many over the years but as I don't know yours (and may never know it) you find yourself self supporting a lot. I know I felt that way most of the time.

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

@rch1231. Why do you say that? At the Apple link I gave it wrote "If you want to securely erase the drive, click Security Options. Select an erase method, then click OK"

Did Apple lie?

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

I don't write as much assembler today. Background? I wrote my own assembler back in the 80's and 90's but today I use the assembler code to get to C and then I'm in a higher level language. I know there are C compilers for MIPS and you may get much more help on C than assembler.

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

@OP, this looks like a pretty well discussed question. I see the priors at https://www.google.com/search?q=How+do+I+join+lists+of+strings+from+2+listboxes&ie=utf-8&oe=utf-8

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

Here's what I found on the web
https://www.google.com/search?q=Write+a+program+that+allows+two+players+to+play+a+game+of+tic+tac+toe.+Use+a+two-dimensional+char+array+with+three+rows+and+three+columns+as+the+game+&ie=utf-8&oe=utf-8

Why not use prior answers since they are out there. Unless this is homework and then you should do this on your own.

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

Why not use Apple's instructions to erase and install?
https://support.apple.com/en-au/HT204904

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

Since this is vb.net the visual studio lets you single step it to find out what line is failing. Dumping code is rarely helpful.

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

@havoc. That repairtoolbox.com is a known spam item. To safeguard your reputation you should never post that .com or its links.
https://gist.github.com/kevin-brown/3f22cd3cda906a60012a

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

What is the question here? You may want to try to add what this is about.

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

That looks like good old ZIP. Did you try bog standard C# zippers and unzippers?
Read from https://www.google.com/#q=unzip+in+c%23

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

Blast from the past here. I remember this from old CAD days. We would use such systems to make the graphics portable and then the complaints about the "bloat." Well, if fluff and white space isn't enough how would an minimizer do to make it smaller?

Good question but if the SVG doesn't have much to lose or rather is already pretty efficient, then you may be done.

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

I see they wrote the code to implement my suggestion of "This can be as simple as putting in line terminators so you can parse the lines on the receiving app"

So far I've yet to find Android to use other than an installable program. Where did you find a way to avoid the APK or Android installer?

PS. The solution there has an issue. What if your data strings have a comma in them?

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

Which is why you implement a protocol. This can be as simple as putting in line terminators so you can parse the lines on the receiving app to implementing a complete "Hey send me the next line", "here's the next line" etc.

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

Using such old tools can catch folk unaware of issues in those systems. For example an old VB6 app uncovered WinSock issues that were fixed in version 6 (not kidding) of the patches for VB6.

There's another issue in your design. It looks like you fling the lines over without handshake or a protocol. This is trouble in the making as well.

-> Since Visual Studio has current versions for free in the Express line, you may be seeing a code or bug issue. Only you would know that as very few today would have VB5 to try it out on.

In parting, move forward to a current system, check for patches and implement a protocol.

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

First thought, after line 10 in top code paste, send a CR and maybe a LF.

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

Why do that? https://www.google.com/#q=fsm+simulator finds ready to use FSM simulators.

If you wanted to write your own, you design it, then code it, debug it and more. You have part of your design here but stopped short of writing an app.

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

Well that's clearer but as you discover, some may stick around. Now that more is known you still have, as a company an IT lead and your team to manage such a mess.

Sorry if I was unclear. Some of the policies are registry changes so you have to research each one and undo later. Some as the one I noted cease since it's something that only work when there is a PDC.

So change it to a workstation and deal with the mess as it is. Frankly the cost of the hours by your staff or IT is usually high enough that you just wipe and load your new standard load.

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

@OP, the IMHO reply tells us a lot more. Policies are done for reasons. With your IMHO reply I get an entirely different picture of your questions. At the onset I had thought you were the IT lead or part of the IT staff needing to find out what happens. Now it's sounding like someone that unplugged a workstation from a network and suffering the fallout.

Then you state no backup. That's very strange because in company after company they eventually learn that no backup is not tolerated if it's mission critical. Time to get back in those IT discussions and work to move this company back on track before they burn to the ground.

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

Doesn't line 12 look funny to you? Also, https://www.google.com/search?q=dont-use-select-star-in-production is worth repeating. I know, I know they teach you SELECT *

But you can do better.

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

A parting note. Just the links for easy reference.
https://wiki.videolan.org/C_Sharp/ and https://www.google.com/#q=use+vlc+player+in+c%23

Since that's been done for many years, should be fine.

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

Again, we know that some policies are lost when there is no PDC so next up is your add on question about making a bad situation worse. It's just a PC so as you are the IT (yes or no?) you would be ready to wipe and start over with your new plan. There are tomes on the web about converting it to a Workgroup so I don't repeat that here. Your opening question looks answered.

What is this bad situation? It's unclear so far.

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

I'm going with no. Example? "On the Password restrictions, it is enforced by the domain controller." so when you don't have the PDC, that restriction is lost. I'm sure there are more examples so you'll have to research each policy item to see if it sticks or not.

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

I wish you could reveal what it is we want to close. I tried your script with a fiddle (online edit and test) but it went nowhere. Since we can't close a window, then it must be something else that is popping up. Once we know what that is, then we can go over its controls.

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

Looks like a way but. Isn't there always a but? The code seems to need the password in the code. This means that it's a support problem in the making so with that out in the open, go ahead and solve it but ponder security implecations and more.

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

Frankly, if I was going to write Win32 Apps I'd head straight to Visual Studio. Since there are free versions for C++ and C# there's not much reason to deal with getting other dev systems to work. Yes, there are some that abhor all things Microsoft but here you are trying to make Windows apps so use the tools I see folk use.

About learning the Win32 API. That's a lifetime topic. My view has been to only use the Win32 API when nothing else will do.

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

Martin, you can view source to see how a web site does something. I looked at that link and did not get a pop up window or such. So my advice is to read the source of that site to see what they did.

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

That's no window. Maybe a prompt?
Read http://www.w3schools.com/jsref/met_win_prompt.asp

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

In the top question I took it that you wanted to play it in a browser streamed from a web site. So I used the links you gave later to see what happens on a clean as I can make it Windows 10 laptop (which is my guinea pig machine here.) I see I made a mistake in item 4 after I cleaned off all Apple software (quicktime and iTunes) so the second test should have read 3GP asks what to do with the file.

Now let's say you have a C# app and you want to play a video that is online. Keeping in mind we don't have any say in the machine state, the web browser tests still tell us a lot here.

In VS2008 and later there is a WebBrowser object that I've used and can control in C#. This inherits all the playback issues I alluded to from the start but did play the file from the web if it's supported in the web browser.

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

My thought is to clone the bad drive and test with a clone copy to see if it can be fixed.

However to your question. https://www.google.com/#q=linux+inode+editor+break+inode+with+lde+breaking+the+connection+between+the+inode+and+the+data+on+disk. has to be my answer. You would become the expert on LDE.

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

OK, bog standard Windows 10. Firefox and VLC Player not installed. Will check if Flash was installed.
1. MP4 played.
2. FLV asked what to do with it.
3. MKV asks what to do.
4. 3GP asks to activate QuickTime.
5. Tutorial played.

OK, let's make sure iTunes and Flash is gone and retest.

OK, no more shockwave, Air or Apple software. Reboot and

  1. MP4 played.
  2. FLV asked what to do with it.
  3. MKV asks what to do.
  4. 3GP asks to activate QuickTime.
  5. Tutorial played.

So remembering that MP4 is a container you only need to test the results on a clean or your target machines.

Hope that helped.

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

@999, toss up a web page for folk to test. As I can remove and reinstall VLC in a minute to test as well as boot into my backup OS (Tails) then it's not too hard to see if it will fly.

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

I think you're getting it. i gets whatever is in the set of things you after the "in" keyword. It can be numbers, a list of things, and so on. No i++ here.

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

Martin, wasn't that disallowed years ago?
Example: https://www.google.com/search?q=javascript+cannot+close+windows+willy-nilly

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

I agree. Never bork with systems like that. And then, where's the backup copy if you borked it too hard?

Beginner: No backups.
Not beginner: Backup.
Pro: Backups.
Seasoned Pro: So many backups.
Burnt out Pro: No backups.

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

There's an odd thing at Microsoft about Windows 7 and newer CPUs. https://www.google.com/#q=windows+7+no+support+on+cpu finds these articles. Very bizarre BUT I can see why.

It costs a lot of time and money to create drivers and apps for each Windows so makers are already dropping XP and even Windows 7 on the drivers for new Windows PCs. You will find a lot of talk about this and the same talk some piping hot was heard back when XP rolled out and no drivers for 95/98.

Here, 10's working quite well. At the office and home we have quite a few of new and upgrades to 10 so for me, I don't see what the fuss is about.

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

While I did help way back when with a SQL Server 2008, your post is unreadable. But it appears your backup and restore procedures are broken as well. These backup and restore procedures are written down, tested and put alongside your disaster recovery plan for the day things go terribly wrong.

To me it sounds like your plan writer needs to be called in to see if they missed something.

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

The thing is that Audible, as far as I know protects that encoding. Just like we read at http://stackoverflow.com/questions/253898/how-do-i-create-a-kindle-and-ipod-compatible-audiobook-file-with-section-markers

Now if you could reveal if you have some ipod or such, maybe we can find a way to play it with little or no conversion.

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

I think you need to step back a second and think that this is not C++. for loops in python are different. They move through what's after the key word "in". So to see what it will iterate through, list that range(10).

Try this one liner in python

list(range(10))

Now try that with range(1,11)

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

The idea of not initializing because it works is alarming to me. One of my last trips overseas found many of the bugs tracked down to this issue. The reply was "it worked" is not a good one. Their staff tests with a handful of devices and the issues we were seeing were from the field of 40,000 devices. Light reading of this at http://blog.codinghorror.com/for-best-results-dont-initialize-variables/

The cost of that trip was in the 6 figures which was fine because if they had written it right I would have not had more experiences on the subject. That is, we've been here before.

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

As I read https://www.google.com/#q=php+email+reader+from+microsoft+exchange+server the answer looks to be yes. But. Isn't there always a but? It appears you would also be in control of your Exchange Server to tweak that end as well.

In fact, the top 10 finds include some ticket systems.

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

Remember it's been decades since I wrote Ada. I might be able to spot an error or why but off to tutorials and books for you?

http://www.tutorialspoint.com/compile_ada_online.php seems nice.

rubberman commented: Been about a decade for me... :-) +13
rproffitt 2,701 https://5calls.org Moderator

That's a blast from the past. While I did have a reason to know Ada that was over 2 decades ago. Unless your job depends on it, I'd supply a little more about what you want to write, if it has a GUI or is it Web based and more.

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

@Carsten. Why not forget coding from scratch since you want to be known for your Crafting site and not as a web site with problems that you deal with rather than your Crafting passion?

Take a read of https://meta.discourse.org/t/what-is-wrong-with-phpbb/3763/3 and you see the usual Discource, PHPBB and others kicked around. I remember a discussion here on DaniWeb about why this or that was used, not used, why custom and more. But the author has a long background in software, system design and more.

So taking your requirement for memberships, I used this google. https://www.google.com/#q=discourse+paid+subscriptions which turns up what integrates with what.

My suggestion is to not code your own forum. Use the ready to use stuff so you can focus on your clients rather than your backend.

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

Why is line 12 there? It appears to have no effect.

Also, where is the radiobutton2 code.

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

In my case the only errors I found were the ones I made. It was one of the best porting experiences I ever had. But this was my original code and design so I had in my head not only how it worked but ideas about how I could have done it better.

Moving to C# opened the door to much better tools than the original VB6 code as well as removed some old limitations.

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

I completed one like that years ago. Since I wrote the first app the conversion took only a few months. It turned out so well that it never needed a new version due to bugs. Features? Yes those came later.