199,114 Archived Topics
Remove Filter ![]() | |
Hi, I am new this forum and i am one of person interest i programming language. I am trying one small application to create. But i don't have proper guidance. I request help here. Just a asset management process. There are 2 tables [U]Category[/U] -> Catid, Catname [U]SubCategory[/U] -> Catid, … | |
This is my assaigment: Write a program that prompts the user for a beginning bank balance and an interest rate. The program will display the value of the account at the end of each year for 10 years. The output should show the value of the account for three different … | |
I would like to upload multiple images to my server using this code: <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <input id="picture_01" name="userfile['01']" tabindex="auto" type="file"> <input id="picture_02" name="userfile['02']" tabindex="auto" type="file"> <input id="picture_03" name="userfile['03']" tabindex="auto" type="file"> <input id="picture_04" name="userfile['04']" tabindex="auto" type="file"> <input id="picture_05" name="userfile['05']" tabindex="auto" type="file"> <input id="picture_06" name="userfile['06']" tabindex="auto" type="file"> <input … | |
Hey everyone, I have this problem. I need to access data that the user inputs via the <input /> statement during the controller method. Here's my code, maybe this will make it more clear: // client side @using (Html.BeginForm()) { if (competitorList.Count > 0 && eventList.Count > 0) { foreach … | |
Hi everyone.. How to make the checkbox stays checked when double click??? When i click the checkbox it will check, and when i double click it, it will still be check... how should i do that guys???... Cheers:-)...USC CAS CHEERDANCE TEAM | |
I have an assignment that is very similar to a past assignment. I have to create a for loop to find gpa. The previous assignment was to use a while loop: stop1 = int(input('How many GPAs do want to calculate? ')) totalgp = 0 totalgp1 = 0 while stop1 > … | |
<?php ob_start(); session_start(); include ('database_connection.php'); if (isset($_SESSION['myusername'])) { $logout = '<li><a href="logout.php">Logout</a></li>'; } ?> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <title>MVRAM</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <!-- Le styles --> <link href="bootstrap/css/bootstrap.css" rel="stylesheet"> <link id="switch_style" href="bootstrap/css/united/bootstrap.css" rel="stylesheet"> <link href="css/main.css" rel="stylesheet"> <link href="css/jquery.rating.css" rel="stylesheet"> … | |
| |
Good day to all I was wondering if it is possible to show all data in a datagridview that doesn't match from 2 tables? Like Inner Join if you have at least 1 match data from the other table it will display it. What i want is to display those … | |
Dim table As DataTable = New DataTable table.Columns.Clear() Chart1.DataSource = Nothing Chart1.Series.Clear() table.Columns.Add("Color", GetType(System.String)) table.Columns.Add("Data", GetType(System.Int32)) table.Rows.Add("Green", Integer.Parse(txtgreen.Text)) table.Rows.Add("Red", Integer.Parse(txtred.Text)) table.Rows.Add("Blue", Integer.Parse(txtblue.Text)) table.Rows.Add("Yellow", Integer.Parse(txtyellow.Text)) table.Rows.Add("Brown", Integer.Parse(txtnothing.Text)) Dim IEtable = CType(table, System.ComponentModel.IListSource).GetList Chart1.DataBindTable(IEtable, "Color") Chart1.DataBindTable(IEtable, "Data") | |
I am working on a program for work and trying to make a massage bar with text can anyone help? I just want the text to move across the screen. from tkinter import * Gui = Tk() Gui.geometry('8000x100+1+600') Gui.title('ALARTS') Gui.config (bg = 'blue') massage = Label(Gui, text = 'this is … | |
I need to prevent direct access of all the php files but allow only files pass.php how can i do that <Files ~ "\.php$"> Order allow,deny Deny from all Allow from 127.0.0.1 </Files> the code only allow access to localhost. now what if i want to allow access only to … ![]() | |
previously i try to approve /reject thrugh buttons and i try to code it but now i try to approve/reject through dropdownlist but i dont know how i code though dropdownlist.... this is code when i add buttons of approve and reject.. protected void GrdFileApprove_RowCommand(object sender, GridViewCommandEventArgs e) { if … ![]() | |
Hi guys, I need your help. I got a problem with playing the video formats on flash. I can't be able to play the live streams for some type of protocols in flash, e.g: http, rtsp, mms, m3u8, rtmp. I can play on some rtmp, but not most of all. … ![]() | |
I've been working at this code for probably 7 hours since last night. After hours of troubleshooting I solved most issues with my code but now I have a strange problem that I cannot figure out how to fix. One of my function is to generate a random hex string … | |
Hi all, What I am trying to accomplish is this: 1. User submits form 2. PHP checks the form for any words that begin with the '#' hash symbol 3. If any words beginning with # are found, php checks database to see if it already exists What is the … ![]() | |
Hi I have double values like this, double value1 = 100.0 double value2 = 100.23 I need to convert like this, value1 = 100 value2 = 100.23 Kindly give some sugesstions to convert like this. | |
![]() | I added a ListView object, added few Columns, but the problem is there that I can't add no text to the other columns by making new Items Any help? |
Is this an error or C# defalt value ? How to slove this problem ? | |
How to calculate time complexity and space complexity of the algorithm? | |
Im creating an application where some data should be populated in a gridview and then user should be able to update it and then same should be replicate to the database. So i have put a gridview and configure it to connect to my database which is base on access … | |
now i set insert query and reject query like this ALTER procedure [dbo].[sprejectapprove] @UserID int, @DocID int, @ApproveType nvarchar(50) as Insert into Approval(UserID,DocID,ApproveType) values(@UserID,@DocID,@ApproveType) Reject ALTER procedure [dbo].[spinsertapprove] @UserID int, @DocID int, @ApproveType nvarchar(50) as Insert into Approval(UserID,DocID,ApproveType) values(@UserID,@DocID,@ApproveType) and i call this sp's in this codes protected void GrdFileApprove_RowCommand(object … | |
Hello , I have a question about , if there is possibility , to prepare event , after an insertion in database is done , and how ? , using MySQLdb for python and MySQL . | |
hi i want to show entire column data from sql and show in a single textbox with "," | |
Hi there, my simple page in asp.net with ajax does not work... and i don't understand why... I have a button where i applied an ConfirmButtonExtender I have a textbox where i applied an calendarextender but if i run the page this simple ajax does not work... I guess i … | |
I can't seem to figure out how to return the result to the same page. When I get the result from the database it opens up a new page (search.php) but I want to stay on the same page as the form (the html page) I would greatly appreciate anyone … | |
Hello , I am trying to modify a backup script , using the zipfile module , it creates the folder of the day , and inside it the zip file that contains the two source folders , but not the underfolders and the files inside them . here is all … | |
Okay so I have fstreams that I swap between output and input. Is there anyway I can tell which openmode the fstream is in? | |
I'am trying to make a color mix program and is giving me this :Error Invalid Use Of Property. I guess is because i have to put some values for colors, but i don't know how. This is the code, hope somebody help me: Private Sub Command1_Click() Picture1.BackColor RGB(Text1, Text2, Text3) … | |
I want to make a Cocoa applictation using all code in Xcode, not using the Interface Builder. I have searched a lot on this and have not found anything since most people want to use the Interface Builder. Please don't say anything like "Don't waist your time on it", "They … | |
I have an array ($arr) of arrays ($ar) in which I want to describe the columns in a report. The salient elements include the column headings and the MYSQL field to use: Array ( "City", 12, 29,"Y", "City_date", "City_Total" ), Array ( "Atmos", 8, 23, "Y", "Atmos_date", "Atmos_Total" ), etc. … | |
![]() | I would like to make a Export / Import buttons that will save/open files that contain listView data (ListView Items) Can someone tell me is there a way to do this? ![]() |
0 down vote favorite I have script built with an old version of CakePHP.The script works just fine on live servers but when i tried to install it on my pc (with XAMPP installed) igot problems...I have this error: **Warning: include(cake\bootstrap.php): failed to open stream: No such file or directory … | |
Hi all, I have already written a code to search for staff records from my staff database and it's working fine, but the problem is, if someone enters a wrong a wrong staff id or just any number or alphabets, it still displays the "Found Record" message, instead of "No … | |
The maximum size of my array is 20 but I want the array to display only items that have been entered. I dont want the zeros to be considered in the array in all my operations like sorting and printing etc. Can anyone help. #include<iostream> #include<iomanip> using namespace std; void … | |
Hi professors, can you please help me out by saying an usefull and fast learning text book name with author for jsp(java server pages). Thanks in Advance for helping me. regards Salem. | |
I have completed this project for my Computer Science I class. I received full credit because the program is functional with no issues at a glance. However, upon testing the program again (after it was graded), I found that under specific circumstances an infinite loop occurs. I couldn't go on … | |
actually i have a very large code in excel vba. and it is really working very well. but when i m trying to use this code to vb.net then a part of this code is not working. i.e. Dim fnum As Variant Dim FileName As Variant FileName = Application.GetSaveAsFilename(InitialFileName:="Voucher", FileFilter:="Text … | |
I have running totals of int minutes and int seconds and I can display them as mmm:sss, but I need to convert them into hh:mm:ss. Any ideas? Thanks in advance for your help. | |
import javax.swing.*; import java.awt.*; import java.awt.event.*; public class PaymentCalculator extends JFrame{ private JPanel panelTitle,panelInput,panelButtons; private JLabel lbltuition, lblmisc, lblscholarship, lblfee; private JTextField txttuition, txtmisc; private JComboBox cbscholarship; private JRadioButton optfull, opttuition,optOther; private ButtonGroup btnpayment; private JCheckBox chkfees1, chkfees2, chkfees3; private JButton btncompute, btnclear; private JList listbuy; private DefaultListModel listmodel; private … | |
Fatal error: Call to undefined function curl_init(). in my php.ini() file i removed the semi colon for extension=php_curl.dll and then restarted my xampp server. but its not worked. any idea? | |
hello pleas help me , it says i have a suntax error in line 19 ";" <?php // if something was posted, start the process... if(isset($_POST['upload'])) { // define the posted file into variables $name = $_FILES['picture']['name']; $tmp_name = $_FILES['picture']['tmp_name']; $type = $_FILES['picture']['type']; $size = $_FILES['picture']['size']; // get the width … | |
Really hate the way Moodle is written, was wondering if there was a quick way around this. $custommenu = $OUTPUT->custom_menu(); $hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); <?php if ($hascustommenu) { ?> <div id="custommenu"><?php echo $custommenu; ?></div> <?php } ?> How can I add a seperator into the navigation e.g | Home … | |
hi :) is there anyone who knows how to add a datepicker when you click the textbox? or pop up a datepicker when you click the textbox and when you click a date in datepicker it will pass the selected date to the textbox??? pls. thanks in advance :) | |
Hi Everyone. I have the following preg_match to check user passwords contain elseif (!preg_match( "((?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,15})",$bpwd ) ) { 1 Upper Case Letter 1 lower case letter 1 number It works as described, but what I am looking to do is to create a stronger password requirement. I would like to … | |
How do I make a program to convert Octadecimal value to Decimal, Hexadecimal to Binary and Hexadecimal to Octadecimal. Please help meee! T.T | |
here is the question: Write a program that accepts a positive integer. Use a function to calculate the factorial of that number. my codes: #include <stdio.h> #include <stdlib.h> int fun(int z); int main() { int n,x,fact; printf("enter a number: "); scanf("%d",&n); fact=fun(n); printf("factorial of %d is %ld\n" ,n,fact); system("pause"); return(0); … | |
![]() | hello programming gurus Am a newbie in visual basics,need some ideas on how to go about my project stated above. it should be able to: 1) allow me to see random generated line and shape patterns 2) choose a list of numbers the ratio of the width to the height … ![]() |
I am opening mathtype.exe from richtextbox and type some mathtype equation editor after closing mathtype editor the data which i type must be displayed in richtextbox. I am tried this using sendkeys.send but it seems to be not working properly. Suppose mathtype equation in richtextbox you can open it by … | |
Hello ,,, Please I need Your Help as soon As Possible.. I have an array of integers and i need to convert it to string ... PlZ Help me as soon as Possible ... |
The End.