199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for spoch

Hey I just found this site because I have been working on a program to make answer and create questions to the game 24. (24 is a game where players are given 4 numbers and by either adding, subtracting, multiplying and Dividing the given numbers the number at the end …

Member Avatar for JamesCherrill
0
2K
Member Avatar for amvx86

Ladies and Gentlemen Coders, I'm working with the code below: int GetDrives(void) { wchar_t LogicalDrives[MAX_PATH] = {0}; DWORD r = GetLogicalDriveStringsW(MAX_PATH, LogicalDrives); if ( r == 0 ) { printf("Failed to get drive names. %ld", GetLastError()); return 1; } int NumDriveCount = 0; if ( r > 0 && r …

Programming c c# c++
Member Avatar for amvx86
0
456
Member Avatar for vishalsingh1080

...well i was wondering, what is the average size of an ordinary fb entry ? . Lets suppose there are 3-4 pictures and about 3 paragraphs of description.

Member Avatar for vishalsingh1080
0
164
Member Avatar for Joseph_20

I have two RadioButton and Two Checkbox which represents things that holds a value in decimal example price! The user has to choose from either of the radiobutton and also from either of the checkbox. I have a button to culculate the total! I'm using if else statement but got …

Programming vb.net
Member Avatar for Santanu.Das
0
143
Member Avatar for ramsiva

I am passing string, but in mysql query not executed. because IN not taking integers please check and solve this one. My query not working SELECT * FROM `employee` WHERE `employee_id` IN (1001,a/bb/001,a/bb/002,a/bb/003,a/bb/004,a/bb/005,a/bb/006,a/bb/007,a/bb/008,a/bb/009,a/bb/010,a/bb/011,a/bb/012) ORDER BY employee_name ASC correct one is SELECT * FROM `employee` WHERE `employee_id` IN ('1001','a/bb/001','a/bb/002','a/bb/003','a/bb/004','a/bb/005','a/bb/006','a/bb/007','a/bb/008','a/bb/009','a/bb/010','a/bb/011,'a/bb/012') ORDER BY …

Member Avatar for mblan180131
0
356
Member Avatar for mblan180131

hello, fellow computer geeks. I seem to be having a problem with this javascript code. It's for a new game that I am making in cloud9.io's developer. when I run it, it executes everything up to the document.write("<img src='loading.gif' id='load' />"); and ignores everything else. I can't seem to get …

Member Avatar for mblan180131
0
223
Member Avatar for sashiksu

Hey I have 4 computers. 1st computer is my server machine. I want to install mysql on these computers. Can anyone help me to do that ? * I want to know how to install mysql on server pc ? * Also want to know clint machine ?

Member Avatar for sashiksu
0
364
Member Avatar for Abdelaziz_1

Hey I need to know if I can convert.my full vb project to #c? If I can how I can do it

Programming vb.net
Member Avatar for rproffitt
0
386
Member Avatar for jKidz

Hi Guys, I have a small question. Think Person A is yahoo email user. Person B is Gmail user. Person A sent an email with 'Document01.docx' to Person B. Now, which email provider hosting Document01.docx? Yahoo or Gmail? Please explain what is happening to email attachments?

Member Avatar for koupon
0
290
Member Avatar for sahilmohile15

Hello, i am having an in closemodal function don't know what it is function closeModal(){ jQuery(#details-modal).modal('hide'); setTimeout (function(){ jQuery(#details-modal).remove(); jQuery(.modal-backdrop).remove(); },500) } please help

Member Avatar for hericles
0
304
Member Avatar for sahilmohile15

Hello i am developing a project but getting an error i don't know why is this happening and i have tried everything i can. please help me i am providing code below it requires 3 files to understand it so i am sending them: index.php <!-- Main Content--> <div class="col-md-8"> …

Member Avatar for hericles
0
439
Member Avatar for edcaryl

Hi, Does anyone have some good examples of ADO.NET code that demonstrates a coded connection to SQL Server such that bound controls bind to retrieve and update data. Thanks

Member Avatar for vinod_10
0
7K
Member Avatar for du_ebrithil

how would I add text that the viewer could see and not just to the console as well as it not getting rid of the other text on the page? <!DOCTYPE html> <html> <head> <title>help me</title> </head> <body> <p>this is a line of text</p> <p>this is another line of text</p> …

Programming java javascript
Member Avatar for mblan180131
0
302
Member Avatar for AntonyRayan

HI to everyone, I am fully confused. I have a selectbox with dynamic values. No body what value will come in that select box, based on that value , I want to do hide and show. How to do that? Here I included my dynamic select box, <select name='category' id='category'> …

Member Avatar for mblan180131
0
365
Member Avatar for TObannion

So I'm trying to make a script that prompts for two strings, then searches the second string to see if it contains the first using a function triggered by a button. Something is off with my comparison. Let me know what I am doing wrong. <!doctype html> <html> <head> <meta …

Member Avatar for mblan180131
0
184
Member Avatar for abhi10kumar

I want to build a mysql query to search comma-separate string with in another comma-separate string. For example : search string '1,3,5' from '1,2,3,4,5,6' What will be the mysql query?

Member Avatar for abhi10kumar
0
222
Member Avatar for AntonyRayan

Hi, I need a help from you. I tried but I can not. Can anyone tell me how to increase the font size in mPDF, Here is the code, where I tried, require('mpdf/mpdf.php'); $mpdf=new mPDF('C','legal','10');

Member Avatar for Bachu
0
4K
Member Avatar for ehpratah

Hi Everyone! I have an application that has thousand of records. the problem that i am having right now is that my website is performing slow.when i am trying to swtich to other link on the site which have a query running on the background it takes ages to load. …

Member Avatar for ehpratah
0
205
Member Avatar for thehivetyrant

Hi there, i have a ball: [icode] void ball (void) { glColor3f(0.0, 1.0, 0.0); //set ball colour glTranslatef(0.0,0.0,1); //moving it toward the screen a bit on creation glutSolidSphere (0.6, 7, 7); //create ball. } [/icode] I am trying to get the ball to move in a direction when i press …

Member Avatar for Hasan_4
0
6K
Member Avatar for RikTelner

Currently I have something like this (a bit modified): function function1($param) { $ans = @file_get_contents($param); if (!$ans) return ("Failure"); return json_decode($ans, true); } Extremely straight forward. However, the `file_get_contents()` gets answer from an API, that has proven to be a little stinky boa. It sometimes answers incorrectly, or "Access Denied" …

Member Avatar for RikTelner
0
781
Member Avatar for RikTelner

Consider following back-end script. <?php if (isset($_GET["req"])) { $req = $_GET["req"]; if ($req == "delete") { // Very intense calculation which finally results in deletion. } if ($req == "add") { // Very intense calculation which finally results in addition. } if ($req == "modification") { // Very intense calculation …

Member Avatar for jkon
0
234
Member Avatar for hhaannyy

hi i have report in visaul basic 2015 in it the salary and i want to make a tetxbox and but the total in it i tried this Sum(Fields!salary.Value) but i get error

Member Avatar for rproffitt
0
299
Member Avatar for missyElle8

A program that will create a movie seat reservation. The program will display the summary seats and its status. The user will be ask what seat no. to be reserved, then it will go back again to the summary to display the updated seat status. If the seat no. is …

Member Avatar for rproffitt
0
341
Member Avatar for James_43

Hi all, Problems trying to login with Facebook on a website. The issue is that it works for me, but when I add other tests in the App settings, it doesn't work for them, they are getting the error: `Facebook SDK returned an error: Cross-site request forgery validation failed. The …

Member Avatar for James_43
0
376
Member Avatar for genesistobe44

Write a well structured program that will accept the following fields of record in a data item, surname, other names, age, address, occupation, department, level, and grades for 15 different courses. 1. The program should be able to compute the CGPA of each candidate when scores for the courses are …

Member Avatar for rproffitt
0
250
Member Avatar for Centorpe

Can anyone tell me what is wrong with this? App crashes if user input is left blank. I was hoping it would display toast and wait for input. EditText userWireInput = (EditText) findViewById(R.id.WireSizeInputET); String userWireData = userWireInput.getText().toString(); double userWire = Double.parseDouble(userWireData); if (userWire == 0) { Toast.makeText(ISOM_Int_Results.this, "ENTER WIRE SIZE", …

Member Avatar for rproffitt
0
254
Member Avatar for Tycellent

Hey everyone, In addition to... Lazy Foo's Tutorial http://lazyfoo.net/tutorials/SDL/index.php "SDL Game Development" - Shaun Mitchell book are there any other recommended resources (does not have to be SDL) people could suggest? I've already created a console-based text adventure game and am really interested in expanding it into a text-adventure game …

Member Avatar for wafa_1
0
295
Member Avatar for sashiksu

HeY First I'm new to software developing side. I made some system abount money lending and some my teachers said that system good but there is wrong thing at finding profit/loss page. Therefore I want your advices guys ! :) In this system user can register new clients and also …

Member Avatar for Nutster
0
179
Member Avatar for cambalinho

i have these code for get image pixel data: typedef std::vector<BYTE> pixeldata; pixeldata GetImagePixel(HDC hdcImage) { BITMAP bmp = {0}; BITMAPINFO Info = {0}; memset( &bmp, 0, sizeof(BITMAP) ); HBITMAP hBitmap =(HBITMAP) GetCurrentObject(hdcImage, OBJ_BITMAP); GetObject(hBitmap, sizeof(BITMAP), &bmp); BITMAPINFO info { }; info.bmiHeader.biSize = sizeof(info.bmiHeader); info.bmiHeader.biWidth = bmp.bmWidth; // pay attention …

Member Avatar for cambalinho
0
338
Member Avatar for Rakham

Hi! I do have my own VB6 mp3-player, which uses "Un4seen BASS.DLL" audiolibrary to play mp3 files. It works fine, but it doesn't support reading album cover (picture) from ID3V2 tags. For reading tags in text format, I use imported vb6 class module, that I found few years ago. But …

Member Avatar for Glyn_1
0
894
Member Avatar for Ma Katrina

Hello. I am trying to add new button during runtime. Here is the scenario: when I click 'Food' button, the fields from food column in MySQL database will appear as button. #newbieproblems

Member Avatar for Raul Perez
0
1K
Member Avatar for sashiksu

Hey, I'm looking for big answer for my big answer, Even I can't think can I do this, this way. --- In my program I load some mysql table's columns to list boxes. Think I load Customer_id and name to two list boxes. Then I want to move these list …

Member Avatar for Raul Perez
0
260
Member Avatar for James_43

Hi all, Something disturbing is happening... I make an AJAX call to a page and it returns unprocessed PHP, not HTML. However, when I navigate to the page manually, the PHP is processing as expected. This must be a huge security vulnerability? My AJAX call is: $('#forgot').click(function(e){ e.preventDefault(); lFormContainer.load("ajax/?page=authenticate/username"); }); …

Member Avatar for James_43
0
680
Member Avatar for masimies

Hi, Has anyone updated this fg_membersite.php for mysqli-functions? I tried, but this is somehow so hard to complete, that i rather ask help from someone. I have tried also replacement of membersite-functions, like in https://daveismyname.com/login-and-registration-system-with-php-bp But no success. It doesn't work, if i like to use my own css, or …

Member Avatar for masimies
0
882
Member Avatar for Richmond_1

When mario collide to the wall .. I want to go back to the flappyMario class and dispose the Game Class .. but dispose won't work .. I really appreciate if someone help me about this problem. Here is my Code import java.awt.Component; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Toolkit; import …

0
163
Member Avatar for nitin1

Hey, I have visited Daniweb after few months. I have seen "API" options in my profile. How can we use it? Is it similar to fb apis, twitter apis? Thanks.

0
239
Member Avatar for James_43

Hi all, I'm running into a problem with PHP and mysql. I run a mySQL query, which returns the following object: `mysqli_result Object ( [current_field] => 0 [field_count] => 2 [lengths] => Array ( [0] => 1 [1] => 186 ) [num_rows] => 1 [type] => 0 )` I then …

Member Avatar for rubberman
0
290
Member Avatar for sahilmohile15

Hello, I am working on a project for online store but i am getting the error Fatal error: Call to a member function querry() on a non-object i have tried everything i can think of, please help me, i am in a bit hurry. Here's my code init.php : <?php …

Member Avatar for sahilmohile15
0
554
Member Avatar for sashiksu

Hey ! I'm looking for sql 'like' command help.... I had mysql database and it had settlement table. On that table there is column named 'settlement'. In the settlement column there are so many amounts..... Now I want to find recors '0 values' Can anybody help me ?

Member Avatar for AndrisP
0
364
Member Avatar for priyanka85

I have this function call which I need to convert to POST request because this is getting popped up in query parameter in SSL security threat. Could you please help ? Thanks LoadYearMakeModelUsingAutoVin(controlId, 'RequestXml.aspx?name=GetVehicleInfoUsingVinCanada&VinOrSerialNumber=' + vinOrserialnumber); ------------------------------------ function LoadYearMakeModelUsingAutoVin(controlItem, dataSourceUrl) { var xmlDoc; var xmlDoc2; if (window.ActiveXObject) { var xmlHttp …

Member Avatar for AleMonteiro
0
352
Member Avatar for FarrisFahad

Hello, I am trying to understand PayPal IPN proccess. I have built this simple script to test with the IPN simulator in the developer section of PayPal. I have tried different type of transaction status but it keeps returning VERIFIED. Can someone please explain to me how does this work? …

Member Avatar for FarrisFahad
0
378
Member Avatar for ThePMTeam

How can I use a variable in a MySQL select statement? Code: $serverid = $_SESSION['server_id']; $sql = "SELECT * FROM servers WHERE server_id = '$serverid'";

Member Avatar for FarrisFahad
0
292
Member Avatar for DGULLIVER

Hi, Currently my PC is setup for .Net development using Visual Studio 2012. I'm starting to look at JAVA programming so I was wondering can the JDK and Netbeans/IntelliJ/Android Studio coexisit with my .Net Development environment? I do not want to install the JDK and the either if the IDE's …

Programming asp.net ide java vb.net
Member Avatar for stultuske
0
359
Member Avatar for kxjakkk

A C/MPI program that is executed using two processes. Process 0 hold a 4 × 4 array A that contains the floating-point values shown below. 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 A[4][4] 9.0 10.0 11.0 12.0 13.0 14.0 15.0 16.0 What is the ordered sequence of the values …

Programming c
Member Avatar for Nutster
0
200
Member Avatar for Pgrant40

I know this sounds like a "Do my homework" question, but I am new to coding and am struggling to come up with a method to combine multiple RFT Files. The files contain around 3000/4000 characters. I want to initially open up a 'master' RFT file and then append multiple …

Programming pascal
Member Avatar for Pgrant40
0
498
Member Avatar for Cabba23

I have a txt file within there are three articals recognizable by the html tags < doc > < / doc> As a result i need to count the words in each artical and get a result like this: [the] -> [1, 20] -> [2, 34] -> [3, 12] [author] …

Programming python regex
Member Avatar for Cabba23
0
244
Member Avatar for Vinod_9

Error:Unable to load class 'com.android.tools.idea.gradle.project.GradleProjectSyncData'. Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) <a href="syncProject">Re-download dependencies and sync project (requires network)</a><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this …

Member Avatar for rproffitt
0
366
Member Avatar for Sasquadge

Hey guys working on an assignment called monkey business and here is my code im getting an error on these two things. Error: [CODE] cout << "Monkey number " << [COLOR="Green"](monkey + 1)[/COLOR] << " ate the least amount of food,\n" << leastFood << " pounds, on day " << …

Member Avatar for Muhammad_107
0
2K
Member Avatar for spud91

So i started creating a basic website for a small project im working on. I took a 2 week break where i left everything in working condition. Decided to load up WAMP server today afternoon and as soon as i try to access my index file i get the error: …

Member Avatar for spud91
0
1K
Member Avatar for ramsiva

how to use on() event with autocomplete. I am using below jquery code $(function() { $( ".skillsex" ).autocomplete({ source: 'search.php' }); }); but i want to use on() event with auto complete any body help me. how to use

Member Avatar for ramsiva
0
102

The End.