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

In your intro post you wrote "I am Bivhab Sarker. I am a student and SEO expert."

As such, it's best you share what you know with us.

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

Wait a second, didn't you just write "I am Bivhab Sarker. I am a student and SEO expert."

Also, since Google doesn't reveal how the search works, how can you know?

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

I have had a lot of experience with folk that want to do this. There are and will continue to be folk that think they can find a plug in or template and have an instant Amazon like site.

If you ignore the prior discussions you are doomed to repeat the same mistakes.

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

Here's the full notice -> https://arstechnica.com/information-technology/2018/05/fbi-tells-router-users-to-reboot-now-to-kill-malware-infecting-500k-devices/

You can read what happened if you wish but just a r̴e̴b̴o̴o̴t̴ ̴a̴n̴d̴ ̴i̴t̴'̴s̴ ̴g̴a̴m̴e̴ ̴o̴v̴e̴r̴ ̴f̴o̴r̴ ̴t̴h̴i̴s̴ ̴m̴a̴l̴w̴a̴r̴e̴.̴

Update in new reply.

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

Please share what line number is being reported as having the error. You might have to enable more features on the compiler if it doesn't do this yet. Or if I read this as line 108, that doesn't jive with your code as posted.

Note: Found the missing tostring line.

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

I think your first step would be to read the prior answers. Here's how I found them.
https://www.google.com/search?q=how+to+make+a+web+site+like+Amazon

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

We've updated our privacy policy.

  • Everyone today it seems.
Reverend Jim commented: "Updated" does not necessarily mean "better". +0
rproffitt 2,701 https://5calls.org Moderator

To avoid assignment errors like that, and this can be debated, read https://en.wikipedia.org/wiki/Yoda_conditions

For me the style is easy to read and in fact some compilers (citation needed) or code analyzers now check for probably assignment errors in code.

Now depending on your class or company, your coding style might be dictated. Folk I know accept both Yoda and non-Yoda conditions.

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

So why is line 179 assigning 1 to option? Same for other lines.

As to all the else if's, uncalled for. No need for else if. Just if's.

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

Duplicate of same. Short answers.

  1. Forget those else ifs. Just use if or switch.
  2. Why did you assign 1 to your variable in line 182?
rproffitt 2,701 https://5calls.org Moderator

Which is how I recall it. If you connect to a share as another user+password than what you logged into then it fails to remember. This is not the same as SQL which is a totally different issue.

Microsoft has an entire section, maybe more on Windows Server Administration about shares, names, and more so I can't duplicate that here but if you login as JohnnyBeGood then your shares need to be on the server with rights for JohnnyBeGood. Otherwise you have to work hard with a batch file to connect each time.

Now if you enable the Guest account on the server, well, as an old hand you know what happens next.

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

Why bother with else if's? First review https://www.tutorialspoint.com/cprogramming/if_else_statement_in_c.htm

Now why bother stating else if at all? Just clean it up.

Also, why on line 179 do you assign 1 to your variable option? Everyone is new at times so in short, single equal sign is assignment and double equal sign, well as a pop quiz, you tell me.

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

My first thought? Probably it's time for Java and for the IDE NetBeans or Intelli(something) like they use in Android Studio.

Me? Be around since the 70's programming. This week, a client is asking for a VB6 update. What fun it is to open up apps that are over a decade or more old.

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

Neat. That's what many do and works. If it doesn't back to the beginning and find out why. Such is the life of IT. Sometimes you go over your training notes or call Microsoft to have them tell you why it won't work in this case.

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

Ahh, the blank sheet of paper. That's pretty hard to fill in. Sorry but Java doesn't matter yet. You need to pick your sensor and then find a way to get that connected. There's a lot of choices today from Bluetooth and other wireless links.

Bluetooth at 50 feet is a stretch so will Ethernet or WiFi do? That way you can think about Rasberry Pi boards and the way too many sensor boards there. Once you think you have your sensor picked out then you code up your Pi board to be a sensor via your LAN (big nod to IoT.)

https://www.google.com/search?q=Proximity+sensor+boards+for+Rasberry+Pi for example.

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

Hello J,

Now I'm an old embedded hardware and software author so I'd have to know more about your design to offer more.

Also, read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question so you make the best posts you can.

Let's hear more about the targets (the tablet? boards? prox sensors?)

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

This only works if the target PCs are clones of each other. For other than that, you need to install for each model and develop an image suitable for each PC model.

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

At this point more would have to be known. My bet is you set this up before and have forgotten a step. I can't retrace those steps for you but try to work with what you do reveal.

For example, some of those items do not show for all user types. Be sure the account you are using is an administrator for starters.

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

I'm just an author with some SQL server background and I can write that at no time did XP remember SQL connections UNLESS it was in the app that needed to use SQL.

If such an app had a remember the SQL connection and you changed OSes then you might have to tell this app to remember the connection but as I don't see the app in this discussion all I can do is write in generic terms.

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

That's quite the introduction you have there. How much does this job pay?

You know I'm kidding but your first post reads like homework. Try sharing what you have so far and what's stopping you from finishing this assignment.

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

I have to write that in decades of coding, never needed this. I see others also wrote same at https://stackoverflow.com/questions/8814705/how-to-check-if-the-function-exists-in-c-c

How would such compile if you were to call a non-existant function?

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

It's one of those oft done pieces of code. Rosettecode has 96 to 124 implementations at https://rosettacode.org/wiki/Roman_numerals

And the problems are talked about at https://www.rosettacode.org/wiki/Talk:Roman_numerals/Encode and https://www.rosettacode.org/wiki/Talk:Roman_numerals/Decode

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

I may upset you but this is something you don't do from scratch. Go get OpenCart or any of the others from a search like:
https://www.google.com/search?q=open+source+online+shopping+site+code

I have watched companies drop thousands into the grinder trying to start from scratch. Don't do that.

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

Be sure to show your work so far and tell where you are stuck.

Read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question to see how to work with the forum.

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

I read https://social.msdn.microsoft.com/Forums/vstudio/en-US/645d3065-85db-4ebf-ac20-70325dcc9318/c-how-use-weak-macro?forum=vclanguage and feel that you received some excellent replies there. I do get the feeling you want GCC in Visual Studio without any work. I could be wrong but that's the feeling I got from reading that long discussion.

That said the most often this sort of thing comes up is someone is just wanting to use GCC code without a re-write. Sometimes it's unavoidable.

Here's what is likely going on:

This is something that doesn't work in the same way in Windows

So it's a PITR.

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

Certainly. There are examples on the web but here you just asked if possible which is yes.

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

To proceed you'll have to share your code and hope folk will see where the issue is. This has many prior solved discussions with more than a few ways to do this. As such and because your system is your system there is no set piece of code you just slap into place.

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

A question. Why isn't your unique ID generated just prior to line 14 in your "saving" code?

Generating unique incrementing values is a long standing discussion. But as presented I don't see why you need this ID until you perform the insert.

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

@dontrien. If it was me I'd do my research on Google about how to turn it on. There are plenty of articles on this subject.

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

@dongtrien. Since it is not an error (SQL connection question) there is nothing to fix. If your apps need to ask and keep the login info, the person who wrote that app needs to add code to do so.

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

There are priors to this question. Example: https://forum.codeigniter.com/archive/index.php?thread-62190.html

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

I can't know your Windows settings. With UAC turned off, it does grey out.

see this posting

As to not running, that's for the app's author to fix.

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

To me this is proper operation. Windows did seem to remember network shares but not SQL connections. Nothing seems wrong here.

If you wanted to put more code in your apps to remember this, you could and I'm sure folk will remind you of the dangers that lie there.

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

@hamxamuradkhanh. You don't have a problem. You have a series of problems to solve, I noted above that you have a lot of actions to pull this together and this is why I wrote I worry you think there is one repository or tool that will answer all the problems.

In other words, you have a collection of tools, now you get to code and bring it all together.

I can't wait till you discover what happens on protected or otherwise non-coopertative PDFs.

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

Your choice of tags may be a little off. I never saw VB6 used for such. And what code there is may be VBA or VB.NET.

My only advice is to break the problem down to smaller steps. Rather than expect the code to cover all the problems in one go, maybe just find a way to fill in one box. Then code to fill in the next box. Step by step, until it's done.

I also worry at times folk expect others to code it up and supply a finished product. For that you post some for hire type posting.

Another way would be to make the problem smaller so that folk can see the smaller piece and see what can be done.

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

@Cara_1, I read your supplied code again even used a search and found no usage of mysql_fetch. You may want to share more code.

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

This will take a lot more code. Here's what you would have to do. Get the page into a local file so the fetch is local rather than from the Internet. This way there is no downside to the rotate. Frankly for the amount of work you have to put into this, you have to ask if it's worth the effort.

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

There were many dips today but the only news item that others asked me about was a new tax for the homeless in Amazon's town of Seattle.

Here's the article that I was asked about. https://www.ctvnews.ca/mobile/world/seattle-approves-tax-on-companies-like-amazon-to-help-homeless-1.3929634

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

Line 13 mysql_query() returns a resource. Not the actual items you are after. You're in luck though as the PHP manual which I'll link to shows how to get the items from your query.

Read http://php.net/manual/en/function.mysql-query.php

Specifically the example using this line in the manual at link above.
while ($row = mysql_fetch_assoc($result))

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

Hello Syntax_1.

Small world that it is, I worked with cellular carriers when a company I was with did M2M for GPS location tracking. Along the way was how to pay for this and how cellular works today.

So to get this to work you would be meeting with the carriers to pull this off. That is, they would work with you to show you how to do this from the Internet and via that phone number. Without carrier involvement, in the systems I know today, you are DOA.

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

Should be interesting as 1803 (steam) rolls out.

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

@Shark_1 Because of 1803 I had to ask but there are priors about VS2015 failing to run after a specific KB. Let's see if I can retrace my Google tracks.

Here's the prior conversation on that. https://developercommunity.visualstudio.com/content/problem/131552/vs2015-and-vs2017-have-stopped-working-after-recen.html

Sorry if that doesn't fix it but the second complaint is that it reinstalls later. You may have block that KB update.

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

I worry here that something else is going on.

There's May 2018 noted at https://www.thezdi.com/blog/2018/5/8/the-may-2018-security-update-review
And then we have 1803....

Did it work with 1803 alone?

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

To me this is the question about the painter or sculpter and the brush or chisel. There is more to your skills that the tools you use.

To merge a PDF online you have a lot of code before you can consider the actual PDF Merge step. Did you get to the point you have the web site up to upload, download and more?

This is a very large project you are taking on. Figure a month or more of many steps and processes to complete. Why I note this is once in a while a person new to such work thinks it's some plugin or "if I choose the right language" it will be easy.

Easy would be to copy a prior site or google for code and slam it together (if you are good at slamming it togther.) My view is you have a big project ahead of you and PHP isn't a bad choice.

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

I'm going with an initial no. Unless you installed PHP source you wouldn't see it. And even then you would have to find it yourself.

If you want to get into PHP source here it is -> https://github.com/php/php-src

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

This is where machine details can help. Make, model of the PC or if something made, then make, model of the board and so on.

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

This sounds like the classic "The Dead PC." If you google The Dead PC there are many discussions on how to work a dead PC.

Your method isn't one of them. You need the usual Volt meter to check out the PSU leads (how is again on the web) and for discussing in forums NEVER leave out the story and machine details. PUMPS? Whatever for? Most PCs pump air with motorized fans but once in a while a person builds a water cooled system. These are sometimes overclocked and just break. Drives the owners nuts.

Did you at least swap out the cheapest part it could be? (Hint: CMOS battery.)

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

Just some response if it helps. The last time I was interviewing was long ago and no t-shirts but the HR in the companies was lead by women.
There was no issue with gender at any company I've worked for since about 1979.

After my years in big companies I struck out on my own as an independant and haven't really interviewed in 20 years. But I do work with companies in US and Canada but few are large enough to have on site child care. In fact none are.

Sadly I fear many companies have farmed out their HR and no longer are the same. But that's a topic unto its own.

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

@ddanbe. I am at times old school. This is one of those times it shows. Such a plotting system for me has always been used in some automated reporting system. So the "web distributed" or cloud based systems are rarely used by folk I know. And for now Gnuplot doesn't want me to sign up.

Hope this explains why I offered up Ol' Gnuplot.

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

The one thing that continues to bother folk is this isn't free. I'm sure you google'd your question and most likely came back bewildered or didn't like the cost.

-> That said, I was at a mobile dev conference recently and of all things ATT (the deathstar company) actually had a low price on mass SMS messaging. Worth knowing about.

Read https://www.daniweb.com/programming/software-development/threads/419855/sms-application-through-api#post2240759 too.