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

It's a research exercise, i've gotten 1 as "course material"... please any oda 1?.

I took a moment to read all your posts and still read the same question. You want to know the right answer to an online CBT (course) and maybe just maybe you are slyly asking how to cheat the test. That is, maybe you think by examining the asp.net, HTML, javascript code you can get the right answer.

Frankly that's just a bad idea as when you get a job, that won't help you as you never learned the subject matter.

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

@John_155.

Then the right answer to the test is the answer the teacher programmed into the test. No one but the teacher will have the right answer to the test but you can use the course material to learn about the subject and give you the best chance of picking the right answer.

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

Ahh, now I see it. That old system required a lot of runtimes besides what VB6's packager would kit up for you.

I lost count of the broken bodies and minds when the author discovered they needed to install MS Access and a VB6 runtime to get their "simple app" to run.

The cost of their app was a big more than they expected.

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

@John_155. That's still rather vague. I wonder if your question was how to determine the right answer to an online multi choice based test.

The answer would be in the classes and books used to teach the class and in the code behind the tests. I hope you are not asking how to reveal the answers to a test.

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

Lash out all you want. Unless there are more clues, or better yet a link to the product, it's anyones guess what you have there.

The fact it works through the USB without a power plug has me guessing this is a slim USB powered drive. Don't make us guess. The make is not found with search engines so the clues you give enhance the chances of a good answer.

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

Would need more to go on. Google had zero hits on that name so let's here what's inside that case. Beware that I can get a new USB DVDRW at Wally's World for 25ish clams. So you may find it cheaper to donate this or use it in some desktop?

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

J, welcome to the forum. What you posted a rather wide open topic, your post is missing a key element. It's the question. You didn't ask a question so if I read between the lines it sounds like you are asking for help using search engines.

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

This is a tough one. That web server database should have some API and other examples. As it stands your post is too vague but before I'd code line one, I'd want the web server's API in hand.

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

Before I read a site's code or check caniuse.com I always run the site through a checker.

https://validator.w3.org/nu/?doc=http%3A%2F%2Fvipropinvest.com%2F finds some errors you should fix first.

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

Keep going. You have the basic outline of your app which is a start.

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

Folks are reporting that. I'd call it a bug. Since Word is closed source, only Microsoft can fix it.

Read https://answers.microsoft.com/en-us/office/forum/office_2010-word/track-changes-turns-on-automatically/abbed5b0-9317-46a3-96dd-d7a07baa20d5 and other posts there.

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

The clue as to what it is, is not in your post. I will write I've traced this to drivers most of the time with overreaching security suites next in line. I have yet to trace it to W10 itself. Unless that setting I noted is on.

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

I was researching that t-while error and it does appear to happen when the statement is incorrect in some way.
Now it doesn't pop out at me why the while statement is failing so it's back to you to debug the failing line.
https://www.google.com/search?q=debug+php finds how to debug. Now in your system you set a breakpoint then examine the contents of the while tests and see where it went off the rails.

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

Here's where you lose me. "I want to create a symbolic link using Robocopy"

Either you want to sync or you want to create a symbolic link. Mixing terminology is where I have to write it's time to get that clear first.

If you want to sync and rename folders along the way, you'll have to add more lines to your script to do this. That is, if you have 4 folders to sync, 4 lines in your script.

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

"as normally a symbolic link would work ? "
Sorry no, I have never seen a symbolic link do what you asked so far.

As to robocopy not picking up all folders I think more inspection of permissions on the source folder is needed as well as checking your robocopy syntax. I think you are close to getting it to sync.

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

Let me share I don't fret about this unless it goes on for about a month. Also, any competing security app could interfere with Defender so for now my advice is not fret and wait it out.

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

@Siberian, if I remember your prior conversations you want to sync folders and now want to exclude a subfolder from the sync.

Symbolic links have little to nothing to do with what you want to achieve and can send us into the void.

So if I forget symbolic links altogether and restate the goal as:
"Sync two folders EXCEPT for a specific subfolder" then you might find a way.

https://www.google.com/search?q=robocopy+all+but+one+folder finds it does have a /XD (exclude directory) and that may be it.

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

" exclude a sub-folder from the source from being included in the symbolic link ? "

That's going to be very tricky. You would have to tweak ownership and permissions just so (sorry no, I bow out on that) and disallow the user access to that subfolder.

This is so tricky that I'm going to write it's just too much to setup and maintain unless you are fluent with both NTFS and your server's permissions.

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

@Ram, while I have written too many apps that use the serial port in C (PalmOS), C# (VS2008), VB6 and maybe others the errror doesn't jump out to me.

I do worry why you used CheckForIllegalCrossThreadCalls though. That is discussed in prior discussions as something to not use.

Share more and why you used CheckForIllegalCrossThreadCalls.

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

I think you need to trace through your code to see why it does what it does. If you had a question about one or two lines in particular to look at I would look but 100?

So, in your IDE set break points and if no IDE, use print statement to reveal what's inside at that point.

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

I think you are late to the party. Example:
https://www.google.com/search?q=removing+virtual+reality+demo+units+at+best+buy

Those that wanted in, are in and now you see these demo stations being removed.

This really upsets those that wanted the party to keep going.

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

@rubberman, I hear you. While I don't own a lot of Blu-Ray discs it was great to finally find a player that I could install for free.

Physical media here is pretty much on its way out much to the alarm of some folk.

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

As this is your code, correct the errors one by one. It is really that simple.

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

I hear you. My software and apps over the years have had so many licenses that I would not be able to tell you there is a right answer here.

Go with your choice of the above and add some protection to yourself with some passage/text like.

Not for use on life critical systems.

Read https://en.wikipedia.org/wiki/Life-critical_system what that is.

I'd also stick in the usual boiler plate about "supplied as-is without warranty."
There are a lot of litigious folk out there so the license is not only abut the use, but protecting your assets.

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

@newbi11. I re-read your top post and I see no mention of alignment. Therefore you are adding on issues that are not in your topic and top post. That's a new issue and should be on its own.

Alignment issues on web pages are rather well done. So you have that going for you.

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

If I want to discuss cell phones, I head to howard's forums.

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

To me it looks solved. The topic you raised looks done. Now if you have a new issue, that's a new issue and you start a new thread.

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

@francis_6, you posted without asking a question. You did tag it c++ which some could infer there is code to be had.

Take a moment to clarify your questions and show where you are stuck.

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

@Assertnull, all good stuff there. I think the OP wanted to know how to auto-signature like you can in email but they didn't ask for that directly.

Just a few days ago I was strictly on mobile and read/replied from there. Extra scrolling from someone that signed every post would have meant extra scrolling and I would not have liked that.

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

I've been asked many times how to play Video DVD and Blu-Ray (BR) on Windows for years.

Until now I've always lamented the lack of free BR player software. But last week the CNET Cheapskate published a freebie player. I'll try it in a few days.
Link -> https://www.cnet.com/how-to/how-to-watch-dvds-for-free-in-windows-10/

Most of us know VLC Player will handle Video DVDs and unprotected Blu-Ray but so far in years I've yet to find an unprotected Blu-Ray title.

Be sure to watch for what media you want to play when you first launch this player. Many folk miss that and gripe later about it taking over the audio duties.

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

@stephen-21, "DaniWeb & others forums as well"

There is no standard in forums as to signatures. You can add them before you post here but do read the link I supplied. They don't help SEO or such any longer and may be annoying to some folk.

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

This sounds like something of a wheel. ie, code that we go get and use and not re-write.

Yes, I found it at https://www.rosettacode.org/wiki/Balanced_brackets in over a dozen languages including c.

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

Not the answer but in my mind the line may not belong in that folder.

I don't have a Mint system to work along with you on this but if I had to do this, I'd research with this:
https://www.google.com/search?q=linux+mint+boot+login+and+run+an+app+tutorial

I see folk have kicked it around. I had jury duty for a few days so may be spotty about replies.

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

On mobile so short tip for mouse mover clicker and typer is AutoHotKey.

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

@A_8, that's a little demanding. Your post sounds like you asking folk to do this. Maybe you copied the homework and forgot to share how far you got and where you are stuck.

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

As a refresher, read https://en.wikipedia.org/wiki/Test-driven_development

Agile to me in other words.

While I like projects and such work, I continue to run into folk that think these are a panacea to what ails product development. You can make bet on my view on that.

As to the game engine, since you will be at it for years, it's not a bad way to go. IOW, go for it. My parting advice is to the would be game maker is to never create a new engine. Re-evaluate existing engines.

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

@R

Try putting your code online in a C++ fiddle as it stands your badly formatted and incomplete code dump isn't something I can toss into a C++ fiddle. Try a C++ from this link: https://fiddles.io/#

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

I read a prior back and forth at https://www.daniweb.com/digital-media/digital-marketing/search-engine-strategies/threads/475611/forum-signature-with-url-problem and my thought after that is it's not useful at all.

But if you want to, sure, try it.

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

"something that needs investigating."

Make a new post about this. I can't find what the something is here. Remember to reveal what you are trying to find.

Example. "My SQL query takes 3 seconds. My DB is only 10K entries of name and phone number, running on a 1GHz Netbook."

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

I've used IAR compilers and tools before but the answer will be specific to your hardware and target CPU.

But here's the thing. I only use assembler when I must. This is from someone that wrote an assembler and linker and has experience on too many CPUs.

My guidance is this. Break down the problem to smaller steps you can work. If the problem is still too big, break it in two again and again till you reach a task you can complete.

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

@ddanbe. French reasons?

Anyhow, here there are no computer classes that use VB6, Turbo C. I'm only talking about US and Canada where I have professors and scholars I have chatted with over the subject of old systems.

They pretty much agree that learning the basics of programming, such as variables, classes, methods, "readable code" is the way to go. If the student wants to get in to arcana then they hit the web and search for old books.

Back to the OP. They claim they want to make a seminar on how to use the API in C and VB6. My thought is "back to the web" for examples and then use 2 examples for each language and then slides on how to find out more. One of the things I find new students sometimes forget is how to research today. Some are snowflakes and melt or explode when you show them how to research today.

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

What part of the world is this that would teach, well, how do I put this, dead and gone systems?

This forum is all about trying to solve issues but for tutorials and teaching you go to your classes, your teacher if the topic is not clear and then consider dropping this class if you are not prepared for it. That is, classes you took prior to this one prepare you for such an assignment.

While I have some knowledge about C and VB6, it's fading since it's been about a decade since I updated a legacy app for the very last time.

For you, it's back to the teacher to give you what you should do next. That is, what google's to try, what books to try to find (most on this subject are out of print) and maybe best to have a talk with your career counselor about a drop and replace this class with something better. VB6 is very dead here.

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

This looks to be a well done question. Pick from https://www.google.com/search?q=How+to+Create+Landing+Page and notice that it appears to be an one hour job.

HOWEVER, for me the graphics work takes me a lot of time. My best shortcut today is to get out my camera, light box and use product images (in your case as you have products to sell.)

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

As to the C and VB6 seminar I would not attend since VB6 is now 17 years old and support ended in 2008. I haven't seen it for sale in over a decade. Can you reveal where there is a market today for this? That is, why invest your time in such an old thing?

I suggest you forget this seminar and move to C# and VB.NET and how CLR works.

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

Caveat. I don't write in that language but have too many years coding for embedded systems (single chip to single board computers.)

So you want to "do this." Let's break what you want done into doable steps. That is, mindful of the goal your first step would be to select your Arduino that has an interface to read your Weather station and then can output/drive that LED strip.

That's your first step. The actual code size should be trivial so I don't think you'll need more than a standard size Arduino CPU shield.

OK so what about the code? Again, break it down to doable steps.

To keep from getting discouraged you can try driving the LED strip first and write something that sets LEDs according to say an array content. If you have 16 LEDs then put 1 or 0 in the array, to set the LED on/off as you wish. This routine is a good warmup to the other piece of software.

Second part. Read the Weather station wind direction. This for most will be the hard step. Once you can read in the position then you can zero out that LED array and set the locations as you wish then call the LED on/off routine.

Hope this helps.

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

"Was he fired?"

No. On most tasks his performance was on or above par. This only is proof that the manager is just new. Programming and the time to complete is variable as well as Joe may do better or worse than Jane. It doesn't mean they are LUCKY (?) or better or worse.

The text later in the reply is about hardware and such. For that you do want to test on a server machine. But I want to segue into an area I find new programmers get too invested in. Ready?

OVER OPTIMIZING.

That is, in a commercial environment you run the risk of dismissal if your code is just slow all the time as well as you spent too much time optimizing. It's a sliding scale of how much to invest (time or hardware) versus delivering a working MAINTAINABLE app(s).

It does not one any good if you have the fastest implementation of a zed core reduction function when no one can understand what you wrote. (Nod to APL and the one line of code for "Life.")

So let's say your code runs, you optimized it and it's the end of the week. It passes muster, time to ship it.

HERESY.

To some this is heresy. That is, I run across designers, coders, engineers that are stuck in "I can make it better" mode for too long. Read the specs, try to exceed them but avoid over optimizing.