199,114 Archived Topics
Remove Filter ![]() | |
Hello i want my website to be responsive i have made media querries for several devices. There is one thing i cant understand on my mobile phone that says analysis 720X1280 and its 5.0 inch sreeen phone here are the media querries. <style type="text/css"> .box { width:80% } .block { … | |
#include<iostream.h> #include<stdlib.h> #include<conio.h> void main() { clrscr(); //char serial[]="EXAMS"; //int number[]={69,66,67,68}; randomize(); char planets[][10]={"Mercury","Venus","earth","Mars"}; //cout<<number[random(1)]; for(int i=0;i<4;i++) cout<<"::"<<planets[sizeof(char)+random(3)-1]; getch(); } How to calculate the output for it. Options: 1::venus::mercury::mars::earth 2::earth::mercury::venus::earth:: 3::mercury::earth::mercury::earth 4::mars::mercury::venus::earth | |
 I am appending bootstrap chosen drop-down on button click, the javascript is not triggering that why it is showing simple multiple select. $(document).on('click', '#more_provisions_button', function () { console.log('Incre : '+i); $("#provision_div").append("<p class='par'><div class='form-group' style='clear:both'><div class='col-sm-6 mr-bottom'><select name='provision_month[]' id='day' class='chosen-select input-md' style='width:500px;'><option value='January'>January</option><option value='February'>February</option><option value='March'>March</option><option value='April'>April</option><option value='May'>May</option><option value='June'>June</option><option value='July'>July</option><option … | |
Hi , I am using following script to get the values of the language details. <FORM action="final.php" method="post"> <div align="center"> <table width="434" border="0"> <tr> <td>Languages Known</td> <td>Speak</td> <td>Read</td> <td>Write</td> <td>Delete</td> </tr> <tr> <td> <select name="lang[]" id="select"> <option value="">-Select-</option> <option value=1>Hindi</option> <option value=2>English</option> <option value=3>Tamil</option> <option value=4>Telugu</option> <option value=5>Kannada</option> </select></td> <td><input … | |
Hi, I have problem with very simple telnet connection script.: import sys import telnetlib from telnetlib import Telnet HOST = 'localhost' command="clear cable modem reset all" print "Start telnet connection" tn = telnetlib.Telnet(HOST) tn.set_debuglevel(9) print tn.read_until("CMTS>") print tn.read_all() tn.write("logout\n") print tn.read_all() In pycharm run log i see : Start telnet … | |
Hi, i have been working on this program and will display the array contents to the user and ask how many positions he would like to shift off the right side of the array, and replace onto the left side. This is what is supposed to look like: Array contents: … | |
Hi under this event Private Sub dgSO_CellContentClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgSO.CellContentClick if user click the checkbox in datagridview, a window pops up and ask data when user press escape (no data input), the popup form will dispose and the checkbox should be unchecked This code … | |
I have a problem that my crystal report shows the decimal values as 00 every thing is fine but it does not display proper value e.g. If i have 0.235 it shows 0.000 If i have 2.356 it shows 2.000 Whats the matter behind it the database field is text … | |
Hi, I have 2 checkboxes in a datagridview I added this code Private Sub dgSO_CurrentCellDirtyStateChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles dgSO.CurrentCellDirtyStateChanged If dgSO.IsCurrentCellDirty Then dgSO.CommitEdit(DataGridViewDataErrorContexts.Commit) End If End Sub and when user click the checkbox, i used this code Private Sub dgSO_CellContentClick(ByVal sender As Object, ByVal e … | |
Hi All, I have a simple form that I want to send me an email when the button is clicked. I have two questions, 1. How can I make the fields Name and Email mandatory? 2. It does not send an email to me when used with my smartphone, which … | |
I have a form with only 1 object on it , a progress bar. when the form loads it runs the progress bar, which is working fine. when the progress bar hits the max vaule i want the form to close but no matter where i put the me.close the … | |
Hi Dw I want to record video with audio, the current program has two forms of which one form record external video and the other form record internal so I've reduced the size of an external video capture to lower right hand corner of my screen and set it to … | |
Dear all, I wanted to fill the combo box with the data from my SQL server database. There are two column in the table, product_id and product_name. for example: product_id| product_name ---------- -------------- 1| pencil 2| NoteBook I was successful in displaying the product name in combo box. The code … | |
Please help me figure out what is wrong with my code... [code] #include <iostream> // required to perform C++ stream I/O #include <iomanip> // required for parameterized stream manipulators using namespace std; // for accessing C++ Standard Library members //declaration of calculateAverage function-template prototype template <class T> T calculateAverage(T dataValue[], … | |
Hi there, I'm trying to create an instant price calculator in Javascript . Similar to https://mixam.co.uk/brochures but hopefully less complicated. I have 4 fields; 'Paper Size' 'Pages' 'Numbering' 'Quantity' I've managed to work out the code below following guides on other helpful websites. Currently it shows the correct price once … | |
I am trying To display the content of the table selected(Imported from MySql) in a JTable whose Structure is unknown to me . I Have Successfully added columns in Jtable but not Able to add rows which the ResultSet Object Returns. Please Help me Insert The Row DATA . I … Programming data-structure java mysql | |
I am working on a program that should convert between in, ft, mi, mm, cm, m, and km. The question is: Write a unit conversion program that asks users to identify the unit from which they want to convert and the unit to which they want to convert. Legal units … | |
Good Day Everyone please I am writing a Check In and Check Out program to display the date increase in day/month/year whenever I input a number. Eg. suppose I type 2days on the Check In Form I want the Check Out Form to display the days difference from the current … | |
I'm trying to build my skills here. This code compiles and runs successfully if I go out of class. It crashes when I need to enter numbers for matrices. Can somebody explain to me why this crashes? #pragma once #ifndef matrixType_h #define matrixType_h template <class T> class matrixType { public: … | |
the source of the line is provided below, i understand what v.compareTo(w) does but i am curious as to what influence the < 0 has, does it not allow it to return if compareTo returns 1 which is greater than 0? does it not return if anything if compareTo returns … Programming java | |
How to use one button to insert true into column Status and when clicked the second time will update column Status with false This is the table clicked the first time ====================================================== UserName | Status --------------------------------------------------------------- Steve1 | false ---------------------------------------------------------------- This is the table clicked the second time ============================================================ UserName … | |
For this project I need to generate all three digit numbers where the 1st digit is always larger than the 2nd, and the 2nd digit is always larger than the third. I'm not asking you guys to do it for me but to point me in the right direction. I'm … | |
hi, can u help me, what can i do to print a form, example: in form1 there is a button that will print the form2 that has registration form. it is possible or other ways? please help | |
Delete checked item (one or more) from listview I write this code. Dim x As Long For x = LVEmp.ListItems.Count To 1 Step -1 If LVEmp.ListItems(x).Checked Then con.Execute "DELETE FROM stock WHERE [SrNo] = '" & LVEmp.ListItems(x).SubItems(1) & "'" LVEmp.ListItems.Remove x End If Next con.Close Set con = Nothing but … | |
The problem: I am want to create static websites for dynamic restaurants. A restaurant enters their details and from this, I want to create a web page for each restaurant with their own unique details on thi html page. So when I run them, in them will be their name, … | |
Hello Daniweb, I feel kind of awkward asking this but, I've been offered to make an adult portfolio website and I was wondering if I should display that I've made it, as well as display it on my websites portfolio. I'm thinking not because I don't really want "smutt" related … | |
I would like to be able to have a script that could run as a CRON job that would check the price of an item on a site like eBay or Amazon to keep a watch on it for fluctuations. Does anyone have a suggestion as to how to implement … | |
I need a ArrayList of Entertainment objects of some size. Then I need a menu that searches, adds, deletes, prints, and lastly quits this is a loop. I need the user to choose between Movie or TVShow my other classes to pass over to my constructors. Each menu option needs … | |
I have a BIG PDF file created by as a report. The file have 1.6M lines of data. No images at all. each page have a title with a page number a header for the columns and 28 data lines after it. Each line have 12 fields. Some data fields … | |
HI guys, I'm redoing my old photography website and I'm still at the very beginning of the project. Somewhere I saw a jquery bounce functionality implemented and I thought I'd do it for my website as well, so I downloaded all I needed from the jquery ui website and got … | |
On our site we have a "News and Information" section at the top of our landing page. Right now it looks like this:  I'd like to change this to look something like the image below, but I'm having a hard time figuring out how to do this, or … | |
Hy It's a long time ago i asked something here. But now i am asking again something First i give my code Dim conc As New SqlConnection("Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\BurgerlijkeStand.mdf;Integrated Security=True;Connect Timeout=30") conc.Open() Dim cmdc As New SqlCommand("Select COUNT (*) FROM dbo.[Landen] ", conc) Dim i As Integer = cmdc.ExecuteScalar() cmdc = … | |
Hi all, how can I write lines that I read from multiple files to one destination file in java?? the method write (FileWriter) can do this When I read multiple files and save these line in string called for example "line" ..how can write line on the distination file? I … Programming file-system java seo | |
Hello, I am trying to write css code that would fill the whole code of width. http://www.innovation.web.id/ Do know how to make my navigation bar and footer bar fill the whole width of the web browser? or adjust to any web browser size without horizontal scroll? Thanks in advance. | |
Hi Guys, I'm currently creating a wordpress theme that has a sticky menu. I've got the basic workings of it. The only problem I'm having is when it snaps to a different position, it isn't quite snapping to the top due to what I believe is to do with the … | |
A theoretical question about connecting to hidden services through PHP. Say I am writing an application on the clearnet that relies on data stored within a mySQL database that is hosted on a hidden Tor service. How would I initiate this connection? Some brief research has pointed me towards the … | |
I'm making a program that identifies the word position in a sentence. For example, in the sentence ASK NOT WHAT YOUR COUNTRY CAN DO FOR YOU ASK WHAT YOU CAN DO FOR YOUR COUNTRY The word 'COUNRTY' appears in the 5th and 17th positions. **This is what I have so … | |
hi! I haven't been here in a while, but i'm glad you're still around since I need some help! I've got to implement a round-robin simulation of process execution. I've decided to do this in VB.NET because it's my strongest language and it's a difficult concept! I've got some of … | |
<!doctype html> <!-- Name:Thomas Smith Email:tsmith27@my.athens.edu Student No.00048668 --> <!-- ============================================================== --> <html> <head> <meta charset="utf-8"> <title>Time Remaining</title> <body> <h1 style="text-align:left">How Much Time Until?</h1> <br> <p>Enter the date: <input type="text" id="endBox" size=16 value=''></p> <br> <br> <hr> <input type="button" value="Find Out" style="width:130px;" onclick="javascript:TimeUntil();"/> <div id="outputDiv"></div> <script type="text/javascript" src="time.js"></script> <script type="text/javascript"> function … | |
I'm developing a game that has a word falling to the bottom of the screen and the user typing that word before it hits the bottom. So you'll be able to type input while the word is falling. Right now I have a timer that waits 5 seconds, prints the … | |
I want to create a single profile page for members. The way I want it is when any user logs in he will automatically be taken to that single profile page. I am wondering if there is a way I can make the code IN PHP extract only the profile … | |
ok so, I'm using unity5 and I have got my terrain and spooky forest. the lighting is ok its just that if I drag the FOG script to the first-person prefab and press play it doesn't work. it does distance fog not real-time moving fog in front of the camera. … | |
Anybody help me ? I need a php script that will run automatically every day on Morning 09:00 O'clock. But my script not working. My script. <?php date_default_timezone_set('Asia/Calcutta'); $now = date("h:i"); $base = '09:00'; $to = 'test@mydomain.com'; $subject = 'My Subject'; $message = 'Hello'; $headers = 'From: test@mydomain.com' . "\r\n" … ![]() | |
I'm trying to do some mouseover things with images. I thought that I had everything exactly as it should be but the page can't seem to access the images I'm asking it to. The idea is that the page has three pictures. One of a happy baby, a dog, and … | |
We're asked to program pig Latin, all works fine except for the counting of occurrences of the string. public static void count(String [] wordperLine, String [] word){ String check=" "; int count=1; for(int i=0; i<=wordperLine.length; i++){ for(int x=0; x>word[i].length(); x++){ for(int z=0; z<=word.length; z++){ if(!word[x].equalsIgnoreCase(check)) { for(int y=0; y<=word[i].length(); y++){ … Programming java | |
I can't Delete a specific record from my program.I need Your Help Guys.Thank's in Advance.. #include<iostream> #include<fstream> using namespace std; class teacher{ long long cnicno; char name[30],fathername[30],address[50],grade[10]; public: void input() { system("cls"); cout<<"Enter CNIC.No without '-' : "; cin>>cnicno; cout<<"Enter Name : "; cin.ignore(); cin.getline(name,30); cout<<"Enter Father Name : "; … Programming c++ file-system ios | |
Hello, my bootstrap right panel cannot switching well. when i click #food link, it show the item, and when i click #drink link, it still ok to show the item, but, when i want to click #food link again, it doesnt work. Can anyone help me? <div class="panel-body"> <ul class="nav … | |
i am trying to generate daily,monthly,and annual report of contractor from stored data which include id,in time,out time,late in time,early out time, my project is in advance java i have used CRUD in each module,and phpmyadmin i ll be glad if i get answer of my question. | |
I have the code . It is not properly showing output <?php session_start(); $servername = "localhost"; $username = "root"; $password = ""; $dbname = "forextrading"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname ); $link = mysqli_connect($servername, $username, $password, $dbname); // Check connection if (mysqli_connect_errno()) { //echo "Failed … | |
I need to transform between two different database schema the same data. For example i have one table in old schema looking like this: OLD EMPLOYEE TABLE USER_ID - NUMBER (PRIMARY KEY) FIRST_NAME - VARCHAR(50), (NOT NULL) LAST_NAME - VARCHAR(50), (NOT NULL) CITY - VARCHAR(50), (NOT NULL) and i need … |
The End.