199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for centenond

Hello im a total noob in java, im learning game development, i made this game and when i thought i was finish i tested in another android with a smaller screen and puf all the game was ugly. I started rezing evrything by screen width, example batch.draw(position.x, position.y,Gdx.graphics.getWidth()/7, Gdx.graphics.getWidth()/7 ); …

Member Avatar for centenond
0
338
Member Avatar for altjen

how to fix [DBNETLIB] ConnectionOpen(Connect()).]SQL server http://i.gyazo.com/3e7e693141fd157da860907218fbb1a0.png this is UID and password of my SQL server I try to insert but this is the problem I get http://i.gyazo.com/c903e03c7d697b7b8c2c80933e99e376.png and this is at my other pc so had to make pics with my phone. any idea how to fix this?

Member Avatar for altjen
0
576
Member Avatar for uchejava

I am trying to compare IF statements. if ($_POST['price'] =="see all"){ //show okolo } else if ($_POST["accommodation"] =="see all"){ //show chibuzo } This works but as soon as I add: else if ($_POST['price'] =="see all" AND $_POST['accommodation"]=="see all"){ //show henry } This stuff does not work, it now shows "okolo" …

Member Avatar for uchejava
0
123
Member Avatar for AQ

hey guys i was solving a question but there is something which is not working properly.. I'll provide you guys with question statement and my code below.The problem is occuring after the loop like if the avg is more then 0 still it shows the output massege as "terminating". Can …

Member Avatar for AQ
0
137
Member Avatar for Elliot_1

For my computing GCSE course i had to create a keyword cipher and most of my class did it in VB console, so so did it. Little did I know, it was the most difficult project i have had to code. I can't figure out what is wrong with the …

Member Avatar for Elliot_1
0
205
Member Avatar for chaitu11

I am using codeigniter if ($this->form_validation->run() ) always returns false. please help me out with this Here is my controller and view page as shown bellow This is controller admin.php <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Admin extends CI_Controller { public function index() { $this->login(); } public …

Member Avatar for chaitu11
0
4K
Member Avatar for 2384443

Hi.. I'm doing a project on Vb.net 2008.. There's a textbox called "Price" which requires validation.. The validation is that the textbox should not enter dot, special characters or alphabets as the first character.. The Dot should only be active after the number which is entered on the textbox.. for …

Member Avatar for Reverend Jim
0
1K
Member Avatar for donz365

I am sorta new to MySQL and not 100% sure of what I can and can not do with it yet. I have an xml file with course information such as ReferenceNo. CourseName, CourseType, CourseLocation, and I want to load in into a database table that has column names such …

Member Avatar for diafol
0
2K
Member Avatar for Light_2

unlike most people who ask this question i have quite a good programing background mainly in python HTML CSS .bat bash and Java but i raily made gui games i would like to learn a new language that is both powerful and good at making games in beaing able to …

Member Avatar for Heanre
0
139
Member Avatar for naz1234

Hi, how to avoid the WebBrowser in Vb.net to go at specific website, then return to specific link Here the code I try, but got an error,expression does not produce value Here the code Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If WebBrowser1.Navigate("http://www.youtube.com") Then WebBrowser1.Navigate("http://www.google.com") …

Member Avatar for Mr.M
0
214
Member Avatar for ramsiva

I am getting last inserted row in save page when adding dynamically inserting each row. any body help me i want to get all records in save page. my add-remove-row.php is <htmnl> <head> </head> <body> <form action="save.php" method="post" name="assigndate" enctype="multipart/form-data" > <table rules="all" style="background:#fff;"> <tr> <td style="font-size:14px;" >Name</td> <td style="font-size:14px;">Email</td> …

Member Avatar for ramsiva
0
138
Member Avatar for sushma_1

I have two textarea in my code.I have a connect button and on click of connect it gets connected to the server. I have a send button. When i type anything in the first textarea and click send button it should be received back and printed in the second textarea. …

Member Avatar for JamesCherrill
0
231
Member Avatar for Senthil_6

Plz anyone help me .... I created the database in access with fields type is date/time and text... But I try to get the value from datetimepicker and combobox.. My struggling code was cmd=new oledbcommand(insert into sample (doj,designation)values(" & datetimepicker1.value &","&combobox1.text&")",con) note:- database connection is successfull!...

Member Avatar for djjeavons
0
199
Member Avatar for Anil2447

Here is the code for [B][COLOR="Red"]Insertion Sort, Bubble Sort and Selection Sort[/COLOR][/B] [B]Insertion Sort[/B] [CODE] #include <stdio.h> main() { int i,j,key; int a[5]={5,2,3,4,1}; for(i=1;i<5;i++) { key=a[i]; while(i>0 && a[i-1]>key) { j=a[i]; a[i]=a[i-1]; a[i-1]=j; --i; } } int k; for(k=0;k<5;k++) {printf("%d ", a[k]);} printf("\n"); } [/CODE] [B]Bubble Sort[/B] [CODE] #include <stdio.h> …

Member Avatar for Talha_5
0
9K
Member Avatar for ChrisP-C++

im looking to brush up on my C++ coding as its been a quite a few months since ive done anything with it and ive run into a snag with my coding and have spent hours with 2 Compilers (Bloodshed Dev C++ (where code was originally written)as well as Eclipse …

Member Avatar for mike_2000_17
0
376
Member Avatar for Mr.M

Hi Dw. I'm creating a multi-client/server program. I have developed both client and server the server will connect up to 3 clients simultaneously and each client may send an action request to a server at anytime and the server should be able to reply to only that particular client, at …

Member Avatar for Mr.M
0
200
Member Avatar for ramsiva

<?php include("include/connect.php"); ?> <?php if(isset($_REQUEST['submitform1'])) { $timepicker1=$_REQUEST['timepicker1']; $timepicker2=$_REQUEST['timepicker2']; echo $timepicker1; echo $timepicker2; $timepick1=explode(":",$timepicker1); $timepick2=explode(":",$timepicker2); array_pop($timepick1); array_pop($timepick2); array_push($timepick1,"00"); array_push($timepick2,"00"); $time1=implode(":",$timepick1); $time2=implode(":",$timepick2); $timeone=preg_replace('/\s+/', '', $time1); $timetwo=preg_replace('/\s+/', '', $time2); $start_date = new DateTime($timeone); $since_start = $start_date->diff(new DateTime($timetwo)); $diff=$since_start->i; echo $diff; exit; } ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Basic Bootstrap Template</title> <meta …

Member Avatar for diafol
0
551
Member Avatar for ramsiva

$time1=implode(":",$timepick1); $time2=implode(":",$timepick2); Result is 11 : 10 :00 11 : 11 :00 Any body help me to remove white spaces I want result 11:10:00

Member Avatar for ramsiva
0
190
Member Avatar for erum

when I added entityfarme work model in mvc Application ..so ultimately it added respected model classes for each table in database .and it added commented line in each class like that // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause …

Member Avatar for DaveAmour
0
250
Member Avatar for ruhulaminice

anybody can help me how i can run a java database program code in eclips software i have tried many times but give no result when run this please help me

Member Avatar for Heanre
0
432
Member Avatar for sanjeewa.abeywardana

I have gone through "How Do I?" Videos for Visual C# but it is all about wpf , and the link is already expired Hoping for some help on this topic where user can choice columns to search in the lookup and when user pick one it search according to …

Member Avatar for sanjeewa.abeywardana
0
245
Member Avatar for Joemeister

I'm trying to do a simple a database SQL script where I simply need tocreate a database as well as 4 tables within. So far I'm getting a very annoying error that states: There is already an object named 'DEVICE_TYPE' in the database. Why, I don't know? Any help regarding …

Member Avatar for erikko
0
287
Member Avatar for Maideen

Hi I am working in weekly Newspaper company. There are 15000 subscriber, subscribed for next 3 to 4 years.Per year 52 weeks and I have to generate issue number based on week(1001......3000) for each subscriber and store into data table. I am using mssql 2012. I have written the Store …

Member Avatar for erikko
0
328
Member Avatar for Prince_9

I've used different methods and found it difficult to integrate mashape for a dictionary.. My code is below: require_once 'unirest-php/src/Unirest.php'; // These code snippets use an open-source library. $response = Unirest\Request::get("https://montanaflynn-dictionary.p.mashape.com/define?word=irony", array( "X-Mashape-Key" => "T2rwS1jyBSmshKoZB5Un2kfpvgtRp1hUS9pjsnHvPoGNHIMpda", "Accept" => "application/json" ) ); What am I not getting right Regards

Member Avatar for Prince_9
0
306
Member Avatar for James_44

Please help. I really think I'm close to getting this. No I'm just banging my head against a wall. I have to replace a nested if statement with a switch statement. The loop should continue until Z or z is entered. I can't figure out what I'm doing wrong. #include …

Member Avatar for Moschops
0
135
Member Avatar for chaitu11

i am creating an admin panel in my project. So to sepeate admin files i am creating admin folder in my views can i also create admin folder in my controller and model. to seperate admin related file? is that a correct procedure?

Member Avatar for chaitu11
0
106
Member Avatar for ramsiva

<html> <script language="javascript"> function validate(dt1,dt2) { var jdt1=Date.parse('20 Aug 2000 '+dt1); var jdt2=Date.parse('20 Aug 2000 '+dt2); if(isNaN(jdt1)) { alert('invalid start time'); return false; } if(isNaN(jdt2)) { alert('invalid end time'); return false; } if (jdt1>jdt2) { alert('start is greater'); } else { alert('start is less equal'); } } </script> <body> <div> …

Member Avatar for DaveAmour
0
119
Member Avatar for TheFearful

Hey guys, I just learned the very basics of arrays and I have to write this program of a tic-tac-toe game. The requirements are this: Write a modular program that allows two players to play a game of tic-tac-toe. Use a two-dimensional char array with 3 rows and 3 columns …

Member Avatar for マーズ maazu
0
3K
Member Avatar for zxz

hi everyone , i have worked on this 2 days now and cant find my mistakes , the program runs but it stops ( waiting ) after i enter 3 or 4 . can anyone help me where are my mistakes please? thanks allot. the program should do the following …

Member Avatar for zxz
0
244
Member Avatar for jovstudios

Hello guys. I Found some code Dynamically Add/Remove Rows In HTML Table Using JavaScript and I found Here : http://viralpatel.net/blogs/dynamically-add-remove-rows-in-html-table-using-javascript/ then i copy and paste and run it in my browser . its successful ok. but when i Add A Little codes is not succesfful ok. because when i click …

Member Avatar for Amit_27
0
9K
Member Avatar for Simunji

Hi everyone and Good day!Am new to php and I have a problem with the code below. <?php if (is_user_logged_in() ) //only logged in user can see this 'echo'<href="http://localhost/itsz.com/profile">Profile</a>'; ?> What i want it to do is to only show the link "profile" 'only' to logged in users but it …

Member Avatar for Simunji
0
195
Member Avatar for joshuawilson11

hi, soat the moment i am writing an encryption program, i am not quite sure how to use for loops for lists, my list at the moment is this: **Somewhere in la Mancha, in a place whose name I do not care to remember, a gentleman lived not long ago, …

Member Avatar for joshuawilson11
0
198
Member Avatar for davy_yg

Hello, I am looking for ckeditor that's able to upload image from computer directly without url - unfortunately there is license on it. What about tinymce also works the same way. I do not know how to make ckeditor my own version that's able to upload file directly from computer. …

Member Avatar for davy_yg
0
307
Member Avatar for gordon_1

I am trying to create a program using the console application to solve quadratic equations but the math.sqrt syntax is producing the wrong answers

Member Avatar for gordon_1
0
99
Member Avatar for Xsmael

I am developing Client-Server application in C++ using Qt framework, but the clients can be android phones and computers(Qt client app) Now i'm having troubles to handle Reception of data on the server side; the server is not receiving data properly. First, I got things working nicely between the server(Qt …

0
384
Member Avatar for Prince_9

I'm not able to get the content of this array, please can someone help? Where Am I getting it wrong? Below is the code $barcode = "9780980200447"; function parseInfo($barcode) { $url = "http://www.librarything.com/api_getdata.php?userid=timspalding&showstructure=1&max=10&showReviews=1&showTags=1&reviewsOnly=1&name=Jesus+is+Lord&&apikey=b27cb381baddff9c49b9dd27d9d96651&responseType=json"; $contents = file_get_contents($url); $json = json_decode($contents, true); return $json; } $array = (parseInfo($barcode)); //print_r($array); foreach ($array as …

Member Avatar for broj1
0
357
Member Avatar for ramsiva

I have two variables var a="10:20:am"; var b="10:25:am"; I want javascript code for getting 5 min difference. any body help me to get 5 min difference

Member Avatar for diafol
0
166
Member Avatar for ggeoff

Hi I am not getting any response from the Cutenews forum. So perhaps Daniweb experts can help me. I have a couple of websites that have a Cutenews version 1.4.6 search form working. For my latest website I decided to use cutenews 2.0.2. As far as possible I have made …

Member Avatar for ggeoff
0
322
Member Avatar for cambalinho

i have notice that using the joyGetPosEx() function, when the joystick isn't connected, that the memory, that the application uses, is increasing. so is there another way just for see if 1 joystick is connected to pc?

Member Avatar for cambalinho
0
580
Member Avatar for ramsiva

Any body help me i am suffering from converting array to string Array ( [0] => 10 [1] => 40 [2] => 00 ) Array ( [0] => 10 [1] => 41 [2] => 00 ) I want convert to php $var1="10:40:00"; and $var2="10:41:00"; any body help me

Member Avatar for jkon
0
107
Member Avatar for Prog_1

i want to store input text box value into php variable without form submit and without using ajax,js,jquery etc., is it possible??

Member Avatar for jkon
0
213
Member Avatar for naui95

Can somebody explain me why does this mysql query SELECT * FROM mytable WHERE F='d2f2' AND Tot>Pmin AND Tot<Pmax omit this row ID ¦IDa¦F ¦Pmax¦Pmin¦Tot --------------------------- 124¦160¦d2f2¦200 ¦12 ¦182 thanks!

Member Avatar for Reverend Jim
0
203
Member Avatar for errjolli1
Member Avatar for klewis32

The following code creates a Sorting Array using Pointers and functions correctly. The issue I have is I want the array to sort, but put the zeros at the end. Any help would appreciated. #include <iostream> using namespace std; #include <iomanip> using std::setw; void selectionSort( int * const, const int …

Member Avatar for David W
0
14K
Member Avatar for mattyd

Hello. I have one question. I have a form which I wish to clear all fields upon refresh/reload (*except one field*). Using onload and onunload, all fields are cleared but I need to retain one field upon a User doing this action. Is there a method where I can perhaps …

Member Avatar for mattyd
0
1K
Member Avatar for negru

Which tool for code analysis is the best for complex C programs? I use GCC debugger with Code Blocks 13.12 Thanks for replies.

Member Avatar for Moschops
0
203
Member Avatar for Yaw_1

Imports System.Data Imports System.Data.OleDb Public Class Chemical_Details Dim MyConnection As OleDbConnection Dim MyDataAdapter As OleDbDataAdapter Dim MyCommandBuilder As OleDbCommandBuilder Dim MyDataTableChemical As DataTable Dim MyDataSet As DataSet Private Sub Chemical_Details_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load MyConnection = New OleDbConnection 'Creates OleDB connection MyConnection.ConnectionString = "Provider= Microsoft.ace.oledb.12.0;Data …

Member Avatar for Yaw_1
0
185
Member Avatar for Yaw_1

I have been trying fruitlessly to populate my datagridview using multiple tables from my ms access database. My code is shown below. Thanks in advance for your help. Imports System.Data.OleDb Public Class Stock_Check_Options Dim MyConnection As OleDbConnection Dim MyDataAdapter As OleDbDataAdapter Dim MyDataAdapter1 As OleDbDataAdapter Dim MyDataSet As DataSet Dim …

Member Avatar for Yaw_1
0
338
Member Avatar for AnthonyJbs

Hello, I have created pretty simple voice chat with pyaudio, but the voice is kinda meh. You hear usually some noise like in the old movies. It is probably caused by missing CHUNKs of voice which I send over UDP. Is it possible to somehow reduce the noise? Further I …

0
987
Member Avatar for akbar ali butt

Hi I want to read a pdf file using php. but i want toread that file line by line and made changes in it is it possible thanks

Member Avatar for muskaan.pari22
0
7K

The End.