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

So it's on Windows XP? I have a buddy that their XP OS was so banged up over the years that they finally had to start over. There are those that say never say die but how many weeks did he lose over that?

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

I'm going with no. Outlook with Exchange server didn't store the contacts locally so you'll need to restore the server first. Also, who runs servers with no backup? Try not to grill your IT too badly. Let them get it back first and then go over the disaster plans.

Now about the list you think is on the PC. That sounds like the autocomplete is filling it in. Not from some contact list or database.

https://support.office.com/en-us/article/Copy-the-AutoComplete-list-to-another-computer-83558574-20DC-4C94-A531-25A42EC8E8F0 and other articles show where the autocomplete file is at.

Once you have that, then you search for or write an extractor.

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

Please share the code as it is. Could be a simple thing.

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

Why not solve it by any means? It's a problem to be solved, not homework, right?

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

Next up? Another user account, run as admin, XP. and now I recall an over reaching antivirus shutdown a coworker's VS setup.
https://www.google.com/search?hl=en&as_q=run+visual+studio+as+administrator

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

I have not experienced that one but if I did I might try the reset noted at https://social.msdn.microsoft.com/forums/vstudio/en-US/abcb54bb-5490-48ab-a961-f2c7f64331a3/visual-studio-startup-error-clr20r3

Other causes appear to be XP, Fonts, and region/language settings.

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

I've never found it possible to edit with assurity forms I don't "own." That is, to fill out forms, I must have them to test again my app(s).

As to wanting them as attachments to email, your server can edit/create PDF or such things then email them as attachments.

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

Think it over. There are web forms all around you. You can have them fill that out and on your web server do the form edit/filling and create a file as you see fit.

However it almost always begs the issue of site security. But that's another topic.

Do the work on files on your server.

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

@Reverend Jim. My bet is their spec is incomplete. That is they are thinking display lines and not ENTER terminated lines. satyam_1 needs to elaborate.

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

Time to move the game up a notch. Bring out your Volt meter and tell me how many Volts the RTC battery is and the model battery.

I don't see the full make/model of the laptop but as you go past a few years they can get cranky and crap out if you twist or stress the frame a little. While I like to take it apart to do a deep clean and reseat all connections this may be too scary for most owners. If so you backup your stuff and move onto a newer machine. Repair costs are getting so close to a replacement here.

Here's a YouTube video showing how to clean and care for a cranky connection. This applies to almost all electronics.
Skip to 3:50 at https://www.youtube.com/watch?v=WuwG5wqxTpE

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

Satyam, I read your requirements a few times but came away that they were not complete. I might make a bet you didn't really mean to disable input once the 12 lines were hit but that you wanted to allow them to edit the first 12 and automatically discard line 13 and on.

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

That's fine lordrt and shows why so much code is buggy. Bad specs. Go with the sequence or off the web solution but at least you know it's designed to fail. That is, we know that robots and other bad things will hammer this and they'll be back to you to fix it again.

The code to get a random unique was easy to find on the web. Now take that and share your implementaion. I'll share that we went with sequence everytime. Even a 1000 position array of "random" for the sequence would do here.

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

Back to the person who wrote this spec. They didn't reveal how many they needed in a day so with 0 to 999 possible values, not only is there that "unique" spec but the missing spec on how to handle it running out of numbers.

Frankly the random bit could be tossed on most apps that need this and use sequential 0 to 999 then bomb out when there is no more to hand out. You can google generating a sequence of unique random numbers to find prior works.

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

I'd use the simpler Me.Text = first 12 lines of text (your code goes here) to strip the rest. Your specification can be taken many ways. I'm reading that they can enter 12 lines, but you strip the rest.

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

There's usually more than that. That is, not only do you set the port value as you noted but if the pin is input, output, etc. Code alone isn't enough here.

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

There are a few ways. Depending on the exact effect you want. My thought is the TextChanged event ( http://www.dotnetperls.com/textbox-vbnet ) would run a small Me.Text = 'code that strips the text to 12 lines.

That allows them to edit the first 12 lines.

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

Nevermind me.

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

Back to the accounts? They never accepted that they needed an account on the server. One might guess the server had the guest enabled.

I thought by now you had the account area under your hat and why I have begun to wonder if you had some other issues to cover. Your last post makes me worry you are trying to forgo accounts and Windows Shares.

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

Truly strange. Since all prior answers fail you have sadly found a defective area. I'm taking your word on that. Very strange to read this. Maybe you should just forget Windows networking and look at WinSCP instead.

WinSCP has Win Explorer integration: winscp.net/eng/docs/integration
(in reference to "Between a Win 8.1 & Win 7.", not the NAS)

In parting I did have a long chat with someone that hid a tiny detail. They never accepted the name/user/account matters area. They were stuck in the past how this worked and wanted things to work as if it was 15 years ago. It was tiring to say the least. Here, at least you figured that out.

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

Go ahead. And by the way, once you revealed the NAS model number it was pretty interesting to find how much folk have written about shares over the web. I see many stubbed their brain toe on accounts. Can't guess why that area needs to be re-hashed almost every Windows share discussion.

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

NP. Sorry but we would be duplicating the web at that point. At least you figured out the account name and shares. Sorry if I step out here. Window shares across the web are a rather well done topic. I don't see where I could add any more to prior discussions or fix it so it wasn't going to go boom.

Good luck and glad you figured out the other usual area.

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

go(2) didn't continue past line 5. You may want to refresh your memory about return(). An accepted explanation is "The keyword return causes the function to exit, passing control back to the calling function."

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

I was using an account name (BOB) so we could call that out. If I'm logged in as BOB on my PC, unless I enable that Guest networking (dependant on device/Windows) I must have a BOB account on the device/server.

This seems to elude a lot of folks. Maybe because it wasn't that way years ago on consumer things.

Anyhow without the exact NAS I could never guess if it needed some setting changed. I know folk want their privacy but without that detail it's a mystery on the NAS. The Windows share is pretty easy once you learn the rules.

GOAL 1 is all about credentials and more. There are many prior discussions about shares across the internet but I thought it was accepted that mapping a share across the internet was considered a security risk/bad idea. That doesn't seem to stop folk from doing that.

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

Which sounds right. The web page used the new user. I can't see where you created the new user account on the clent PC and logged in under BOB.

It appears you are repeating a well worn area. It will dawn on you very soon now.

As I can't find out what NAS this is, I leave that in their capable hands.

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

That's one of those well worn areas. No. You would never count on the admin account working across Windows for many reasons. If it did, can you imagine the carnage?

I think you understand accounts so why not create "BOB" on the server, then log in on the client on your "BOB" account and try to make a connection? Or just enable the guest account.

As to the NAS, well again, I don't see whose NAS so where to go next?

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

More of a question really. The first image is what I see when the account has no rights to that share. Since I can't see what NAS, I can't be exact here but Windows, when I share a thing means that unless I enable that guest account will only allow accounts on the "server" to access.

This is a basic gaffe by many. They forget to create an account on the server for the person that wants to access the object.

So again, I'm BOB. I want to access a share on the "server." I must have an account "BOB" on that server or I'm not getting access. This is one of those rather well done discussions on network shares. But I don't see where you created the needed accounts.

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

I'm unsure if you know this now.
** https://www.google.com/#q=whatsapp+for+pc+is+malware **

Try the usual from the Malwarebytes forums with scans with Adwcleaner, MBAM and the others for some automated cleanup.

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

This seems to be an extension on your last question. I'm going to share and be inexact here.

Rather than dive into your code you may want to look at the machine behind C# where it's CLR (https://en.wikipedia.org/wiki/Common_Language_Runtime) is just one instance on one core and threads appear to be in that CPU instance.

I quickly saw how similar this was to Java and when I needed to get all CPUs up and working would not thread but launch the app again which revs up another CLR and that CLR runs our byte code C# app.

Hope this removes the mystery for you.

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

Can be true when we don't install a printer driver and set it as the default.

Oddity or weird fact.

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

You may want to check your code. Examples of the call show

MOV AX,4C00H
INT 21H
hefaz commented: THANKS IT WAS SOLVED +1
rproffitt 2,701 https://5calls.org Moderator

From memory ah is 8 bits and you are trying to jam 16 bits. Maybe you meant ax?
http://stackoverflow.com/questions/5364270/concept-of-mov-ax-cs-and-mov-ds-ax
Bob

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

I see this error on incorrectly installed compilers. http://forums.codeblocks.org/index.php?topic=7208.0 seems to note prior folk's consternations with Codeblocks and such.

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

Just in case you don't find an answer, try
https://www.google.com/search?hl=en&as_q=press+keyboard+button+using+python

The prior discussions cover the issues about why this is, and why it won't be too portable to other than the OS you are on.
Bob