199,114 Archived Topics
Remove Filter ![]() | |
Write a looping program for Theater Seating selection The program will display the theater seating (shown later) and prompt the user to select a seat to purchase using the row number and column number. If the seat is not available (has already been sold), your program should re-display the theater … Programming | |
Hi Maam and Sir. I need your expertise on vb.net. I have two data grid with database on their own. I want to copy/update the data from one database to another. The data grid have product codes and prices. I want to copy/update only the prices from the first data … | |
Hello pls i am making a comment feature for my log. I want the comments to be submited from a form in the "READ_MORE.PHP" , and i want the form to be processed in a "COMMENT.PHP" page were the form values are insertrd in the Comment table... (which has 5 … | |
I want to write out a DXF file with line arc and maybe spline. My issue is documentation; While I have looked at AutoCAD's site I feel that there isnt enough to say "here is a BMP of a circle. Lets take it and convert it using this code". Its … | |
![]() | Hi everyone, I am working on a coin collection app, and I have recently started integrating core data into my app. My app is of the following format: I have a core data database which stores custom CoinCategory objects and each CoinCategory object has an array of Coin objects. This … Programming app-store data-protection ipad multithreading user-interface |
Hi all I'm creating a warehouse management system, then i want when new orders are created, a customer's name be selected from a list box and that customer's selected name from a list box be the table name that will hold records of the table's order with a random number … | |
0 down vote favorite I have created a network scanner, that looks for a specific port on a range of IP's. I would like to thread the application but I am getting and error message ERROR: for worker in range(network.hosts): TypeError: 'method' object cannot be interpreted as an integer Now … | |
Hello, I am looking for an API that will feed me soccer stats from leagues like the EPL, Bundesliga, Serie A, and La Liga such as personal player information (name, height, weight, dob, etc.), player statistics (goals, assists, minutes played), as well as results from games. If anyone knows of … | |
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then For Each subCtrl As Control In ctrl.Controls If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then MsgBox(subCtrl.Text) End If If subCtrl.GetType Is GetType(System.Windows.Forms.ComboBox) Then If subCtrl.GetType Is GetType(System.Windows.Forms.RadioButton) Then If CType(subCtrl.Controls("rbttnM"), RadioButton).Checked Then MsgBox("Male") End If If CType(subCtrl.Controls("rbttnF"), RadioButton).Checked Then MsgBox("Female") End … | |
can you help me fix this code the frist number of the array is giving a error Dim studid() = {7908205555, 89546214, 2435325, 25463, 264326, 263626, 262261} Dim id As Integer id = Integer.Parse(TextBox1.Text) For i = 0 To studid.Length - 1 If id = studid(i) Then ListBox1.Items.Add("the id is … | |
Hello all, I am stuck at some logic and can't able to find stuffs for my research.I have a web based data Entry app in php.Now there will be atleast 2 operators for data entry.now when they login they will redirected to same page.I fetch one file at a time.Here … | |
Hi All, I am having a system which receive data from around 30K gps . Each unit will be inserting concurrently around 1 minute. 1.What tweak should I add to cater for this? I target my ram to be 48Gb with 24 cpus. 2. Once the data grow should I … | |
In this assignment you are to write a program that finds a path through a “maze”. The maze will be represented by a 2-dimensional array of ints. You will be given a starting point in the array that consists of a pair of ints <x,y>. In this pair, x represents … | |
Greetings, I have been trying to figure this out for hours with no avail. Basically I need to print out user input as Initial value, ASCII(char), ASCII(int), and Hex. I can get everything to work however I am not supposed to have the char values print if its a digit, … | |
how can i auto sum the values in datagrid cells of the same row in vb.net | |
1. Your program should read the input files by using Unix shell redirection (e.g. a.out<lab1.dat) to read the input from stdin (C). By using redirection, it is unnecessary to open and close the input file, nor should your program prompt for a file name. You should dynamically allocate tables for … | |
Hello guys, just need your insight. Just a noobie in PHP, I have this scenario after a user logged in and is authenticated. It will be redirected to another URL. If the user booked mark the URL and next time just go directly to the URL. What's the best way … | |
Hello, Can anyone program and add voice recognization to input box ? How to do that with laravel? Thanks in advance. | |
Hello, I'm trying to edit data from a selected table row by using contextmenu. But when I try to select a row for edting instead the **LAST DATA in a row** will fetch. Table: <div class="container"> <div class="row"> <div class="col-md-12"> <div class="table-responsive"> <table id="ppmpsupplies" class="table table-bordered table-hover" cellspacing="0" width="100%"> <thead> … | |
Hello, I am trying to rename database MySQL: RENAME DATABASE old_db_name TO new_db_name; 1 kesalahan ditemukan dalam analisis. A rename operation was expected. (near "" at position 0) Query SQL: RENAME DATABASE wwwsoulf_revsoul TO wwwsoulf_revsoul2 MySQL menyatakan: Dokumentasi #1064 - You have an error in your SQL syntax; check the … ![]() | |
Hello every One i have been trying this for a day but can't able to find out what i am doing wrong? Here Class proxy function which gives me access token and refresh token after user enter it's username and password by ajax request i send request to controller where … | |
Php Buddies, Why do you reckon the following script is unable to replace the 'https://' or the 'http://' words with 'http://mymydomain.com' ? It is able to replace the words 'www.' with 'http://mymydomain.com', though. Open 2 tabs in your browser where one opens to the page where you are running the … | |
I am trying to write some code for project euler problem 10, in which you are required to find the sum of all the prime numbers less than 2 million. Now the code is taking too long to execute. I would like to know how can I improve my code … | |
Hi everyone, This might be a very stupid question to ask and the answer might be very simple but I was just curious to know this. How to display "\n" on output screen in C++? We all know \n is used to enter a new line. But what if I … | |
I am attempting to properly install and run a Ruby script. I have not worked in Ruby for some time and am not sure what I'm missing; it worked perfectly in the past (on a work machine.) I am receiving the following error message: **<Main> undefined local variable or method … | |
Hey there everyone, I need to write a small program to get a certain task done, but I have zero experience in manipulating text files. Can someone please give me a start on how to write the following program: The program should take all the text files in a folder, … | |
Write an Assembly program that allows the user to enter a string of up to 99 characters. The program shall then replace all the digits with their corresponding words. The words shall be printed in all lower case or all upper case depend on the case of the last alphabet … | |
I would like to know Which are the python data structures uses divide and concur algorithm? Please explain me? | |
Hi I'm having an 'The application is in Break Mode Error' when debuging this sort code. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim ds As New test1 Dim reportdoc As New CrystalReport1 ds.Tables.Add(Test_tbl) DataGridView1.DataSource = ds.Tables("Datatable1") reportdoc.SetDataSource(ds.Tables("Datatable1")) With CrystalReportViewer1 .ReportSource = reportdoc .Refresh() End With End … | |
I'm using Winforms with a picturebox and a custom rectangle drawn on it (face detection). Now I have code the draws the rectangle on the specified coordinates, allows resizing and moving of the recangle. However.. I need to know how to rotate the rectangle by using the MOUSE. I know … | |
Hello, I am trying to undestand what is smart.net for and what is it's relation with prestashop. I heard prestashop is made from smarty but I still cannot understand how to relate the two of them. I also cannot figure out how to create theme with prestashop. Can anyone else … ![]() | |
![]() | I am relatively new to the programming world so I apologize if my code seems naive in any sort of way.I have been making a piece of code that counts all the circular primes below a given number, 'input'. If you wonder what circular primes are, you can check it … |
I am making a text adventure and would like the command line window to be a specific size when you run the .py file in the command line window. eg. 300 wide by 250 height. I found a thread on here that shows how to specify the text colour which … | |
Hi I have the following form at [http://test.genealogyresearchassistance.co.uk/newLinks.php](http://test.genealogyresearchassistance.co.uk/newLinks.php) The code is <form id="add" action="add.php" method="get"> <label for="name" id="name">Name of site</label> <input type="text" name="name" required="yes"><br/> <label for="link" id="link">Link of site</label> <input type="url" name="link" required="yes"><br/> <label for="desc" id="desc">A bit about the site</label> <textarea name="desc" required="yes"></textarea><br/> <label for="location"> Location:</label> <?php include 'database_conn.php'; $sql … | |
Sub generate_inv() Dim id_tmp As String Query = "select top 1 InoviceNo from Invoice order by InoviceNo desc" cmd = New OleDbCommand(query, cn) dr = cmd.ExecuteReader If dr.HasRows = False Then dr.Close() id_tmp = "E000001" Else dr.Read() id_tmp = Format(Mid(dr("InoviceNo"), 2, 6) + 1,"E00000#") End If dr.Close() txtInvoice.Text = id_tmp … | |
Hey, I have two columns. Ride and booking. In table booking there is the foreign key of ride. The intention is that 30-day and later bookings will be removed. If I run this query, I get the error message: mysql 1451 can not delete or update a parent row The … ![]() | |
I want to get sum of estimate quantity from estimates table gropBy material_id. Also want get sum of mprs quantity related to previous query table. My estimates table is as below | id | project_id | material_id | estimatequantity | | 1 | 1 | 1 | 500 | | … ![]() | |
I'm having the following difficultly: I have a table `rates` which contains the follow: -> id -> rate_from -> rate_to -> price A `user` can have many rates, and for an example: between 0 - 10 hours the `user` charges `10.00` an hour between 10 - 100 hours the `user` … ![]() | |
**I saw a jelly button here:** https://codepen.io/ayamflow/pen/Dufxr But when I tried to create it on my laptop [image](http://ibb.co/bZhXa5) its not working. Here you can see: [image of button](http://ibb.co/nAfw2k) I am using these codes: **For HTML** <!doctype html> <html> <head> <title>bubble</title> <link rel = "stylesheet" type = "text/css" href = "assets/stylesheet.css" … | |
I tried to turn on "allow_url_fopen" through MultiPHP INI Editor in cPanel. [You can see image here](https://ibb.co/dS9WHk) But when I check through test.php it shows there that allow_url_fopen is still disabled: [Image](https://ibb.co/irriV5) Can you tell me where the problem is? Even after enabling through MultiPHP INI Editor it is disable … | |
i have this piece of code that coppies a file to another: my question is, how do i change the name of the created output file ? for example if the file that i run this code on is "text.txt" how do i add the ending ".something" to the file's … | |
Group, you were very helpful to me in adding multiple textboxes, labels, etc., in my original post. If you would like to read through that, see http://www.daniweb.com/software-development/vbnet/threads/447985/creating-multiple-labels-textboxes-etc.-dynamically#post1934799. In a similar vein, I now want to dynamically add these multiple panels within a "main" panel, one at a time, with the … | |
Hi! I have made a desktop application which is running perfectly. But i am facing problems with jframe size on different machines. I have monitor of 'Gateway'. I am satisfied with my jframe size on my screen . But when i shifted it on laptop of 'hp' company then my … | |
why can't we change the default starting index of an array to 1 instead of 0 ? and another question how much fields can a bit field have ay most ? thanks previously | |
im intending to write a code that reads words and the lines that it appears at from a file and sort the words alphabetically in a linked list then prints them. so far i've made out this... but it doesn't print them in alphabetic order and it prints duplicates as … | |
I am currently trying to update a database using C# My issue is that the update query is not working, there is no error produced just reloads the screen and thats it. My C# is as follows void SaveRecords() { try { String qry = "Update Ordered_Test Set Ref_Phy = … | |
struct sdata; typedef struct sdata *sptr; struct sdata { char sName[25]; char sNum[7]; sptr next; }; void readdata(); int main(void) { readdata(); return 0;' } void readdata(){ int length; int i ; char Line [100]; const char s[2] ="#"; char *token= strtok(Line,s); FILE * data =fopen("data.txt","r") ; if(data==NULL){ printf("ERROR : … | |
So i have my mips code that i want to do the follow thing: When i get a vowal (aeiou) it prints the next consonant from vowal (bfjpv). My code works 80% but when i do that it deletes the next char where i replace. Like: Bruno it must print … | |
0 down vote favorite So you have these Microsoft KB support articles. Example: https://support.microsoft.com/en-us/help/871122 My goal is to be able to iterate through a list of these pages and see if the articles actually exist. As you can imagine, it's hard to do it manually, so I need a program … |
The End.