8,966 Posted Topics

Member Avatar for Onion13

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 …

Member Avatar for pritaeas
0
472
Member Avatar for C_Oleyers

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_

Member Avatar for pritaeas
0
62
Member Avatar for Passy

Try SELECT `username` FROM users WHERE `username` = '$username' instead of SELECT 'username' FROM users WHERE 'username' = '$username' (backticks instead of single quotes)

Member Avatar for Dani
0
76
Member Avatar for swathi sajja

`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 …

Member Avatar for pritaeas
0
28
Member Avatar for pearl.kumar1
Member Avatar for Sananil

Did you read the quick start? https://www.php.net/manual/en/mysqli.quickstart.dual-interface.php

Member Avatar for Dani
0
275
Member Avatar for pandglobal

Building an API using the language of your choice can accomplish what you require.

Member Avatar for Emmason
0
84
Member Avatar for Aarón_23
Member Avatar for pritaeas

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 …

Member Avatar for Dani
0
622
Member Avatar for Danny159

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 …

Member Avatar for AndreRet
0
5K
Member Avatar for Mike Bishop

What are the values you are trying to insert? What do you see when you click "View detail" in the exception box?

Member Avatar for SoftBa
0
792
Member Avatar for nishita_1

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

Member Avatar for Santanu.Das
0
320
Member Avatar for RedWGS
Member Avatar for Remti Altec
Member Avatar for danny2

<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`

Member Avatar for pritaeas
0
77
Member Avatar for Shiva_20
Member Avatar for ibz95
Member Avatar for sunbury2003
0
110
Member Avatar for Massimo_2
Member Avatar for pritaeas
0
17
Member Avatar for madDOGim

You might want to have a look at this: https://www.peterbe.com/plog/format-thousands-in-python

Member Avatar for Koos_1
2
710
Member Avatar for Dani
Member Avatar for Gabriel9999

This page lists several options: https://www.cyberciti.biz/faq/linux-list-users-command/ One of them is: $ awk -F':' '{ print $1}' /etc/passwd

Member Avatar for pritaeas
0
67
Member Avatar for NardCake

If you use `file` instead of `file_get_contents` you'll get an array by default.

Member Avatar for Vitaly_1
2
961
Member Avatar for Kxpr

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).

Member Avatar for pritaeas
0
99
Member Avatar for pritaeas

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 …

Member Avatar for pritaeas
0
326
Member Avatar for pritaeas

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 …

Member Avatar for pritaeas
0
395
Member Avatar for Yumaris
Member Avatar for Priti_P
Member Avatar for Dani

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.

Member Avatar for Dani
0
516
Member Avatar for Barbra_1
Member Avatar for Passy

$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` …

Member Avatar for pritaeas
0
114
Member Avatar for phirux

If you think it's the SQL, then add some error handling and find out: https://www.php.net/mysqli_error

Member Avatar for Dani
0
616
Member Avatar for Dani
Member Avatar for cqx9

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.

Member Avatar for cqx9
0
508
Member Avatar for bradly.spicer

Perhaps the 1 second timeout is too short. Can you check if errno/errstr return values?

Member Avatar for johnie_1
0
418
Member Avatar for Alyana Diao

If `cu_client_id` is your PK then you can use: https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html

Member Avatar for pritaeas
0
143
Member Avatar for G_Waddell
Member Avatar for chris_58
Member Avatar for abhi10kumar

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.

Member Avatar for Purvi_1
0
370
Member Avatar for Reverend Jim

> Are there other countries besides Belgium, where the following contest takes place? Yes, The Netherlands...

Member Avatar for John_smith
10
21K
Member Avatar for Passy
Member Avatar for nanakumi75

https://www.php.net/manual/en/function.password-hash.php The second parameter denotes the algorithm to use, so why are you adding microtime() ??

Member Avatar for nanakumi75
0
909
Member Avatar for aaa801
Member Avatar for Mike Bishop
Member Avatar for kamilacbe

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.

Member Avatar for pritaeas
0
254
Member Avatar for Oxiegen

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/

Member Avatar for Paul.Esson
0
1K
Member Avatar for Monira Masia
Member Avatar for MagnusTheRed90

> 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 …

Member Avatar for pritaeas
0
314
Member Avatar for 68thorby68

You can only read it if it originates from the same domain. Same origin policy prohibits reading iframe source from a different domain.

Member Avatar for pritaeas
0
247
Member Avatar for Alexander_20
Member Avatar for pritaeas
0
190
Member Avatar for photo123

You can use `DateTime.Parse()` to convert your string to a `DateTime`. `DateTime` variables can be subtracted resulting in a `TimeSpan` containing the difference.

Member Avatar for pritaeas
0
289

The End.