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

Since you use luckybackup and it has been left with known bugs at http://luckybackup.sourceforge.net/bugs.html I think it is time to find another sync app. However it is open source and you are free to try to fix this.

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

Try to not leave out details. About the PC just shut itself off. After what steps?

For a dead PC we strip it down till it beeps in protest or stays up. At the age of this PC it's not hopeful that it's something minor like the battery after you measured over 3V so try telling me about the shut off. After what was done?

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

A passing voltage here is any reading over 3.00. 3.00 and lower and it gets replaced. A Volt meter is required but if you don't want to get some 10 buck DVM, just put in a new battery.

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

Let's start simple. What is the voltage reading on that CMOS battery. If it's too low, many PCs sit in reset.

At about 9 years old, be sure to inspect for the BAD CAPS plague (google BAD CAPS if you don't remember this one.)

Finally, try it without RAM or GPU. It must beep in protest.

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

Let's see if anyone will write if it's safe. Here I didn't need that line 1 but called out Form1 as needed in similar code in past projects.

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

Another idea. Since the file system on cards is well, what it is, you find you have to format that file system once in a while. I see this on my car camera since again, not a great file system.

Also, as to your last log dump, what happens when you manually copy one of those failed files over?

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

I see 4 ideas on this at https://forums.asp.net/t/2122515.aspx?Automatically+appear+value+in+another+textbox+when+enter+value+in+textbox

My thought was also the text changed event and some javascript.

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

Sorry if I was unclear. My question was " how is the card mounted?"

Check my supplied link about another mount parameter.

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

It's a long shot but how is the card mounted?

Read https://stackoverflow.com/questions/28398905/rsync-copies-unchanged-files-usb-drive-fat32 about the 'shortname=mixed' option.

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

Just a thought.

Line 5 calls out the directory but line 9 does not.

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

The i5/i7 angle is almost moot for gaming. The link never has i7's but you can put the money there. That said, I moved to the i7 for many other reasons. Games are hit and miss as to whether it matters.

Try one of the builds there, change to i7, use nothing but SSD and move up the GPU as budget allows. That's my take on gaming PCs today.

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

Anyone looking for futureproof need only to look to the past. If you think you can build a futureproof PC then I have bridges for sale.

-> READ https://www.reddit.com/r/PCMasterRace/wiki/builds

Looks? After a while you learn that it's not an area to pay for. Save your bucks for SSD or larger SSDs and step up the GPU.

My favorites are in that link which I would modify to have SSD only and maybe steps up in the GPU.

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

Just a simple google using your own words finds a tutorial. You don't open but attach them.
Read https://learningsqlserver.wordpress.com/2011/02/13/how-can-i-open-mdf-and-ldf-files-in-sql-server-attach-tutorial-troublshooting/

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

SInce that's not a library I've used, did you try the support at https://github.com/itext or get their books at https://sourceforge.net/projects/itextsharp/#resources
Some of the books are free but why not drop them a little coin?

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

While I do have apps out there in C#, why must this be a DLL? That seems unnecessary at first. That is, get your code working before you worry about DLL creation.

I see 200+ lines of code but no mention of your choice of PDF creation software. The last time I did this, I cheated twice. One time I installed a PDF printer, the next time a team member used a PDF library.

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

How about https://www.w3schools.com/css/tryit.asp?filename=trycss_navbar_horizontal_black_active but adding
background-color: #333; width: 600px;

You can control each menu item width too.

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

Let's go with your idea of a lock. Sure thing. In your frontend app you checkout the doc or file and when it's done check it in. Think of it like books at a library.

So when your next editor/person comes along your front end sees if it's open for check out.

This is not an offer to write any code.

But all this would be best done in a database and not files for most systems. For example I had a client last year that insisted on the database be done in Excel. I would not implement such a system and no one else did either. They were calling in programmer after programmer to fix what they had and no one would accept the job. I did try but they were not interested in why Excel was the wrong answer. Much like files would be for many user editing. As far as I know, they are still crashing and burning.

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

This was solved over a decade ago by not editing files but using a web front end that would file the content away in a database.

SQL is common today and supports thousands at a time doing data entry to the database.

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

I don't know what IDE you use but I'd examine the cst() function in depth. I fear there's a few chances that the integers in there are not the right choice. Maybe you should try a ready to use function for float to string?
https://www.google.com/search?q=float+to+string finds this has priors to read over.

ddanbe commented: kudos! +15
rproffitt 2,701 https://5calls.org Moderator

Code incomplete? I may be missing it but where is arcStart defined, initialized?

Also, can you put this up in an online code play ground? Such as https://www.tutorialspoint.com/compile_java8_online.php

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

Then debug your code. Insert print statements so you can find out what it is doing or just go get another sort() function to replace this.

Sorting examples are abundant so no shortage there but I do find new programmers start off with missing debugging skills. To see what your code is doing, add prints or if you use a nice IDE, step step and examine what it is doing.

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

Algorith is a machine that uses kinetic energy in order to produce patterns.

I'd use a sort() function next time.

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

Here's your clue it's permissions, ownership or rights.

The share folder working as I tested it though guest account,

Either continue using the Guest feature or take time and maybe a course on this area.

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

@Siberian. Now that I know you are using reservation it's hardly ever that. I worried you had used hard assignment but in either case you check your IP and netmask and you are done for that step. It's not like you are going outside your LAN (or are you?)

Did you test this with the Guest account enabled? Just to see if that works?

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

@MrM Now I see it. Don't know why my eyes skipped to the next line.

Anyhow, in your code you can change the text of an object using the example I gave. It does not have to be in the button control.

I get the feeling you want someone to write the code for you. So I worry you are on a very old version of VS but in the line of code you call out the control or form name, property you want to change and change it. As in the example link shows.

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

There are so many Linux distros and no offense intended the struggle with Windows non-server sharing plus the firewall issues have me wondering if you are so close.

Not just you but I've found seasoned programmers that get hung over the firewalls everywhere problem. While I try to be clear you must be in command, many just want it to work without the time that needs investing.

Summary? Start with all firewalls in all devices off. Be sure your permissions, accounts, and ownerships are perfect.

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

Workgroup. Check.

IP for preferred DNS. Since workgroup doesn't use that, I'll write no reason to change. I'm going to copy something I keep in a sticky on another forum since so many want to debate the fireware issues. Ready?

Your router's firewall can block many features. You have a choice here to turn it off or dig in and find out what ports and more to allow. Given the cost of support and the fact that routers in the past never did this, my vote for those that don't want to become Network Ninja Gurus is to turn it off.

With that out of the way, an example from a router I recently discussed.

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 …

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

@Mr.M. I'd also reveal what IDE and OS this is in. I can guess it's Visual Studio and Windows but don't leave that for all to guess. Either use the tags or just call it out.

I recall in Visual Studio on a C++ app I think there is no handle until the window is created. What article or app tried to do that?

https://msdn.microsoft.com/en-us/library/system.windows.forms.form.load(v=vs.110).aspx?cs-save-lang=1&cs-lang=cpp#code-snippet-1 shows a C++ app changing the text of an object. No HWND there.

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

Now that I slept on it, I wonder if a DIY approach works. Try the DISPLAY app from http://noeld.com/programs.asp#Display and if that works, use your method to autohotkey or use AHK (AutoHotKey) to make it happen.

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

We've been kicking around network sharing for a long time here. I doubt this time it's DHCP but you can check that by checking the IPs and the netmask. Do that first.

With that out of the way the most common reason I'm bumping into is firewalls in the router. Some of them block just the WiFi to wired machines and other variations. So you must be in command of all the firewalls.

That out of the way are you using which of the three common folder sharing methods in Windows 10?

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

Just to add to this. It appears some versions work and others do not. I'm reading https://communities.intel.com/thread/109313 about this.

Is this another Dell?

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

see the processor's state as you run and single-step your code.

Full document at http://fab.cba.mit.edu/classes/863.03/topics/electronics/microcontroller/stuff/mplabtut.pdf

Be sure to show the "Special Function Registers Window".

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

The tutorial is to cover many scenarios. So they will cover the guest account then you have to decide if that's what you want.

I recall you don't want that. I recall I wrote why so we are covering old ground.

I don't mind that, but at some point I think you'll have to get someone new on your team to help you get this done as well as teach more about Microsoft's ideas and methods.

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

Sounds right. Built in accounts just are on/off things for the most part. But if you want control, you don't enable the guest account. I think we covered that before.

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

The one is what you decide on. You are the adminstrator, you are guarding all the doors, holding all the keys. Which means that sooner or later, you get to choose.

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

To debug your code, find an IDE that let's you single step your code to find where the problem is. As it's not on a CPU I currently work on, you have to learn this method.

Or add debug outputs so you can watch where it worked or failed.

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

Welcome new member. It's time to read the following link:
https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

Once you read that, I have written assembler for too many boards and CPUs, you have to write this one then share what you wrote and state where you think the problem is.

I read this about MARIE

The hexadecimal representation of the MARIE machine language might be as follows

So this is what it is. Let's see your code.

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

PS. I think this is a shame since all the fun stuff you want to do is not in the capture step. The capture step is so well discussed (I supplied a google) that you should have had that working in a hour or two. Here we are and you are fussing with Aforge and it's not working for you and apparently Aforge won't help and/or doesn't have working examples (I didn't check, you do that.)

So all the good stuff I learned in product development about motion detection isn't happening because I think you are being stubborn. It's like you dug a well and it's dry. You keep on digging.

Reverend Jim commented: That's the first rule of holes. If you're in one, stop digging. +14
rproffitt 2,701 https://5calls.org Moderator

If you didn't instanciate an object and that's an Aforge object, back to them on how to do that.
Remember there are so many ways to skin this cat which is why I noted a search above.
It's a shame you haven't got the image capture step working. Why not forget Aforge and read how others captured images with a timer?

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

Remember, if it's an Aforge issue, I defer to them.

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

The guest account in a built in account. You don't add or remove it, just enable or disable depending on your goals.

In short, if you want unfettered access without account controls, enable guest. I'll stop here since I know I and tutorials covered that.

As to username, I must admit I wonder why you don't try that.

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

Back to Aforge on how to use and for examples. I don't use their products.

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

Not what I asked you to try. I said start with a working example so you can see where the Aforge stuff is used.
In your last reply you seem to have repeated the use of DirectCast without setting up to use their stuff.

I think we made minor progress with changes to using Form.Load to autorun your code and the timer to do what you want in the timer loop.

But to use a library like Aforge, that's where you get them to tell you more if they didn't document the library's use.

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

Start with the code where Directcast works. Look above those lines to see where eventargs is defined or is passed to the call.

Remember you are using Aforge's addons so they get to document how to use.

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

Back to Aforge to check doucuments on how to call DirectCast. You didn't define EventArgs so just incomplete code at this point.

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

Why call them at all?

Put the code you want to run in the timer handler.

As to calling, there are tutorials on the web today so I don't duplicate that here.

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

Remember this is your thesis. You'll have to detail how it works so that means you would have to learn what tools you are using.

Big hint? Learn about the form.load handler. Google that!

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

You tell me what you want, I tell you to place the code to run in the form's load event handler and there's no handler in your code dump.

I think you need to find and do more tutorials on the language you are using.