199,114 Archived Topics
Remove Filter ![]() | |
Hi, i want to truncate the log file which is already in use ( log is getting appended) . After that i want to make sure log is still getting appeneded after performing truncate. I have been using below command for the same but don't see it is happening. truncate … | |
Hello, I'm trying to make a soccer league standing in my schools. <html> <body onload="sortTable(8)"> <table id="myTable" style="width: 100%;"> <caption><b>GRUP E</b></caption> <tr> <th>Team</th> <th>Main</th> <th>M</th> <th>S</th> <th>K</th> <th>GS</th> <th>GA</th> <th>GD</th> <th>Pts</th> </tr> <tr> <td><b>AV</b></td> <td>1</td> <td>1</td> <td>0</td> <td>0</td> <td>5</td> <td>0</td> <td>5</td> <td>3</td> </tr> <tr> <td><b>Cos2</b></td> <td>1</td> <td>0</td> <td>0</td> <td>1</td> <td>0</td> … Programming javascript | |
SO Basically i have this problem with this test build of a little project im rewriting and so far its not looking to good I have multiple tables that are all the same, they have been set up this way for simplicity as far as i can tell. Tables +----+----------+-----------------+---------------+-------------------+ … | |
Dear contributers of Daniweb, Currently I'm working on an Android/Java project, where I'm running into a problem with the following code. private List<Property> filteredList; private List<Property> propertyList; public List<Property> getPropertyList() { Boolean useFilter = false; if (!filter_town.trim().equals("")) useFilter = true; if (filter_bedrooms > 0) useFilter = true; if (useFilter) { … | |
Hi! I have create a simple desktop application (CRUD operation) using java derby by using the library "derbyclient.jar" I want to deploy it on another computer which not have netbeans IDE installed. I ''clean and build '' the project and a jar file created in dist folder of my project … | |
i can't get DateTimePicker to insert into Access databse. I've tried all the suggestion i can find from this forum, so i'm thinking my problem is different? my table has a column date which has a Date/Time format my code [CODE] Dim cmd As OleDbCommand Dim sqlstr As String, ans … | |
Hi there I am new to python. is there a program i could use to make a Clock with day and date in big fonts to help my gran with memory loss. regards Paul. | |
Hi everyone!, I had this confusion about the the Bucket Sort Algorithm. I just wanna know why mostly bucket sort use the range of element in between 0 and 1 or [0,1). [ .78, .23, .45, .95, .25 ,.19 and so on] Just wondering why? :) Programming | |
HI guys, I seem to be having an issue declaring a json string. The original string I have is this: var jsonString = '{ "details" : [' + '{"text":"Lorem ipsum dolor sit amet, consectetur 0", "firstName":"Jack0", "surname":"Dee0", "moreInfo":"This is extra information"},' + '{"text":"Lorem ipsum dolor sit amet, consectetur 1", "firstName":"Jack1", … | |
I found the follwing code at the internet but im not able to print listview with this code. Public Sub ItemsToBePrinted() Dim StringToPrint As String = " " & "1" & " @ " & "3.99" & " " & "3.99" Dim LineLen As String = StringToPrint.Length Dim spcLen5 As … | |
i've got code like this naglibog.CommandText = "UPDATE ptransaction " & _ " SET Quantityt = " & mm & _ ", Partial_totalt='" & jj & "'" & _ " WHERE Product_Codet =" & intProduct11_Code & "'" & "'AND soldtime = '" & stime & "'" naglibog.ExecuteNonQuery() libogsya.CommandText = "UPDATE … | |
hi im struggling with this error see section below if anyone can help be much appreciated ty jan x <?php include("config/db_connect.php"); include("config/ckh_session.php"); // Inserting user Details code if(isset($_POST['submitmeet'])) { $event_title = addslashes($_POST['event_title']); $description = addslashes($_POST['description']); $insert = mysqli_query($conn,"update meets set event_type = '".$_POST['event_type']."' , event_date = '".$_POST['event_date']."' , stateid = … | |
I would like to show data in a table in SQL server database to Gridview in ASP.NET project, but the gridview shows nothing. Could you please help me to find where is the problem, and how to fix it. Thanks Here is my code: protected void Page_Load(object sender, EventArgs e) … | |
![]() | 1 1 1 1 2 2 2 3 3 4 There are 3 variables, 2 for loops in the C# program. It is a nested for loop. Both variables in the for loops are less than or equal to n(condition), the third variable. Kindly explain this. |
I would like to show content of a table in SQL database to a gridview in C# project, but there is a trouble, the gridview shows nothing. could you please help me to fix it! Thanks. Here is my code: protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { … | |
hi I'm trying to run karma test runner on angular-seed project I downloaded from git with no success always I get errors, here is the repo im using this version https://github.com/angular/angular-s...16dfcf0522ecbc I installed jasmine and karma and node.js and karma-chrome-launcher I installed all this using the npm package manager that … | |
I am new to the forums and I am creating a Area Calculator for extra credit for a class I am in, but I am running into some problems. I have the program coded out the way it needs to operate I just can't seem to get it to loop … | |
**Problem** **When split msg variable to more lines it not give me values in lines ? msg variable in debug give me text scanning bellow** **Details** i work in windows form c# vs 2015 i using bar code reader to read qr code bar code scanner working as USB keyboard … Programming daniweb-bug | |
I want to create a contact manager in javascript. It will contain two initial contacts: John Smith and Jane Doe. Each contact should have a first and last name. Also user must be able to create a new contact. Contacts must be added in array. Program will be with switch … | |
Hi all, I'm hoping someone can help out, or at least give me a yes or no answer and possibly point me in the right direction. What I'd like to do is control a physical on/off switch (relay?) to turn on some led's. My ideal solution would be to write … | |
<!DOCTYPE html> <head> <title>Traffic Light Sequence</title> </head> <body> <script> function Light(){ if (document.getElementById("Img").src ="Stop-Amber.png"){ then document.getElementById("Img").src = "Stop.png" } else if (document.getElementById("Img").src ="Go.png"){ then document.getElementById("Img").src = "Stop-Amber.png" } else if(document.getElementById("Img").src ="Amber.png"){ then document.getElementById("Img").src = "Go.png" } else if (document.getElementById("Img").src ="Stop.png") { then document.getElementById("Img").src = "Amber.png"}} </script> <button type="button" onclick="Light()"> Change … | |
Hello! My question is how to code search in combobox each time typeing a letter. And the search result in DropDown have to show list items which contains letter or the continues number of letters. (Not only ... starts with the inputed letter/s/). Thanks. | |
hi i'm anousha and i have a big problem ive an aasignment to create a calculator in VB.net to prfrom addition and subtraction then show the results using mouse controls. Can you give me a hit how to do it plz? | |
[CODE]Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click exitwithout() Me.Close() End Sub Private Sub exitwithout() myCommand.Connection = myConnection myConnection.Open() myCommand.CommandText = "Select * from orders where o_id= " & txtb1.Text & "" dr = myCommand.ExecuteReader() Try If dr.HasRows Then deletewithout() Else Exit Sub End If Catch … | |
Sir I have these codes [PHP] <form name="form1" action="<?php $_PHP_SELF ?>" method="post" enctype="multipart/form-data"> <p<Photo</p> <p><input type="file" name="file" id="file" value="<?php echo $myphoto; ?>"></p> <p><input type="submit" value="photo" name="save"></p> </form>[/PHP] and these are codes for submit button [PHP]if(isset($_POST['save'])) { if(isset($_FILES["file"])){ $myphoto=$_FILES["file"]["name"]; echo $myphoto; }else{ echo 'Error'; } } [/PHP] When I press save … | |
hi please do tell me how to convert a microsoft word to html document. In my appln the user will browse the microsoft word document,when a registered user tries to view the application loaded by the users of the website...it should display in html format.... ![]() | |
hi I am a newbie in PHP and is validating a form in PHP. I have an issue in this validation. The issue is that form validation is not working properly to the all of field.? // And thats my connection code <?php $conn = mysqli_connect("localhost","root","","alkame");//procedural connection // Check connection … | |
Sir I am using these codes on login.php session_start(); $query="select * from w_log where email ='".$muser."' and pass='".$mypass."'"; $result=sqlsrv_query($con,$query)or die ("Error". sqlsrv_errors($con)) ; while($res = sqlsrv_fetch_array($result)) { $_SESSION['id']=($res['id']); $_SESSION['sno']=($res['usno']); $_SESSION['user']=($res['name']); $_SESSION['status']=($res['status']); } //header("location:../index.php"); //exit(); echo $_SESSION['status']; $_SESSION['status'] is equal to GENERAL But when I call this variable at the top … | |
Hello Guys, I am working on a Movie Platform and using XML file to upload/Publish Movies on to the platform. So for each Movie title I have to Edit and create an XML which is very time consuming and to be honest stupid. I want your help to suggest me … | |
I work in c# windows form vs 2015 selecting data from excel problem i face it supose i have in excel file user id dateprint 1001 22/02/2017 if try add this user 1001 again with date 23/02/2017 it must give me message this user found before but this is not … Programming | |
In my AndroidManifest.xml file, I have the following definition for the EditText <EditText android:id="@+id/dob_aob" android:layout_width="match_parent" android:layout_height="@dimen/edtxt_height" android:layout_below="@+id/textView1" android:layout_marginTop="0dp" android:gravity="center_vertical" android:padding="10dp" android:background="#eed0d0" android:textSize="@dimen/edtxt_font_size" android:textColor="@android:color/black" android:textCursorDrawable="@null" android:imeOptions="actionGo" android:inputType="numbers" android:digits="*+-0123456789" android:ems="10"/> I.e.: The user enters an integer between 0 through 9 and the multiplication, addition, and subtraction symbols. The following came up on … | |
I want to make knew website but can under stand how to write it . so please help me out . ![]() | |
Hi Everybody ! I'm using Apache Axis to invoke web service from internet. I can access a web service wherein no input parameters are required , but whenever I have to pass input parameters, I can't invoke it. Can somebody help me to figure out the problem. Here is my … | |
Sir I have these codes <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Set DIV Height to 100% Using CSS</title> <style type="text/css"> html, body { height: 100%; margin: 0px; position: relative; text-align: center; font-size: 18px; font-weight: bold; overflow: hidden; } .header { background-color: blue; width: 100%; border: 1px solid brown; height: … ![]() | |
Hello i made a search box and i want to make a link what will pass the search word that the user put in the search box. e.g. http://localhost/myproject/allSearches.php?searchword=aa **aa** is what the user put for search. Now i want to get that, sort it and return the data. I … | |
I've been researchig this but haven't found much on the topic. What are the advantages and disadvantges of - 1) saving scripts externally 2) Embedding scripts Would appreciate any insight on the topic! Thanks - ![]() | |
**Usage:** Provides a secure frontend object with restricted access to attributes of the backend object. | |
#Tutorial - Content extraction using Apache Tika From the official website: > The Apache Tika™ toolkit detects and extracts metadata and text from over a thousand different file types (such as PPT, XLS, and PDF). All of these file types can be parsed through a single interface, making Tika useful … | |
Hello Daniweb, and thank you for taking the time to read this post. I have a question of efficiency. I am wondering, what is the most efficient way to print from a listview. The listview's values are loaded from a database, and I would like to print from that listview. … | |
Good afternoon, I have to create a program to only be used as a tool (no main function). Below is the background information related to task: Your goal for this assignment is to create a tool that manages an equivalence relation that can be changed by the program. The equivalence … | |
I have a form that creats a json array from user input data. Array ( [full_name] => First Name + Last Name [company_name] => Company Name [email] => Email [free_trial] => trial (Yes/No) [quota] => quota [contract] => 0 (0/1) [per_gb] => cost per gb [per_month] => contract length in … | |
admin/views/login.php <?php $this->load->library('form_validation'); ?> <?php echo validation_errors(); ?> <?php echo form_open('cpages/ceklogin'); ?> <div class="login-card"> <center><?php //echo $warning; ?> <?php echo $this->session->flashdata('warning'); ?> </center> <h2>Gionda CMS Login</h2><br> <form> <div class="login"><input type="text" name="username" placeholder="Username"></div> <div class="login"><input type="password" name="password" placeholder="Password"></div> <br> <input type="submit" name="login" class="login login-submit" value="login"> </form> <div class="login-help"> <a href="#">Register</a> • … | |
I am using visual studio 2008 (vb.net). I have a long list of file names in column A on an excel sheet. These files are located in a directory on my network drive. I have to copy these files over to another folder. I know how to copy files in … | |
I work in windows form 2015 when i need to read qr code i connect scanner to computer as USB then open my windows form and put cursor in specific text box as textbox4 and it read success so that How to recieve data reading from scanner to textbox4 only … | |
hi everyone how can i save a folder path in the sql server database and retrive it again by using vb.net 2010? | |
Hello, in a style css I have a reference to a horizontal rule background image: background: url(../wp-content/plugins/hrticulate/assets/hrs/hr-bluetooth-saw.png) repeat-x 0 0; no matter what theme I turn on (even the default WP themes) it will not display on the home page - however, it will display on any post/page/category or whatever … | |
All, I'm looking for the best practice in regard to a CGI shopping cart - I am working on. What happens is that I have a checkout file that sends an email to our generic mail account and shows a thank you image once someone fills in their information. What … | |
Im trying to send an array using curl. I am brand new to curl. **How do I populate my array depending on form data?** I need full_name to pull data from the form. So email goes into email and company goes into company. Here is where I am right now. … | |
I am a beginner and want to develop a stock analysis software just like yahoo finance interactive charts. How and where to start. Is there any existing library I can use? | |
When accessing from ######1.co.uk (which has an SSL) to document root ###/production everything works fine. However when accessing ###/production from ######2.co.uk (which doesn't have an SSL - set up in the vhost file) the home page displays fine but the other pages are returning a 404. Here's the entry in … |
The End.