4,911 Posted Topics
Re: I suggest you post your schema and data here. Whatever you posted above isn't of any help. Keep in mind that if anyone wants to run a test against your schema/data it is much easier to set up the test when we can copy/paste data - something we can't do … | |
Re: You'll likely get as much effort back as you put into asking. In this case, very little. | |
Re: It would help if you 1. posted the code 1. posted the errors and the corresponding line numbers We can't answer questions in a vacuum. | |
Re: PLUS his example is in vb, not C/C++. PLUS his example is the equivalent of "count all the hooves and divide by four". PLUS he doesn't believe in comments, white space or indentation in his code. By all accounts, it is over-designed and just all around a bad example of … | |
Re: Try taking out the comma at the end of municipio_fk CHAR(2), | |
Re: I recently got burned by this as well. Unlike you, the remote computer was only four houses down the road (father-in-law). I agree. It's a serious flaw. I do have another system I occasionally remote into (Cambridge, UK) but at least that one is not unattended and can be upgraded … | |
Sophos software has recent.y made their [Sandboxie](https://www.sandboxie.com/) software free for personal use and will soon be making it open source. For anyone unfamiliar with Sandboxie, it implements an isolated enviroment where you can run programs (even install them) without fear of affecting your system. When you run a program from … | |
Re: You might start by adding some code to call your functions. What change do you want to make? | |
![]() | Re: The answer is "it depends". My laptop (Windows 10 Home) is partitioned as follows: - 120 gB C: - 1.7 tB D: C: is reserved for OS, applications, and some user folders. After I installed Windows I relocated My Documents, My Pictures, My Videos, My Music and Downloads to equivalent … |
Re: I generally compose anything of length with [MarkDownPad (free)](http://markdownpad.com/) and then copy/paste once I have the formatting correct. It also saves me from having to retype anything in the event of a posting error. | |
Re: Welcome to Daniweb. Why don't you tell us a little bit about yourself? | |
Re: Not to mention that most people respond better when you ask a question politely rather than demand an answer. | |
![]() | Re: Nobody here will do your homework for you. However, if you show some effort and get stuck you can post your questions. |
![]() | Re: Are you planning on posting all of your homework questions here? How, exactly, do you plan on learning? Do you imagine you could learn to play the piano by getting someone else to practise for you? |
Re: Since you are comparing op to `'!'` is there any particular reason you declared it as int rather than char? | |
Re: The way I would do this is to make the tables more general. You have a table set up for a specific number of courses. If you need to add or remove courses you have to alter the table. Instead, you should have a table that maps courses to a … | |
Re: I use Macrium Reflect (free home edition) and I have it set to automatically do a full image of C: at the start of the month and a differential every day. | |
Re: Please read the [Daniweb Posting Rules](https://www.daniweb.com/welcome/rules) and [Suggestions For Posting Questions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question). | |
Re: What are you trying to do? If you want to assign a value to `a[10]` you must specify only a single value. If you want to assign multiple values to an array you must do it when the array is declared as int a[] = {2,4,1,9,0,6,5,7,3,8}; Also `main` would take … | |
Re: If you are going to define a class for a player then you should define a `changeroom` or `move` method within that class instead of making it an external def. I also want to mention that you should post code with the correct indentation (especially important for python code). | |
My wife got a VeryfitPro fitness monitor for Christmas. I have the app loaded on my Android (6) phone and was hoping to install a companion app on my Windows 10 laptop but the only thing available is to install an Android emulator on Windows 10 then load the phone … | |
Re: For future reference, `code snippet` is for posting a fully debugged and fully documented piece of code. `Discussion/question` is what you should have selected. | |
Re: At least the OP used a Sharpie. As I recall, someone else like to use Sharpies. Hmmmm.... | |
Re: Glad to see new blood. Please take a few minutes to read the [Daniweb Posting Rules](https://www.daniweb.com/welcome/rules) and [Suggestions For Posting Questions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question). | |
Re: I dont want to start an "I hate StackOverflow" discussion, but perhaps you could tell us what you don't like about SO that led you here. | |
Re: >But if I were to write in system folders then I bet WD would complain. That would result in a UAC popup rather than an alert/response from Windows Defender. I have written quite a few applications in c, vb.net c\#, python, etc. I have never had to sign anything and … | |
Re: What have you tried so far, other than asking us to do it for you? | |
Re: Also, if you are getting a syntax error in your query, it helps to print out the value of the query after you have concatenated in the variable text part. | |
Re: I'm not even sure if this was optional when I installed VS 2019 but I made sure the Python support was installed. | |
Re: Ambiguity. The devil's volleyball. - Emo Phillips | |
Re: And how are we to know whether you forgot your password or you just want to break into someone else's computer? | |
Re: My summer project is also to learn Python. As such I've been busy converting all of my vbScript maintenance scripts. Feel free to post any Python questions and we'll try to help. I have found a few things frustrating but I've managed to work through most of them. I am … | |
Re: Agreed. There are computing problems for which you want to carefully pick: 1. The most efficient algorithm 1. The most optimized programming language 1. The fastest hardware/OS platform But to worry about the above for the OP's problem is a complete waste of time. | |
Re: For future reference, if your program is throwing an error, it is always helpful to say what line is causing it. It may have been obvious in this case, but some people post very large blocks of code. The more information you can provide the more likely you are to … | |
Re: The `include` had `#` as the first char so it was interpreted as `heading`, thus the big font. I fixed it and now you can see the target as `<iostream>`. | |
Re: I can't answer your question but I think you may want to check out [Movie DB API](http://www.omdbapi.com/). I use it to get movie info via code. | |
Re: I would create a function `IsPalindrome` that checks any string, then pass it a number converted to a string. Why bother with numbers at all? Actually, I did this and the function was four lines including the header. | |
Re: After verifying that a valid number has been entered you can do For i = 1 To CInt(TextBox1.Text) ListView1.Items.RemoveAt(0) Next | |
Re: Python or vbScript? This is the Python version import os import sys import glob import shutil import datetime for arg in sys.argv[1:]: for file in glob.glob(arg.replace("[", "[[]")): base,extn = os.path.splitext(file) newname = base + ' ' + str(datetime.date.today()) + extn if not os.path.exists(newname): shutil.move(file,newname) Save it in a file like … | |
Because Microsoft will be removing vbScript in the next version of Windows, I have been busy converting my utility vbScripts into Python. Part of this is a library of functions that I keep in `D:\include`. I'd like to maintain this system in Python, but the import process is rather clumsy. … | |
Re: First off I wouldn't use Settings variables. They are stored in clear text. Plus, you are limiting yourself to only one user. I would set up a small database (I suggest sqlite) and encrypt/scramble the username and password. If you don't want the user to access other parts of the … | |
If you like to use Sticky Notes, do yourself a huge favour and stop using the Windows 10 Sticky Notes tool. Instead, go to [Zhorn Software](https://www.zhornsoftware.co.uk/stickies/) and download Stickies by Tom Revell. It works much better, has more features, is very well documented and is very intuitive. You can also … | |
In keeping with tradition, Microsoft has released the latest update before resolving a number of outstanding issues. But at least they now provide a more centralized location for getting update information. The home page (dashboard) can be found [here](https://docs.microsoft.com/en-us/windows/release-information/) and the specific page for the latest update can be found … | |
Re: You are spending too much time on Facebook (like). To understand an algorithm, work through an example with pencil and paper. Then code it up. Then step through it using a debugger while following your paper and pencil example. | |
Re: It seems to me that if you have something that really needs to be hidden, instead of creating a complex workaround to try to hide stuff in (sort of) private properties (resulting in something that may be impossible to maintain), you'd be better off writing the critical stuff in C/C++, … | |
Re: Welcome aboard. Please take a few minutes to read the [Daniweb Posting Rules](https://www.daniweb.com/welcome/rules) and [Suggestions For Posting Questions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question). |
The End.