-
Replied To a Post in Parse error in my php code
The procedure [`mysqli_query()`](https://www.php.net/manual/en/mysqli.query.php) has the following signature: mysqli_query(mysqli $mysql, string $query, int $result_mode = MYSQLI_STORE_RESULT) It takes either two or three arguments, with the first argument being the database connection … -
Began Watching Parse error in my php code
I am a newbie and i am working with php and i have got the following error Parse error: syntax error, unexpected 'INSERT' (T_STRING), expecting ',' or ')' in verify.php … -
Replied To a Post in I have to write a c program for finding the impedance of RLC circuit and re
Can you show us what you have done so far, please? We would need to see your current progress in order to give assistance; we cannot provide a solution directly. -
Began Watching I have to write a c program for finding the impedance of RLC circuit and re
I have to write a c program for finding the impedance of RLC circuit and represent the result in both polar and rectangular coordinate system -
Replied To a Post in fstream pointer in vector of struct
My first comment is more of an aside, but I was puzzled by the mixing of C stdio and C++ iostreams. I would pick one or the other, not both. … -
Began Watching fstream pointer in vector of struct
Hello. I am writing a program in C++ that is reading some files with `fstream` then writes with simple function and after that closes them. I created a `struct` and … -
Replied To a Post in Can u help me I am making a game in pygsme pygame in python so when I run t
We would need to see the code in order to determine anything about it. Please post your code (in the message directly, using the Code Block '</>' button), or at … -
Began Watching Can u help me I am making a game in pygsme pygame in python so when I run t
Can u help me I am making a game in pygsme pygame in python so when I run the program it appears a blank black screen instead of the image … -
Replied To a Post in VB.net 2 sound cards playing different sounds.
Not to be overly pedantic, but: .NET Framework is the library and runtime support system used by a number of different Microsoft languages. Visual Basic.NET is one language, C# is … -
Began Watching VB.net 2 sound cards playing different sounds.
I am using visual studio / basic 2019. using the windows media to play sounds (WMPLib.WindowsMediaPlayer). It works great, I can play multiple sounds etc. However what I realy want … -
Replied To a Post in Checking if in current combobox index (for next loop) a number is >=1 <= 10
I would definitely try putting the `"Days"` constant string into a `Label` next to the `ComboBox` in question. As it is, you'd need to parse the string into the part … -
Began Watching Checking if in current combobox index (for next loop) a number is >=1 <= 10
Hi, I like to ask for a clarification about it. I have combobox.items(i) that go trough a for next loop for each index I need to check if its content … -
Replied To a Post in Need to develop mobile app
In one way, it depends on whether you are targetting iOS or Android. For the former, you would natively use Swift, while for the latter you would natively use Java. … -
Began Watching Need to develop mobile app
Pls let me know which tool or software to use to develop mobile app. I have 27 yes exp in vb6 and sql. Need to change to mobile app. Pls … -
Replied To a Post in Timer tick doesn't fire another form button click event
Just as an aside, since you know that it is in the range 0..30, have you considered declaring `value` as `Byte` (and casting the string using `CByte()`) ? That would … -
Replied To a Post in Timer tick doesn't fire another form button click event
I can't say if it the main source of the problem, but the line `If value >= 0 Then` has the test reversed; it should be `If value <= 0 … -
Began Watching Timer tick doesn't fire another form button click event
Hi, like title, I have a timer, that when reach 0 will fire event on another form, then timer restart but when reach 0 nothing happen. how can I achieve … -
Replied To a Post in 106 error in my program in pascal Help!
As Rproffitt said, please make your own new threads rather than resurrecting long-dead ones. As for the error code, that was explained in detail earlier in this thread: it indicates … -
Replied To a Post in Why is my Key Listener not working within the code below?
Do you have a program class (i.e., one with a `main()` method) which you could share with us, so we could test the `GamePanel` class ourselves? Even a minimal test … -
Began Watching Why is my Key Listener not working within the code below?
import javax.swing.*; import javax.swing.plaf.basic.BasicTreeUI; import java.awt.*; import java.awt.event.FocusListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; public class GamePanel extends JPanel implements Runnable, KeyListener{ final int originTileSize = 16; //The Size of the tiles, … -
Gave Reputation to jake_20 in how to pause VB.net code until the user clicks a button
Here is what I did.... Dim press As Boolean = False For Each '''''''''''''''do whatever you want press = False ''''at the beginning of the for loop CreateObject("WScript.Shell").Popup(filename, 1, "Auto-OK … -
Gave Reputation to rproffitt in how to write in excel file of sql query result
I'm going to ignore your poorly formatted code. But when I want files that Excel can use I write .CSV files so I don't have to worry which Excel version … -
Replied To a Post in Problems in sorting element inside an array of object.
Before I address the question, allow me to trim the `include`s list a bit, removing some which are either redundant or not actually valid under standard C++ : #include <iostream> … -
Began Watching Problems in sorting element inside an array of object.
i have initialized the elements of the array by reading the strings from a file, however when I call the sort function, either the program crashes or it just outputs … -
Replied To a Post in not displaying the union and intersection of sets in output
Traditionally, sets are represented as bitfields, which could then be manipulated with the bitwise operators - `&` for union, `|` for intersection. Since you know the whole set has at … -
Replied To a Post in not displaying the union and intersection of sets in output
Did you have a question, or need assistance in some way? -
Began Watching not displaying the union and intersection of sets in output
#include<iostream> using namespace std; class Sports { public: int tennis; int badminton; int cricket; int setA[20],setB[20],setC[20]; int ab[20],bc[20],ca[20],abc[20]; int n1,n2,n3,n4=0,total; void accept(); // method for accept the input void intersection(); … -
Replied To a Post in FOR a dummy-How to connect html webpage with SQL table data
You would need some sort of server-side scripting (PHP, ASP.NET, Node.js, Django, Ruby on Rails - something like those) to query the database and insert the dataset into the page … -
Began Watching FOR a dummy-How to connect html webpage with SQL table data
is having created a webpage using Html and css the page is laidout (has header, side panel, main content area and a footer) as well as (a table of appx … -
Gave Reputation to rproffitt in Operating System in python54433434
Nod to Schol-R-LEA but the link looks dead here. Read https://wiki.osdev.org/Languages#But_I_heard_of_an_OS_written_in_language_XYZ.2C_isn.27t_it_interpreted.3F to find out this project is a Red Herring. You won't be doing this! -
Replied To a Post in Operating System in python54433434
You might want to try the [OSDev Forums](https://forum.osdev.org/) as they have more specialized knowledge. However, you might want to read [this wiki page first](https://wiki.osdev.org/Languages), as it voices some of the … -
Began Watching Operating System in python54433434
Hey can you guys help me make a operating system in python? -
Replied To a Post in functions containing while are not expanded inline
You would move the method out of the class declaration, preferably moving the declaration, implementation, and `main()` into separate compilation units. line.h: int xmax,ymax,xmid,ymid; class Line { public: int x1,x2,y1,y2,ch; … -
Replied To a Post in functions containing while are not expanded inline
No one here is going to open up some random Word document in MS Word, where there could be random macro viruses in it. Fortunately for you, I use LibreOffice … -
Began Watching functions containing while are not expanded inline
line 5: Declaration syntax error line 59: function containing do are not expanded inline line 153: function containing while are not expanded inline line 218: declaration terminated incorrectly` -
Gave Reputation to Hemangi_2 in Token payment in vb
def change_char(str1): char = str1[0] str1 = str1.replace(char, '$') str1 = char + str1[1:] return str1 print(change_char('restart')) -
Replied To a Post in Token payment in vb
It would have been better if you'd posted more details in the threads you'd already started, rather than re-posting mre or less the same thing in a new post each … -
Began Watching Token payment in vb
Hi may i ask if someone can help us about where we can create a token payment system for our gaming system in vb. I want to create a payment … -
Replied To a Post in To print second column after first column using perl.
**Correction:** the strings would be left-justified, not right-justified. -
Replied To a Post in To print second column after first column using perl.
Wait, what? You mentioned Perl in the thread title, but then you added tags for C, C++, and Python. Which is it? Also, the description doesn't match the illustrative example. … -
Began Watching To print second column after first column using perl.
I am trying to edit a file that contains: Time Column 1 Column 2 Column 3. I need to print Column 2 after column 1. Time Column 1 Column 2 -
Replied To a Post in python beginer a very stupid(lazy) man
A [quick search](https://www.letmegooglethat.com/?q=free+python+books) finds [this list of free books on Python](https://pythonbooks.org/free-books/). Of these, I would recommend _Think Python_ personally, though I don't know all of the others so there may … -
Began Watching python beginer a very stupid(lazy) man
could you recomend me a free bok or a youtube video to start learning python (latest version) from scratch????? grettings, Vito Orlic, Metlika Slovenia -
Replied To a Post in Gaming system in vb
Let's step back and look at the details, such as * What sort of game are we talking about? The mention of tokens makes it sound like it is suppose … -
Began Watching Gaming system in vb
Hi wanna ask for help about game system. Our teacher requires us to make a gaming system that consist of time monitoring system, billng system but our system requires online … -
Replied To a Post in Do you participate in any other communities?
Tech fora? Not so much these days, though I still check the [OSDev.org forum](https://forum.osdev.org) from time to time, and am on the Discord for the [Craft Computing YouTube channel](https://www.youtube.com/c/CraftComputing). I … -
Began Watching Do you participate in any other communities?
I know rproffitt is a moderator on the Tech Republic forums. Does anyone else participate in any other online forums / communities / subreddits / etc? Just curious :) -
Replied To a Post in Problem with working vb app not install on user pc
I believe Pritaeas was referring to using https://wetransfer.com, a website that allows secure anonymous transfers of files - sort of similar to Google Drive, except designed specifically so you can … -
Replied To a Post in Problem with working vb app not install on user pc
If you have version control set up, is there any way to send the users an earlier build to see if that version installs? -
Replied To a Post in Problem with working vb app not install on user pc
If you don't mind me asking, do you have a publicly accessible version-control repository for your code? It would make it much easier for us to review the program, if …
The End.