199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Marco25Me

Hi for all and many thanks for attention, for now i'm studing the "inheritance" of a class. I have one class "Form1" and another class it have the inherit of the first "Form2:Form1" until this point all is ok, but i not need of all of Form1 members but only …

Member Avatar for TrustyTony
0
95
Member Avatar for A0110

protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { LinkButton dblclkbtn = (LinkButton)e.Row.Cells[0].Controls[0]; string _jsdbl = ClientScript.GetPostBackClientHyperlink(dblclkbtn, ""); e.Row.Attributes["ondblclick"] += _jsdbl; // e.Row.Attributes.Add("ondblclick", "Javascript:__doPostBack('DoubleClick','" + e.Row.RowIndex + "');"); string jsCommand = string.Format("__doPostBack('{0}','Edit${1}')",GridView1.ID, e.Row.RowIndex, GridView1.EditIndex); foreach (TableCell c in e.Row.Cells) { if (c == e.Row.Cells[0]) { } else …

0
127
Member Avatar for pendo826

Hey i am making an application that stores employee's details and the output is different than what it should be i was expecting the output to be the toString() in the employee class can anyone see anythin wrong: //Imports: //******************************************************************** //Employee Class. public class Employee { //Variables. private String employeeName; …

Member Avatar for Krokcy
0
188
Member Avatar for trishtren

hey, Iv been working on an swf file generator following the specification, However i am currently struggling to have my binary output match the binary output of a swf file gengerated by flash CS3. The particular part i am struggling with is the file attributes tag, the specifications for the …

Member Avatar for trishtren
0
177
Member Avatar for M.Waqas Aslam

hello ! may God bless all of us , well i am working on a project in which i need to create a simple desktop viewer , a user can view the screen of any computer in LAN network , how can i do this , as this is very …

Member Avatar for Reverend Jim
0
270
Member Avatar for Jdsiteworks

This is the form where i can upload the image file: <?php require_once ('includes/config.inc.php'); session_start(); // If no first_name session variable exists, redirect the user: if (!isset($_SESSION['first_name'])) { $url = BASE_URL . 'index.php'; // Define the URL. ob_end_clean(); // Delete the buffer. header("Location: $url"); exit(); // Quit the script. } …

Member Avatar for Jdsiteworks
0
322
Member Avatar for gourav1

Actually, I am learning php and I am eager to know how to send mails from php? Can you give me any start links from where i can learn to send mails and implement on my PC?I have learnt php on my own and now i want to implement this …

Member Avatar for laforge
0
191
Member Avatar for VasquezPL

I have a small problem, maybe you guys know how to avoid it. system.IO.StreamReader text = new System.IO.StreamReader(to the html path); while ((line = text.ReadLine()) != null) { newMail.HTMLBody += line } When I open html file directly from its folder where html file is,byclicking 2 times on it, All …

Member Avatar for VasquezPL
0
237
Member Avatar for iAndrewMeyer

Am I freeing and declaring this 2d array correctly? int **ratings; ratings = (int**)malloc(sizeof(int *) * (numCouples*2)); for(i=0; i<numCouples*2*numCouples;i++) ratings[i] = (int*)malloc(sizeof(int) * numCouples); //Data is read into each array position for(i=0; i<numCouples*2;i++) for(j=0;j<numCouples;j++){ fscanf(ifp, "%d", &ratings[i][j]); //printf("%d",ratings[i][j]); } for(i=0;i<(numCouples*2);i++) free(ratings[i]); free(ratings); Thanks Drew

Member Avatar for Trentacle
0
141
Member Avatar for Muro29

Hi their, I am learning C and a bit stuck on pointer to strings(I now they dont really exist in c but yeah) which i saw in the absolute guide to c programmig book. I am wondering why this code below doesnt work? If you could answer this question it …

Member Avatar for Lucaci Andrew
0
135
Member Avatar for boris90

Hi, I need a program to search all lines of a file (a whole file) for a certain string. In my concrete case, I need it for login. Let me sum all of this up, so you get the whole overall point of what I have so far: - a …

Member Avatar for Moschops
0
663
Member Avatar for blitzkrieg64

I'm trying to access the pixel colors from a image file but can't seem to get it to work properly, my program is only accessing the pixel colors from my active window. I've been stuck on this for a few days and would really appreciate any help. I'm guessing i …

Member Avatar for Moschops
0
282
Member Avatar for new_developer

hi everyone, I am trying to initialize array in main method, and insert value in array in another method named "popArr()", in last print array in "printArr()" method. But its not working and i am getting errors. The environment i am using borland c++. The code is as follows. #include …

Member Avatar for Lucaci Andrew
0
167
Member Avatar for moblyft

Hi Friends, I am trying to limit the number of pages to display on my code. Can someone please help? I am trying to get something like http://stackoverflow.com/questions/8361808/limit-pagination-page-number $Num_Rows = mysql_num_rows($objQuery); $Per_Page = 15; // Per Page $Page = $_GET["Page"]; if(!$_GET["Page"]) { $Page=1; } $Prev_Page = $Page-1; $Next_Page = $Page+1; …

Member Avatar for pritaeas
0
2K
Member Avatar for technoknol

Hi friends, I have designed some files in XP using HTML and javascript and run on IE 6. Everything was fine, but when i run this files in IE 10 and in firefox 11 & 13 it's not working. can anyone tell me what is the problem? Thanks...

Member Avatar for technoknol
0
237
Member Avatar for Ikram Shams

I am developing a website in which i am showing the hexa code into bgcolor of td of table. The problem is that when someone like that page or print the page then that color is not showing because the color is bgcolor color of td. So, i want to …

Member Avatar for hericles
0
366
Member Avatar for ckchaudhary

Hi all, ok so i want to make a programme to speed up the internet, may be someting like [idm](http://www.internetdownloadmanager.com/). I googled but all i could find was download managers, nothing related to boost up the downloads or something.. I am looking for a c# solution. I am not expecting …

Member Avatar for ckchaudhary
0
415
Member Avatar for ehpratah

hi im having an error with my code can anyone help me try to fix my problem the error is Fatal error: Call to a member function diff() on a non-object in C:\xampp\htdocs\msicfinal\samp.php on line 12 and my code is <?php /*These look like they are sent via form submit …

Member Avatar for ehpratah
0
2K
Member Avatar for B204

i want to send large files,,,,,this program only send upto size:1024*1024 ,,,,plz help me out!! client- import java.net.*; import java.io.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; class ftpclient extends JFrame implements ActionListener { JButton b1,b2; JTextField t1; ftpclient() { b1 =new JButton("Select File"); b2 = new JButton("Send File to Server"); …

Member Avatar for JamesCherrill
0
954
Member Avatar for muhammad ismail

i have set combobox displaymember and valuemember. now i want to store id in DB instead of fieldname , how?

Member Avatar for Mitja Bonca
0
291
Member Avatar for renjithdas

I am having problem with search and replace html content. The records coming from the database. The populated string contains html mark up and image name also. I am doing a search and replace it will affect the image also. Could any one help me to get rid of this …

Member Avatar for blocblue
0
150
Member Avatar for rakwel10

I have included "header.php" on my pages to fix redundancy. In header.php you'll find the navigation, style sheets and scripts. The problem is, I cannot use header.php dynamically on different pages because it has a static links. Pls help me. im a newbie here. Thanks in advanced!

Member Avatar for diafol
0
169
Member Avatar for delta_frost

I have designed a sender-reciever type program where the sender sends a file and the reciever recieves it automatically. The problem is that though I am using byte-based streams,the output in ceratin cases as follows are getting distorted: [A]: Bitmap images are getting color-inverted. [B]: Files other than text files …

Member Avatar for delta_frost
0
372
Member Avatar for deepthianns

Hi, I want to execute some java script code when I close the browser. The following code is executing in I.E. But I want to execute in Firefox and Netscape. <html> <head> <script language="JavaScript"> function doUnload(evt) { var e = (window.event) ? window.event : evt; if (e.clientX < 0 && …

Member Avatar for alleen
0
3K
Member Avatar for loserspearl

I am working on a math problem generator and for the current context I'm trying to check if both of the boxes are unchecked, a user can choose 1 or both of the check boxes but I want to display an error stating that at least 1 must be chosen …

Member Avatar for loserspearl
0
90
Member Avatar for bhagawatshinde

Hi guys, how to get textbox leave event in wpf. I want select next textbox when one textbox leave focus. How to use lostfocus event?

Member Avatar for bhagawatshinde
0
299
Member Avatar for Mike Bishop

i am having real issues trying to build a sql string Dim SelectQry = "SELECT * FROM TblSupplierQuotes where TenderNo='" & Me.txtTenderRef.Text & "' AND KMBPartNo=" & " " & Me.lbKMBPartNo.Text & " " in SQL the TenderNo is varchar(50) = L003141T75-2012JANTEN KMBPartNO is text = 442 019 115 1 …

Member Avatar for poojavb
0
97
Member Avatar for godzab

Here is the code first: People.cpp #include "People.h" #include "Birthday.h" #include<string> #include<iostream> using namespace std; People::People(string x, Birthday bo) : name(x), birth(bo) { } void People::People() { cout << name << "was born on" << birth.printDate(); } People.h #ifndef PEOPLE_H #define PEOPLE_H #include<string> #include "Birthday.h" class People { public: People(string …

Member Avatar for triumphost
0
132
Member Avatar for SHAHAB UDDIN

How i take a line string input through keyboard ?. Example : I am a student .

Member Avatar for godzab
0
140
Member Avatar for cubalibras

I am bemused by this problem, I've run the php code through an online tester and there are no errors but when I click Submit without filling out any fields it just refreshes the page, no errors are displayed. When I complete the form and click Submit the same thing …

Member Avatar for cubalibras
0
385
Member Avatar for mariaceline_21

<br /><b>Notice</b>: Undefined variable: firstname in <b>C:\xampp\htdocs\dl\index.php</b> on line <b>66</b><br />

Member Avatar for sway1101
0
95
Member Avatar for bo0ga

Please explain to a complete noob and please help me in regular javascript not jquery. I want an image to be shown and when clicked another image to show up right underneath

Member Avatar for bo0ga
0
1K
Member Avatar for tunisia
Member Avatar for firdousahmad

Help me plz #include <stdio.h> int main ( int argc, char *argv[] ) { if ( argc != 2 ) { printf( "usage: %s filename", argv[0] ); } else { FILE *file = fopen( argv[1], "r" ); if ( file == 0 ) { printf( "Could not open file\n" ); …

Member Avatar for Trentacle
0
93
Member Avatar for pooja.shinde

Hello all, I am using Windows server 2008 OS as domain controller. When user's request comes, his id & password are verified across Active directory. If his id & password are already present in active directory then java program returns as valid user or otherwise returns as invalid user. Now, …

Member Avatar for pooja.shinde
0
349
Member Avatar for s.mahamure

hello, i am creating client server module.i want username and password from active directory for authentication. first time when i run program it it authenticate users but when i delete user & change password policy after that created new user and run the program then i got error authentication error. …

Member Avatar for s.mahamure
0
305
Member Avatar for G_S

Hello, I need your help with something (again): I need to control two text widgets with one scrollbar and, thanks to this website, I found some code to do it using listboxes (here: [url]http://www.daniweb.com/forums/post940371.html#post940371[/url]). I modified it, and it now works with text widgets and pyton 2.x. The problem is: …

Member Avatar for TrustyTony
0
3K
Member Avatar for rkelly70

I’m trying to produce this equation in VB.NET h = (sh * s + (dia / 2 (tan(ang))) + ((dia / 2 (tan(ang1))) / 3)) This is where I’d prefer to retrieve the data from. Sh = sheet height = 1 (can be variable)(data retrieved from textbox) S = sheets …

Member Avatar for rkelly70
0
177
Member Avatar for saybabs

I have a csv file i am submitting to database directly. I have tried many means but still not able to bulk copy into the database table. I have suggestions from people. All suggestions are welcome.

Member Avatar for deceptikon
0
210
Member Avatar for texasinf

Hi, I have email which contains some data and i want to update that into a database using MS access 2007 need help on creating a form and a database in MS access 2007 would appricate if some one can help me from scratch as i am noivice when it …

Member Avatar for JorgeM
0
182
Member Avatar for rhowell

Hi, # Problem and Background # I'm trying to compile a program that uses some legacy c code generated using the f2c translator (*version of May 1991 13:06:06*). *decide.c* is the source that contains the translated fortran to c code and *f2c.c* is the header file. Durring compilation I get …

Member Avatar for rubberman
0
434
Member Avatar for Kniggles

Hi have confussed myself, can you see why i cant get a new pic to be displayed in the box on click please ? <HTML><HEAD><TITLE></TITLE><META content="text/html; charset=utf-8" http-equiv=Content-Type><META name=GENERATOR content="MSHTML 10.00.8400.0"><STYLE type=text/css>BODY { FONT-FAMILY: verdana, arial, sans-serif }</STYLE> </HEAD><BODY> <FORM style="BORDER-TOP-COLOR: ; BORDER-BOTTOM-COLOR: ; BORDER-RIGHT-COLOR: ; BORDER-LEFT-COLOR: " method=post action=refresh> …

Member Avatar for Kniggles
0
265
Member Avatar for Reliable

Hello Everyone, I've made a web page which you can see [here](http://www.ezaspi.org) that works fine on every major browser EXCEPT IE. In IE the contact form doesn't show. Here's the 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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Mrs. Ward's Easy …

Member Avatar for blocblue
0
245
Member Avatar for Mikey12345

Hi Everyone I have a listbox that calculates interest rates the code is as follows:- dim amount as double = val(textbox2.text) dim counter as integer for counter = 1 to 10 listbox1.items.add(counter & " % " & formatcurrency((amount*counter)/100)) next counter This works great but i would like to use a …

Member Avatar for Mikey12345
0
132
Member Avatar for Coderunner

Hello, I have a problem with setting a cookie. People can hide or show background but when they go to another page of the website this needs to be remembered so I need to save it in a cookie. My code so far is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for Coderunner
0
232
Member Avatar for ztdep

Dear friends: i have a data file, the structure of the file is as follows: // data.txt $Elements 1 1 2.5 2 2 1.0 2.0 3 2 3.0 4.0 4 4 1.0 3.2 2.7 1.6 $EndElements In the data.txt, the fisrt column is the row number, and the second column …

Member Avatar for Branickiod
0
115
Member Avatar for Gus_19

I know this is a dumb question, but I must be missing something simple and just can't figure it out. My program has a logfile to track things done with it. I'm trying to figure out what I am missing with creating the file if it does not exist. Am …

Member Avatar for group256
0
122
Member Avatar for mogaka

I want to iterate through html table and display the values. for instance, column keys are fname,lname,mkt,positions. if for instance there are 10 rows,how can i access them and send them to php script ?

Member Avatar for Szabi Zsoldos
0
151
Member Avatar for rokokmalboro

Hello all programmers .... need some tips which i have some issue down here... I got test the (sql1) and then the result for the records is zero (0) ...when it's run for "check manager gender" , the error appears... give me some help and i will owe u guyz …

Member Avatar for samsylvestertty
0
134
Member Avatar for jemz

Hi, Can i ask some help what is the best editor to use in learning C language.... By the way which is which language, should or i must to learn C or C++ ?. Thank you in advance.

Member Avatar for Lucaci Andrew
0
320

The End.