199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for simplypixie

I am new to Ajax and have only been learning jQuery on and off for a few months so I apologise if this should be simple. I have followed a tutorial to get shopping cart functionality working using PHP, jQuery and Ajax and it is nearly there but I have …

Member Avatar for AleMonteiro
0
198
Member Avatar for poojavb

Hello Friends, I have got confused with one topic Scenario is such that.... I need to browse a file and copy the file from one location to another.... I am done with the file copying but I need to add the list of all files present under that folder in …

Member Avatar for M.Waqas Aslam
0
548
Member Avatar for nine9hours

Hi. I am a beginner and i have been facing this problem since Monday. I made a QMainWindow with name window and added an action in it. So when a user clicks the action, the QDialog dialog is displayed. In dialog i take input from user and then return it …

0
189
Member Avatar for yumyam09

iam making a simple computation but iam having a problem with this [CODE] If btnAdd.Text = "&Add" Then cbleave.Enabled = True dtFrom.Enabled = True dtTo.Enabled = True dtApplied.Enabled = True clear() btnAdd.Text = "&Save" btnSearch.Enabled = True sql = "SELECT IFNULL(MAX(cnt),0) FROM tblleaveapp" NewDataSet(sql) Else If cbleave.Text = String.Empty Then …

Member Avatar for M.Waqas Aslam
0
125
Member Avatar for priya500

Hi all . I'm living in India. I hosted my web site in awardspace free hosting plan. can i register my domain name. assign it to my web site ? I like to register my domain name at [url]www.bigrock.in[/url] . is it possible to with free hosting plan like awardspace.

Member Avatar for gyemen
0
198
Member Avatar for leechang.kevin

Hi, I am building a room availability form that contains a foreign key 'roomNumber' that references the multiple dropdown list that contains the data time starting from 07:00 AM to 09:00 PM from monday to saturday, i can already store the data into the database but my problem now is …

Member Avatar for Biiim
0
798
Member Avatar for Labdabeta

How exactly do you use a glConvolutionFilter2d() call? I know about convolution filters and kernels, but am not sure exactly how to implement them. Just a simple example with say... a gaussian blur, would be helpful.

Member Avatar for Labdabeta
0
138
Member Avatar for ak47carbon

<?php ob_start(); ?> <?php include("connection.php"); //this makes the time in the past to destroy the cookie $aa=$_COOKIE['md']; $bb=$_COOKIE['li']; $h1=$_COOKIE['h']; $m1=$_COOKIE['m']; date_default_timezone_set('GMT'); if (date_default_timezone_get()) { 'date_default_timezone_set: ' . date_default_timezone_get() . '<br />'; date("l, F d, Y h:i" ,time()) .'<br />'; $date_str = date("l, F d, Y h:i" ,time()); //ex:from database $date …

Member Avatar for pritaeas
0
161
Member Avatar for kamilacbe

Hi.. Can anyone help me out with reference site or Code to handle multiple email server in c#.I have a task of sending Mass Emails to users.

Member Avatar for Mitja Bonca
0
171
Member Avatar for anita_86

Hi all.I found this code on a forum to confirm that the user wants to delete the record from database and that the link has not pressed accidently.But it is not deleting the record even after pressing ok.This is may be because the id is not passed properly. Can anyone …

Member Avatar for anita_86
0
173
Member Avatar for Emfemmi

Hello i am working on a little project called an [B]Accociation[/B] class. It is a bi-direction association, i.e. if "dog" is associated with "canine", then automatically "canine" is also associated with "dog". The core of the class is two map objects, a left-to-right and a right-to-left map. Here is a …

Member Avatar for L7Sqr
0
207
Member Avatar for replic

Hello everyone, assuming i want to write some values into my database of choice i found two ways to do this. [CODE] my $sql = "INSERT INTO table (foo, bar, foobar) VALUES (?, ?, ?)"; my $sth = $dbh->prepare($sql); foreach(sort keys %hash) { $sth->execute($_, $hash{$_}, $some_other_value); } [/CODE] as opposed …

Member Avatar for replic
0
1K
Member Avatar for walid86

i have a form, with a few text box's, and a background image, when i click the button to produce the pdf it often creates this Parameter is not valid exception (argumentException was unhandled).. [ICODE] Bitmap back = iDMS.Properties.Resources.corporateLetterHeadPage1; back.SetResolution(300, 300); <------ error is here.. [/ICODE] the image is not …

Member Avatar for walid86
0
471
Member Avatar for ozzyx123

I need a program which counts the pages of all the pdf files in a directory. i found this scrpit which is supposet to do exactly that, but when i try to run it it just doesnt work for me it outputs nothing. i dont really know what to change …

Member Avatar for TrustyTony
0
883
Member Avatar for MicroD

Hello, i'm trying to parse file but i dont know how i tried everything. This is my Goal: [21:53:51] Started [21:53:54] Test >> [COLOR="red"]this is that what i want ot parse[/COLOR] . [Test] [21:53:54] Something Can someone help me. - Regards!

Member Avatar for stultuske
0
116
Member Avatar for Cameronsmith63

So now that im using excel 2010 and saving data in .xlsx format, I have a problem doing something very simple, like reading the file and trying to run a simple sql command on it... [CODE]SqlConnection con = new SqlConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Download Report Sheets\Schedule List\SoftwareDownload_OS732_20120306.xlsx;Extended Properties=Excel 12.0 Xml;HDR=YES"); SqlDataAdapter da = …

Member Avatar for Cameronsmith63
0
135
Member Avatar for feblioz

[code=php] <div id="user-bar"> <div id="user-options"> <div class="notification-container"> <img src="media/gear-faded.png"> </div> <div class="notification-container"> <img src="media/courses-faded.png"> </div> <div class="notification-container"> <img src="media/chat-faded.png"> </div> </div> <span class="profile-container"> <img src="https://openlearning-cdn.s3.amazonaws.com/feblioz-avatar-24-ts1330811171.jpg" alt="" border="0" class="profile-image" align="absmiddle" width="24" height="24" id="myAvatar24"> <span>feblioz</span> </span> </div> [/code] do you know how to make all the images to be in a line?

Member Avatar for karthik_ppts
0
136
Member Avatar for horizondesai

Hi everyone, I am new to RichTextBox control in VB6 I wanted to select the entire line/row in the RichTextBox, where currently the cursor is. How should I do it ? The code should be paste in command button 'cmdSelect' Thanks in advance :)

Member Avatar for horizondesai
0
3K
Member Avatar for morthea

[COLOR="red"][COLOR="red"]can anyone pls help me im still an IT student, and we have this case study Pizza Delivery system which the user can choose and check all the text box of the pizza size [/COLOR][/COLOR] [CODE]<INPUT TYPE=checkbox NAME="pica10" VALUE="S">10" Php300 <INPUT TYPE=checkbox NAME="pica14" VALUE="M">14" Php450 <INPUT TYPE=checkbox NAME="pica18" VALUE="L">18" Php650 …

Member Avatar for morthea
0
284
Member Avatar for Zay

Hello; can any 1 explain to me how to find the miniumum spanning tree for a graph ? see this graph as an example :

Member Avatar for Dmitry74
0
186
Member Avatar for shaker naser

I want to Write a program that determines the day number (1 to 336) in a year for a date that is provided as input data. As an example, January 1, 1994, is day 1. December 31, 1993, is day 365. December 31, 1996, is day 336, since 1996 is …

Member Avatar for thines01
0
320
Member Avatar for solomon_13000

The code below will add new form elements when ever I click the add button. However when you add more elements the combo box element goes out of alignment. Try it out. Now is there a way to fix this problem?. [U]multientry.js[/U] [CODE] function addValue(divname){ var newdiv = document.createElement('div'); newdiv.innerHTML …

Member Avatar for lordjohar
0
797
Member Avatar for tubesnube

Hello. I'm in the middle of updating a site for work and I'm stuck at the moment, so I was wondering could anyone help me out if possible. I'm new to PHP and HTML, been using them for nearly 2 weeks. What I'm doing is that there is 5 forms …

Member Avatar for Biiim
0
303
Member Avatar for vizz

[CODE] <div id="navcontainer"> <ul id="navlist"> <li><a href="#" id="current">Item one</a></li> <li><a href="#">Item two</a></li> <li><a href="#">Item three</a></li> <li><a href="#">Item four</a></li> <li><a href="#">Item five</a></li> </ul> </div> [/CODE] This is my code for menus. How to hide "Item two, three, four, five", If "Item one" is clicked (using jquery)?

Member Avatar for stbuchok
0
108
Member Avatar for dipopo

Hello Guys, I have a webpage for selecting values from a MySQL database, using 1 dropdownlist and 2 calendars for date. My problem is that the calendar returns dates in the form '08/06/2011' and my database date entries are in datetime format '08/06/2011 14:00:21' hence decided to add the time …

Member Avatar for dipopo
0
162
Member Avatar for karthikprs

I am trying to extract the number in the string "(c) 2010 Elsevier Ltd" from a PDF document . I found that the textsearch method of PDFtron package would help me find the string as stated in the example code: [CODE]import pdftron.Common.PDFNetException; import pdftron.PDF.*; import pdftron.SDF.SDFDoc; // This sample illustrates …

Member Avatar for karthikprs
0
3K
Member Avatar for CombatJ

I am trying to experiment with C++ to make the command prompt function like MatLab or Octave. This is a practice file I've been doing so I could pass functions as parameters to other functions. My problem is with this function call found in line 36 [CODE]compute(gset[function-1], input);[/CODE] This is …

Member Avatar for CombatJ
0
140
Member Avatar for jonnyboy12

Hello all. I am trying to convert a c document to c++. I requires that i use the out word like this. [CODE] if (executeCommand("QUIT", out response)) [/CODE] is there and out for c, or a better way that i'm unaware of. Thanks all for your time. bye

Member Avatar for Ketsuekiame
0
168
Member Avatar for INF-P

I am trying to add pricing to an existing website database, but when I enter a price for an item, it removes it on its own. Please assist me in finding the error? All the files and coding is that of a previous developer.. This is the only file with …

Member Avatar for INF-P
0
347
Member Avatar for f.sh

actually, i'm developing dynamic template using asp.net and c#. in my usercontrol page i have a listview which is include dynamically created table. once the user edited any of the rows and press the save button before the PageLoad or PageInit i want to execute the ItemUpdating function to save …

0
122
Member Avatar for Cyre
Member Avatar for Cyre
0
147
Member Avatar for foreshadowed

Greetings all; what I'm trying to do is create an array of structs dynamically by using functions for allocation, display, and then freeing memory. I'm *able* to do the process if it's within scope of the foo declaration, but the initFoo function throws an exception. I *think* it's the order …

Member Avatar for MonsieurPointer
0
150
Member Avatar for tukky

Hey guys, I'm doing a project for university and i have hit a wall. I have a gridview that is connected to a database as shown below: [url]http://i40.tinypic.com/fys9i.jpg[/url] (menu is incomplete) I want a drop down box that is populated with the type of food such as (pizzas, burgers etc …

Member Avatar for M.Waqas Aslam
0
150
Member Avatar for Vkitor

Hi! I'm working on program with a lot of buttons and I would like to use For loop to make all of them instead of writing every each one of them. so, can anybody help me? here is example of code [CODE] import tkinter as tk def klik_1(): button1.config(image=s1) def …

Member Avatar for Gribouillis
0
23K
Member Avatar for divsok

[IMG]http://i.imgur.com/UfUjV.png[/IMG] there are more rows on the table and each row has a button.i need to the get first coloum value of each record by clicking the button..

Member Avatar for pritaeas
0
97
Member Avatar for james1on1

hi there masters of c# code i bow to your hard work and knowledge i am a beginner and i would be very gratefull for full explainations and not just code snippets my target is to create a web browser app in c# which load a difffrent website on each …

Member Avatar for Mitja Bonca
0
268
Member Avatar for muralibobby2015

Hello, i have a problem with my query. any body give suggestion please. i have two tables named as "users" and "userimages" in the users table there are 1)userid (primary key) 2)name 3)subscription package (Brong or gold) and in the next table "userimages" fields are 1)auto_id 2)userid (foreign key) 3)image …

Member Avatar for karthik_ppts
0
129
Member Avatar for rrrose16

please find what error in this program.while run it wont display the output #include<iostream.h> #include<fstream.h> #include <stdio.h> #include<conio.h> #include <sys\stat.h> class file { private: int i; int alphabet; int space; public: void alphabets(); void spaces(); }; void file::alphabets() { alphabet=0; fstream f; char s; f.open("NNEWFILE.TXT",ios::in|ios::app|ios::binary); f.get(s); while(s!=EOF ) { if(i>63&&i<91||i>96&&i<123) …

Member Avatar for ravenous
0
181
Member Avatar for eoop.org

Hi is it posible to make a notepad only usin print Preview Control? Like you are writing the text in a print Preview Control. I want to make a look like you are writing in pages (like office word, and other word processors) :)

Member Avatar for ddanbe
0
185
Member Avatar for poolet25

Well something is missing of me (again :P) and I need some help.. I am trying to get files for my database and load it into comboBox. But for some reason I get systax error.. As I mention into other post I am not familliar with VB so please check …

Member Avatar for M.Waqas Aslam
0
158
Member Avatar for obwills

hello please i need help!! i have 7 forms in my windows application and the 7th form,only have a datagridview that has been populated from a bounded database. one of the columns in the datagridview contains date, so i need to check if the date in the column is today,then …

Member Avatar for M.Waqas Aslam
0
96
Member Avatar for shyla

Hello, i am still struggling with an assignment that was already due The tiny tots tee-ball league has 12 players who have jersey numbers 0 through 11. The coach wants a program into which he can type a player’s number and the number of bases the player got in a …

Member Avatar for moecowboy
0
130
Member Avatar for judithSampathwa

hi there, i have a datagridview in the desktop application that i made and one of the columns in that is the telephone number. the telephone number is valid if the user type in (630) 345-2532. so everywhere the user hast to type in the paranthasis and then the numbers …

Member Avatar for sathiyapriya.M
0
1K
Member Avatar for Trizocy

Hello there. I was wondering if anyone here could help me out of this problem :)? So how do you retrieve a cookie? I have try this : ----------------- (Cookie value = Computer and name user ) This is my what is inside my php $myhyperlink=www.google.com/ $linktosite=$myhyperlink 'search='.$_COOKIE["user"]; header('location:'.$linktosite); ------------------------ …

Member Avatar for gotboots
0
122
Member Avatar for rhone0809

can anyone help me with this? im having trouble with renaming a file.. the last 2 digit of DT102T01 up to DT102T15 will count according to the number of files inside the Data_PRN folder. please help! any suggestion will be appreciated.. tnx '===== make directory & rename file . prn …

Member Avatar for rhone0809
0
508
Member Avatar for Cyre

i have a dynamic table whose values came from the database. the user will select records from the table then save the result to another table. i have the following code: <?php echo "<form method='post' action='save_result.php'>"; $subjects="table1"; $connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" . realpath("data.mdb").";"; $conn=odbc_connect($connstr,'','') or die("connect error: …

Member Avatar for karthik_ppts
0
142
Member Avatar for buckeyemike

You have been contracted by a small college named CSU that would like for you to implement a custom software system for managing students data. As a prototype you decided to show them a menu driven example. Your menu driven example has the following features: A) Show/Edit student information B) …

Member Avatar for darthstewie
0
3K
Member Avatar for yamigx

hi guys .. i have an assignment .. and i didn`t now that i have to do it by tomorrow and now i have no time .. i will be thankful if you can help me.. "Write a program that determines the day number (1 to 336) in a year …

Member Avatar for zeroliken
0
300
Member Avatar for theCompiler

how can i convert this into a struct? the program is prnting all the even nos [CODE]void main() { int num[5],even[5],count,j=0; clrscr(); printf("Enter 5 numbers\n"); for(count=0;count<5;count++) { scanf("%d",&num[count]); } for(count=0;count<5;count++) { if((num[count]%2)==0) { even[j]=num[count]; j++; } } printf("EVEN:\n"); for(count=0;count<j;count++) { printf("%d\t",even[count]); } getch(); }[/CODE]

Member Avatar for zeroliken
0
104
Member Avatar for bobgodwin

I'd like to get a list of folders that don't contain certain files. I'm using this to list directories & files: [code=php]$path = "media"; $dir_handle = @opendir($path) or die("Unable to open $path"); function list_dir($dir_handle,$path) { while (false !== ($file = readdir($dir_handle))) { $exclude = array(".","..","_player_thumbs","Thumbs.db"); $dir =$path.'/'.$file; if(is_dir($dir) && !in_array($file, …

Member Avatar for bobgodwin
0
243

The End.