199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for george8

Hi all... I hope you have good time .... I have problem in the new program and I want to your help .. I want to back up the database type from Access, but my problem I could not generate code to determine the path of the database, I noticed …

Member Avatar for Sahil89
0
291
Member Avatar for Z33shan

hello :) i'm looking for some good Combination Optimization Algorithm, which is easy to code aswell... (combination optimization algorithms like "Hungarian Algorithm", etc.) thanks :)

Member Avatar for Z33shan
0
148
Member Avatar for Muhammad Anas

Here is a very simple segment of code. What I want is when I click on the button "First Button" then the window become empty. What actually happens is the window just becomes unresponsive. What could be the problem and what could be a solution?? import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import …

Member Avatar for Muhammad Anas
0
6K
Member Avatar for J.S.AlKatheeeri

Hi! I'm new, sorry if this is in the wrong place, mods please move this if necessary. Basically, I'm trying to give a breif definition of interfaces and abstract classes, please check if these are right: An interface defines what should be done not how it should be done. The …

Member Avatar for JamesCherrill
0
204
Member Avatar for bizak

Hello! I've been staring at my code for a while and I really have no idea where I'm going wrong. I'm working on deleting a specific node (for example, the integer 317)....but for some reason I just keep getting a nullpointer expression. I get the error when it goes into …

Member Avatar for JamesCherrill
0
304
Member Avatar for CEOEngineerSoft

Here is a class to SQL use an access database: Class MyDB Public DBName As String Private con As New OleDbConnection(ConStr) Sub New(ByVal DBN) DBName = DBN End Sub Private Function ConStr() ConStr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & DBName & ";" End Function Private Sub ConInit() If con.State <> ConnectionState.Open Then …

Member Avatar for Sahil89
0
202
Member Avatar for sowh4t

So i'm trying to make a script that reads from forum last post first word and displays it on my site vBulletin forum http://www.forum.com/showthread.php?85788&goto=newpost it uses javascript, so I can't get any info :S My script so far <?php header("content-type: text/plain"); $myurl = 'http://www.forum.com/showthread.php?85788&goto=newpost'; $curl_handle = curl_init(); curl_setopt ($curl_handle, CURLOPT_URL, …

Member Avatar for mschroeder
0
127
Member Avatar for SAM2012

I have queue class as below public class queue { public: queue(); ~queue(); bool Empty() const; void Enqueue(message^); void Dequeue(); void DisplayAll() const; private: gcroot<String^> bindingkey; queue(queue const& obj); ListNode* head; ListNode* tail; }; queue::queue():head(nullptr), tail(nullptr) {} queue::~queue() { while (head != nullptr) { Dequeue(); } } //bool queue::Empty() const …

Member Avatar for emilo35
0
174
Member Avatar for ashboi

I'm getting some errors with my code, & cant seem to find where the problems are. Basically I'm making a student class that calls out the student id & name. I hope someone can point me in the righ direction to get this code working. Thank you student.cpp: #include <iostream> …

Member Avatar for ashboi
0
162
Member Avatar for M.Waqas Aslam

hello every one , ! i have same prob as the user had in this thread [Click Here](http://www.daniweb.com/web-development/databases/ms-sql/threads/421214/remote-server-access) first i thought to post my question in that thread but then i thought it is better to open new thread . in above mentioned thread a user have prob to connect …

Member Avatar for JorgeM
0
167
Member Avatar for chinee

i have to create a graph for my project i found an example that was working and followed it first time with graph. i wrote my code got no errors but when i run the code this is what i am getting i don't understand it can some one help …

Member Avatar for emilo35
0
218
Member Avatar for scaiferw

I have a lab management webapp that lists servers on my network. With a click in IE I can open a terminal services session to that server. The code works in IE, but not in chrome or firefox. Can anyone suggest how I can make this work in Chrome (Firefox …

Member Avatar for scaiferw
0
138
Member Avatar for polarbear125

I'm working on playing nim, where the person who takes the last object wins. My program is currently working, but it terminates after I only take one bunch of stones (You can take up to 3 at a time), no matter what the pile size is. Is there a way …

Member Avatar for NormR1
0
368
Member Avatar for luvrahul30
Member Avatar for Tko_1

Ok im a little new to php so please bare with me. this is the code i have been using to Transfer Variables from and to. What i want to do is to keep the variables in page2 untill further notice even after submited. Concept of this for customer to …

Member Avatar for Biiim
0
203
Member Avatar for empror9

hello, i'm leaning about ActionListener but i can't compile my code, i don't know why :( this is the code package javaapplication7; import java.applet.Applet; import java.awt.Button; import java.awt.Color; import java.awt.Label; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class Test extends Applet implements ActionListener{ Button b1=new Button("Red"); Button b2=new Button("Green"); Button b3=new Button("Blue"); …

Member Avatar for empror9
0
92
Member Avatar for mangel.murti

![chil_table](/attachments/large/0/chil_table.JPG "chil_table") ![main_table2](/attachments/large/0/main_table2.JPG "main_table2") i have two tables which i attached. user can add N level question answers. i am using CI. i am using this code for generating ul li. and my array which fetch result set is like this.... but not working ... for working ul li function …

Member Avatar for Biiim
0
295
Member Avatar for gedas

Hi Guys, i need to create an application that would add or remove user accounts on a mac, also provide the users with the relevent premmisions. This has to be created in order to bulk create users or remove them so the apple provided interface would not be efficiant. Any …

Member Avatar for JamesCherrill
0
96
Member Avatar for hamedx

Hello guys my question is asked more than 1000 times on internet by peoples but i cannot follow any of them (everything is correct but not worked) , i have a simple login system and after that there is a simple field (Email) and a submit button, its connected to …

Member Avatar for Biiim
0
83
Member Avatar for anita_86

Hi! I have a php form and I am using it to update,delete and insert data.I use a drop down to display customer names and when the customer is selected, the form should be submitted with document.frm1.submit(); so that I can get company id of that customer. Problem is, when …

Member Avatar for Biiim
0
360
Member Avatar for decade

Can anyone teach me how to print "Hello World" 100 times without using the loop such as do, for, while, and foreach. Thanks...

Member Avatar for blocblue
0
1K
Member Avatar for jakubee

create trigger ins_notification after insert on transaction_detail for each row Begin insert into sell_notifications(user_id, product_id, quantity) values(new.transaction_id , new.product_id, new.quantity); End; Can any one see where's the problem? :(

Member Avatar for smantscheff
0
91
Member Avatar for BryantFury

i have a code to read some products from a file.(.dat). it hasthe name, model number, price and its purpose. example. = knife 103 10 cut currently it can read the first 3. The question asks i make a derived class to read the purpose. Here is my code #include …

Member Avatar for ravenous
0
567
Member Avatar for realworldmedia

I am trying to echo information into a slider , but, it keeps repeating the entire slider instead of jus inserting the fields aloone. i know it is the closing tag but i dont know how else to do it..any ideas? i just want to post like address 1 address …

Member Avatar for vibhaJ
0
233
Member Avatar for ak47carbon

am inserting data into base it is not inserting data which i want to insert the following data into *p1_n_dis* field of table Usman Raza, who completed his MS majoring in Computer Science at LUMS with an National Management Foundation (NMF) Gold medal, has been awarded a prestigious Mark Weiser …

Member Avatar for vibhaJ
0
226
Member Avatar for DaveyMoyes

Hi everyone, I have a login form working great, until I found this strange error. If a user enters the username as user name (with a space) the login script fails. So I have tried using $username = str_replace(' ', '', strtolower($username)); I thought the above would remove any spaces …

Member Avatar for vibhaJ
0
283
Member Avatar for pilsdumps

Hi, I've a unit test for a protected method that contains a ref parameter. The method to test looks like this: [CODE] protected void Select(ref int? intReturnValue, ModelBase modelbase) { ...some code.... //add the return value SqlParameter paramReturn = new SqlParameter("@ReturnValue", 0); paramReturn.Direction = ParameterDirection.ReturnValue; sqlComm.Parameters.Add(paramReturn); //run the proc sqlConn.Open(); …

Member Avatar for BWPro
0
2K
Member Avatar for VicGirl

** Hai friends, need your help i have done code for similarity alphabet for example if we write A it will recognize A vs B= A A vs C = A and so on.. as i shown in the picture below. But i dont know how to change the A …

Member Avatar for VicGirl
0
167
Member Avatar for jpunkins

I am a programming student and I've realized lately that while I understand many of the concepts I'm being taught, I still, after several programming classes, tend to have trouble with multi dimensional arrays. Does anyone know of a good tutorial devoted to this? I realize I can do a …

Member Avatar for MandrewP
0
149
Member Avatar for Pamilerin

I am trying to insert values from a table to another table. The thing is I want it such that only a row in the source table that does not exist in the destination table should be inserted. I have set each table to have a column that automatically increments …

Member Avatar for Pamilerin
0
232
Member Avatar for crownedzero

I have a private ArrayList in a class and I'd like to be able to access it outside of this class, what would be the proper way to do this? Right now I've just made the ArrayList public but I would like to allow it to be private. Should I …

Member Avatar for NormR1
0
271
Member Avatar for irtihussain

package array1; import javax.swing.*; import java.util.Random; class pickrand{ Random rand = new Random(); public static String get(String[] array){ int rnd = rand.nextInt(array.length); return array[rnd]; } } /*********************************************************************/ public class Array1 { public static void main(String[] args) { int size = 10; String[] passcheck = new String[size]; String[] pass = {"abc345", …

Member Avatar for irtihussain
0
1K
Member Avatar for MCLASS80

I want to output results from a postgresql table into a csv file. I can do this however its also copying over headers and a row count. Im using \o /path then my sql query; Is there a way to get rid of the headers so i just have the …

Member Avatar for Watael
0
131
Member Avatar for Tko_1

I just spent some time tryin to figure this out and found out how, so thought i would share. (hope this is the right section for this.) <?php ob_start(); include('index.php'); $content = ob_get_clean(); ?> then insert where ever you want it to show up. <?php echo $content;?> Hope this helps …

Member Avatar for Tko_1
0
145
Member Avatar for kit007

Im having a trouble connecting my javascript to codeigniter.. I use the base_url yet it doesnt work.. do i need some libraries to make it work.. Heres my code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>MY PAGE</title> <meta http-equiv="Content-Language" content="English" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" …

Member Avatar for stbuchok
0
1K
Member Avatar for razamughal67

Hello everyone we use a listview box and we add some path's of the files in list and now we want to show the file icon with in file path example: listview1.item.add " D:\test.txt" listview1.item.add " D:\picture.jpg" now we want to show these files icon in my listview please tell …

Member Avatar for Jx_Man
0
2K
Member Avatar for macdunk11

I need to make an Evil Hangman game for my Java class. Can anyone help please? I really need help figuring out how to put the words into "families". Also, if you see any problems with my code or any ways that I can make the code simpler, please let …

Member Avatar for macdunk11
0
490
Member Avatar for Valiantangel

how do u convert the below to a 'for' loop? int x = 123456; int y =0; while (x > 0) { y *= 10; y += x % 10; x /= 10;}

Member Avatar for WaltP
0
112
Member Avatar for whtewa

The hash table stores phone numbers and names, uses the names as the keys. The problem I have is when I use the terminal window to enter the names and numbers. The strange problem that occurs then is that all the names get the same phone number. But when i …

Member Avatar for WaltP
0
214
Member Avatar for k2k

haven't been using linux for a while. remember I used to do search and replace all the time with :s/searchString/replaceString/g now I have "pattern not found: " even though pattern I was trying to search/replace was definitly there. any idea? did i forget anything?

Member Avatar for shivemg
0
145
Member Avatar for Razrak

Greetings. I did not write the below code. I got it from [Click Here](http://itknowledgeexchange.techtarget.com/itanswers/python-script-to-download-wallpapers-from-interface-lift/) Thanks for any help. When I try to check the syntax it gives me an error on the very last line of code. The error "SyntaxError:invalid syntax (line 119, offset 26):a.getWallpaperList()[/pre] #!/usr/bin/env python import urllib2 import …

Member Avatar for TrustyTony
0
430
Member Avatar for nagatron

Hello to all java programmers, I have a problem about method and array. The program will display the second highest value of the inputed set of numbers in the main method. The problem is that it won't accept less than four inputs which mean it is necessary to put 4 …

Member Avatar for nagatron
0
252
Member Avatar for king03

Guys I have some questions please help me., 1. if I make a tetris game out of c# will it be difficult to do? 2. Is it possible to finish it in less than a week ? 3. Also what should I use as a game studio? OpenGL, XNA or …

Member Avatar for thines01
0
225
Member Avatar for BryantFury

Hi im trying to learn polymorphism and i stumbled upon a question. Polymorphism to me means 1 with many forms. here is my code: // virtual members #include <iostream> using namespace std; class CPolygon { protected: int width, height; public: void display(); virtual string area () { return ("FIRST"); } …

Member Avatar for BryantFury
0
97
Member Avatar for minimee120

Problem 1: Phone book. A phone book file is organized so that each line is an entry for one person. Each line has the following format: first, a name (one word, no spaces), then zero or more phone numbers, each preceded by a space (no spaces within a phone number). …

Member Avatar for Lardmeister
0
238
Member Avatar for infogirl

Hello, guys. This is the fragment of my program. I can't initialize the dynamic two-dimensional array. The compiler says to me that 'y' cannot appear in a constant - expression. But I need that both x and y to be dynamic. How can I fix that? ` float a; int …

Member Avatar for mrnutty
0
152
Member Avatar for Xephis

Hi all, I'm trying to display the average of each row displayed in my table but am having a bit of trouble, any assitance would be appreciated. Basically the table displays the name, the score you gave them, and their average score. Here is my code below (example, names modified. …

Member Avatar for Xephis
0
169
Member Avatar for Iamateur
Member Avatar for suneye

hello, I want to make a program that enables me to read data from my 4-CH usb 2.0 DVR. any one to help me do that? thanks in advance

Member Avatar for skatamatic
0
394
Member Avatar for Animal Mother

How do I find the number of USB ports available, and what their references are. Example there are 6 USB ports on my motherboard what code would I use to find their reference like, port 1 is called 0 and port 2 is called 1. I want a user to …

Member Avatar for Begginnerdev
0
199

The End.