199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Jane Colleen

Can somebody please tell me what im doing wrong, I know its the initVirtualHeap but i dont know why. The program just crashes. #include<stdio.h> #include<conio.h> #include<stdlib.h> #define MAX 10 typedef struct{ char elem; int next; }vArray; typedef struct{ vArray *nodes; int avail; }virtualHeap; typedef int List; void initList(virtualHeap *); int …

Member Avatar for Moschops
0
248
Member Avatar for altjen

Recently Im trying to make a software who can detect multiple faces in the some time. but not only faces. Eyes, Nose, mouth. saw some vids in youtube but they show no code or how to do it, more the finished project. What Im currently trying to do is, the …

Member Avatar for altjen
0
494
Member Avatar for DragonMastur

It could be simplifide more, I know. I was doing it as an exersise so its rough and skecthy. But it's workable, I tested it more then 50 times.

Member Avatar for Slass33
0
532
Member Avatar for Jack_9

Hello! I'm a twelve year old programmer (and no i'm not using scratch in science class) i've taught myself over 6 programming languages and I was wondering if I'm too young to be programming but I don't think so because it dosen't matter how old you are you can change …

Member Avatar for Rasmo75
0
179
Member Avatar for altjen

Im using NetBeans to create a data entry software for a friend. when I save a data, it create a folder in specified location, and the name of that folder will be different from each other for example. ![1.JPG](/attachments/large/4/e1b8ccbadaaab2f4ef21954288e53b40.JPG "align-center") it pick the Date,Invoice Number, Subject name, and create the …

Member Avatar for altjen
0
274
Member Avatar for overwraith

So I just got an entry level job at a company, and I have been given a business application to tweak and improve. I have a senior, and more experienced programmer overseeing me, but I have found what I consider to be a bad practice in the company application. I …

Member Avatar for gusano79
0
162
Member Avatar for misgee2001

#I'm begginer for python. I want a program which accept search phrase as raw_input and print search phrase with which document it exists in and line number of the document (file). for example, search phrase is found in file name at line 6. but my program displays 0 and 0 …

Member Avatar for megaflo
0
130
Member Avatar for Harsh_5

Hi All, I am trying to capture the MAC Address of Client PC but unable to get. Give me any solution for this.

Member Avatar for Harsh_5
0
104
Member Avatar for دليل تطبيقات
Member Avatar for abhi10kumar

Is it possible to connect USB device in the HTML page? If yes then How I can? I want to integrate Boogie Board into a dynamic page with a question.

Member Avatar for abhi10kumar
0
133
Member Avatar for UK-1991

Hello the valuies are not echoing when I am out side the loop <?php if(isset($_GET["catid"])) { $catid = $_GET["catid"]; $query_cat = mysqli_query($connection, "SELECT * FROM category WHERE cat_name='$catid'"); while($row = mysqli_fetch_assoc($query_cat)) { $h1 = $row["h1"]; $h2 = $row["h2"]; $span = $row["span"]; $catslide = $row["cat_slider"]; $ct_name = $row["cat_name"]; } ?> <div …

Member Avatar for diafol
0
153
Member Avatar for Mike Askew

Using code from StackOverflow: HttpWebRequest webRequest; void StartWebRequest() { webRequest.BeginGetResponse(new AsyncCallback(FinishWebRequest), null); } void FinishWebRequest(IAsyncResult result) { webRequest.EndGetResponse(result); } How do you access the response to the request?

Member Avatar for Mike Askew
0
113
Member Avatar for kannasekar

First of all I confess I am very new to PHP programming. Here is my problem. I just wanted to create a registration page for students. In that I need to populate the classes which the students want to enroll in checkboxes from database(because a student can enroll n number …

Member Avatar for kannasekar
0
183
Member Avatar for Slass33

I created a hangman game but it isn't working. The code is here: import random import sys from string import whitespace uy = 'jrekghqegherwgbeuihrweig' choice = 'bhekvvvvvfaktgrwekubfhdbvbvdvbd' z = 'bqhjrfqfbrqkqbg' s = 'ksl' s_space = 'bhks' a4a = 'euwitrigqobehdbfbdjgks' a5a = 'jbfbqwkgnkwqnjg sdn n nmsdafbdjnfbfhskbkjsahjdbhak' a6a = 'qwertyuvdbgshnvdgshgfydss' a7a = …

Member Avatar for Gribouillis
0
307
Member Avatar for UK-1991

I created an add to cart function but not working properly on submit i see these errors on the place of product details Notice: Undefined variable: product_id in C:\wamp\www\connectdemo\product_details.php on line 218 etc etc.... product_details.php <?php session_start(); include_once("includes/layout/header.php"); include_once("includes/connection.php"); include_once("includes/functions.php"); if(isset($_POST["addtocart"])) { $pid = $_POST["productid"]; $prod_name = $_POST["productname"]; $prod_price = …

Member Avatar for cereal
0
278
Member Avatar for Mark Christian

Hello there.. I am currently working with the referral program and I have a page wherein it displays all the personal information of a person who referred by the user login.. I have 2 functions for displaying the records.. Number 1 is just displaying the records when you go to …

Member Avatar for Mark Christian
0
1K
Member Avatar for gbhs

Hi to all vb.net community! In my application,the user may be required to install SQLExpress2008WT. The User Interface is as attached. The following steps are performed. a) Browse button browses the .exe file path (via a file dialog) and displays it. b) The Installation button does what it says, in …

Member Avatar for Reverend Jim
0
480
Member Avatar for liphoso

Please help me with how i may receive an sms to my java application using ozeki. I have used sample code that i got from http://www.ozekisms.com/index.php?owpn=584 , I used that sample code and was able to send sms. Using the same code how may i receive an sms so that …

0
124
Member Avatar for Joe_10

I am trying to use pdo to update a database, the code is not returning any errors but the code does not work. Logic is the user would enter in user id and then a new location hit submit and the location would be updated. Here is the form code …

Member Avatar for Joe_10
0
308
Member Avatar for Dan_4

I am interested in building a piece of software for computers. I'm a web developer without much experience in the desktop game, so I'm probably going to hire this out, I just wanted to make sure it isn't a crazy deep project before I start because my development budget isn't …

Member Avatar for JamesCherrill
0
260
Member Avatar for AntonyRayan

In javascript, I took the difference between twodates. When Finding difference between two dates for example 12.00.PM to 02.00.PM, I got output 2 But when I am finding difference between two dates like 12.00.PM to 01.30.PM, I got output like 1.5. So I want to show this 1.5 like 1 …

Member Avatar for diafol
0
65
Member Avatar for patel.apurva333

try { frmCombination.Mode = "Add"; this.Clear_All_Controls(); this.Enable_All_Controls(); if (!(this.Form_Name == "Secured Life")) ; this.btnGenerate.Enabled = true; this.btnChange.Enabled = true; this.mskReportDate.Text = Convert.ToString(DateTime.Now); ****** if (this.Form_Name == "Secured Life") this.txtQuotation.Text = Common_Functionality.GenerateId("ProdMix_Quot_No", "Secured_Life_Quotation", "").ToString(); else this.txtQuotation.Text = Common_Functionality.GenerateId("ProdMix_Quot_No", frmCombination.tblAnnorSet, "").ToString(); this.SetupDataGridView(); this.SqlQry = "select Tax_Sec_80CCC_Limit,Tax_Sec_80D_Limit,Tax_rate_Limit from Global_Parameters"; Connection connection = new …

Member Avatar for pritaeas
0
95
Member Avatar for davy_yg

Hello, How to fix this error? Array ( [application] => Array ( [nama] => John [sex] => Pria [food] => Array ( [0] => ayam [1] => bebek [2] => nasi ) ) ) Notice: Undefined offset: 3 in C:\xampp\htdocs\latihan2\print4.php on line 44 latihan4.php <html> <br><br> <?php echo "Current php …

Member Avatar for lps
0
156
Member Avatar for Justin_16

package Agents; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet(name = "InsertAgents", urlPatterns = {"/InsertAgents"}) public class InsertAgents extends HttpServlet { protected void doPOST(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); try (PrintWriter out = response.getWriter()) { /* …

Member Avatar for jwenting
0
293
Member Avatar for osirus0830

about current developers experiences. I had to learn vba for work, and since I am gaining familiarity with VBA, I was interested in getting active VB.net developers opinions on is vb.net a logical next step for someone who is interested in gaining experience in programming? I confess that I don't …

Member Avatar for Reverend Jim
0
249
Member Avatar for Aqeel_1

i have a music site where i used ajax with server side php to load pages dynamically to prevent reload. this function works with different directories that are contains pages and also uses hash to show pages urls but i have one issue and that is my back and forward …

Member Avatar for diafol
0
782
Member Avatar for Anup_2

<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> Product: <select name="s_product"> <option value="">Plz select product</option> <option value="1">TV</option> <option value="2">Fan</option> <option value="3">Light</option> </select><br/><br/><br/> </form> <?php if(isset($_POST['s_product'])) { $product=$_POST['s_product']; $sql = "SELECT * FROM `data` join product on data.p_id=product.p_id WHERE …

Member Avatar for Anup_2
0
481
Member Avatar for Anshu27

Hi, I am trying to create a vector of a class which contains ofstream object as one of its member. The problem I am facing is that when I add single element to the vector, it work fine. As soon as I add another element to the vector, it changes …

Member Avatar for Schol-R-LEA
0
766
Member Avatar for centenond

Im having trouble making the enemy walking intelligence, what road to take to reach the target. So even though i have try this for 3 days, i have no clue what to do now. Say a enemy have a target. and the enemy should aproach it. but i want the …

Member Avatar for Schol-R-LEA
0
172
Member Avatar for davy_yg

Hello, I am trying to connect to sql with pdo. I wonder why it does not work? And anyone has any clue how to fix the error? Current php version : 5.6.8 Fatal error: Undefined class constant 'ERRORMODE_EXCEPTION' in C:\xampp\htdocs\latihan2\latihan4.php on line 16 latihan4.php <?php echo "Current php version : …

Member Avatar for diafol
0
249
Member Avatar for PinoyDev

Good day! I just want a little help on how to loop from one cell to the end and set a sum Formula. I have Columns From **F to O **and created a Sum formula for column F. Is there a way to make it in a loop and pass …

Member Avatar for JamesCherrill
0
290
Member Avatar for davy_yg

Hello, Cek this website: http://www.akronyms.net/demo/arvin-html/v_1.3/ On the portfolio part. I am looking for a jquery that is exactly able to shuffle pictures like that. How? Thanks in advance.

Member Avatar for davy_yg
0
991
Member Avatar for Habib_7

I'm learning win32 programming from [Here](http://www.functionx.com/win32/Lesson03.htm) and I have problem in part of tutorial about string table it gives me this error: Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with …

Member Avatar for Habib_7
0
320
Member Avatar for Satyam_1

In vb.net application , I open the form2 from form1 by btn event with following code. But if the user minimise it and again open it from the button event, there are 2 forms in the taskbar... I want the same form2 is opened everytime without multiplication of forms in …

Member Avatar for Satyam_1
0
275
Member Avatar for Satyam_1

I have put digital signature as picturebox in vb.net form To print the picturebox, i used following code. But the print of signature is very light in color. How can i improve the or darken the signature. The code in print document event is E.graphics.DrawImage(Me.PictureBox1.Image,50,100,100,50)

Member Avatar for Mr.M
0
500
Member Avatar for osvaldo_1

Hi there !! i am here seeking for best way to learn php, i enrolled to one course but i am not feeling confortable with the method that the teacher is teaching me. I ma sure that i can learn it by solving problems. Help please.

Member Avatar for Gideon_1
0
279
Member Avatar for Satyam_1

I have vb.net application. I have following code to print dgv. but when i print, all the page get printed. How can I print selected pages to be printed with pagesetup. Public Class Form2 Dim mRow As Integer = 0 Dim newpage As Boolean = True Private Sub Button1_Click(ByVal sender …

Member Avatar for Satyam_1
0
1K
Member Avatar for bdanie

I have a code for countdown timer and it works perfectly fine.. <html> <title>project prelim</title> <head> <script type="text/javascript"> var ss = 10; function countdown() { ss = ss-1; if (ss<0) { window.location="testover.html"; } else { document.getElementById("countdown").innerHTML=ss; window.setTimeout("countdown()", 1000); } } </script> </head> <body onload="countdown()"> <center> <table width="100%" height="600px" style="text-align:center;"> <tr><td …

Member Avatar for bdanie
0
6K
Member Avatar for nabin634

Hi, i am using setExpirationSeconds() to set the timeout for user. but how to update the timeout timestamp in data base when user session expires automatically due to user inactivity. Regards, Nabin

Member Avatar for moneeshot
0
431
Member Avatar for blueguy777

Unable to execute code, displaying blank page. $q = 'SELECT id,username,email,mobile FROM users WHERE email=:email OR mobile=:mobile'; $query = $dbh->prepare($q); $query->execute(array(':username' => $username, ':email' => $email,':mobile' => $mobile)); if($query->rowCount() == 0){ while($row = $query->fetch(PDO::FETCH_ASSOC)){ if($row[2] == $email) { if($row[3] == $mobile) { echo 'Mobile Number and Email are already registered …

Member Avatar for blueguy777
0
287
Member Avatar for davy_yg

Hello, Can anyone help me fix this error? step_3.php echo '<option value="'.$_SESSION['application']['year'][$i].'"' .if($y = $_SESSION['application']['year'][$i]).{'"selected"; >'}.$y.'</option>'; Parse error: syntax error, unexpected 'if' (T_IF) in C:\xampp\htdocs\pergas-responsive\include\ars_application_submission_step_3.php on line 125

Member Avatar for diafol
0
615
Member Avatar for alaad

**Hello every body,** I working an application in C# to process a log file that has a size 1 terabytes. I have to read the file row by row and insert each row in the DataBase to search in it, and I use a stored procedure. But I have a …

Member Avatar for Suzie999
0
297
Member Avatar for Doogledude123

So this is the first time using a Spring Layout and I gotta say, it honestly seems like a very nice Layout to use, but I can't quite seem to get it working the way I want it to. Let me explain: I have a JList which should be inset …

Member Avatar for JamesCherrill
0
309
Member Avatar for prince_11

please I want to send records in datagridbiew 1 to another datagridview2 is like if a user click on a button it Shud be able to send maybe 5 records in datagridview1 to datagridview2 at the Same time please I need your help.

Member Avatar for Hardz
0
215
Member Avatar for PinoyDev

Good day! I have the following sub-query that generates payroll report by a given date with format **(dd/MM/yyyy)** but I do not know why MSAccess **automatically changed it to (MM/dd/yyyy)** thus I am getting incorrect data. My regional date settings in **control panel is set to (dd/MM/yyyy)** format as well …

Member Avatar for PinoyDev
0
281
Member Avatar for UK-1991

Hello, Little tricky things I am trying to create want to add more then 1 image in the database admin can create a gallery but for that he can add mor then 1 image as in gallery he can add more then 1 image dont know how to explain but …

Member Avatar for UK-1991
0
229
Member Avatar for Ahmed91za

I have high hopes for the Swift programming language, the presentation showed a lot of potentials for this language in apple keynote, just a question do you guys think swift will come to windows in an IDK soon?

Member Avatar for vegaseat
0
262
Member Avatar for blueguy777

the if condition is not executing and unable to print result, there is a blank page. <?php $url = $_SERVER['HTTP_HOST']; $url_length = strlen($url); if(substr($url, 0, 4 ) = 'www.') { $url_length = $url_length - 4; $url = substr($url, 4, $url_length); } echo $url_length.'<br />'.$url; ?>

Member Avatar for diafol
0
123
Member Avatar for samuelneves

Hi everyone, hope you're doing fine... I'm new here and I just find Daniel Web when I was trying to understand why this message keeps appearing: "cannot find lgd2" and "cannot find lgd" [Click Here](http://pt-br.tinypic.com/r/20qhs0i/8) I don't get why this keeps appearing cause I went to Project>Build Options...>(Selected the name …

Member Avatar for Moschops
0
220
Member Avatar for jchimz

I'm trying to change the code below to upload multiple files. Each with a seperate progress bar as shown below. Please help. ![snip.JPG](/attachments/large/4/e311263a0071b800273939069664b69b.JPG "align-center") <!DOCTYPE html> <html> <head> <script> function _(el){ return document.getElementById(el); } function uploadFile(){ var file = _("file1").files[0]; // alert(file.name+" | "+file.size+" | "+file.type); var formdata = new …

0
216

The End.