199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for can-mohan

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 …

Member Avatar for tinstaafl
0
247
Member Avatar for Dark_2

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
Member Avatar for rproffitt
0
421
Member Avatar for berserk

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 +----+----------+-----------------+---------------+-------------------+ …

Programming mysql php
Member Avatar for Traevel
0
730
Member Avatar for macdonald12

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) { …

Member Avatar for JamesCherrill
0
314
Member Avatar for Saboor880

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 …

Member Avatar for JamesCherrill
0
611
Member Avatar for Hawk123

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 …

Member Avatar for izzah_3
0
3K
Member Avatar for paul_52

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.

Member Avatar for paul_52
0
327
Member Avatar for Dhelandel

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
Member Avatar for rubberman
0
395
Member Avatar for Violet_82

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", …

Member Avatar for Violet_82
0
605
Member Avatar for Ivan_14

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 …

Member Avatar for Santanu.Das
0
419
Member Avatar for John_147

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 …

Member Avatar for Reverend Jim
0
231
Member Avatar for janicemurby

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 = …

Member Avatar for janicemurby
0
1K
Member Avatar for Twee Nguyen

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) …

Member Avatar for ddanbe
0
378
Member Avatar for Priti_2

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.

Member Avatar for ddanbe
0
114
Member Avatar for Twee Nguyen

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) { …

Member Avatar for deceptikon
0
378
Member Avatar for samertaha

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 …

Member Avatar for samertaha
0
335
Member Avatar for zac202020

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 …

Member Avatar for Gribouillis
0
4K
Member Avatar for _1_14

**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
Member Avatar for Traevel
0
402
Member Avatar for ersin_1

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 …

Member Avatar for rproffitt
0
2K
Member Avatar for TheMightySpud

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 …

Member Avatar for Xavier_5
0
1K
Member Avatar for Cameron_4

<!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 …

Member Avatar for Cameron_4
0
704
Member Avatar for DobyMoby

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.

Member Avatar for Xavier_5
0
2K
Member Avatar for anousha

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?

Member Avatar for Reverend Jim
0
786
Member Avatar for rick.eavans

[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 …

Member Avatar for chilaka2
0
2K
Member Avatar for phphp

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 …

Member Avatar for Dani
0
434
Member Avatar for kings

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....

Member Avatar for diafol
0
3K
Member Avatar for Furkan_2

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 …

Member Avatar for cereal
0
465
Member Avatar for phphp

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 …

Member Avatar for ahmad.albab.87
0
385
Member Avatar for usmanabb

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 …

Member Avatar for usmanabb
0
414
Member Avatar for _1_14

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
Member Avatar for Reverend Jim
0
383
Member Avatar for coroshea

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 …

Member Avatar for rproffitt
0
319
Member Avatar for Sarbjit
Member Avatar for diafol
0
347
Member Avatar for trungdang

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 …

Member Avatar for Traevel
0
656
Member Avatar for phphp

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: …

Member Avatar for diafol
0
248
Member Avatar for SimonIoa

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 …

Member Avatar for SimonIoa
0
301
Member Avatar for Cameron_4

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 -

Member Avatar for diafol
0
203
Member Avatar for Tcll

**Usage:** Provides a secure frontend object with restricted access to attributes of the backend object.

Member Avatar for Gribouillis
0
442
Member Avatar for Traevel

#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 …

0
511
Member Avatar for Begginnerdev

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. …

Member Avatar for Ivan_14
0
6K
Member Avatar for Sherwin_4

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 …

Programming algorithm c++
Member Avatar for Sherwin_4
0
2K
Member Avatar for double_cola

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 …

Member Avatar for cereal
0
1K
Member Avatar for davy_yg

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> • …

Member Avatar for Dani
0
490
Member Avatar for daveofgv

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 …

Member Avatar for muoixd
0
2K
Member Avatar for _1_14

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 …

Member Avatar for Reverend Jim
0
335
Member Avatar for batoolhussain

hi everyone how can i save a folder path in the sql server database and retrive it again by using vb.net 2010?

Programming mssql vb.net
Member Avatar for Mohamed_82
0
399
Member Avatar for idaryl

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 …

Member Avatar for idaryl
0
275
Member Avatar for koneill

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 …

Member Avatar for koneill
0
402
Member Avatar for double_cola

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. …

Member Avatar for double_cola
0
436
Member Avatar for mkk10mkk

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?

Member Avatar for Tatiana_2
0
91
Member Avatar for Adam_34

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 …

Member Avatar for Dani
0
295

The End.