199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DickEM

I've written a simple program in Visual Basic 6 pulling data from a database into a table. My program starts out with "Dim db as DataBase" and "Set rs as RecordSet" and then goes on to pull up the data. It runs fine on my computer. However, when I try …

Member Avatar for Aslam Mansoor
0
227
Member Avatar for see1234
Member Avatar for Aslam Mansoor
0
100
Member Avatar for NewCoder_31

I have a LogIN form - usertxt and passtxt and a button, and what I want to know is how to call the values of the fields user and password in the database access to open the MAIN FORM..I am connected using DATA1.RECORDSET..Is it possible instead of using ADODC?....

Member Avatar for Aslam Mansoor
0
3K
Member Avatar for hydra.p

hi guys is it posible to generate numbers using array and link list in data structure? example generating number 1 to 5000, can you give me some examples?

Member Avatar for Scotthiggins
0
110
Member Avatar for rjusman90

this is my login code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <?php session_start(); $year = time() + 31536000; if(isset($_POST['remember'])) { setcookie('remember_me', $_POST['email'], $year); setcookie('remember_me2', $_POST['pass'], $year); } elseif(!isset($_POST['remember'])) { if(isset($_COOKIE['remember_me'])) { $past = time() - 100; setcookie(remember_me, gone, $past); } } ?> <head> <link rel="stylesheet" href="css/validationEngine.jquery.css" …

Member Avatar for pritaeas
0
159
Member Avatar for manaila

Hi All, Interfaces cannot be instantiated. Could you please explain why the following is valid: interface MyInterface{} MyInterface[] myInterface = new MyInterface[]{"a", "b"}; Cheers!

Member Avatar for manaila
0
223
Member Avatar for blueguy777

unable to insert values into mysql table, only showing blank page. but after commenting mysql query code it's displaying echo $success part and not throwing any error message. code: if(!empty($_POST)) { // keep track validation errors $first_nameError = null; $last_nameError = null; $mobile_number1Error = null; $addressError = null; $magent_cityError = …

Member Avatar for blueguy777
0
312
Member Avatar for Steve_19

Do I have to wait to post code? My phone is on desktop view and I do not see a tool bar to post code.

Member Avatar for pritaeas
0
155
Member Avatar for engrjd91

I have the following code to login in my php page. Whenever I enter my username & Password & hit login, I get the following error. Warning: mysql_fetch_array() expects parameter 1 to be resource, integer given in C:\xampp\htdocs\fyp\qmc-login\login.php on line 59 here is my code: <?php session_start(); ?> <?php include_once("../includes/connection.php"); …

Member Avatar for pritaeas
0
186
Member Avatar for Akshay nand

Write a shell script, guess.sh that implements a simple number guessing game. When run, the shell script prompts the user to guess a random number between 0 and 100. If the user guesses incorrectly, the script prompts the user “Guess higher” or “Guess lower” as appropriate and allows the user …

Member Avatar for cfajohnson
0
145
Member Avatar for spowel4

I am defining the following variables inside a bash script (note: I ultimately want to pass these values to the bash script from the commandline but I haven't gotten that far yet): OFS=',' INPUTFILE='~/data.txt' OUTPUTFILE='~/delimited.txt' FIELDWIDTHS='1 10 4 2 2' Next, inside the bash script I'm attempting to call an …

Member Avatar for cfajohnson
0
564
Member Avatar for smartguy360

I tried dreamincode but the mods there are pretty mean so i have come here to humbly beg for help. First off let me start by saying I'm a new programmer and I am frustrated and cofused by the class i'm in prg 420. I need to pass this assignemn …

Member Avatar for JamesCherrill
0
918
Member Avatar for Yorkiebar14

Hello, I am struggling at trying to get custom fonts working in my application. I have added the font file to the project's resources via the 'Add Existing File...' option, and setup the following code... > FontFamily standard; Font wt; > [DllImport("gdi32.dll", ExactSpelling = true)] private static extern IntPtr AddFontMemResourceEx(IntPtr …

Member Avatar for hericles
0
355
Member Avatar for MaryRose_1
Member Avatar for andrew mendonca

Define a function named isDivisor that has two parameters of type int and returns a value of type bool. A call to isDivisor(m,n) should return true if and only if (iff) m divides n. For example isDivisor(6,24) will return true but isDivisor(5,24) will return false . Note that every number …

Member Avatar for chriswelborn
0
324
Member Avatar for Siberian

This question relates to another thread. I want to hide a div and keep a div hidden whether it's before or after the DOM loads. I can use hide() to hide the div, the div that is suppose to be hidden, will be hidden behind a div that is half …

Member Avatar for Siberian
0
607
Member Avatar for andrew mendonca

Define a function int getRoots(double a, double b, double c, double & s1, double & s2) that solves a quadatic equation with coefficients a, b and c. If there are no real roots than the return value will be 0 and the values of s1 and s2 will be left …

0
134
Member Avatar for andrew mendonca

Define a function void order(int & a, int & b, int & c, bool ascending) that places the values in ascending or descending order, depending on whether the last parameter is true or false . For example, if x, y and z contain the values 3,1, and 2, respectively, then …

Member Avatar for ryantroop
0
230
Member Avatar for xuexue

Hi! I have this code from the internet but it didn't work well. I want to set the margin of the Report Viewer during runtime. Because I have this form to fill up. Instead of handwriting it. I programmed it. But there are certain positions of the textboxes in which …

Member Avatar for xuexue
0
2K
Member Avatar for Roisin

Hey, So I am trying to add a new row to the database populating it with information from user input on my form..at the moment its only adding one row and updating it everytime I enter new information instead of adding new rows each time? I think I havae to …

0
106
Member Avatar for Keyra Lee

*hi guys..i have a problem with my php code..i have use onchange event..but it's not working! i don't know why! :'( *let me explain first.. - i want if i select a state then next the branch will appears auto if related..but only the related branch will appear..not all branch …

Member Avatar for diafol
0
254
Member Avatar for adsegzy

Hello Friends, Pls I need your help. I am designing a website that has to do with customizing items and ordering for the items. Am example of this is http://www.moonpig.com/uk/Product/Customise/1/LL896 I know this has to do which jquery, ajax & javasctipt. I am a php developer. Pls which scripts do …

Member Avatar for JorgeM
0
285
Member Avatar for hriti

hello i want to convert my all videos in .flv format while uploading is there any other way except ffmpeg to convert all format videos in flv format??? can anyone help me its urgent

Member Avatar for chrishea
0
133
Member Avatar for Siick7

Right now I'm having a problem getting my program to run, it compiles with no errors. The only previous error I had was that it stated reached end of file while parsing which I think I fixed. Can anyone help me? import java.util.Scanner; public class Payyroll2 { public static void …

Member Avatar for stultuske
0
302
Member Avatar for CairBear1

I have to use inheriantce and polymorphism to calculate the force required to pull (at a constant velocity) and the weight of material that can be carried by a train consisting of many different types of cars. The weight ( *W* ) and rolling friction coefficient (f) can be used …

Member Avatar for Hiroshe
0
192
Member Avatar for Ghost0s

Hi, everyone please i wanna know how calculator and pc's could calculate the square root of a number and please explain the algo behind the sqrt() function in cpp for example !! :)

Member Avatar for Ghost0s
0
109
Member Avatar for QwertyFish

Ok so I found this code online and though it looked interesting so I ran it but can someone tell me why it doesn't work? I have scapy installed btw #!/usr/bin/env python from scapy.all import * from scapy.error import Scapy_Exception m_iface="wlan0" filter_message="http" count=0 def pktTCP(pkt): global count if pkt.haslayer(TCP) and …

Member Avatar for QwertyFish
0
820
Member Avatar for Ritesh_4

Hello I am doing maintenance on a web server, and have several js files present which I need to categorize. However, I am faced with the dilemma of identifying between clientside js files and severside ones. Is there a distinct way to identify between these files?

Member Avatar for Airshow
0
159
Member Avatar for justugas

Hello, I will make a program with c++ about binary tree, how to implement this structure tree to C++ [Click Here](http://1.bp.blogspot.com/-LyRoy4Vg5D4/UzFIproOq5I/AAAAAAAAAe4/UapVUA_7ZPA/s1600/tree.jpg)

Member Avatar for deceptikon
0
254
Member Avatar for andrew mendonca

Define a function bool isWin(char board[][3], char target); that returns true if character target has a winning position on this tic-tac-toe board. That means three occurences of target in a line, column or along either diagonal. For example if target is 'O' and if board[0][2], board[1][1] and board[2][0] all equal …

Member Avatar for Moschops
0
288
Member Avatar for Priti_P

Hello, I want to open and dialog box on onclick of image. for that , i had written below onclick code to call function and pass parameter to it. this $skills_id is unique. What I want next is, using this $skills_id, I want open dialog box which fetches and shows …

Member Avatar for dany4ev_1
0
347
Member Avatar for nadiam

Hi, so i have an input text `<input type="text" name="numguest" id="number-of-guests">` and a button `Okay`. When a number say, 4 is entered into that text box and clicked okay, 4 of this text box `<input type="text" name="guest-name[]" placeholder="Guest Name" id="text-gname">` will appear. i tried: $("#okay").on("click", function(){ var num_of_guests = $("#number-of-guests").val(); …

Member Avatar for dany4ev_1
0
377
Member Avatar for blueguy777

i've 3 files 1) search-installment.php 2) pay-installment.php 3) update_installment.php first step enter card no into search-installment.php posting value search_cardno to pay-installment.php then updating particular installment row clicking pay button in that row which opens form in modal window after pressing submit button it's updating data in table, but while refreshing …

Member Avatar for diafol
0
2K
Member Avatar for davy_yg

Hello, I am having website error that I still do not know what causes it. In several of my users browsers (firefox), some words in the website content that I build turn into a blue link and also there is a Java ads in it. Another one, index.html turns into …

Member Avatar for cereal
0
105
Member Avatar for Mr.M

Hi Dw I know this may not be popular to many people but it a standard for financial industry. I'm developing a WOSA XFS app, I've developed the part that deals with calculating denominations, determines how many CU can be dispensed for each CU denomination. Now the problem is that …

Member Avatar for Mr.M
0
2K
Member Avatar for yeyo_1

Hi everyone, First time here, my early days in c++, will really like to be mentored(the experts)

Member Avatar for yeyo_1
0
159
Member Avatar for Anitha14

I want to identify xml nodes that does not have specific attribute. Below is the sample xml. I want to retrieve nodes that does have the "response" attribute. I found atricles that help identify node that has a specific attribute but not my requirement. <top node> <viewentry position=1 children = …

Member Avatar for Anitha14
0
283
Member Avatar for accra

Hi, am interfacing gps tracker TK106 with our online platform. The data we get from gps device is in this format (06667778889-9BP05000066677788899140815A0533.8206N00009.7045W000.0165936157.6200000000-L0000F51C) Instractions form [this site](http://sourceforge.net/p/opengts/patches/1/) explains the variours data sets in the string above, for example the first 11 digits 06667778889 is the device's programmable ID ,used in placed …

Member Avatar for accra
0
794
Member Avatar for racigan

from xml.dom import minidom dict[1] = "country" xmldoc = minidom.parse('TestStep.xml') itemlist = xmldoc.getElementsByTagName('TestStepBody') print len(itemlist) print itemlist[0].attributes['Author'].value itemlist[0].setAttribute("Author",dict[1]); for s in itemlist : print s.attributes['Author'].value dict[1] value will be changing dynamically, So i need to dynamically change the attribute value of the Author in python. I this possible? if so …

Member Avatar for chriswelborn
0
3K
Member Avatar for Sarkurd

Hello I use MinGW 4.8.2 and Qt IDE i tried to use `gprof`, I added the following flags QMAKE_CXXFLAGS_DEBUG += -pg QMAKE_LFLAGS_DEBUG += -pg to `.pro` file and extarcted the `gmon.out` file but i don't know how to convert it to a `.txt` file. the document say gprof options [executable-file …

Member Avatar for Sarkurd
0
363
Member Avatar for ashok.aryan.92

# query1 # > reply 1 > reply 2 *your reply with button and textbox option* # query 2 # > reply 1 > reply 2 *your reply with button and textbox option* # query 3 # > reply 1 > reply 2 > reply 3 *your reply with button …

Member Avatar for JorgeM
0
47
Member Avatar for kamlesh malav
Member Avatar for sneekula

I would like to break up a list into sublists of 3 elements each. I have this code, but it will give an index error when the length of the list is not divisible by 3. mylist = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] …

Member Avatar for sneekula
0
260
Member Avatar for DeanMSands3

For reference: http://en.wikipedia.org/wiki/AVL_tree I remember having touched these briefly in my CS Fundamentals 3 class, now some 5 years ago. Haven't touched them since. Does anyone use these on a semi-regular basis and in what context?

Member Avatar for mike_2000_17
0
206
Member Avatar for Daminic24

Hi i need help with the code ive done in java, iv got a project im doing and i get this when i run my program. --------------------Configuration: <Default>-------------------- Usage: java [-options] class [args...] or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -d32 use a …

Member Avatar for JamesCherrill
0
212
Member Avatar for funnym3

Hi! I'm having hard time where to put the system.out.print code in my assignment. please check my codes, I'm still new and learning in java sorry If I have mistakes :) here: import java.util.Scanner; public class SelectionSort { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter …

Member Avatar for JamesCherrill
0
176
Member Avatar for QwertyFish

Inspired by violent python and some of the scripts in there, I would like to make a http request sniffer to sniff http requests on a network. In the book violent python there is a tutorial for a section to make a google keg logger (gets what people search on …

Member Avatar for QwertyFish
0
1K
Member Avatar for ravanan88

i am doing attendance monitoring system for student only not for staffs and only concern lectures have the privilages to mark the attendance (if one staff taking the class then another one cannot mark the attendance for same period so help me to design er-model and data base design and …

Member Avatar for paulinemarie.hedreyda
0
390
Member Avatar for Yorkiebar14

Hello, This is the first time I've attempted creating controls at runtime, and I'm not sure why the following code isn't working; private void Popup_Load(object sender, EventArgs e) { Panel panel2 = new Panel(); panel2.Size = new Size(1280, 720); panel2.Location = new Point(20, 20); panel2.BackColor = Color.Red; this.Size = new …

Member Avatar for Yorkiebar14
0
301
Member Avatar for RonKevinT.Manuela

/*Ok so I have this code and it works fine but the problem is that it gives an out put like this one: 2014 June 2014 August Supposedly I would like to have august just below June...I tried putting the Group by Year(Postdate)..and it almost gave me the solution but …

Member Avatar for RonKevinT.Manuela
0
130

The End.