199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hhm_pro992

Please Help me ! I want to make SCREEN LOCK program(softwar) for my pc! i want when SCREEN LOCK program start, then unable to close by user but i am unable to do this. when i press alt + f4, it's working great but when i press alt + f1, …

Member Avatar for hhm_pro992
0
1K
Member Avatar for My question

I am using **name** field to get the option in dropdown from database datas in my database id name 1 Resham 2 Rukshana 3 Resham 4 sindya how to write a php code for displaying the name only once in dropdown and if the option *Resham* is choosen then my …

Member Avatar for My question
0
220
Member Avatar for renukapriya

I am php developer, my site have many sellers sell their item. When buyer going to purchase their item then buyer pay the amount to all multi seller using credit card details via paypal , i need the php script to implement the credit card parallel payment via paypal . …

Member Avatar for renukapriya
0
189
Member Avatar for Riteman

I have created a C# code where I'll input a code to it and it returns me an encrypted entry pass code. Its all working perfectly. Now the question is that, I want to apply this code to every application I create so that only after getting the pass code, …

Member Avatar for hericles
0
280
Member Avatar for nadiam

Hey guys, so im wondering if theres a way to insert 2 input values into one column in PDO? coz in mysql_* i just did something like this and it worked: INSERT INTO tablename VALUES ('input1 input 2', 'input3'); pdo i tried : $event = $dbh->prepare("INSERT INTO event(event_name,start_event,end_event,event_venue) VALUES('$name', CONCAT_WS('$dstart', …

Member Avatar for hericles
0
288
Member Avatar for D Mac Gregor

Hi I need to turn off the printing of hidden text in my vb6 program so I have inserted options.PrintHiddenText = False after opening the file in VBA. However it gives me an error 438 which I do not seem to be able to circumvent. The section of the code …

Member Avatar for shubham05
0
372
Member Avatar for nadiam

hey guys so im trying to display data into text boxes that are fetched from database according to checkbox with value id. php: <?php if(isset($_POST['edit_event']) && isset($_POST['check'])) { require "connection.php"; foreach($_POST['check'] as $del_id) { $del_id = (int)$del_id; $sql = mysql_query("SELECT * FROM event WHERE event_id = '$id' ") or die(mysql_error()); …

Member Avatar for nadiam
0
502
Member Avatar for renn.lin

hello, i want to ask why my function cant be called here's the function create or replace function hitung_denda (idPinjam number, tggl varchar2) return number is denda number; tgl1 date; tgl date; begin select tgl_batas into tgl1 from peminjaman where id_pinjam=idPinjam; tgl:=to_date (tggl, 'MM/DD/YYYY'); if tgl>tgl1 then select (tgl-tgl_batas)*1000 into …

Member Avatar for cgeier
0
858
Member Avatar for new2code

This is an assignment given to me with the worst possible book for this class. Basically, i need this code to add the row and col of the user input. i know it is missing the row portion, but currently, the col addition is summing everything together twice and i …

Member Avatar for new2code
0
157
Member Avatar for husres

1. Assume the bank has 3 clients. Assume every client has 3 accounts. Use a two-dimensional array to store the credit of each account for each user. The array should look like this: Amount in account 1 for user 1 Amount in account 2 for user 1 Amount in account …

Member Avatar for samwel mramba
0
221
Member Avatar for Reverend Jim

I created an app to view and tag all of my home movie files. To play back the video I embedded Windows Media Player in the form. It also allows me to add comments to videos and search based on the comments. While it is functional, I would prefer to …

Member Avatar for Reverend Jim
0
4K
Member Avatar for mustafa.bahaa

That program output (the chr is not a vowel ) everytime !! even if it's vowel #include <stdio.h> #include <conio.h> int main() { char ch; printf("Input a character\n"); scanf_s("%c", &ch); switch (ch) { case 'a': case 'A': case 'e': case 'E': case 'i': case 'I': case 'o': case 'O': case …

Member Avatar for Ayrton C.
0
423
Member Avatar for theashman88

I'm trying to create a code that gives the factorial for a number given. If it is negative, string, or to large of a number an error should return. I figured out how to do the catch for the negative and string, but I'm confused on how to create a …

Member Avatar for cgeier
0
282
Member Avatar for jeffreylee

I am trying to establish a connection with sql server but i am not able to do so. Can some one help me out?

Member Avatar for vdixit01
0
839
Member Avatar for zabayin

I have One DatagridView. I need to highlights rows which belongs to "ID" For Example ID 1 1 1 1 2 2 2 3 That's it. I need to highlights ID-1 all rows to Yellow Color Then 2 to Lime Color. And 3 to Yellow Again. Here is my Code …

Member Avatar for zabayin
0
410
Member Avatar for cambalinho

i'm trying call the WM_DRAWITEM message from WM_KEYUP message without sucess :( bool KeyPressed(int a) { if(GetAsyncKeyState(a)) { return true; } else { return false; } } //in WM_KEYUP message if(KeyPressed(VK_MENU)==true) SendMessage(hButton, WM_DRAWITEM,NULL,NULL); what i'm doing wrong with SendMessage?

Member Avatar for cambalinho
0
3K
Member Avatar for Leftic

ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment. Im getting this error every time my program tries to initalize the users nasme, and im not sure how to fix it. I looked a bit on Google, but I couldnt find a solution …

Member Avatar for cgeier
0
436
Member Avatar for chrisschristou

hello friends. i have a small proble but i'm not abble to solve, the problem is i have i form when user submit if he is not login he get a alert please login function showloginbox() { var client=document.forms["formulaireajout"]["client"].val; if (client==null || client=="") { alert ("please login"); return false; } …

Member Avatar for Bile
0
224
Member Avatar for iamthwee

I'm just wondering what the codeigniter caching library does and where it might be useful, or what problems people have encountered with it are.

Member Avatar for Dani
0
395
Member Avatar for Zachary_1

Please help. I wrote a quicksort with a median of either 3 or 5 to be the pivot and I can not figure out, for the life of me, why my code won't run. If the boolean isMedOf3 is true, then the partition uses a median of 3 to choose …

Member Avatar for JamesCherrill
0
1K
Member Avatar for AdriftUniform

Hi, I am trying to display two or more images from a database and I cannot get them to display simultaneously. I have a database table called 'tbl_images' which has two fields 'id' and 'image' here is the code for the database creation: [code=mysql] CREATE TABLE tbl_images ( id tinyint(3) …

Member Avatar for garyrichard
0
16K
Member Avatar for nevek

When I use `select indicator...`in my select statement below I can't use `$row[indicator]` when I use `select indicator as indicator` I can use `$row[indicator]`. Why is this? $stmt=$mysqli->prepare("select indicator as indicator, count(status)as 'ok', (select count(status) from viewindicatoren where status ='niet ok' and afdelingid=? group by IND_id ) as 'nietOk' from …

Member Avatar for nevek
0
171
Member Avatar for mavtcr

Friends, I made a small calculator in a form.It works well. On the form there is an Exit Button to close the form. Now I want this task.If I keep the calculator on the form (Computer) idle for 60 seconds the form must be closed automatically / If I goes …

Member Avatar for mavtcr
0
258
Member Avatar for vish_yagnik

I Have one table in sql Date Day Start Time End Time Subject Teacher 2014-06-02 Monday 2:30 PM 04:30 PM Maths Mr.Smith 2014-06-10 Tuesday 2:30 PM 04:30 PM Science Mr.Ayar 2014-06-16 Monday 2:30 PM 04:30 PM Maths Mr.Smith 2014-06-02 Monday 3:30 PM 04:30 PM Maths Mr.Smith I want to make …

Member Avatar for diafol
0
250
Member Avatar for pooja.naik.1297
Member Avatar for LoSuper

I'm making a android app using Java, i want to make a 7 days schedule layout that can be moved horizontally centering the current day to the screen and each column can be scrollable and contains a list with a variable number elements, each element contains images and text; and …

Member Avatar for peter_budo
0
249
Member Avatar for momonq1990

$headers .= 'From: <donotreply@maysite.com>' . "\r\n"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'Return-Path:<donotreply@maysite.com>\r\n'; mail($to, $subject, $messageEmail, $headers); _____ what i need to add to (recieved my email generated, php mail() fuction) in inbox, because it always landed to spam

Member Avatar for Borzoi
0
245
Member Avatar for LRNPHP

Hi Everyone, I haven't started coding or anything but I need to know if it's possible to read a file from last read position? I want to read a file and dump the content into a MySQL database but don't want to read the entire file from start to end …

Member Avatar for LRNPHP
0
221
Member Avatar for anees dayo

How to detect clicked word in textarea with right click and show menu items from php sql database in in context menu in return of clicked word We want to design roman transliteration with same pattern of google translation in this regard plz help us. We want two text boxes …

Member Avatar for diafol
0
2K
Member Avatar for My question

I am chosing an option from database using the field named as "name". since i have the name "supriya" 3 times in my database, it displays 3 times in my dropdown. How do i restrict it by displaying the name only one time and once it is choosen, then it …

Member Avatar for pritaeas
0
167
Member Avatar for moaz.amin.37

i have a problem with code below import javax.swing.*; class HelloWorld { public static void main(String x[]) { JOptionPane.showMessageDilog(null,"Welcome","Bscs",1); } } i try my best but i can not understand the following error HelloWorld.java:5: error: cannot find symbol JOptionPane.showMessageDiloge(null,"Welcome","Bscs",1); ^ symbol: method showMessageDiloge(<null>,String,String,int) location: class JOptionPane 1 error plz help …

Member Avatar for mKorbel
0
177
Member Avatar for fedaa91

Hi i tried this regular expression `^(?:\00|9)[. ()-]*(?:\d[. ()-]*){8,14}$ `to enter a phone number in a text field ,but it didnt work like i wanted . what i want the rule to be is if the phone number starts with 9 then the length would be 8 digits, but if …

Member Avatar for fedaa91
0
345
Member Avatar for azapovjednik

Hello all, I need to validate google oauth2 access token... I found one script online but it is stuck on cURL function... I suppose JSON to ARRAY conversion or something similar.. but I dont know how to solve it.... can anyone show me? PLEASE!!! when I run it... it gives …

Member Avatar for azapovjednik
0
1K
Member Avatar for Bishal_1

I want to enter the time in the textbox with updown counter in it. So that i can enter the time in it. how can i do it?? A textbox with updown counter and time in it??

Member Avatar for kamilacbe
0
391
Member Avatar for CasianSushin

how can we load valuse to a data grid from textbox...without saving in database..and i also need to save the data from the grid to db when clicking the submit button

Member Avatar for swadeep.kujur
0
187
Member Avatar for Turismosan

Hello all!! I am trying to create a Windows Form Application that allows a user to answer 10 questions. The program contains a 'next button so that when the user clicks it, the next question appears. My problem is trying to figure out how to code for the next button. …

Member Avatar for kamilacbe
0
205
Member Avatar for shubham05

I want a very short code (maximum 6 lines code) for identifying the given input is prime number or not ???

Member Avatar for shubham05
0
252
Member Avatar for hemp31

Hi everyone, this is my first post here. I am new to Java. I understand it when I see it, but writting it is difficult for me. That is for now. I am building an app, which is going to be a quiz. There are 10 questions with fur answers …

Member Avatar for stultuske
0
278
Member Avatar for shahzrinsaid

Write a complete program that have two functions named CylinderVolume() and CylinderArea(). Both functions should receive diameter and height of cylinder as parameters. Each function should return the volume and area respectively to main program. Given formula: Cylinder volume, v=Ï€r2h Cylinder area, a=2Ï€2r+2Ï€rh where Ï€ is pi, r is radius …

Member Avatar for <M/>
0
5K
Member Avatar for mustafa.bahaa

Hay guys iam new to c programming and i was trying to do simple do you want to continue loop using do while loop the problem is the program doesn't read the char Y/N and just simply contiune the loop and here is the code what's wrong #include <stdio.h> #include …

Member Avatar for Hiroshe
0
162
Member Avatar for Lethugs

Hi, I have 3 tables Description, Item, Transaction Description Item Transaction DeID Name IID Name DeID TranNo Type IID Date 1 Printer 1 Stylus T10 1 1 Repair 1 2 Monitor 2 HP 1 2 Repair 3 3 ViewSonic 2 I need to count how many printers, Monitors etc. are …

Member Avatar for Dani
0
369
Member Avatar for Lethugs

Hi, I have a data, employee attendance record with following format > 01-0002,I,4/21/2014,07:34:00 01-0002,O,4/21/2014,18:09:00 01-0002,I,4/22/2014,07:47:00 01-0002,O,4/22/2014,18:09:00 01-0002,I,4/23/2014,07:54:00 01-0002,O,4/23/2014,18:07:00 where I is in and O is out The table contains lots of records for this saves records from the start how can i search a record with no In or no …

Member Avatar for Lethugs
0
253
Member Avatar for jrb47

I have been able to limit the number of data to send to the application however I need help setting up the application to show the fetch next button. data retrieval code - I am using show only 2 rows because I have a small amount of data in the …

Member Avatar for hericles
0
269
Member Avatar for Benjamin_11

Im using the following query with LOAD DATA INFILE: "LOAD DATA LOCAL INFILE 'file.csv' INTO table mgap_export FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '\"' LINES TERMINATED BY '\n' IGNORE 3 LINES (@dummy,@dummy,@dummy,@dummy,Full_Name,gt_accountMgrID,Email_Address,mgap_ska_id,@gtdashboardLink, @gt_rankingLink, @gt_analyticsLink) SET gtdashboardLink=CONCAT('http://www.url.com/logind.php?id=',gt_accountMgrID), SET gt_rankingLink=CONCAT('http://www.url.com/logind.php?id=',gt_accountMgrID)"; If I remove the last variable the query works just fine, …

Member Avatar for Benjamin_11
0
218
Member Avatar for ravi142

Hello EveryOne I confuse of bellow code <?php if($True == 0){ ?> <a href="/#"> Apply </a> <?php}else{?> <a href="/#"> Aleary applied </a> <?php }?> **Given Me Error** `Parse error: syntax error, unexpected '}'` **BUT Solved It**: When i replace '<?php' **else** to '<?' it could be solved. But why it …

Member Avatar for veedeoo
0
292
Member Avatar for filipgothic

I have this database and I need to display data from koncerti (koncertnaziv,karte,mesto,datum) based on what grupanaziv is sleceted before, and grupanaziv is in different table called grupe, grupa_id from koncerti has same id as id from grupe, so that is connected in that way, so I need to match …

Member Avatar for filipgothic
0
208
Member Avatar for Auroch

Hello everybody! I'm trying to count the number of occurrences of each word in a text file. Problem situation requires to realize menu using "switch" statement (If file exist or not). There are following errors in my program ("case b" and "default" is not working): **[C++ Error] 03_int.cpp(61): E2126 Case …

Member Avatar for Auroch
0
986
Member Avatar for iamthwee

Sup peeps, I'm building an ultimate CMS and I am looking into building a drag and drop menu. I alreadly have the jquery to create the drag and drop items but I was wondering what is the best way to save this to a database. <ul> <li>stuff</li> <li>morestuff</li> <ul> <li>ssstuff</li> …

Member Avatar for iamthwee
0
664
Member Avatar for Benjamin_11

I am using the following [sample code](http://www.coderelic.com/2012/01/export-data-from-a-database-to-csv-excel-with-php/) to export a query to a csv file: <?php // Connect and query the database for the users $conn = new PDO("mysql:host=localhost;dbname=mydatabase", 'myuser', 'mypassword'); $sql = "SELECT username, email FROM users ORDER BY username"; $results = $conn->query($sql); // Pick a filename and destination …

Member Avatar for iamthwee
0
311
Member Avatar for Syntax12

I want to show some mysql results in two different areas... I thought I would do two queries, and show a certain few (1-5) or whatever on one area, and the rest on another, however I need them split even.... how can I do this? I thought about doing something …

Member Avatar for zein1212
0
338

The End.