199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sofien.fkih

I have an sql code that is retreiving a row with more than one line, Is there a way to make it combine those two lines into one line. select revertrsn from LN08PENm where aano in(754,870,1136,1138,1139,1140) the data coming in the row that I am retreiving is like this: As …

Member Avatar for sofien.fkih
0
185
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to goto the direct link of a file (eg. http://example.com/files/test.txt) and for it to download insted of loading and displaying the file. I want to do this for every file in the "files" folder and only that folder.

Member Avatar for joshl_1995
0
208
Member Avatar for nakibzaman88

I have Two Sql Table. 1st Table name is **Allowence** and Columns are EmpId,Name,Basic Salary,Da,Ca,HRA. 2nd Table name is **Deduction** and columns are EmpId, PF,ESI,Others. I wants to display all these column to a DataGridView. also I want to calculate Gross Salary and display this Gross Salary value to DataGridView. …

Member Avatar for prashant9928
0
138
Member Avatar for OsaMasw

Yesterday when I was working on php script I noticed that categories and subcategories works seperatly if I clicked on main category its show all articles under this main category and nothing imported from subcategories, now am working on somthing like this, so what should I do to avoid this …

Member Avatar for OsaMasw
0
2K
Member Avatar for Farhad.idrees

HI i have many forms in my application.. when some one see any form so i want to show form as "Only readable form" means i want to use disable form.. when someone click edit button so my form should enable for editing.. how to do it? can anyone help …

Member Avatar for code739
0
145
Member Avatar for arcana55

Hi! I have the following table: <table> <tr> <th>Cost</th> <th>Quantity</th> <th>Sum</th> </tr> <tr class="txtMult"> <td class="val1">1</td> <td><input class="val2" type="text" name="txt/>"</td> <td><span class="sum">0</span> </tr> <tr class="txtMult"> <td class="val1">2</td> <td><input class="val2" type="text" name="txt/>"</td> <td><span class="sum">0</span> </tr> </table> What i want to do is to multiple row by row cells: val1*val2. I found …

Member Avatar for Bachu
0
208
Member Avatar for davy_yg

Stock Recording System - I basically wants to see the data recorded in the table sql. yet this is not the case. mysql_query("INSERT INTO Produk FROM stock VALUES ('Produk')"); mysql_query("INSERT INTO Jumlah FROM stock VALUES ('Jumlah')"); mysql_query("INSERT INTO Tanggal_Masuk FROM stock VALUES ('Tanggal_Masuk')"); Is that instruction not enough to record …

Member Avatar for TonyG_cyprus
0
171
Member Avatar for toldav

Please any one can help me to fix my last statement of code I'm traying to have a user input the temp and then convert ot either F or C. But my last if else statement doesnot engage well with the over all code. I'm beginner Java programnig. Thank you …

Member Avatar for Taywin
0
117
Member Avatar for nunuaziz_

I've been trying to send email using php. But I've been getting this error since... **PHP Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\www\IT3126Prac\Reservation\insertReserve.php on line 36** I know I have to configure something …

Member Avatar for veedeoo
0
953
Member Avatar for spowel4

Given a comma-delimited file like this example: "92528","1","36","38280","51801","PLANT 5 - LINE 1","37", "92528","1","8","37450","51801","PLANT 5 - LINE 1","37", "92528","2","8","37896","51801","PLANT 5 - LINE 1","37", "92528","3","8","37450","51801","PLANT 5 - LINE 1","37", "92528","61","32","37450","51802","PLANT 5 - LINE 2","37", "92528","62","16","38721","51802","PLANT 5 - LINE 2","37", "92528","63","8","38722","51802","PLANT 5 - LINE 2","37", "92528","64","4","37450","51802","PLANT 5 - LINE 2","37", "92528","149","8","37450","51804","PLANT 5 - …

Member Avatar for TnTinMN
0
227
Member Avatar for Forte1292

go through every combination ie(0,0,0,0),(0,0,0,1), .... ,(3,3,3,3) But in a general way such that it's always 0-3, but it may be 4 digits or it may be 5 digits or any other number? If I know the length I could do nested for loops, but since I don't...is there an …

Member Avatar for Forte1292
0
122
Member Avatar for ace8957

Hi all, So I'm trying to learn how to do a hash table with separate chaining, but it is giving me several issues. The hash table I'm trying to make will hold instances of a class named Person and uses Person's data member phonenumber for the key. Currently, the main …

Member Avatar for deceptikon
0
4K
Member Avatar for GraficRegret

here is the slideshow styles, <style> body {font-family:Arial, Helvetica, sans-serif; font-size:12px;} .fadein { position:relative; height:361px; width:640px; margin:0 auto; background: #000; padding: 0px; } .fadein img { position:absolute; left:0px; top:0px; } </style> here is the javascript <script type="text/javascript"> $(function(){ $('.fadein img:gt(0)').hide(); setInterval(function(){$('.fadein :first-child').fadeOut().next('img').fadeIn().end().appendTo('.fadein');}, 5000); }); </script> and here are the phps …

0
84
Member Avatar for Szabi Zsoldos

Hi guys, I'm working on a holiday scheduling app and I was wondering that if a person wants his holiday for example 10 days. id uid data1 data2 ore tip_concediu ts 7 244 2013-01-25 2013-02-05 3 2 2013-01-25 16:08:35 How would it be possible that I could track the holiday …

Member Avatar for Szabi Zsoldos
0
378
Member Avatar for Subha1983

Hi, I am working on an assignment where i need to create controls dynamically in a Form and when i click "execute button" in the form it should generate a query based on the dynamic controls selection. Each dynamic control reflect one database column. The control's can be combo,textbox etc. …

Member Avatar for ddanbe
0
189
Member Avatar for ambitiouskriss

Is anyone running Ruby on Rails on an Imac G4 or G5? Im on a tight budget right now and dont wanna spend more than I have to. Are either of these models working for anyone? If youre not using them, could I still use either one of these models?

Member Avatar for Taywin
0
209
Member Avatar for vizz

I need to create chart for log Database fields are, *** host * pageurl * VisitPage * VisitorIP * VisitDate * VisitorTimeZone * VisitTime * browser * operatingsystem * referer** I need chart for **Toatl Visits, Uniquie Visits, Impressions, Online Users, Pageviews, %New Visits, % Uniquie Visits, %New Visitor, %Returning …

Member Avatar for broj1
0
169
Member Avatar for fugnut

Hello all, I am working with a program to calculate the days in a given month. We are to use functions and bool. I have the below code, which worked until I tried to create the function. I continue to get an error about "numberOfDays" not being initialized however if …

Member Avatar for deceptikon
0
3K
Member Avatar for Farhad.idrees

HI Guys... I have jquery list menu box of sliding.. i want o use scroll bar..i have imported requrired files but when i import jqxpanel file so nothing show.. when i block jqxpanel file so lisemenubox shows but without scrollbar..i have also enable true scroll bar but its not showing.. …

Member Avatar for Farhad.idrees
0
235
Member Avatar for IsaacMessi10

I want to make a combobox that will grow or shrink according to the screen size any help?

Member Avatar for IsaacMessi10
0
126
Member Avatar for Johan__

hello this is a homework so please dont give me the answer to the problem. int num1, num2; for (num1 = 1; num1 <= 101; num1++) { for (num2 = 1; num2 <= 101; num2++) { if (num1 / num2 == 5) Console.WriteLine(num1 + "/" + num2); } } Console.ReadLine(); …

Member Avatar for tinstaafl
0
118
Member Avatar for IsaacMessi10
Member Avatar for IsaacMessi10
0
90
Member Avatar for andigirlsc

I am trying to print out a report for a 12 month interest summary. So far, I cannot seem to get the ending balance for the previous month to be the starting balance for the next month. Here is the code I have so far: #include <iostream> #include <string> #include …

Member Avatar for Moschops
0
222
Member Avatar for mrhankey

hi, i have looked on net all over and cannot find an occupations table. basically for my application i need a table of occupations so if anyone has this in sql or excel please can you post up here? many thanks

Member Avatar for mrhankey
0
163
Member Avatar for mrhankey

hi, i have been struggling to find a good autocomplete script with mysql backend. i now have an easy to use one and all is working, however in my page after the search has been typed and user selected instead of the users name appearing in the search box i …

Member Avatar for mrhankey
0
131
Member Avatar for IsaacMessi10

Private Sub RefreshGoSearchCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RefreshGoSearchCancel.Click If (AddressBar.Text = "") Then WebBrowser.Refresh() ElseIf (AddressBar.Text <> "" And "." And "") Then WebBrowser.Navigate("www.google.com/search?q=" & AddressBar.Text) Else WebBrowser.Navigate(AddressBar.Text) End If End Sub This is the code for The AddressBar to refresh when text hasn't changed, search …

Member Avatar for AleMonteiro
0
125
Member Avatar for vasuv

Hi all, I am planning to design mibile app using c,c++ if possible.can any one please suggest me how to design it if possible. Please your thoughts regarding this and appreciate your suggestions. Thanks, Va.

Member Avatar for myk45
0
174
Member Avatar for Tortura

Hi, I want to serialze an object. I use the binary formatter because it's a very complex object. I solved a lot of SerializationExceptions, but there are two that I don't understand or know how to handle. It says "The type "Ivi.Visa.Interop.FormattedIO488Class" in assembly "Ivi.Visa.Interop, Version=3.2.0.0, Culture=neutral, PublicKeyToken=a128c98f1d7717c1" is not …

Member Avatar for skatamatic
0
185
Member Avatar for WDrago

All, Is this adeqaute to close all resources associated with clientSocket? public void readAll(String[] s) { using (TcpClient clientSocket = new TcpClient(host, port)) { NetworkStream clientStream = clientSocket.GetStream(); StreamWriter toOmega = new StreamWriter(clientStream); StreamReader fromOmega = new StreamReader(clientStream); toOmega.Write(readTemp); toOmega.Flush(); //Command is not sent until buffer is flushed s[0] = …

Member Avatar for WDrago
0
243
Member Avatar for Rahul47

Hello guys, I am using connected architecture to develop an application. For every form am designing there requires to put the connection string to connect to databse. Is there any way that If I change connection string at one point it is automatically changed at other. Thanks

Member Avatar for Begginnerdev
0
111
Member Avatar for sudipta.mml

Hi ALL, I want to analyze my data by a python script. The data are in multiple file and they are kept in different directories. Moreover, the name of the files in those directories are same but have different extension. I want to get my output just by providing a …

Member Avatar for otengkwaku
0
232
Member Avatar for Octet

Hello Daniweb, I'm learning Python at the moment, and I'm starting by looking at automating some of my server tasks, namely things like backups, virus scans and checking for IP changes (being on a dynamic IP, automating this task will be very helpful). I've started by creating some code which …

Member Avatar for Octet
0
180
Member Avatar for silvercats

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; using System.Data.SqlClient; namespace Dbconnection { public partial class Form1 : Form { public Form1() { InitializeComponent(); } SqlDataAdapter da; SqlConnection con; DataSet ds1; private void Form1_Load(object sender, EventArgs e) { con = new SqlConnection("Data …

Member Avatar for silvercats
0
192
Member Avatar for <M/>

I am looking for a C# editor and I am wondering what is the best one (hopefully for mac) and I noticed that Visual studios is good (but i believe it is windows only though)... I am wondering if anyone has any recommendations for an editor (unless Dreamweaver or Coda …

Member Avatar for nmaillet
0
633
Member Avatar for Fernando_1

# Purpose: Tax input amount # #----------------------------------------------------------------------- # VARIABLE DEFINITIONS salesAmount= 0.0 salesTax=0.0 total=0.0 #----------------------------------------------------------------------- # CONSTANT DEFINITIONS #----------------------------------------------------------------------- # FUNCTION DEFINITIONS #----------------------------------------------------------------------- # PROGRAM'S MAIN LOGIC salesAmount = float (raw_input("Enter the sales amount:")) salesTax = float(salesAmount*0.08) total = salesAmount + salesTax print "The sales amount is $", salesAmount print …

Member Avatar for vegaseat
0
219
Member Avatar for personalisedpen
Member Avatar for Draconyster
0
344
Member Avatar for andika.kurniawan.121

using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Drawing.Imaging; public class Program : System.Windows.Forms.Form { public Program() { Contoh1(); } private void Contoh1() { this.Paint += new System.Windows.Forms.PaintEventHandler(this.Form1_Paint); System.Threading.Thread.Sleep(2000); this.Paint += new System.Windows.Forms.PaintEventHandler(this.Form2_Paint); } static void Main() { Application.Run(new Program()); } private void …

Member Avatar for ChrisHunter
0
122
Member Avatar for necrovore

hello, I am working on a project that involves a bit of directory manipulation. Until now i only had to create create directories as per user input, so till now the commnad mkdir worked fine: mkdir("c:/test"); But now i have to do some manipulations on the string to get the …

Member Avatar for Moschops
0
198
Member Avatar for numbplum

Hey guy I'm wondering if there is a tutorial or example code for a C++ RPG inventory system. I've surfed the website and I only discovered to make two classes, item and inventory and to use each of them for item's detail and holding the items in a linked list. …

Member Avatar for Ketsuekiame
0
1K
Member Avatar for rexdon

//Give me an example for Serialising Multidimensional array in c sharp. //While searching in net i found this code snippet [XmlIgnore] public char[,] Data; [XmlElement("Data")] [EditorBrowsable(EditorBrowsableState.Never)] public char[][] XmlData { get { /* copy contents of Data into a jagged array */ } set { /* copy contents of jagged …

Member Avatar for deceptikon
0
1K
Member Avatar for aarya

$url=$_POST['url']; $ip = gethostbyname($url); $long1 = ip2long($ip) if ($long1 == -1 || $long1 == FALSE) { echo 'Invalid IP, please try again'; } else { print $url; echo $ip ?> bu this code i get ip address but i need the country name aslo with this ip address. is thers …

Member Avatar for kavinesh
0
1K
Member Avatar for jameosa

I need help to Write a PASCAL program that reads in ten values and then sort them using the bubble sort method

Member Avatar for pritaeas
0
265
Member Avatar for brianbabu

Hi, can someone explain me the entire working of jquery.filedrop.js? I have used the filedrop for a project but i am interested in knowing it fully in detail so that i could improve its functionality and modify the code according the reqiurements i get from my client. Thanks.

Member Avatar for Taywin
0
173
Member Avatar for darren.ang.5264

hi, i am a newbie to ajax. i have created 2 html file in the following :- <<< a.html >>> <!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=big5" /> <title>Admin Page</title> <script> function loadURL(cDiv, cURL, cGetPost, cParam) { var xmlhttp; if (window.XMLHttpRequest) {// …

Member Avatar for Taywin
0
164
Member Avatar for satyavinayak

i am developing a online chat application, for that i have a server with static ip. i want to give only small javascript to include in client website. here my requirement is obtain ip address and the location of the user of the website. websites my in in any language …

Member Avatar for bops
0
395
Member Avatar for sainigks

hello, i want to make a script in php that identify the pc. actually i want to make a script like antivirus software which can only install at one pc. if we want to install it on other pc it cant. and also if we install it on same pc …

Member Avatar for pritaeas
0
554
Member Avatar for manalibhadula

Hi, I am new to Java and is working on code in java which i need to keep a static sql script in property file and passing variable to it through java code and then iterating that property file to pass the variable value and writing that generated script to …

Member Avatar for mshauny
0
387
Member Avatar for vonnoy

i have search box,listview and 3 labelcaption namely: fname,lname and total. my database name is students and table name attendance. if i search particular student and display in listview, once i click the name on the listview automatically display on the labels, and display total number of records of that …

Member Avatar for AndreRet
0
2K
Member Avatar for MaxRevenge

Yo. I am making a project in vb6. The backend is MS Access 2003. Data is entered into the form and stored in the database table. The code: With cnct .BeginTrans .Execute "INSERT INTO Employee_Info (EI_CNIC, EI_FirstName, EI_LastName, EI_Gender, EI_Birthdate, EI_Country, EI_Language, EI_MaritalStat, EI_Education, EI_Designation, EI_Salary, EI_ResdAddress, EI_ResdContact, EI_Cellphone, EI_EmailID, …

Member Avatar for AndreRet
0
721
Member Avatar for opera-rotas

The End.