199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for doomfrawen

Hello friends. :(I have a problem but i don't know how to implement a solution. The problem is that the HDD's from two Windows Servers got corrupted [COLOR="red"](1.- Site Server, 2.- File Server)[/COLOR] and all the files PDF's and the main site(ASP) were unaccesible for a while, now i recovered …

Member Avatar for jkon
0
120
Member Avatar for go_4_tli

I'm trying to put a dynamically-generated stackpanel into my ASP.NET webpage. (I must admit, I'm pretty new at this.) Here's my ASPX page in its entirety: [CODE]<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Loader.aspx.cs" Inherits="eFormsIndex.WebForm1" %> <!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 runat="server"> <title></title> </head> <body> <form id="form1" …

Member Avatar for go_4_tli
0
180
Member Avatar for geekme

While compiling a simple code in c++ i get the errors C:\Users\ila\Desktop\mule\mule.c|1|iostream: No such file or directory| C:\Users\ila\Desktop\mule\mule.c||In function `main':| C:\Users\ila\Desktop\mule\mule.c|6|error: `cout' undeclared (first use in this function)| C:\Users\ila\Desktop\mule\mule.c|6|error: (Each undeclared identifier is reported only once| C:\Users\ila\Desktop\mule\mule.c|6|error: for each function it appears in.)| ||=== Build finished: 4 errors, 0 warnings …

Member Avatar for JasonHippy
0
779
Member Avatar for araib

hey guys!! im in urgent need for help. im designing my own media player with basic functions! i have done the play, stop, pause button with IMEDIACONTROL mc; // mc is the object's name then mc.stop, mc.play. mc pause; but im confused on how use the my progressbar/trackbar to move …

Member Avatar for zachattack05
0
80
Member Avatar for Nitin Daphale

I have used AutoGenerateDeleteButton="true" property of the GridView, so that am getting delete btn on every row. In order to avoid an exception('fired event RowDeleting which wasn't handled ') I am removing that row programmaticaly as follows [CODE] protected void gd_OnRowDeleting(object sender, GridViewDeleteEventArgs e) { dt_TestSubjects.Rows.RemoveAt(e.RowIndex); gd_Subjects.DataSource = dt_TestSubjects; gd_Subjects.DataBind(); …

Member Avatar for aspproject
0
92
Member Avatar for aska07

I got a dataset which contains the following data: id code description eff_date end_date --------------------------------------------------------- 1 ADV ADVANCE 2007-12-01 2007-12-31 2 ADV ADVANCE 2008-01-01 3 BUS BUS TICKET 2005-03-09 2007-04-05 4 BUS BUS TICKET 2007-04-06 5 PET PETROL FEES 2008-01-02 2009-10-11 6 PET PETROL FEES 2009-10-12 7 BOK BOOK 2010-01-01 …

Member Avatar for aska07
0
159
Member Avatar for Naruse
Member Avatar for smith.mitchell7
0
182
Member Avatar for vb6lover

Hi i need your help to make a webbrowser work automaticly i need make make webrowser enter automaticly to a link then wait 10 seconds and enter to auther link then wait 10 seconds and enter to auther link then wait 10 seconds and close automaticly i want the webrowser …

Member Avatar for smith.mitchell7
0
131
Member Avatar for uchendu korie

Please how can i make a Label control to have the present day an time value and also make the time tick as in a normal digital watch.i would be glad if anyone could help with a good idea and clear illustration with codes.Thanks and God bless

Member Avatar for Luc001
0
184
Member Avatar for rpv_sen

Hi Friends i am having one master table for category which contain 7 fields, i am having sitename as a table which contain 8 fields, if i create [B]newsite[/B] name then it has to copy all the fields from master table in addition to that it has to display the …

Member Avatar for rpv_sen
0
172
Member Avatar for karthik_ppts
Member Avatar for karthik_ppts
0
92
Member Avatar for get connected

Hi Guru's I would like to be able to run code from a text file - is that possible. Ideally multiple applications will read this file and all behave according to the code inside the file. rather than having to keep rebuilding and distributing new versions./ I can't think of …

Member Avatar for get connected
0
118
Member Avatar for geekme

I need to implement graphics in c++.what IDE should I use and what are the library files required for it? Note-I have just a week time so please tell some suitable way by which I can learn. Regards

Member Avatar for Kanoisa
0
212
Member Avatar for xanawa

[COLOR="Red"]txtIDCardNo.Text = c.IDCardNumber.ToString();[/COLOR] why is it giving me a [COLOR="Red"]nullreferenceexception[/COLOR]?

Member Avatar for xanawa
0
105
Member Avatar for lowhzplayinfool

I've been working for a while now on a module assesment which is due in tomorrow. The trouble I have is that I have an extension, the module has finished and there is no one in my school to ask since it's been the Easter holiday :( Instead of 'borrowing' …

Member Avatar for lowhzplayinfool
0
134
Member Avatar for razree

Hi all I have a simple program which calculates some values for me. Let's say I receive some money in advance, go to a trip and spend some money there (not necessary in the same currency that I received advance in. Now if I spent more money then advanced, I …

0
120
Member Avatar for pooran.c

import java.util.LinkedList; import java.util.ListIterator; import java.io.*; public class llist { public static void main(String[] args) { String abc="poo"; String[][] array_string; array_string= new String[10][10]; array_string[0][0]="123"; for(int i=0;i<5;i++){ for(int j=0;j<5;j++){ array_string[i][j]=(String)j; System.out.print(array_string[i][j]); System.out.println(""); } } } } error is: Exception in thread "main" java.lang.Error: Unresolved compilation problem: Cannot cast from int to …

Member Avatar for pooran.c
0
245
Member Avatar for jackmaverick1

Hi! I'm learning how to make a GUI in Java. I'm wondering how to add a JThingy (JLabel, etc) without the use of the add(NameOfJThingy); Because add(); isn't static, you can't use it in a static function (like main, which must be static). I've seen that the constructor can help, …

Member Avatar for JamesCherrill
0
151
Member Avatar for geekme

while debugging my code in code blocks I always get this error "<filename> - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! what should I do?

0
62
Member Avatar for Nybuler

Hi all, i'm building a simple date input with php using drop down list box the problem i faced is "leap year" how do i display 29 day in the drop down list box while user selected a leap year if user make an option on day first then only …

Member Avatar for Nybuler
0
493
Member Avatar for JJHT7439

I have a quick question that I'm hoping someone can help me with on here. I have 2 2d int arrays that I create for a board state and a solution that look something like this: int[][] P1 = new int[][]{{0,2,0,0,0,0},{0,0,3,0,0,0},{5,0,0,0,0,0} etc. ect. They're 6x6 arrays and I need a …

Member Avatar for JJHT7439
0
136
Member Avatar for msrox

Hi there, I am new in C++/CLR. I am trying to access to Form1 property from a header file, but I can't. I have included this header file in Form1.h. Here is the source of the header file: // General.h #ifndef GENERAL_H #define GENERAL_H #include "Form1.h" void ChangeFormText() { Form1^ …

Member Avatar for Ancient Dragon
0
427
Member Avatar for saqi1986

for (int m = 0; m <cName.Length; m++) { Console.WriteLine("{0} {1} {2}",cName, cMarks, cGrade); } i want to print the values of Arrays which are cName, cMarks, cGrade respectively. but em not able to print.

Member Avatar for saqi1986
0
98
Member Avatar for abhimanipal

Hello Everybody, I was recently looking some code ... The person who wrote the code was using the ping command to send some data to the google.com and then he recovered some statistics from mdev ... [URL="http://www.daniweb.com/software-development/cpp/threads/360576/1542507#post1542507"]This[/URL] link contains the source code I am referring to ... My question is …

Member Avatar for Momerath
0
150
Member Avatar for sarifah n

Hi based on the title, I want my textfile created can save at any location folder . Please help me.

Member Avatar for sarifah n
0
1K
Member Avatar for sakurayana

[code]import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; import java.util.*; public class Cinema extends JFrame { private JLabel lblName,lblIC, lblPN, lblPerson, lblTicket, lblTP; private JTextField txtName, txtIC, txtPN, txtPerson, txtTicket, txtTP; private JRadioButton rbA, rbB, rbC, rbD, rbE, rbF; private ButtonGroup radioGroup; private JCheckBox cbxA1, cbxA2, cbxA3, cbxA4, cbxA5, cbxA6, …

Member Avatar for jwenting
0
145
Member Avatar for McLaren

Hi, I am trying to install PHPUnit and having problems. I get many errors: # pear install phpunit/PHPUnit phpunit/PHPUnit can optionally use PHP extension "dbus" phpunit/PHP_CodeCoverage can optionally use PHP extension "xdebug" (version >= 2 .0.5) downloading PHPUnit-3.5.13.tgz ... Starting to download PHPUnit-3.5.13.tgz (118,553 bytes) ..........................done: 118,553 bytes could not …

Member Avatar for McLaren
0
197
Member Avatar for peq

Title says it all, basically I'm just trying to print the pointer *p to display all the values in that array. [CODE]#include <iostream> #include <string> //#include <stdlib> using namespace std; void extend(double *p, double *q, double *a, int c); int main() { const int CONST = 10; double price[CONST] = …

Member Avatar for peq
0
207
Member Avatar for ragnarok511

I am currently a C# developer with about a year of experience. I am currently working on finishing my computer science degree with a minor in mathematics. I love the job that I am in, but I the things I really want to do are in C++ (i.e. game development, …

Member Avatar for thelamb
0
242
Member Avatar for _avishek

Hello, world! This is my first post on DaniWeb, though I have frequented it quite often. I'm using gcc and make (on Ubuntu 10.10) with GVim for creating a foundation library in C. Within my code I've built in rudimentary profiling and assertion policies that are enabled through a symbolic …

Member Avatar for _avishek
0
595
Member Avatar for Josef01

I would like to know how to a use a text box in winform to name the table . can anybody help me please I am using the following statement to create table SQL = "CREATE TABLE tbCatalogue ([Id] COUNTER, [Stock Code] TEXT(10), [Account Number] TEXT(6))"

Member Avatar for Josef01
0
381
Member Avatar for wildplace

how do i move the value of %eax to the memory location of %0 [CODE] int size 10; long *list = (long*) malloc(size*sizeof(long)); asm( movl $999, %%eax movl %eax, (%0) // this is what im trying, how do i fix it? :"=r"(list) :"0"(list), "a"(strLen) );[/CODE]

Member Avatar for wildplace
0
123
Member Avatar for labhijitp

I have these two queries which i want to run together and not one by one. How can i do that? Or can it be modified to be one query. [CODE] UPDATE runquery.table1, runquery.table2 SET runquery.table1.`Column1` = (runquery.table2.`Col1`/runquery.table2.`Col2`*100) Where runquery.table2.`itemid` = 3 and runquery.table1.`Userids` = runquery.table2.`userid`; UPDATE runquery.table1, runquery.table2 SET …

Member Avatar for labhijitp
0
223
Member Avatar for bobgodwin

I'm building a web page that gets information from a mySQL database. It's setup like this: [CODE]<?php if ($act == "") { //// Get the index page $myQuery = "SELECT * FROM $menu WHERE control='index' "; $result = $dbh->prepare($myQuery); $result->execute(); while($row = $result->fetch()){ $page = $row['title']; $myQuery = "SELECT * …

Member Avatar for hielo
0
146
Member Avatar for ronthedon

I've spent the last hour trying to figure out why my calculations are not adding up. Once i run the program it just output 0 for the total points program averages and etc and it also leaves student name blank. Can someone please help me figure out the issue. thanks …

Member Avatar for jonsca
0
180
Member Avatar for bhagvad301

Hi, I made setup file, i install it on windows 7, it install successfully , when i execute using shortcut key or .exe file it gives a message "application has stop working" and not open any form and close automatically.

Member Avatar for abelLazm
0
2K
Member Avatar for adixovi

Hi, this is a clue game in prolog. [B][U]I'm posting it to thank everyone that takes the time to post and help people, like me.[/U][/B] The program is spanish, cause in from México, but it's a clue game. Features: Write and read *.txt files, and use their content to compare …

0
160
Member Avatar for bigdan182

hey guys, im fairly new to this so feel free to tell me if i need to supply more info. basically i need to write code to read in a text file and store different values in different variables, so for example i would read in: bob 1.1 maths 1.2 …

Member Avatar for abhimanipal
0
251
Member Avatar for kucing

[code] 1: int main() 2: { 3: unsigned short x; 4: unsigned short y 5: ULONG z; 6: z = x * y; 6: return 0; 7: } [/code] Please ... i got to many error. When I want z value to write in Textbox form window. Just like var …

Member Avatar for jonsca
0
238
Member Avatar for yancouto

EDIT: My problem was solved. :) But I have a doubt, what is the most effective way to wait for something to happen in java? for example, if I want to wait for a boolean b to be true, does this below work? [CODE=java]while(!b) {} //stuff to do after wait …

Member Avatar for yancouto
0
132
Member Avatar for Sturdy

Hi All,, Same as the title, Can we clear all textboxes in same time? this is possible? Its consume many time to code if we have to write clear code for every textbox. Best Regards

Member Avatar for Sturdy
0
156
Member Avatar for jfunchio

I'm using mysql and phpmyadmin to create a video rental database and I've been having problems with the auto_increment feature and the numeric data type. I have auto_increment on multiple tables for their table id's. The problem is when i enter data into the tables the counter doesnt reset. So …

Member Avatar for hielo
0
350
Member Avatar for dimmu1

i have this function for dealing cards in card game. it is working fine, but i cant figure out how to pass a variable in it. Here is what i mean: This function will deal 5 card. but the user should have the option to change 1 or multiple cards …

Member Avatar for WaltP
0
114
Member Avatar for msrox

Is there any LED control to add to MFC project in order to have some graphic sense of e.g a timer?

Member Avatar for msrox
0
115
Member Avatar for bLuEmEzzy

any idea how to use autocomplete in the textbox getting the records from database? i tried using the properties of textbox. But if the table is updated then autocompleteCustomSource is not updated... please guide me.. thank u.

Member Avatar for bLuEmEzzy
0
1K
Member Avatar for littlelou

What i'm using; VB2008 express, Access 2003 DB, Objective to clear the datagrid view after updating. This should happen when the user clicks the OK button "which confirms the update". Below is what I have. I see in some forums they use the .Clear and some other options so what …

Member Avatar for littlelou
0
773
Member Avatar for IndianaRonaldo

[CODE]#include<stdio.h> #include<stdlib.h> #include<string.h> void main() { char* a[10]={"asd","QWE","ghj"}; printf("%s %c",a[2],a[2][2]); // prints properly... "ghj j" puts(a[1]); //prints properly..."QWE" a[1][1]='t'; //gives segmentation fault.... }[/CODE] what is the mistake in the code...??/..pls help..have an exam in 6 hrs...thank you....

Member Avatar for IndianaRonaldo
0
348
Member Avatar for araib

How can u create a progress bar and a playlist for a custom media player??!! can anyone help??!!

Member Avatar for araib
0
174
Member Avatar for Mike Bishop

i have a private sub that reads 4 lines of data from a text file, and then uses whats read and stores them in varibles. see below [CODE] Dim FileName As String = configfileV Dim TextFromTheFile As String ' Whole text Dim Lines() As String ' File splitted to lines …

Member Avatar for dxider
0
259
Member Avatar for 54uydf

Hi, Need some guidance here parts of my DB need to be updated by data from another system's DB, what I'm gonna get are CSV files with data that isn't exactly the same as my DB, meaning, the tables aren't the same structure, the fields don't have the same name/format..some …

Member Avatar for smantscheff
0
131

The End.