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

@omi4u. Your post in this discussion wrote "please guide with codes". You asked for code in your other posts.

Now that you are asking for codes, you need to try again but share your code, what issue you had and the errors. Also, if I take your question in the title and google that, examples are found for you to read and try to understand.

Maybe some will write code for you but how that will fit into your ERP system would be up to you to pound into place.

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

@omi4u. I took a look at your posts so far and it looks like you ask for others to write code for each problem you encounter. It's your code to write. Then when it fails then you share that code passage, the error and hopefully a minimum viable example.

Asking others to help you write your ERP function by function that you, at the end of the day don't understand is a bad idea.

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

I'm unsure if you are applying yourself here. Given https://www.google.com/search?q=PHP+PASSWORD+CHANGE+EXAMPLES&gl=US are plentiful I worry that you are not doing much research.

That aside, there are a lot of BAD EXAMPLES out there that teach password storage in insecure ways. Now your code does not reveal the usual problem where passwords are stored in the clear but if you ever find some code where the password is stored in a database then you found a bad exxample.

https://www.google.com/search?q=how+to+store+passwords+for+your+website&gl=US finds articles on that subject.

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

A quick look at the logs shows the usual browser hijackers. https://www.bleepingcomputer.com/virus-removal/safefinder.com-linkury-removal-guide for more. The other looks to be newer or is just another trojan/adware or other item that may be using a random name generator schem to make identification harder.

Downloading apps from the Internet is now a game of Russian roulette. I will note that I do use Ninite.com for the items they have there since they are free from toolbars and more.

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

My advice is to get to Bleepingcomputer.com and follow their posting rules then they use a suite of scans and tools to clean this up.

Yes, you could google your way to what things are, try the usual Malwarebyte scans but I feel what you want is exactly what Bleepingcomputer.com does.

PS. Yes, you could do the hijackthis route but the threats and scan methods have changed so my advice has changed.

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

Elsewhere we had a run of questions that were easy to get answers from Google. We (moderators) put it down to the Quora site and how you get points for putting up a new question no matter what. It was decided that we would not put a lot of effort into questions that the person that asked didn't put effort into.

In your case you are a "top rated digital marketing company" and yet ask a question like this. I'd remove this if I were you since that would be bad advertising for your brand.

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

At some point you can't shelter them and maybe you should never do that after they figure out they can't fly.

I'm thinking about all the "Jackass" and other "reality" shows that you see folk doing dumb and dumper. The Internet is mostly not truth and we can't expect governments and such to prevent bad advice from being on the web (nod to anti-vaxxers.)

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

If I needed to research how to remove certain characters I'd use https://www.google.com/search?q=Java+remove+specific+characters+from+string&gl=US
If I wanted to keep all alphabetic characters I'd use https://www.google.com/search?q=Java+string+alphabet+only&gl=US

V3N0M commented: I figured it out lol +3
rproffitt 2,701 https://5calls.org Moderator

This is one of those well done passages of code. Over 141 versions are over at https://www.rosettacode.org/wiki/Palindrome_detection

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

Here we mark the thread solved. I did that for you.

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

Line 2? I supplied a quick 2 line example and it was fine. I wonder if your IF statement changed the string id to a numeric id as JS tends to do.

If so, make a copy of id to a temp object and use that for the if test and then id would be unscathed.

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

Taking a hint from https://stackoverflow.com/questions/7523929/jquery-ajax-with-webmethod-removes-zero-from-front try forcing it to be a string.
ie, line 10 change id to '' + id.

I did not test this.

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

Did you perform the typeof to check prior to line 2's alert? Is it just the alert? I tried this and had leading zeros.

id = '00123456'
alert(id)
rproffitt 2,701 https://5calls.org Moderator

My bet is your variable "id" is a number and numbers don't have leading zero's.
https://www.w3schools.com/js/js_type_conversion.asp gives example of reporting the typeof statement to confirm.

Since the code that created the value id isn't shown, you'll have to work that.

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

I wouldn't count on "G930" showing up. Maybe by vid and pid but by name, would not count on that. Also, why are you doing this? Your mention of a serial number has me worried you are looking for non-existant data.

Again, "Frankly I'd walk your post back a bit and tell where you are going with this. For example you seem to want it to show you "Logitech something" but that's not always in the data.

What you can see is in USBView at https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/usbview which has full source available for those that want to get into this.

But that's not what I'm asking or why I'm sharing here. I'd like to know what prompted you to go down this rabbit hole."

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

Frankly I'd walk your post back a bit and tell where you are going with this. For example you seem to want it to show you "Logitech something" but that's not always in the data.

What you can see is in USBView at https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/usbview which has full source available for those that want to get into this.

But that's not what I'm asking or why I'm sharing here. I'd like to know what prompted you to go down this rabbit hole.

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

For legal advice, you should use your lawyer in the country you plan to operate.

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

https://www.google.com/search?q=python+input&gl=US tells us how to use the input function. Always check your docs.

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

I'm going with these can be nearly the same and YOU matter more than the degree title. Your skills and drive matter more here. From the web you read "You can work in the field of your choice with a Bachelor of Computer Science or Bachelor of Applied Computer Science. From healthcare to social media, ocean data to online commerce".

What matters is what you want to do during your coursework. You may find a passion in the ocean or what's in big data. Both degrees are just the paper that gets you in the door. It does not dictate what you will or can do.

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

You supplied your example. It looks to me to be exactly this: http://www.defusion.org.uk/wp-content/uploads/2006/08/screenshot_thumb.jpg

foo.jpg
Seems you have a match.

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

@tun712. I've used VistaPrint and it's site has a boatload of technology behind it so I'm going to write that no WordPress person I know could match that even if I gave them years. Not only that but there appears to be backend processes where you submit a PDF for the print job and it seems to run it through various filters to show a web page with the expected result or tell you it failed. This means you must have prior experience or team members that have built some backend processing to handle such.

I'm going to stick to VistaPrint's site as an example of what I would estimate a few years of design work with same time under development.

Fast forward to today and you will get folk that want all that as a plugin. Yes, folk have asked for that!

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

I worry that you are being asked for the stars. That is, some of those sites took many developers years to develop. Do you have the team and the year to duplicate those site functionalities?

rproffitt 2,701 https://5calls.org Moderator
Test line. Not code.  Does it work? Yup.
    tabbed.
  Spaced third test line.

Can you share exactly what you are doing?

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

It's an old bit of lore. You should try it.

Added with edit. You have the index. Now use that to move name just like you did so far with the score.

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

So why not move the name[] at the same time?

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

Since you don't want to see how others solved it, then you have to put more tests into your code to see if the value so far is valid and if not, take what action your feel is needed. Either delete the last character or BSOD.

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

Or you add code to your text change event to test for valid input and remove what isn't allowed.

Also, you could research this. I did with this search: https://www.google.com/search?client=daniweb-ab&q=vb.net+IP+address+input+box+example

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

Sorry that I don't have a tutorial on this one. While I do work on Android apps in AS and use the emulator I did have to be patient as the system finished setting up.

All of us at the office use this one. Good, bad or indifferent we use it. I went so far as to install Intel's accelerators to the emulator and it's very usable. The only thing that I wish it could do is better Bluetooth emualation. That is, if your PC has a Bluetooth system the emulator doesn't use it so you have an emulator with something missing. Our apps use SPP (serial port profile) on Android so 99% of the time we have a real Android target over USB.

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

I use the Android Developer system and only had to setup the emulator one time using some menu in Android Studio. Once you get it setup in AS you should be good to go. I have no tutorial on this handy.

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

It does here. I seem to install this about 4 times a year and each time I get an emulator. Maybe you need a clue on how to start it.
https://developer.android.com/studio/run/emulator-commandline is just one of many pages about this one.

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

I don't know if this will work for you. It's rather large and has more than just the emulator. I use the emulator in Android Studio. Maybe someone has it "all on its own" but I haven't searched for that. If I was to search I think it would be this one: https://www.google.com/search?q=run+avd+emulator+without+android+studio

I do want to comment that miscreants have hijacked common searches so you look for a thing and end up at other sites, malware sites or worse.

I have favorite apps like VLC Player but when folk tell me they looked for such they got malware. PITR.

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

Never worry about asking questions. I don't want to get into what are bad questions.

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

This could be a side effect of your other changes. Such as different .h files? Why not run the code in some debugger so you can trace the code. OR do the old fashioned print or cout to see where your code goes. Sort of reminds me of Dr. Seuss, "Oh the places your code will go!"

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

"Luke, follow the code." As I read your code it looks to me that there are two input calls being made. Your code appears to do exactly what you wrote.

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

What I'm reading is line 11 gets something, line 12 gets something. That's two "get something"s.

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

"if I use my own..."

This means you either shouldn't do that or dive into how yours differs from the working version.

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

I'm ignoring the code dumps. I'll share how I research how to command line compile using a Google search.

  1. https://www.google.com/search?client=firefox-b-1-ab&q=compiling+from+the+command+line+%22Code+Blocks%22
  2. That's pretty close. I think this link is the one you want: http://forums.codeblocks.org/index.php?topic=11897.0

It appears this and other issues pop up when you try to move to the command line. (In ref to %Program Files or such.)

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

Just me chiming in here. On that other forum I moderate, alert emails have been hit or miss for a lot of members. The ones that don't have issues are on gmail or something other than what Dani noted.

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

Java Database Connectivity (JDBC). I think we don't have to cover whether or not Java is involved. I was hoping it was the old issue I ran into long ago where it didn't work at the time with the JRE but did with the JDK. Some folk lost a lot of time over that small distinction. If it doesn't apply today, that's OK. My intent was to share since I haven't worked this in some time.

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

I haven't done this in years but https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-usagenotes-connect-drivermanager.html had me installing the JDK rather than the JRE. I haven't looked into this for a very long time.

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

So why bother with Dim result if you are not going to use the result? Make your code simpler. Docs on that call are on the web so check your syntax.

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

Did you try line 26?

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

By now you figured out that without asking what printer to print can't be avoided.

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

From memory you can only perform "Like" on string types. I bet if you google the error you'll find examples to convert to string for the like.

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

@Camille_2

Just so you know, it's rare to find responders in 7+ year old discussions. You want the best help so here's how to get that.

  1. Use old or other discussions for ideas about your issue or problems.
  2. Create a new discussion so you get your discussion it's own platform.

In your new discussion you must supply the laptop make, model, age and the story or you just get asked for that rather than getting down to ideas.
If you can, for Windows PCs I like to check out the PC details with a Web Speccy report. How? Read https://www.piriform.com/docs/speccy/using-speccy/publishing-a-speccy-profile-to-the-web

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

I'm going to upset someone here. After decades of such work, we backup the entire server when it is not "live." We can use any number of methods you find on the web to backup the entire server and have never had to look for software to do this for us as almost every Live Linux on USB, DVD can give us the "dd" command to clone the entire drive. I'm going to skip supplying google searches since you are running a RedHat from the year 2000 and by now you know how to do that work.

But when you ask about converting your physical RedHat 6.x to a virtual machine, RedHat gives GOLD in the instructions at
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/v2v_guide/chap-v2v_guide-p2v_migration_converting_physical_machines_to_virtual_machines

I have to ask why anyone would run a server without performing backups on a regular basis. I won't write badly about you but it's always interesting why folk do this.

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

That's something that I would call "Create a shortcut to a file or folder in Android" on google. Something like https://www.google.com/search?q=Create+a+folder+shortcut+android+file+explorer

And sure enough it has us install some file explorer to make it happen.

Android and iOS are not like Linux and Windows. The mobile OS concept has the user running an app not not dealing with files. It's folk that want to use it like our computers that want to see folders and files.

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

At first it may be a technical quagmire as you figure out how to copy, where to place the file in the Android file system. The biggest hurdles appear to be getting used to the new way of things. It's like I droped you into a foreign land with no maps or even a compass. If you used your lessons and knowledge of WIMP (windows icon mouse point) you will be disoriented.

Hang in there. Eventually you find your way.

-> There's a reason why in a stock Android phone many of us install a file explorer like EFS File Explorer but that app has grown over time and isn't the simple thing it was long ago.