199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
How can I perserve the session state of a SharePoint browser state using javascript? | |
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() … | |
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 … | |
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] | |
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 | |
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. … | |
Hi all, Is there any way to send a request attribute via href? thanks anyone help me. | |
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 | |
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: … | |
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: … | |
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 … | |
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 … | |
[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... | |
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 | |
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 … | |
Hey guys I was wondering if there was a way to have more than one condition in an IF statement. Thanks | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
How can I declare a separate function which will be called in case of Run-Time Error to prevent program crash ? | |
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 … | |
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", … | |
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 … | |
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 … ![]() | |
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=' … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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! | |
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 … | |
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 … | |
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 | |
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 | |
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" … | |
[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 … | |
[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] |
The End.