199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ceyesuma

Hello: I was trying to plan a component to collect data from a user. I have two approaches in mind. I was considering a Jtable with editable cells. Can a table be configured to display vertically? Or, I was going to get meta data from the tables and build a …

0
43
Member Avatar for cloud09

In IE7 only, I have an issue with disappearing elements/styling. First, my h3 header disappears. The space that it occupies is partially there, but not text is visible, nor is the background or the bottom-border assigned to it. In addition, other divs below the h3 are missing their bottom-border. However, …

Member Avatar for scrappedcola
0
299
Member Avatar for monmonsnow

hi guys i need help with my project. I am a beginner in Java programming,and recently I came across a project, i am having problem at the start...so i need some guide to tell me how i should do(the steps). My project required us to do a word game that …

Member Avatar for NormR1
0
261
Member Avatar for bd338

Hello everyone! I'm trying to make a "map creator" program, which allows you to place 75x75 isometric tiles in a grid. I'm drawing the grid using the overridden "paint(Graphics g)" method, which you'll see in my SSCCE below. But the problem is that I'm not able to place JComponents the …

Member Avatar for NormR1
0
202
Member Avatar for vivekdxt2000

Hi everyone!!! I am trying to fetch data from an excel sheet to an other sheet or to ole automation in vb. the main problem is that i have to search data on the basis of two date intervals and nd then copy data from related cells recorded in that …

Member Avatar for vb5prgrmr
0
85
Member Avatar for cgoasduff

Hi There, I have been scouring the web for an asnwer on something I would have thought was quite common. Any help would be greatly appreciated. I have a database which contain job ads/ I have one table "dbo.tbl_jobadvert" which contains the ad itself and another table "dbo.tbl_jobFiles" which contains …

Member Avatar for cgoasduff
0
114
Member Avatar for kirtan_thakkar

I have created one php file which open a mysql database in my local system... I want to know that i have created a database in PhpMyAdmin.. What would be the user and password.. And how to run that php file.. Can I run it in a web browser to …

Member Avatar for rajarajan2017
0
108
Member Avatar for Stephen901
Member Avatar for Stephen901
0
88
Member Avatar for SoggyFries

This is my node and driver class. I need to find the smallest value on the left side of the tree. [CODE]import java.util.ArrayList; import java.util.List; public class NTreeNode<T> { public T value; public List<NTreeNode<T>> children; public NTreeNode(T val) { value = val; children = new ArrayList<NTreeNode<T>>(); } public String toString() …

Member Avatar for leiger
0
183
Member Avatar for seharshahab
Member Avatar for spectre1983

Hi all, I'm a bit of an XPath noob and I'd be much obliged if you'd point me in the right direction here. I want to select the first <product> in the source that has the child node <name> = 'bread' The expression below yields the correct naswer but I'm …

Member Avatar for iceandrews
0
111
Member Avatar for niths

hi all, can we call the parameter like this. And pass the value to javascript.. [CODE]<?php $sql3="select userid from projectassign where projectassign='$projectassign'"; mysql_error(); $idresult=mysql_query($sql3); $idarry=mysql_fetch_array($idresult); ?> <td><select id="prolist" name="projectassign" onchange="return enable(<?php echo $idarry;?>)">//can we do like this.[/CODE]

Member Avatar for storm123
0
157
Member Avatar for visweswaran28

Hi, I am using itextsharp-5.0.2-dll trying to create pdf from html. In that I am using HtmlParser, I dont know what should I import for this. still It getting error due to this. Can any one help me

Member Avatar for PierlucSS
0
89
Member Avatar for Pineapplesf

I am having a lot of trouble sorting an array. The array contains 140 inner arrays of 3 points (x y z). I would like to sort all arrays based on lowest x coordinate to the highest. I have googled many methods and none of them have worked so far. …

Member Avatar for vegaseat
0
13K
Member Avatar for parsa.moshrefi
Member Avatar for periyasamy1904
0
74
Member Avatar for spartan118

Having trouble with my massively massive program. It compiles but fails to execute. [QUOTE]The instruction at "0x00471a6a" referenced memory at "0x00000114". The memory could not be "read".[/QUOTE] Here's my program. (IF YOU HAVE ANY SOLUTION FOR THE VARIABLES IT WOULD BE APPRETIATED!!!) the cpp is attached

Member Avatar for rdrast
0
125
Member Avatar for ajwei810192

Hi, I have an XML file that attaches an xsl stylesheet using version that has sorting function at the beginning of the file. At the same time, eason, I would like to put in some other information in the beginning, such as html headers as well. Here is my code: …

Member Avatar for ajwei810192
0
187
Member Avatar for LevyDee

I got the whole static binding and dynamic binding on runtime if a function is declared virtual in the base class, but if you do something like this... [code] class base { public: void print() { cout << "base" << endl; } }; class derived : public base { public: …

Member Avatar for AkashL
0
110
Member Avatar for eso

I'm a complete programming novice, so apologies in advance ;) I'm trying to design a simple app to take user input from a textbox (in this case, Outlook EntryID - a hexadecimal string) and use Redemption.DLL to return a set of MAPI properties from the container. The button and general …

Member Avatar for Ramy Mahrous
0
2K
Member Avatar for tan123

Hi, I have a scenario for which I wanted the best solution in asp.net c#. My web application allows users to retrieve search data from database, this data is the users own temporary list of records which they can search, delete records or select them. All these actions are only …

Member Avatar for tan123
0
138
Member Avatar for sanagopi

[code] main() { int i=0xff; printf("\n%d",i<<2); } [/code] please tell me how to work out this code... and what will be the output...

Member Avatar for Banfa
0
2K
Member Avatar for SiahCheePing

is there anyway to retrieve and list all the attributes for an active directory user to be used for updating with using the following [CODE] de.properties.contains(propertyName) [/CODE] Just wondering, quite a newbie AD programming, a little guidance thanks

Member Avatar for G_Waddell
0
125
Member Avatar for Ellitivity

Hello I'm building a small program like notepad and wanted to know how to make it save and load a file [CODE] Public Class Form1 Private Sub btnClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click txtNotes.Text = "" End Sub Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e …

Member Avatar for G_Waddell
0
145
Member Avatar for Atlantistwo

Hey guys I was wondering if there was a way to have more than one condition in an IF statement. Thanks

Member Avatar for kvprajapati
0
164
Member Avatar for Killer_Typo

Okay, so currently i am working on a final project at my college, i have been tasked with creating a database administration tool. One of my major hurdles was how to query the MySQL database and return all of the results into a DataGridView object with correct column names. As …

Member Avatar for kvprajapati
0
856
Member Avatar for udayasankark

Hai All, i need to display the datalist by Country wise and the City wise.(Asc order). My database have all my store address details. i need to display all stores according to country and city wise of the country. how to display using Datalist. i need to fetch data from …

Member Avatar for kvprajapati
0
506
Member Avatar for ayesha789

This is my form: I want to calculate Units Billed when user enter present and previous reading before submission. [CODE] <form action="EIMS_North_Inserted.php" method="post"> <table class="mytable" align="center"> <tr> <td><label>Site ID <span class="small">Example N-WAH-8620</span> </label></td> <td> <input type="text" name="a" id="course" value="" class="input"/> </td> <td> <label>Previous Reading <span class="small">Regular bills</span> </label></td> <td> <input …

Member Avatar for ayesha789
0
223
Member Avatar for jellybeannn

Can someone please help me to create a circular reference I need to add a to b and b to a. I've been looking everywhere can this be accomplished with enum or structs? Please help me

Member Avatar for dnanetwork
0
103
Member Avatar for aliensXY

ASP.NET, C# I dynamically generate few textboxes. When click on a submit, the page refresh itself. It hides a Panel with those textboxes and shows another Panel. In that panel I need to get texts from the textboxes in the previous Panel. I saved generated textboxes to Session and retrieve …

Member Avatar for bombuchu
0
1K
Member Avatar for arpal

How can I declare a separate function which will be called in case of Run-Time Error to prevent program crash ?

Member Avatar for Aranarth
0
121
Member Avatar for SiahCheePing

Is there anyway to solve password management for Active Directory. I mean like a user forgot password and needs to reset it? Is using an Active Directory Administrator account to reset the password the only way? Which is probably the most suitable method for VB.NET programming? <Method 1> Login.aspx->RetrievePassword.aspx->specify username->User …

Member Avatar for dnanetwork
0
143
Member Avatar for poisson

I learned some java in school just 4 weeks ago, so i do not know much things ... so requires your help!! [CODE] String[] alphabetArray = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", …

Member Avatar for igonzales
0
118
Member Avatar for doc15

Hey there, So I've looked everywhere for help with my assignment until finally I found this useful service. I'm a C++ beginner and so far the problem solving and coding have fulfilled all expectations. If there is anyone to offer suggestions for my assignment, that'd be amazing! What it is …

Member Avatar for doc15
0
1K
Member Avatar for VorSec

Hey, I'm new to C++, and looking for a way to split a string like you do in C#. [CODE] using System; class Program { static void Main() { string s = "@This@Is@My@String@"; string[] words = s.Split("@"); foreach (string word in words) { Console.WriteLine(word); } } } [/CODE] A GetBetween …

Member Avatar for iamthwee
0
1K
Member Avatar for fawad123

My problem is very easy. I have written the following PHP code to generate the arrays of textareas: for ($i=0; $i<length; $i++) { echo '<textarea type="text" name="username'. $i.'" cols="60" rows="4" onkeydown="check_username(this.form.username'. $i. '.value)">'. $sentences_data [$i]. '</textarea> <span id="username_label"></span><br/>'; } The Java function is function check_username(username) { if (ajax) { ajax.open('get','testuser.php?username=' …

Member Avatar for fawad123
0
120
Member Avatar for methuselah90

hi guys really i don't know what im doing wrong... i am trying to process multiple radios with mysql. the first step has involved me echoing the results on the process page. each time i select any radio option it simply displays the first row result. this is that i …

Member Avatar for vibhaJ
0
88
Member Avatar for tchiloh

i want get multiple values if i call i method. example: _____________________________________________ public void setData(int age, string name, string address){} ______________________________________________ Data data = new Data(); data.setData(age, name, address); ______________________________________________ when setData() are excuted he doesn't return the parameters with the values. what can i do?

Member Avatar for tchiloh
0
113
Member Avatar for Ebisu

Hi, im trying to disable a button until anything has been entered into two text boxes simultaneously. So far i have tried: [code] If String.IsNullOrEmpty(TextBox1.Text & TextBox2.Text) Then Button1.Enabled = False Else Button1.Enabled = True End If [/code] However it doesnt work simultaneously, the button will become enabled if i …

Member Avatar for SiahCheePing
0
121
Member Avatar for nabilamn

my testing folder in my site is red. perhaps anyone can help me to identify what is the problem because i got the database connection using phptriad and everything goes well because i can view my database by dreamweaver8. whats wrong with my site folder when i click to view …

Member Avatar for nabilamn
0
115
Member Avatar for Z_KiNGPiN

Google Maps Control in ASP.Net or something like that ... well to get to the point directly ... what i am searching for is embedding Google Maps in my ASP.Net page, want to use the Direction feature that Google Map provides. Now the problem is, although Google Map gives a …

Member Avatar for Z_KiNGPiN
0
206
Member Avatar for maria_mj

How to deploy asp.net (visual studio 2008) web application on a remote server? I am developing a web application in visual studio 2008. I want to deploy the application on a remote server. I have try a few ways on how to do it based on reference from internet. But, …

Member Avatar for abhinaba
0
196
Member Avatar for igalbk

Hi all. I attached a code creating file from datatable. I have a problem saving Excel file in c# using Microsoft.Office.Interop.Excel. When I'm saving the file as Exsel 2003 (xls) format the file is OK. When I'm saving the file as Excel 2007 (xlsx) format I get error massage from …

Member Avatar for igalbk
0
334
Member Avatar for lonestar23

Hello, I am trying to resize an external website in an iframe using javascript, but have not found code that works very well. Anyone know how to go about it? Thanks in Advance!

Member Avatar for agfucious
0
226
Member Avatar for paraug99

Hi Everyone, I'm doing this assignment and i'm stuck. I'm getting junk for my area calculations. any help would be appreciated. heres my code. CPP file [code] // Ass2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <cmath> #include "BasicShape.h" #include "Circle.h" #include …

Member Avatar for paraug99
0
84
Member Avatar for TotoTitus

Merry Christmas everyone! I'm using Lisp in a Box (emacs + GC Lisp) And i tried making a function which takes a number as argument, adds 1 to it if it's negative, and substracts 1 from it if it's positive. (look) [CODE=LISP] (defun enlarge(x) (if (< x 0) (- x …

Member Avatar for Ghost_Buster
0
117
Member Avatar for santosh5471

Any body having any solution to write a report without using DATA REPORTS and Crystal and allowing it for preview and print. The report should be well designed... Help me

Member Avatar for vb5prgrmr
0
107
Member Avatar for wingwarp

ok if i wanted to create something how would i say if (button"f") { } do yatta yatta if i wanted to do that how would i... probaly a really STUPID;) quesion but here it is

Member Avatar for Ancient Dragon
0
150
Member Avatar for umandajayo

hi friends how to check file upload control empty or not in javascript? I m try to this way but it is not working [CODE]function Empty(){ var sValue.value = document.getElementById('file_input'); if(sValue == ""){ alert("ERROR: Project Image Should be Uplorded..!."); sValue.focus(); } } <input type="file" name="fileField" id="file_input" > <input type="button" value="Send" …

Member Avatar for umandajayo
0
106
Member Avatar for Covert06

[code=c] #include<iostream> #include<conio.h> #include<time.h> #include<windows.h> #include<math.h> #include <string.h> #include <sstream> using namespace std; int main() { int result = 1; float checker; //Holds the full array char char_holder; int loop = 0; float checker2 = 0; //gets the letter float checker3 = 0; //Holds the previous array int counter; int …

Member Avatar for Covert06
0
240
Member Avatar for Barrett1

[CODE]<?PHP $results = mysql_query("SELECT * FROM messages, comments WHERE messages.user_on='$user2' AND comments.msg_id_fk = messages.msg_id ORDER BY messages.msg_id, comments.com_id DESC") or die(mysql_error()); ?>[/CODE]

Member Avatar for Barrett1
0
88

The End.