199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for b1izzard

Hi all, I need a little bit help in creating a small thesaurus like application in java. The application consists of some 50-100 categories and each category have some 2-10words of similar meaning. e.g Close-{shutdown,fold,end,come together} The words are hard-coded but I don't know which data structure suits the best. …

Member Avatar for JamesCherrill
0
200
Member Avatar for luisFilipe

First let me tell you what my program is doing. its basically a shopping list program. Whereby the user will input the values and it is then inserted into a text file. There will be 3 inputs (Item Description,Unit Price,Quantity Purchased) and is stored into the text file as (Shoes:$200:2) …

Member Avatar for caut_baia
0
95
Member Avatar for Danny159

Hey, I have the following script... [CODE]if(!opendir($image_dir)){ echo info_msg("Ooops... This Album contains no images"); }else{ /* step one: read directory, make array of files */ if ($handle = opendir($image_dir)) { while (false !== ($file = readdir($handle))) { if ($file != '.' && $file != '..' && preg_match("/t/",$file) && $file != …

Member Avatar for pritaeas
0
208
Member Avatar for john_steve_85

hi, my website was working fine, then I have added this code in my master page: [CODE] Dim css As New HtmlLink css.Href = ResolveClientUrl("~/JS/jquery_ui_1.8.1.4/jquery-ui-1.8.14.custom.css") css.Attributes("rel") = "stylesheet" css.Attributes("type") = "text/css" css.Attributes("media") = "all" Page.Header.Controls.Add(css) Dim jquery_ui_core_min As New HtmlGenericControl("script") jquery_ui_core_min.Attributes.Add("type", "text/javascript") jquery_ui_core_min.Attributes.Add("src", ResolveClientUrl("~/JS/jquery_ui_1.8.1.4/jquery.ui.core.min.js")) Me.Page.Header.Controls.Add(jquery_ui_core_min) Dim jquery_ui_widget_min As New HtmlGenericControl("script") …

Member Avatar for john_steve_85
0
1K
Member Avatar for kieky

can i using gridview to create friends list like this? [URL="http://www.4shared.com/photo/xxPeJoHG/tanya.html"]http://www.4shared.com/photo/xxPeJoHG/tanya.html[/URL]

Member Avatar for nik11
0
277
Member Avatar for canadaussie12

Hello, I am very new to PHP and hope that someone here might be able to help with a challenge I cannot solve (yet). I have created a simple hmtl form and corresponding php file which send some information to the designated email. However, I am not sure how to …

Member Avatar for canadaussie12
0
180
Member Avatar for Moderns

Hi Mates, Actually the below code only creates dynamic DIV in IE, but for Firefox it does not create any DIV. Also it does not create the event onclick to be triggered when clicking on any area inside the DIV. I want to create dynamic DIV in firefox and IE …

Member Avatar for momonq1990
0
2K
Member Avatar for Aardwolf

How would I do this in 1 line [code] $name = $firstName + " " + $lastName; //output: 0 [/code] the problem is what I think it is, is that its trying to add like mathematics. whilst I want the '+ " " +' to become a space in between …

Member Avatar for karthik_ppts
0
131
Member Avatar for srdva59

hi, i looking for a class that can handle with winrar and zip files i have found a lot of resource for zip but none for winrar... any one know something that work in both of the type files? thanks :)

Member Avatar for srdva59
0
1K
Member Avatar for apanimesh061

[CODE] using System; using System.Diagnostics; using System.Threading; using System.Runtime.InteropServices; //using System.Windows.Forms; using System.Reflection; using System.IO; namespace Record { /// <summary> /// Uses reflection to set up test information available in the Assembly. All classes /// containing a public static method named TestProc will be enumerated. /// </summary> public class MainTest …

Member Avatar for apanimesh061
0
291
Member Avatar for mogaka

Hi brothers,i am creating an application that i want to load a pre-designed crystal report from database records and print it in pdf format and send it as e-mail attachment. I know how to send it as an attachment but i don't know how to print it in pdf automatically …

Member Avatar for mogaka
0
129
Member Avatar for f_atencia

I'm trying to get the properties for the following objects: 0: [object Object] 1: [object Object] 2: [object Object] 3: [object Object] This was generated by using the following code: [CODE] var s = ""; for (var property in this.oProducts.Product) { s = s + "\n "+property +": " + …

Member Avatar for Airshow
0
84
Member Avatar for Espenij

Hi, I have a question. I want my page to register the previus page the visitor comes from. If my visitor comes from google, i want the url to add this in the Url. Is this possible in php5? I had this in php4, men it didnt work when it …

Member Avatar for Espenij
0
88
Member Avatar for zjbarden

I'm currently in progress of designing a web platform in regards to a personal project of mine, and came upon a frustrating conflict in my script. I am using DHTML windows and a CSS Fisheye Dock Menu, and when I click on a dock item to load a DHTML window, …

Member Avatar for Airshow
0
238
Member Avatar for Abhishek1857

whenever I start programing,i.e. #include<stdio.h> and compile it. An error is shown and message is displayed as "unable to open the file stdio.h". Please help me to remove the error.

Member Avatar for D33wakar
0
62
Member Avatar for rachelir

I have set up the following structs: [CODE]typedef struct lineList { int lineNum; struct lineList* Next; }*Line; typedef struct DictionaryList { char* word; Line lines; struct dictionaryList* Next; }*Dictionary; and then I have defined: Dictionary head = NULL; /*is a pointer to head of dictionary list */ Dictionary node = …

Member Avatar for arkoenig
0
206
Member Avatar for chaychie

Hi, I would like to display my database data in text fields form. I would like to have all the text fields to be locked (read only), so I added readonly attribute into the text fields. Moreover, I would like to add a button "EDIT" at each row, so that …

Member Avatar for divyakrishnan
0
1K
Member Avatar for abrarHuniedi

hiiiiiiii I want some help from you I want to start learn orcal just basic I dont know if I can use sql in microsoft tell me If I need to download any things? thanks

Member Avatar for debasisdas
0
107
Member Avatar for srdva59

hi how can i creat a ocx file and call to install in a browser? thanks for your help :)

Member Avatar for Wraithmanilian
0
133
Member Avatar for divakar.it

Hi, My requirement is to delete a selected row in the datagrid from SQL server. If no row is selected then nothing should happen. Below is my code [CODE] Private Sub BT_Remove_Click() On Error GoTo ErDsc: Dim MyConn As ADODB.Connection Dim MyRecSet1 As New ADODB.Recordset Set MyConn = New ADODB.Connection …

Member Avatar for divakar.it
0
1K
Member Avatar for Jessurider

i've created a jframe with a jpanel with certain things as you can see in the attachment (page1.java) ..............can anyone tell how to print that jpanel(not the whole jframe) and all its contents ........

Member Avatar for NormR1
0
120
Member Avatar for abdul04

Hi, i am trying to read from a random access file and display its contents to screen, however when i run the code nothing is displayed. I'm using a struct call "Menu" to store each record in the file and display it as the program moves through the file. Can …

Member Avatar for abdul04
0
156
Member Avatar for choudhuryshouvi

Hello all, I have created the setup/installer for my application using the PDwizard. The installation is working all good (as its expected). For uninstallation, I have used a custom program (created by me) instead of directly calling the st6unst.exe. This program is called from both programs shortcut menu as well …

Member Avatar for faroukmuhammad
0
125
Member Avatar for zebnoon

Hye again , I have problem to get Backup file .my code is bellow [CODE]Dim strB As String 'On Error Resume Next strB = "D:\backup\db" & Date$ & ".mdb" FileCopy "C:\Database\MyDb.mdb", strB MsgBox "Backup Complete!!"[/CODE] I always receive Run-time error '70' "Permission denied" please help me

Member Avatar for faroukmuhammad
0
283
Member Avatar for xagutxu

Hello, everyone! I have a problem with the code of Javascript, and I cannot find out the solution. I write a form in a div in this way: [CODE]var divTag = document.createElement("div"); divTag.id = "ch00"; divTag.className = "chzerr"; divTag.innerHTML = '<form action="foo.php" method="post" name="leh00" onsubmit="change_alert()">'; divTag.innerHTML += '<input type="hidden" name="usr00" …

Member Avatar for Airshow
0
1K
Member Avatar for Ana_Developer

Hello all, I am having a hash_map with key: char *. I have defined it like this: [CODE] struct eqstr { bool operator()(const char* s1, const char* s2) const { return strcmp(s1, s2) == 0; } }; ... hash_map<char *,map<uint16_t,set<float>>, hash<const char *>,eqstr> symbol_hm; [/CODE] but I get an error …

Member Avatar for mike_2000_17
0
151
Member Avatar for klemme

I have this code, which creates the pages, taken from the DB: [CODE] function subject_navigation($connection){ $sqlCommand = "SELECT id, linknavn, pos FROM subjects ORDER BY pos ASC"; $query = mysqli_query($connection, $sqlCommand) or die (mysqli_error()); while ($row = mysqli_fetch_array($query)) { $sid = $row['id']; $linklabel = $row['linknavn']; echo '<li><a href="index.php?sid=' . $sid …

Member Avatar for klemme
0
103
Member Avatar for clickspiker23

Im trying to get the smallest number out of a series of user generated numbers. i can correctly get the largest number but i always get the negative 99 for the smallest. im working out of a c++ book that does not provide solutions, i tried to catch the -99 …

Member Avatar for NathanOliver
0
174
Member Avatar for Thropian

I was thinking of doing some simple animations in python,Tkinter and my biggest problem was getting things to move together. so I was wondering if there was a way to make say an arc and rectangle into one object to rotate and such. thanks in advance

Member Avatar for Thropian
0
184
Member Avatar for scrivomcdivo

Hey folks. I'm tying to carry out a simply task of writing a variable double value to a label on my form. The label is called 'lblTotalSeats'. Here's my code below: [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ABCDEFG { …

Member Avatar for scrivomcdivo
0
350
Member Avatar for varoluscu_prens

Hi there; I've received a irritant problem in my php code. Here is "index.html": There are some javascript functions defined in the "head" tag. [CODE] <form autocomplete="off" action="result.php" method="post"> <p> <label>Name:</label> <input type="text" id="name" /> </p> <p> <label>Nachname: </label> <input type="text" id="surname" /> </p> <p> <label>Abteilung</label> <input type="text" id="department" /> …

Member Avatar for varoluscu_prens
0
187
Member Avatar for MagnetoM

I created a new item > local database. I'd like to access the data from the database but I can't open a connection. I have, [CODE]SqlConnection con = new SqlConnection("DataSource=|DataDirectory|\\testDB.sdf");[/CODE] debugging will always halt at [CODE]con.Open();[/CODE]

Member Avatar for MagnetoM
0
201
Member Avatar for 7kemZmani

I create a table that contain rows and on last 'td' on each row there is an 'img' to insert new row onClick="addRow()". I want this new row to insert below clicked row. Clearly, if i have row X and row Y and i click on the 'img' on X …

Member Avatar for Airshow
0
290
Member Avatar for dyla123

I am working on an advert website where people can come and post their ads on it. I am wondering can people help me code it. I am not great at PHP once I have the code I can put it in the DB its just making the code. Once …

Member Avatar for IIM
0
102
Member Avatar for neknek

I'm having problems with my code in c#. Our prof didn't really asked for anything fancy or specified anything. He just told as our program should be able to add and subtract a 2x2 to a 5x5 matrix. Upon opening the program, I created a form with a combo box …

Member Avatar for Bridgekeeper
0
172
Member Avatar for Jiaxin

Hi, I need help to go about doing this. If I have a table, in the database containing fruits, price, quantity. I want to arrange the price of the fruits into 3 groups of around the same average. How do I do this? Thank you

Member Avatar for almostbob
0
109
Member Avatar for TheWolverine

Hi all, I've been struggling with something for a number of weeks now and I just can't seem to solve it. I've got a bit of code that looks as follows: [CODE] class classA { public: classA( ); ~classA( ); classBBase* pointerToClassBBase; protected: private: }; class classBBase { public: classBBase( …

Member Avatar for TheWolverine
0
404
Member Avatar for bimoweemo

Hello, I am trying to write a function that will read an array of numbers with the count of the numbers. I want to take the numbers and assign them to letters.Then print out the counts of A's, B's,C's,D's and F's. What i have isnt finished but im really frustrated …

Member Avatar for bimoweemo
0
123
Member Avatar for baby_c

hello friends..got a problem again.. I'm developing a software for one of our assignments.I have coded that program using Netbeans but we have to upload the assignment as one java file.So I created one java file and again checked in netbeans as a single file.It works perfectly.And then I tried …

Member Avatar for baby_c
0
216
Member Avatar for Rupindersingh

I am new to windows programming, I was trying to compile the following code and it gives me the following errors: C:\Program Files\Microsoft Visual Studio\MyProjects\hook\hook.cpp(14) : error C2065: 'KeyboardProc' : undeclared identifier C:\Program Files\Microsoft Visual Studio\MyProjects\hook\hook.cpp(22) : error C2373: 'KeyboardProc' : redefinition; different type modifiers C:\Program Files\Microsoft Visual Studio\MyProjects\hook\hook.cpp(30) : …

Member Avatar for Rupindersingh
0
357
Member Avatar for intes77

Hello im currently having problems with the storing of String to an array im currently using a GUI output so it reads inputs from the textfield here's my code: [CODE]import java.util.*; import javax.swing.*; public class Contents { int listLength; String []word; String []meaning; String []sentence; String []classification; public Contents(int l) …

Member Avatar for intes77
0
806
Member Avatar for newcoder310

Hi, I need to eliminate all special characters in my file except "space" .. Please check the program below and tell me what I need to change [CODE] import java.io.*; import java.util.Scanner; public class TestScript { public static void main(String args[]) throws Exception { System.out.println("Please Enter the filename\n"); Scanner sc …

Member Avatar for m4ster_r0shi
0
115
Member Avatar for barriegrant1

im trying to enable a button that is disabled within an itemTemplate, if theres a session then the button will be enabled. however i cannot access the button object in the code-behind file. HTML CODE ---------- [CODE] <div id="gal_wrap"> <asp:ListView ID="ListView1" runat="server" EnableModelValidation="false" OnPagePropertiesChanging="listItems_PagePropertiesChanging"> <LayoutTemplate> <asp:PlaceHolder ID="itemPlaceholder" runat="server" /> </LayoutTemplate> …

Member Avatar for barriegrant1
0
533
Member Avatar for MagnetoM

I'd like my form to remain in the same place the entire time until closed or not opened. How do I make this happen?

Member Avatar for MagnetoM
0
91
Member Avatar for prvnkmr194

Hello Genius I want develop a software which user can download from my website and that software must me use less after specified period, Can any one guide me in right direction what's the logic I have implement to accomplish this task. Thanks

Member Avatar for ddanbe
0
146
Member Avatar for darkseid

hello, i'm making a random graph generator the coordonates are loaded from a file i've managed to draw the points but can't manage to draw the lines between these points here's the code [CODE] private void button2_Click(object sender, EventArgs e) { pictureBox1.Refresh(); gr = pictureBox1.CreateGraphics(); SolidBrush redBrush = new SolidBrush(Color.Red); …

Member Avatar for ddanbe
0
207
Member Avatar for mansoor_1

So I made a quiz that have 14 question each one have 3 radiobuttons as options, the quiz is in 4 forms, each form has 4 questions except the last one it has 2 questions..Now I need to sum all the selected answers..How can I do that?? [CODE]public class page1 …

Member Avatar for stultuske
0
155
Member Avatar for alanlee9898

hi, I'm working on a project which has a text form and submit button. It is a tracking code. When user key in the track number, it will show the result. This service is available on the web. How I actually build my own apps and connect with their database, …

Member Avatar for alanlee9898
0
71
Member Avatar for heavy.is.happy

Hi. I've made a code. The code is not 100% working, so i ned help with that. The tiny litle program is gonna work so it move the mouse, and then click with it. Both right and left click. And i don't know how to do that? [CODE]#include <iostream> #include …

Member Avatar for thecoolman5
0
711
Member Avatar for jyotishankar

[code] <html> <head> <script> function selectCheckBox() { if(document.getElementById('id11').checked==true) { document.frm.id2.checked=true document.frm.id3.checked=true document.frm.id4.checked=true } if(document.getElementById('id11').checked==false) { document.frm.id2.checked=false document.frm.id3.checked=false document.frm.id4.checked=false } } function selectCheckBox1() { if(document.getElementById('id12').checked==false) { document.frm.id1.checked=false } } function selectCheckBox2() { if(document.getElementById('id13').checked==false) { document.frm.id1.checked=false } } function selectCheckBox3() { if(document.getElementById('id14').checked==false) { document.frm.id1.checked=false } } </script> </head> <body> <form name="frm"> All …

Member Avatar for javaAddict
0
134

The End.