8,966 Posted Topics
Re: ImageList is a container control, not a visible one, hence it does not have a Location property. What you need is a PictureBox control. You can show this on the form, load different images in it, and move it around use it's Location property. You can set a PictureBox's Image … | |
Re: I suggest to use Regex.Match(), because it can determine if the first character is an uppercase letter easily with `^[A-Z].*` https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.match?view=netcore-3.1#System_Text_RegularExpressions_Regex_Match_System_String_ | |
Re: Try SELECT `username` FROM users WHERE `username` = '$username' instead of SELECT 'username' FROM users WHERE 'username' = '$username' (backticks instead of single quotes) | |
Re: `stretchToFit` stretches the player to the size of the parent control. IIRC the player has a `uiMode` which can be set to `custom`. To get the width and height, you'll need something to determine the right values from the video file. Not sure if this player has those kind of … | |
Re: http://www.microsoft.com/en-us/download/details.aspx?id=25169 | |
Re: Did you read the quick start? https://www.php.net/manual/en/mysqli.quickstart.dual-interface.php | |
Re: Building an API using the language of your choice can accomplish what you require. | |
The "filter by" at the top of a forum is by default set to "recommended". I'd love to have it remember (at least for the duration of my session) that I want a different filter (or none), prefarably one filter setting for all forums. Everytime I switch to a different … | |
Re: One small oversight: $('#price').keyup(function() { calculateSum(); }); Only binds the event once, you should have used `live` here too: $('price').live('keyup', function() { calculateSum(); }); In my example I've added `class="price"` and used `.price` instead of `#price`. Using the id is meant to specify a single item. In your case you … | |
Re: What are the values you are trying to insert? What do you see when you click "View detail" in the exception box? | |
Re: Probably something like this: SELECT * FROM ( SELECT product_id, SUM(quantity) AS purchase FROM purchase GROUP BY product_id ) P JOIN ( SELECT product_id, SUM(quantity) AS sale FROM sale GROUP BY product_id ) S ON S.product_id = P.product_id | |
Re: What do you have so far? | |
Re: <form method="post" action="registration.php"> Here you submit to `registration.php` > and this if my config.php code while you state that your file is named `config.php` | |
| |
Re: Here's one hint: https://www.php.net/manual/en/function.preg-match.php | |
Re: It works in SoapUI... No typos? `getidspedizionebyrmn` in the WSDL is lowercase. | |
Re: You might want to have a look at this: https://www.peterbe.com/plog/format-thousands-in-python | |
Re: Using 2FA so it can be used with Authy on my phone. | |
Re: This page lists several options: https://www.cyberciti.biz/faq/linux-list-users-command/ One of them is: $ awk -F':' '{ print $1}' /etc/passwd | |
Re: If you use `file` instead of `file_get_contents` you'll get an array by default. | |
Re: IIRC an OLEDB connection string to a MS Access database uses a filepath/UNC path. This is not possible over an open internet connection. You'd need to build an API around your database to make this possible, or switch to another database (e.g. MS SQL). | |
I started my previous question with the title "Filter by" . I typed my question, clicked go to the next step. After that I clicked "Free" and only after that I got turned back to my question indicating that the title was too short. Shouldn't it say that before continuing … | |
I just updated my professional networking profile. The skills and interests textbox was prefilled with php, mysql, javascript, web-design and asp.net presumably from my post history. I've updated this to c#, .net and sql. This is visible in my profile page. When I go back to edit my professional networking … | |
Re: You use `$_GET['ID']` while your form uses `method="POST"` | |
Re: You need to declare `all_skills` before the ajax call. | |
Re: https://api.jquery.com/stop/ > Animations may be stopped globally by setting the property `$.fx.off` to `true`. When this is done, all animation methods will immediately set elements to their final state when called, rather than displaying an effect. | |
Re: What do you have so far? | |
Re: $sql =" SELECT * FROM `comments` "; $result = mysqli_query($db, $sql); while($row = mysqli_fetch_assoc($result)) { $sql =" SELECT * FROM `waste_collection_companies_info_table` WHERE `company_id`='$comment_company_id'"; $result = mysqli_query($db, $sql); while($row = mysqli_fetch_assoc($result)) { } } The above is a summary of your code. As you can see you are reusing your `$result` … | |
Re: If you think it's the SQL, then add some error handling and find out: https://www.php.net/mysqli_error | |
Re: Are you looking for this perhaps? https://docs.microsoft.com/en-us/dotnet/framework/winforms/how-to-implement-the-inotifypropertychanged-interface I don't have a working example for you, but there's lots to be found online. | |
Re: Perhaps the 1 second timeout is too short. Can you check if errno/errstr return values? | |
Re: If `cu_client_id` is your PK then you can use: https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html | |
Re: If you step through the code, do you see the actual file contents? | |
Re: How many columns are defined in your table? | |
Re: If you use `mysqldump`, then you can use the `--all-databases` parameter. Note that you should use a user which has access to them all. | |
Re: > Are there other countries besides Belgium, where the following contest takes place? Yes, The Netherlands... | |
Re: Remove the `ìf`s from lines 4-8 | |
Re: https://www.php.net/manual/en/function.password-hash.php The second parameter denotes the algorithm to use, so why are you adding microtime() ?? | |
| |
Re: If you do a GroupBy on the properties amgId and amgName then you can fill the prodQty array. If you can provide a small working example I can work with, then I can be more specific. | |
Re: I'm wondering why you set the service status explicitly? If you have created a windows service app from Visual Studio, those should be set automatically. While a Timer is great for testing. If you want something more robust and configurable, have a look at : https://www.quartz-scheduler.net/ | |
Re: Custom built .NET Core application on Azure | |
Re: > could you please tell me what a job is A job is like a task, to run at a certain time/interval and consist of one or more steps. > how to get it to run a stored procedure See: https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-add-jobstep-transact-sql?view=sql-server-ver15 Adding a job step will allow you to execute … | |
Re: You can only read it if it originates from the same domain. Same origin policy prohibits reading iframe source from a different domain. | |
Re: Define "wrong". What is it supposed to do, and what part doesn't work, any errors perhaps? | |
![]() | Re: You can use `DateTime.Parse()` to convert your string to a `DateTime`. `DateTime` variables can be subtracted resulting in a `TimeSpan` containing the difference. |
The End.