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

This question is usually from a shill. It's not as if there are priors here.
https://www.google.com/search?q=I+need+to+open+mdf+file+but+I+can%27t+install+SQL+server.+Please+advise+how+to+view+data+in+sql+mdf+file%3F&ie=utf-8&oe=utf-8

You may want to read your server's disaster plan. That is, if you ran a server, you as a professional would have a plan for when the server melts down. Time to get out your plan or if there is none, consider this the lesson why your next server will include the disaster plan.

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

How about using an OS that ignores Windows permissions on the file copies? I wrote about it a few years back. Nothing new to learn it seems except to learn other ways. Read http://tips.oncomputers.info/archives2004/0401/2004-Jan-11.htm

rubberman commented: Linux works great for this. +14
rproffitt 2,701 https://5calls.org Moderator

Code is code, but when asking a question try English or your native tongue. I looked up https://www.google.com/search?q=ikd and can't tell what you meant there.

What error? I can't see what error and would have to guess which compiler you are using.

Fill in the blanks on your post.

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

I can't guess if that's all the code. But one thought here is to debug it with examining the type() of that variable result.
https://docs.python.org/2/library/functions.html?highlight=type#type if you don't know the function.

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

Sorry but no. You left out full model numbers as well as a product page so it's a stretch using the provided information. Also, unless I own your exact model and reinstall the same OS taking notes along the way of what worked, I can't be sure of my advice.

I am sure of the following. For most I use the maker's web pages for the product model and install in this order. A. Motherboard and chipset drivers. B. all other drivers. C. Apps that control the machine. Item C seems to elude many but it can be important as some PCs don't turn on the WiFi or other items without it. A few laptops would run the display at max brightness without that app.

It's not a new issue and one the industry didn't address but fear is your biggest issue beyond what you noted. Get past that, use the drivers from Asus for your laptop. If you get the wrong one, usually nothing happens.

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

Remember this is not a new question. I take it you can't figure it out in Visual Studio so you have to try other apps like Setup Factory. If that's not an option then google like this.

"Unattended install of SQL 2008"

Now you can add the required files to your deployment then when your app launches your app checks to see if SQL is installed and if not, launches the needed apps to do the unattended install.

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

Here's the thing. Windows 95 and forward has that registry so not much hasn't been written but I'll sum it up to one word. "Permissions."

Just like a file system with permissions the registry entries can have permissions to slow/stop/block changes. You can start a debate over whether this is secure or not. But skipping past that pothole, you will find permissions on registry items to be sometimes and sometimes not the same.

How you handle that in your code is not a sure thing. To add more to this some security suites also intercept registry changes.

There is no simple cure for this one but you could wrap your code in some try/fail block so you know if it worked or not.

After a failure you get to dive into why it failed.

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

The thing is, you are using vb.net and could set a break on line 2 to see what line 1 is doing. I'm sure there's a lot more code than you shared and those other forms are not going to magically update. That is, forms do not update without, well, you're a vb.net developer so your question is two fold. First you use the tools to see what's up with line 1 then next you break in the app to examine the target form values.

Didn't anyone show you how to use the breaks?

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

Read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question again.

It appears you may have not tried anything yet. That is, this is not that you can't go ahead and ask how much someone will create this for you as in hiring for the job.

But it's a shame you are asking for VB6 as that is now long gone and rare. Why not go with a system we can get today? (you might have found a copy but it's a shame to start your new app on such an old system.) Besides where will this help you develop a system you can get help on today?

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

@wikit. Let's be clear here. There is no such script to be found. What you are asking for is custom and not something you see in a ready to use and install code or system.

You seem to have left a lot unspecified. I can't see any mention of a webfile in your first post. No mention you are going to have this on a server. I know folk want others to divine what's not written but try again, share what you have so far and of course your code and where you think it fails.

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

Something seems missing here. That is, PHP is usually some backend so are you trying to write some app in PHP or did you forget to tell us you have a web server and this is served up on some web page and you want to "find a script"?

Everytime I read "find a script" I worry that was code for "I want someone to write this for me and tell me step by step how to get it working."

I could be wrong.

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

Downvote? Not from me. But you can send 2 messages about yourself with those 2 posts. One you use all caps and might be too sensitive. It takes a lot of patience to code and write a complex system. Not everyone is up to that.

What I'm seeing more and more are students that want the answer. If you don't tell them they write you're not helping.

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

I'll comment about USB 3.0 video. I bought one of those 16 inch USB powered displays and it was OK. Just that, OK. Nothing really to complain about but nothing to get excited either. It's not like it's too slow or fast either. Gamers and those folk that want high speed trading setups won't like them.

Hope that helps.

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

Then you have the discussion with who you bought this. I can't guess how you play it but on a Mac, use a screen recorder then put that on your Video DVD with the tools you use to make Video DVDs.

How to make a Video DVD on a Mac is something well done on the web. Same about screen recording.

PS. Adding with edit. Remember a Video DVD is all of 480p (see Wikipedia) so the result is going to be somewhat horrible compared to BluRay or streaming. But at least it's possible to convert and get it to Video DVD. Yes, it will try the user's patience.

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

https://www.daniweb.com/articles/latest/2/2 and scroll to the bottom. I see a navigation aid there and it shows a [3] yet it takes me to page 2.

Maybe this is by design but it looks a little off. Not a big bug. Just a minor thing.

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

@ Neeraj_9
You asked something in IcyFire's post from 3 years ago. It doesn't appear to be an answer but a necropost. Avoid that. Create your own new question.

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

Wait, did you just ask me "help me jack this car?"

Please don't ask me such a thing. I write apps, have worked on video projects and well, please don't ask me this. You can google how to do such things, and if it's not worth paying for, well, it's not worth doing.

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

@Amar_6 your 5 year late post to manugm_1987's discusion doesn't make sense here. Also it reads as if you were giving an assignment to folk here. Read this next link before you make your own discussion.
-> https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

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

Mike, first I must write this must not have DRM. If it's from say the BBC with the usual DRM then you have issues beyond conversion.

Anyhow, does it play in VLC Player? If it does, use that to save in some other more open encoding. This is not an offer on how to use VLC Player. After that save you can use Handbrake or your usual tools to make the Video DVD.

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

That means it's time to check your settings. I don't know what email you use so you have to tell more or decide to go back to the place/person that set it up.

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

So let's talk about setting up emal apps. Sorry for the "just just" typo above.

Tell me what web page you used to setup your email in your system. It's not automatic.

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

I see issues with that code. For example on line 44 you close the file. OK, but up a few lines you open it so you'll read the first thing in the file. Since you don't read later values, you'll get the same item each time.

Now about writing. Lines 32 to 34 seem to be the only place you open and write but I see no accounting for when the file exists the first time so the file on each run might append but is that your intention?

There's few folk that will write the code for you. But it looks like you are not thinking it through yet.

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

That appears to be one of those 844 support numbers that is NOT Microsoft. Here's the other things to scan with:
http://www.cnet.com/forums/discussions/how-to-remove-pup-option-603542/#post-f742c795-5881-433b-a29b-6d758efe5cd3

But being unable to send a picture is NOT a sign of a virus. I'm running into new users that want to send many megabyte images and well, they just just that new.

If you can send email, then it's most likely a send size limit issue and not a setting or virus issue.

Has anyone talked to you about limitations in email?

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

Who or what told you that?

I'm seeing web pages that tell anyone that along with CALL THIS NUMBER NOW scams. Tell more.

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

The router would have to log such first. Does yours do that first step?

If so, maybe no app is needed as you just check the router's web page with the stats.

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

@hrushi9

One of your classes you hopefully took way back when was called something like "System Analysis." You have a problem to automate in your app/program and to do that you look at how it's done today. You take the manual process, document it and then move to the design phase where you think about how to make an app/program that does the same. In that design you will also be designing your data structures.

You explained why you need this, but you may be missing out on the first step. "System design."

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

@cereal, I'm using the Google DNS and Ublock Origin so I wonder. Nope, that's not it.
The bit.ly in the top post lands me at http://0391909013800000_pro_flt_frt_01_1108_1528.jpg/ which fails.

Anyhow, now that there's working links, we can get back on topic.

PS. Added with edit. I can't see an issue with the site. The images are IMO "heavy" in size so that may cause it to feel like the image load is taking so long. Also, smoking is rarely seen in modern sites today. You can debate that all you want but adverts with smokers unless you are selling smokes is best avoided.

diafol commented: Smoking image caused me to sit up too. Don't bother me, but just so unused to seeing them +14
rproffitt 2,701 https://5calls.org Moderator

@Saro_1. Any chance of a working URL?

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

I think you need to go back to your system design classes. That is, this is done how now. You get the current process down in your design spec before you write code or build your database schema.

If no one can explain how it's done now. Then that's your first job or task.

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

There are a lot of bad sites out there. Why do you think this is yours to fix? Is it your site?

-> The link didn't work here.

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

I'm going to write your El Capitan is not a typewriter. Read http://practicaltypography.com/straight-and-curly-quotes.html to learn how to turn on/off smart quotes in Word and ask the EasyABC support/author if they support this.

I'll disagree about Word and straight quotes.

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

So I have to ask, if it's working, why change a thing?

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

OK, I think this is your AIO.
http://support.lenovo.com/us/en/products/desktops-and-all-in-ones/lenovo-c-series-all-in-ones/lenovo-c440-all-in-one?query=&Shallow=1&Type=&OperatingSystems=&Component=&Symptom=&&beta=false

The last driver for this appears to be http://support.lenovo.com/us/en/products/desktops-and-all-in-ones/lenovo-c-series-all-in-ones/lenovo-c440-all-in-one/downloads/DS037461

But back to Dolby. Dolby does have their own world at dolby com which is from what I can tell isn't supplied with this AIO. You should be fine to uninstall and if the audio goes out, you reinstall the stock driver.

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

It's pretty short here. https://www.piriform.com/docs/speccy/using-speccy/publishing-a-speccy-profile-to-the-web gives an example.

Ready? It's one line long in my reply post

-> http://speccy.piriform.com/results/nGmV1yekiTFbWJJ1oggVwcV

I know a lot of folk don't want to reveal what their PC is and on forums some want support of the type you pay for. Here I hope you can make finding out what the PC is and getting to the driver page a little easier.

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

I supplied a link so you can share the Speccy report. I take it went missing so here that is again:
https://www.piriform.com/docs/speccy/using-speccy/publishing-a-speccy-profile-to-the-web

I think those product and type might help but why make others work hard? That is, you could have shared a link to the Lenovo site that is your model. Or the drivers page so others don't have to work hard.

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

@Douglas_5. You claim you know your model yet I'm not finding it. I have to admit I read this post 3 times so I guess you forgot it. Without that, folk can't look for you. This is where a Speccy web report helps out.

@Assertnull. You're right. And now that I've sold the shops and moved on I find a lot of folk want me to tell them the steps to fix their PC but they are fearful. Maybe the days of the Windows PC are indeed numbered. I see more and more folk dump the PC for smart phones, tablets, and to a less extent Apple, Linux and Chromebooks.

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

Hi Douglas_5, Your follow up gives me the feeling you are afraid to try things. Part of my work on PCs was owning a repair shop years ago. Once in a while we'd get a client that was fearful. You would not tell them the steps you tried and failed. You would try, fail and figure it out then let them have the PC back.

DOLBY is a tought nut since you may have to hit Dolby themselves for the audio processor. In this case you should check the maker's web site for drivers. And yes it's correct for sound to stop working after we install. Nothing wrong about that. We then find and install the new driver.

As I don't own your model I can't be exact. Did you check the Lenovo site? I took a quick look and there were many AIO models. You will likely know your exact model. If not, make an online SPECCY report for others to reference. 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 hope your realize that line 34 in your top post is a blank line. I may be asking a lot here in that your error message and code match up for the line numbers.

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

First read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

I think you wrote one original line in your text (the first line) then copied your assignment here.

Essentially you are asking folk to read your code and make it work. Instead, tell where you think it's gone wrong and if there is an error, what line number.

Finally, I don't see any debugging code. That is, if you get the wrong number, did you print out the values to see if you had a GIGO problem?

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

Looking at it, should the per item calculation be like:
CalculatedRatioValue = int ( (2000 / RubValuetotal) * RubValue)

Sure you can change int() to what vb.net you like but this should be at most off by the number of line items. To explain why it might never be exactly 2000, well, you have to think about that.

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

There are views about what correct code is. Is it OTB (one true brace) or other? The last time I looked there are 10 accepted (or more) code styles. There are also standards for variable naming and more. In this instance I did not review code as I can't guess which standards to apply. Does that make sense?

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

Just tried it and it seemed smooth to my. It's the office laptop with is the usual i7 16GB SSD thing.

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

2 ideas.

  1. Make it a global variable and fire off code to do what you want when you want.
  2. In Form 2's save button code, try Form1.thatobject.text = "What you want here."
    Idea 2 is not "code" but psuedocode to help you remember how to set object value across forms.
rproffitt 2,701 https://5calls.org Moderator

@rubberman. Me, overseas at a supplier and this gem.

"Errors and warnings are costly to fix so we just test our software more."

Yup, big savings. We had a dozen folk from our company travel 6 thousand miles for this. My favorite was uninitilized variables. Found way too many of that one. Since when was that OK?

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

I see the ASCII for 3 is indeed a heart. http://ascii-table.com/codepage.php?863

So nothing wrong with your code at all. It does what you told it to do. Now I would be guessing you wanted to print a number but that's not what you asked in your code or your post. Think carefully about your questions and specifications here.

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

Here's what I do to prototype such a search. I usually have an example output (report) that I am attempting to achieve. Then I manually craft a SQL command using the command line that gives me the dataset I need for the report.

After that, that SQL command is re-used in the PHP to create the desired output.

I'm finding folk I am running into today are heading straight to code rather than sketching out what they want, building the SQL command line and sometimes skipping the design stage. What happens is they often feel lost.

cereal commented: +1 +14
rproffitt 2,701 https://5calls.org Moderator

What is "solve the program"? If you didn't backup, that's a problem only you can solve. That said I do run into folk that don't backup in spite of losing it all every few months. They think computers work like this!

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

I have to keep it short. The current password of a GREAT web site is not stored. Only the result of a (ready?) "One Way Encryption" is stored. So while you could run a brute force attack the web site didn't tell you the encrypted result, until you revealed the password by the method you are writing about.

You also compromised the great web site as now you must use their password to zip it.

I think you need to meet with your security chief and hash this out until you see the problems you are introducing.

-> as to access to their PC, in the news are more and more ransomware. If you do what you wrote, then you are adding to the problem. Again, this may take a lot of time with your security chief or team till you see what you've done.

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

The thing is, that question has been kicked around a lot. Example. https://www.google.com/search?q=System+Restore+in+Server+2012 so I want to ask, did you do any research on this?

And now that you know, will you be making plans to be able to go back? Why I ask is I see a large percentage of folk get burned over and over. They won't backup, and will lash out or call it a virus or a bug.