199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gorybmovie

I am trying to setup a php testing server in Dreamweaver that connects to my webhost at webhostingpad.com. My webhost has php installed on it so I know I don't need to download xampp but I am still clueless as to how to set this up. Please help.

Member Avatar for almostbob
0
244
Member Avatar for joel.hahn

I have beeb unable to figure out how to get data from a list view. It needs to be a multislect, and I need to get the data from a specific column. my listview consists of a 3 column with data populated from a database. I am after the data …

Member Avatar for Reverend Jim
0
943
Member Avatar for saphiro

good day, is there a way to put date values in a variable, that is coming fromo the database? something like dim dates as dates (select * from table1 where id = id ) dates = date BETWEEN collumn1 and collumn2 of table1 well its not working of course, its …

Member Avatar for Reverend Jim
0
163
Member Avatar for klemme

I have a loop in php which echo out these divs: <div class="nyhed"> <p class="nyheds_dato_p" style="color:#900;">'.$pub_date[1].'/'.$pub_date[2].'/'.$pub_date[0].'</p> <p class="nyhed_p">'.substr($teaser, 0, 55).'..</p> <a href="'.$url.'" class="nyheds_link">'.$link_navn.'</a> </div>'; When ever a link is hovered, i am adding an animation to change the background color of the div class="nyhed". As it is now, all the …

Member Avatar for klemme
0
215
Member Avatar for PhilEaton

Hello! I need to write a query that selects TableID (a previously concatenated string) and also selects a substring of TableID as another column. All data in TableID is in the format %System.Variable, %Class.User, etc. I need to select from the % to the '.' to return something like %System …

Member Avatar for PhilEaton
0
141
Member Avatar for rwe0

Using Python 3.2., wing ide: chr( i ) converts the integer i to a single character or string. How can I know which unicode encoding is being used ? When I execute the following code I get a single character symbol per character, including the protocol symbols such as ETX, …

Member Avatar for rwe0
0
234
Member Avatar for botes.riaan

hi i have to open a text file from an OpenFileDialog as an Array into a listbox. The data in the text file are dates and a number in this format, "01/06/2010,106". what i need to do then is get the the 5 highest dates and the 5 lowest dates …

Member Avatar for Reverend Jim
0
279
Member Avatar for DrunkenCoffin

Hello! I've recently started learning assembly so I can begin writing full-fledged languages instead of wrappers. Today, while trying to learn the cmp function, and using je and jne, I've came upon a problem. I tried using cmp to compare two values, and then je and jne to jump to …

Member Avatar for DrunkenCoffin
0
446
Member Avatar for napninjanx

Okay so there is this cool photo website that has awesome photo effects okay... So I'm Thinking of saving the websites info right click and save as html etc file. And I wanted to use those same effects trying to build a software out of It. Cause what If the …

Member Avatar for AleMonteiro
0
166
Member Avatar for turt2live

Hi there! What I'm trying to do is have multiple lists have the same length (size) so I can iterate easily over them later. I want to "extend" the size of the smaller lists to match that of the largest list without just tacking on entries, I want to distribute …

Member Avatar for JamesCherrill
0
182
Member Avatar for clarisaduta

Hey everyone, how do i find and highlight a specific word in a .txt file? I only have this until now : this.openFileDialog1.Filter = "TEXT (*.xml;*.txt|"; this.openFileDialog1.Multiselect = true; this.openFileDialog1.Title = "My text editor"; DialogResult dr = openFileDialog1.ShowDialog(); if (dr == DialogResult.OK) and i want to find these two words …

Member Avatar for clarisaduta
0
114
Member Avatar for I_m_rude

actually , I am solving a problem: A list is there in which infinite numbers(approx 1 lakh) are there, and i am reading one by one. At any point of time, I am asked to return the kth(it is given initally) minimum element from the elements read so far. my …

Member Avatar for sfuo
0
146
Member Avatar for mirzamujib

Hi, I've problem in displaying image on my rdlc (Microsoft Report Viewer) report. I took picture box on my report and made its properties as SOURCE=EXTERNAL, VALUE=Parameters!Path.value where Path is my Report Parameter. Below is the code to display image on Report load event: Dim paramList1 As New Generic.List(Of ReportParameter) …

Member Avatar for AleMonteiro
0
1K
Member Avatar for iwishimgoodasu

//I have this code //In my Form1 I have textbox and a button namespace Passing { public partial class Form1 : Form { Class1 class1 = new Class1(); public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { class1.Name = textBox1.Text; Form2 form2 = new Form2(); form2.Show(); } …

Member Avatar for nmaillet
0
257
Member Avatar for Cronicle8

Hello everyone, I am trying to create a thermometer, i do have an idea of how to make it, not sure if it is correct, but here it goes: I have an image of a thermometer, and i would apply a mask(Rectangle), and it's width and X would vary. I'm …

Member Avatar for Ab000dy_85
0
105
Member Avatar for brynFlew

Hello, I am having trouble finding a good tutorial on how to install eclipse with aptana radrails on centos, when i try to install radrails in eclipse using the instructions givin here ([aptana](http://www.aptana.com/downloads/start)), i get these errors. Can someone point me in the right direction? Thanks :) An error occurred …

Member Avatar for Taywin
0
296
Member Avatar for Zhoot

Hey guys. Creating games is one of the best things you can do, am I right? However, nowadays you can choose between so many languages, gfx libraries and game engines. So lets vote! Whats your favorite programming language for making a game? Whats your favorite graphics library? Whats your favorite …

Member Avatar for vinnitro
0
211
Member Avatar for eternalcomplex

Hi, I'm trying to generate Docx files using python. I searched the web and found a module: https://github.com/mikemaccana/python-docx/blob/master/README.markdown It says to install using easy_install or pip, which I have no idea how to do. I also have a mac so I think that makes it a little more complicated. I'm …

Member Avatar for G_S
0
353
Member Avatar for ann.arceo.14

gud day. I have 2 collumn from my database. DateHired ( datarow.item(5)) and EndofContract (datarow.item(6)) on my form i have 2 datetimepicker to record the employees previous jobs, i need to avoid overlapping on the employees recent recorded jobs. e.g if date hired is 01/02/2012 and end of contract is …

Member Avatar for saphiro
0
171
Member Avatar for Dili1234

Dim major As String = TextBox1.Text Dim depa As String = TextBox2.Text Dim sname As String = TextBox3.Text Dim tbStudent As DataTable Dim dcPrimaryKey(0) As DataColumn tbStudent = sqlDataset.Tables("Major") Dim c As Integer 'selecting the entire rows from dbase myCommand = New SqlCommand("SELECT count(*) FROM Major", myConnection) myConnection.Open() 'sqlquery1 = …

Member Avatar for Dili1234
0
287
Member Avatar for heshanm

Hi All, I want to add data for the time tables. I have created 3 fields namely grade, class and stream which is only relevant for advanced level classes. otherwise the "stream" field should be disabled. In my database the class table and grade tables were already populated with data. …

Member Avatar for heshanm
0
228
Member Avatar for sanket044

import java.io.*; public class NewClass { public static void main(String[] args) { try{ Runtime rt = Runtime.getRuntime(); Process p = rt.exec("cmd"); BufferedReader Pop = new BufferedReader(new InputStreamReader(p.getInputStream())); BufferedWriter Pin = new BufferedWriter(new OutputStreamWriter(p.getOutputStream())); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String newCmd; System.out.print("Enter Command : "); newCmd = br.readLine(); String s; …

Member Avatar for Taywin
0
131
Member Avatar for MMadhavi

Plz help me. I want to insert data in table which is filled by user. But i want to keep that insert query code in same file where i have created my html form. I want not to make insert.php individually. In this way i want to insert data in …

Member Avatar for broj1
0
119
Member Avatar for joshl_1995

Hello, I want to combine all my database table in to one line so i can put it all in the url e.g. Name | Times __________________________ test1 | 1 __________________________ test2 | 2 __________________________ This is how i want it to look in the url (Result.php?loggedin=true&links=test1-1_newline_test2-2)(_newline_ means that will …

Member Avatar for jstfsklh211
0
283
Member Avatar for heshanm

Hi guys, In the below form when a user enters an admission number and click on the relevant type report the report was generated. ..Then I want something like this.When a user enters an admission number which is already existing, a validation should come as "The number already existed". How …

Member Avatar for jstfsklh211
0
138
Member Avatar for krunal1986

Hi all, When i run my application on mysystem/localhost it gives me correct username. but when i host my application on IIS and then open application on other user's pc then it should show that pc's username. but it doesn't. how to retrieve username of that pc? thanks

Member Avatar for JorgeM
0
186
Member Avatar for ashita08

Sqlconnection conn; Sqlcommand cmd; conn = new SqlConnection("Server=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\Database.MDF;Trusted_Connection=True;User Instance=yes"); conn.Open(); string cmdString = "Insert into Customer Detail (Customer_id,Name,Address,Contact_Person,Contact_Person_no)Values ('" + TextBox6.Text + "','" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox5.Text + "','" + TextBox4.Text + "')"; cmd = new SqlCommand(cmdString, conn); cmd.ExecuteNonQuery(); Label2.Visible = true; Label2.Text = …

Member Avatar for sania khan
0
95
Member Avatar for maurya10
Member Avatar for Banfa
0
92
Member Avatar for linabeb

please someone help me..im doing my final project and below is my code for the registration form..after i fill up all my form and it will appear a msg box that i can only register once...the data is not being inserted in the database..im using ms access...please2....do help me...i dont …

Member Avatar for Maligui
0
288
Member Avatar for fabrizio19

Dear forummembers, Well I am a total noob in visual basic programming, but I want to make a program that opens an ascii file that i choose and reads the file line per line. The ascii file excist as follow 0.0000 Start of measurement time id rx dlc b0 b1 …

0
125
Member Avatar for riahc3

Hello Im posting this in C because Arena is highly influenced by C.... Im trying to open a file using fopen but I cant get it to work. Ive made the permissions on the file 777 (all) just in case but it doesnt work. Can someone please test that it …

Member Avatar for Ancient Dragon
0
131
Member Avatar for Stealthbird97

Ok, What i need is a Login script that will verify the information that is on a MySQL database. What people will do is sign up on a website and their Login information will be stored on the database. Then they will be able to login to a special members …

Member Avatar for Maligui
0
132
Member Avatar for mrbarbarik

Hi, I'm just want to ask if it's possible if I want to update multiple record with same condition at the same time. For example, I have a table named *userTable*, it has two field, *year* and *status* fields. On year *field*, it has value of years and on *status* …

Member Avatar for debasisdas
0
219
Member Avatar for PeterVrist

Hi there. I'm having a strange problem. I have a TTimer on my main form that should trig 500 msec. after the form is created. It works fine when I run from IDE, but when I run it on other W7 PC's the main form is created, but the timer …

Member Avatar for PeterVrist
0
88
Member Avatar for riahc3

Hello I want to run a command as sudo (to be especific open a file) but I dont want to run the entire program as sudo obviously. How do i do a fopen with sudo previlges? I dont mind hardcoding the password (eg, so it wont ask me for my …

Member Avatar for L7Sqr
0
152
Member Avatar for fpsasm

Hello All, I have been developing a website that has a secure area. At the beginning of the secure page I wrote a scriptlet to check whether the user is logged in. I want to take this scriplet and put it in a javabean. Could any of you guys suggest …

Member Avatar for fpsasm
0
269
Member Avatar for manhthaodn

Hi, I want to create a procedure to delete Production.Product table by ProductID in AdvetureWorks Database. How to do it? Because Table Product's too many relationship :( THANKS!

Member Avatar for manhthaodn
0
178
Member Avatar for confstu

Hello, a noob in web programming here. Doing some course related database, would appreciate any help :), I want to ask whether any of you can help me on how to retrieve get data from mysql using php function, but separate each data from mysql one by one, cause i …

Member Avatar for confstu
0
244
Member Avatar for ckchaudhary

Hi all, i have the data coming from a json file. I need to print (echo) this into html. here's a part of json file "title": null, "about_us": "Asteria Grill welcomes you! I have tried many times to convince myself not to pursue another restaurant. However, it's my favorite hobby …

Member Avatar for ckchaudhary
0
96
Member Avatar for rayidi

I have problem with writing csv file using **fputcsv**. Its putting the page html also into the csv file. Whats wrong with my code ? //Excel header header("Content-Disposition: attachment; filename=\"Delivery_Reports.csv\";" ); header("Content-type: application/vnd.ms-excel"); $out = fopen("php://output", 'w'); $flag = false; // $result = mysql_query("SELECT * FROM senderids ") or die('Query …

Member Avatar for ddsuresh
0
4K
Member Avatar for Commando123

hello guys, can anyone help me with this plz?? i have a datagrid view that is bound to a database, and the is a checkbox that is also bound to a flg in this database. i want to put some conditions on checking or unchecking this flg. what event do …

Member Avatar for Commando123
0
200
Member Avatar for caven.chunyen_1

Hi Daniweb, I've been using perl for Regex recently and I want to know is it possible to create an Excel Movie Library with the movie poster, the name of that file and a hyperlink of that clip is attached to the poster. Any help is appreciated. thanks.

Member Avatar for 2teez
0
117
Member Avatar for sanket044

hey i am having three columns "fname", "mname", "lname" in one table... i want to take each column's DISTINCT value without relating fields in one query.. i mean distinct of "fname" in first column, distinct of "mname" in second column and distinct of "lname" in third column can anyone help …

Member Avatar for M.Waqas Aslam
0
136
Member Avatar for prancode

Hi, I'm trying to export data from excel sheet to my grid, I'm using the foll code, but I get an error at DataGridView1.Rows.Add(), saying rows cannot be added programmatically. Private Sub btnexport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnexport.Click Dim xlsApp As Microsoft.Office.Interop.Excel.Application Dim xlsbook As Microsoft.Office.Interop.Excel.Workbook …

Member Avatar for M.Waqas Aslam
0
163
Member Avatar for david.marduk.7

whenever i try to run my program it always has this error "In function mainrift" "syntax error at the end input" can someone help me. void mainrift() { int days = 1, choice = 0, gil = 20000, debt = 50000; int depgil = 0, phoenixdown1 = 0, elixiressence1 = …

Member Avatar for WaltP
0
458
Member Avatar for jumboora

Hi, I want to read source directory and copy each file to the destination by skipping after each file based on interval value i.e., if i set the value of interval 2, then it should skip two files everytime. For Example: If there are 5 files in a directory, 1.txt, …

Member Avatar for jumboora
0
165
Member Avatar for tareywolf

I like so many others seek out code snippets from time to time to provide some functionality. Most are easy to incorporate. But I have not yet figured out how to use a function, like below. How does one call something like this in another program? Private Function Search(path As …

Member Avatar for tareywolf
0
80
Member Avatar for petrakid_1

I have a page on my site which, when a button is pressed, pulls in an AJAX response in a <div>. The response also has AJAX in it (this all works as it should). I want to be able to, after several checkboxes are checked, enable a button so that …

Member Avatar for AleMonteiro
0
155
Member Avatar for calebcook

HI. I've tried other codes, but they don't seem to work. What I'm trying to do, is grab a result from google's shopping page, and display it on my page. I only want the title, which is in the tag:[CODE]<h3 class="result-title">TITLE</h3>[/CODE] How do I do that in PHP? Thanks!

Member Avatar for karlmarsh05
0
2K
Member Avatar for rev_ollie

Hi, I have been looking at a few tasks I want to do using a MySQL DB and Python. Therefor I'm spending some time looking at the MySQLdb module for Python and how I can use it. I've worked out a few bits but I want to be able to …

Member Avatar for rev_ollie
0
8K

The End.