199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Priti_P

Hello All, I am using google calendaer API PHP libraries. but refreshToken is not working for me. Please tell me where am wrong in this code: <?php require_once 'src/Google_Client.php'; require_once 'src/contrib/Google_CalendarService.php'; session_start(); $client = new Google_Client(); $client->setApplicationName("Google Calendar PHP Starter Application"); $client->setAccessType('offline'); // added this to handle offline section $cal …

Member Avatar for Priti_P
0
815
Member Avatar for V3N0M

Hi everyone I would like to ask if the code below can me modified to a 3x3 array if not I am ok with that too. The variable is board[3][3]; #include <stdio.h> #include <stdlib.h> /************************************ function prototype ***********************************/ void displayBoard(); int verifySelection(int, int); void checkForWin(); /************************ gloobal variables ***********************/ char …

Member Avatar for Suzie999
0
151
Member Avatar for mattyd

Hello. I am having a bit of trouble with being able to submit/record the data from a selected dropdown field to my DB. Here is what I know so far: 1. Connection to DB is fine; All other data fields are submitted and recorded to DB 2. The dropdown (To …

Member Avatar for mattyd
0
249
Member Avatar for Orgil_1

I have a problem been a long. I am totally lost what is wrong! It does not give compile-time error. But it just doesnt add data to database. register.php <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>My First Web site</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <link …

Member Avatar for Orgil_1
0
246
Member Avatar for np complete

I want to extract this data from a website `You need to add the numbers present in this string. Your string is: 3754537dd2f082ad578e0ff1806d86a6` This is what I was doing url = opener.open('http://www.website.com') data = url.read() extract = re.search('your string is: <strong>(.*)', data) ans = extract.group(1) ans = string.split(ans, '</strong>')[0] print …

Member Avatar for snippsat
0
257
Member Avatar for Isaac O2

I'm about to create my project to present at the end of my courses in computer science department. In that case i need your help as the world programmers. I want to ask you how i can get to the best skill to use in my war of build my …

Member Avatar for Anima Templi
0
263
Member Avatar for himanshusharma

I wrote a simple prog. for drawing a circle . Compiled it .. n THERE WAS NO ERROR. But at the Execution time Error Occured : BGI ERROR: Graphics not intialized use 'initgraph I used initgraph olready . [B]1.[/B]Then i copied EVAVGA.BGI from BGI to BIN.. i tried again .. …

Member Avatar for RAHULtripathi86
0
334
Member Avatar for cool_zephyr

I'm packaging my java program as a jar..it includes mysql-connector.jar..it runs fine when i run it in eclipse..now i need to distriute the jar file..I packaged the jar file and when I run it through command line using java -jar myprogram.jar, it throws ClassNotFoundException: com.mysql.jdbc.Driver could anyone please tell me …

Member Avatar for cool_zephyr
0
350
Member Avatar for Violet_82

Hello, I need to build the following GUI ![b1ec49424775312369c320b6b57981d8](/attachments/large/2/b1ec49424775312369c320b6b57981d8.jpg "b1ec49424775312369c320b6b57981d8") and as usual I was hoping to have some advice before I start building it. In particular, I wonder if you guys think I should have any JPanel at all or if it is better to attach everything to the …

Member Avatar for Violet_82
0
724
Member Avatar for dr761

I have a website which displays a lot of photos. I'm looking for a good way to create a custom menu which will display whenever a user right-clicks on a photo. Once the user makes a selection I'll need to run some javascipt and/or c# code to process their selection. …

Member Avatar for samundersingh
0
217
Member Avatar for vukhacbiet

I just have done a web app about group work, and I want use 1 source to create multisite for multi group use (like teambox.com or wordpress multisite) Ex: group A will be a.abc.com, group B : b.abc.com but only use a source code and database Please help me, thanks …

Member Avatar for vukhacbiet
0
81
Member Avatar for chaitu11
Member Avatar for samcaleb05

Hello frnd's... Im new to web developement side.I have seeked a lot but i didnt got any idea that how to convert any kind of video files to flv type and display in that webpage.I have tried a lot but i didnt get any samples and code for this process.Can …

Member Avatar for asp.c#
0
988
Member Avatar for wallet123

Hello. I want to be able to create a listener for a cell in my JTable. Whenever write a number in a JTable (every key release) I want the value on the other column to decrease something like this: Quantity|Borrow 10 | 0 8 | 2 i use window builder …

Member Avatar for wallet123
0
915
Member Avatar for mixelplik

I'm practicing my parsing, and I'm writing a program with an overloaded function that counts the words in a user entered cstring and regular string. Suprisingly the cstring was easy peasey but the string object is has me a stumped. I don't think my cstring was the most efficient solution, …

Member Avatar for mixelplik
0
326
Member Avatar for mixelplik

This code is supposed to randomly assign numbers to an array of structs, but isn't working at all. I have no clue why, everything looks fine to me, can some one take a look and tell me why it's crapping out on me? #include <iostream> #include <cmath> #include <cstdlib> #include …

Member Avatar for mixelplik
0
99
Member Avatar for symon_1

I have text file in D drive named "data.txt". It have several columns and rows like A B A B V B B V A B A A B B A A B A I want to read it and then convert it to say A=1, B=2, V=3 and then …

Member Avatar for Rahul47
0
238
Member Avatar for brandon66

Hello everyone im not very good with using pointers, maybe just need more explanation of using them/how i would change my code. Well i have to update this program i have to read in item number cost and qusantity from a file instead of getting it from the user. the …

Member Avatar for brandon66
0
279
Member Avatar for Doogledude123

So I just finished up a way to solve Standard Form Quadratic Equations, Now I want to code a way to automatically Convert a given Standard Form equation to Vertex Form, or Vertex to Standard. Is it possible due to the fact that you have to get a perfect square …

Member Avatar for Doogledude123
0
1K
Member Avatar for CoilFyzx

Hello good afternoon. I have successfully serialized data in the past, however it seems as if I don;t fully understand the process. I have a class called ProgramState which stores a variable (called lastCreated) with custom class LinesProject and an ArrayList variable(called recentProjects) of this custom class. The purpose of …

Member Avatar for CoilFyzx
0
391
Member Avatar for dsimonovski1

Hey. In VB.NET, I need to write an array of bits to the serial port, in such a fashion that I can directly control the output signal. For example, I write 00110110 in VB and I need to get exactly that on output. I have tried SerialPort.Writeline but it's not …

Member Avatar for scudzilla
0
325
Member Avatar for dlmagers

Needing some help with a small problem. I have this program that is not compiling correctly. The instructions are simple which are: The PairTest should prompt the user for the two values, create a Pair object with the values and then print the average, distance, maximum, and minimum of the …

Member Avatar for JamesCherrill
0
196
Member Avatar for Jeffrey_1

I am trying to combine cells depending on the contents of other cells. If Column A has an "X", I want to combine all cells below it, values seperated with a space, until the next line where an "X" appears. There is also data in Column C, which I don't …

0
126
Member Avatar for skylinedrifter

#include <iostream> #include <iomanip> using namespace std; int main(); { cout << "***************************************... cout << "** Revenue for Bayou Broadway Theater **\n"; cout << "***************************************... const double balcony = 59.95; const double mezzanine = 99.95; const double orchestra = 139.95; int balconyTickets, mezzanineTickets, orchestraTickets; double balconyRevenue, mezzanineRevenue, orchestraRevenue, totalRevenue; // …

Member Avatar for Slavi
0
196
Member Avatar for lfc3798

I want a code in python, to convert binary to decimal however i want the user the choose which way to convert the number(i.e, binary to decimal or decimal to binary) thank you

Member Avatar for TrustyTony
0
273
Member Avatar for Evil03

Hi All, I have created a Vb.net application with back as MS.Access..I shall be very thankful if someone pls guide me on how to EXPORT DATA from the VB>NET Textboxes to NOTEPAD.. THe methof that i am using is creating a CSV file which is can Adjust in excel after …

Member Avatar for Spyderbane
0
1K
Member Avatar for totalwar235

using a linked list in C++ i am attempting to delete a middle node from a series, and then put the series back together. ex: N1 -> N2 -> N3 N1 -> N3 delete N2 but i am getting a segmentation fault (core dumped) at the point in the code …

Member Avatar for Ancient Dragon
0
163
Member Avatar for HunainHafeez

i am calling store procedure from MVC, which returns single record only. SP contains: PROCEDURE [dbo].[GetMonthlyReport] @emplID INT = NULL, @month VARCHAR(50) = NULL AS BEGIN IF (@emplID IS NOT NULL AND @month IS NOT NULL) --If Block begins BEGIN SELECT * FROM MonthlyRecord WHERE Month = @month AND EmplID …

Member Avatar for HunainHafeez
0
120
Member Avatar for Mr.M

Hi Dw I'm create an application that register a user and now because we accept even oldest people we have to include their years in a dropdownbox so I'm not sure if this is possible but I do think it is possible it just that I don't have a clue …

Member Avatar for Spyderbane
0
215
Member Avatar for pprabhat

coding for printing diamond pattern using recursion as following * * * * * * * * * * * * * * * *

Member Avatar for samson.dadson.3
0
115
Member Avatar for sanjay@srvmedia
Member Avatar for brandon66

I have a text file i want to read data from the first line of the test file is ow many lines are in it then on each line seperated by a space is itemnumber itemprice itemquantity. 3 39284 5.75 12 18372 4.50 23 27649 12.99 81 how would i …

Member Avatar for cgeier
0
317
Member Avatar for jstfsklh211

I'm trying to change user ldap passwords heres the code $ds = ldap_connect(LDAP_HOST, LDAP_PORT); ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); $bind = ldap_bind($ds, 'uid={admin},'.LDAP_BASEDN, '{admin password}'); $userpassword = "{SHA}" . base64_encode(sha1( '{password}', TRUE )); $userdata = array("userPassword" => $userpassword); $result = ldap_mod_replace($ds, 'uid={user},'.LDAP_BASEDN, $userdata); ldap_close($ds); `$result` returns true i can even see the …

Member Avatar for diafol
0
494
Member Avatar for willyah

How do i write a program in C to do split and merge operation. I have configured my system with opencv.

Member Avatar for Suzie999
0
2K
Member Avatar for Patrick_3

Hello, I am attempting to make a section in my application where a user can enter their own code which will be executed at runtime. I have looked up how to compile and run Visual Basic code while the program is running (Below). Dim VBP As New VBCodeProvider Dim CVB …

0
174
Member Avatar for ZaneDarklace

How do i post my codes on here? I did it once by accident and don't remember how i did it.

Member Avatar for ZaneDarklace
0
82
Member Avatar for willyah

How can write a paralle program using the openmp threading library(omp.h) to calculate the time needed to calculate the dot product of two vectors.

Member Avatar for Ancient Dragon
0
187
Member Avatar for CHINMAYA_1

main() { int s=0; while(a && b && c) { s++; a--; b--; c--; } printf("%d",s); } i know that here a,b,c are undeclared, but beside that i can't find the problem. so anyone can help me out here. thanks

Member Avatar for rubberman
0
121
Member Avatar for nazree.zeko

So i got one form so the user can enter and submit their personal details. The problem is i didn't apply any validation . I've done a simple validation like this , but it seem to be not working . function validate(){ if((\$('txt_no_kp').value != '') && (\$('txt_nama').value != '') && …

Member Avatar for nazree.zeko
0
250
Member Avatar for davy_yg

Hello, How to make the contact us works? [Contact Us](http://www.indonusa.net.id/contactus.php) contactus.php <?php // require_once('recaptchalib.php'); $name = strip_tags(@$_POST['name']); $email = str_replace(" ", "", strip_tags(@$_POST['email'])); $subject = str_replace(" ", "", strip_tags(@$_POST['subject'])); $message = strip_tags(@$_POST['message']); if (@$_POST['submit']) { if ($name&&$email&&$subject&&$message) { // $privatekey = "6LfjvdcSAAAAAHNcKjYO5DhTNefxYZHYcfhtrvGC"; // $resp = recaptcha_check_answer($privatekey, // $_SERVER["REMOTE_ADDR"], // $_POST["recaptcha_challenge_field"], …

Member Avatar for nauticalmac
0
801
Member Avatar for Vaaal

Someone please help thanks #include <sstream> #include <string> #include <iostream> #include <opencv\highgui.h> #include <opencv\cv.h> using namespace cv; //initial min and max HSV filter values. //these will be changed using trackbars int H_MIN = 0; int H_MAX = 256; int S_MIN = 0; int S_MAX = 256; int V_MIN = 0; …

Member Avatar for JasonHippy
0
3K
Member Avatar for LeNenne

Hi I will from the database only copy some textboxes to excel to specifik place in the excel sheet Just those from the database surename,lastname,adress,zip,zipadress,prn only one at the time PS ! the excel sheet is an invoice one textbox to excel i4 = prn one textbox to excel f9 …

Member Avatar for Stuugie
0
136
Member Avatar for coca99

Hi Guys, This is the first time I have just started with Keil C . Yet, I have no idea about this concept. Please clarify it for me. Thank you all. #include <stdio.h> #include "NUC1xx.h" #include "Driver\DrvGPIO.h" #include "Driver\DrvSYS.h" #include "Seven_Segment.h" #define SEG_N0 0x82 #define SEG_N1 0xEE #define SEG_N2 0x07 …

Member Avatar for coca99
0
530
Member Avatar for Preitykelz

Write a program to swap two values so that what is in Value1 would be interchanged with what is in value 2

Member Avatar for AndrisP
0
86
Member Avatar for Sevyt

I being starting to switch to C# from VB.Net. And to be honest my knowledge from using C is pretty outdated since i used that last years ago. So i am still figuring things back out. I wont be surprised if this ends up being a simple fix. The program …

Member Avatar for Cronomax
0
202
Member Avatar for josverhoeff

Hi, I thought I'd share this with you. If you want all fields on a web form to be emptied of ther initial value (if any) on focus and filled again with the initial value on blur. Works with jquery.

Member Avatar for JJenZz
0
249
Member Avatar for johnef_sh

hi I using PHP/MySQL with Google Maps from here https://developers.google.com/maps/articles/phpsqlajax_v3 and then I used PHP's DOM functions to Output XML from here https://developers.google.com/maps/articles/phpsqlajax_v3#outputxml everything working fine with me but I need to center google map on the marker. here is the code that center the map and make the zoom …

Member Avatar for johnef_sh
0
9K
Member Avatar for Priti_P

Hello All, I want to send event invitation to Google user, using google calendar API. for this, I am using Google calendar API in php, for inserting event in the google calendar . I have used php-client libraries https://developers.google.com/google-apps/calendar/downloads But problem with this is : it require login. So how …

Member Avatar for gabrielcastillo
0
249
Member Avatar for renagadejesus

This is just a simple program that acts as a calculator for school age children. My professor requested that I add a declarations section. If possible could someone help me which parts of my code I need to add.

Member Avatar for JamesCherrill
0
316
Member Avatar for dudegio

Hello guys! Anyone who has an idea of integarting a bar code reader to a inventory system. The function is to read the bar code and this will serve as an input to the system. Any suggestion are very much welcome. thank you!

Member Avatar for phpdeveloper123
0
3K

The End.