199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MDanz

i have a form that i'd like to duplicate on the press of a button? [code] echo "<form enctype='multipart/form-data' action='rapidinsert.php' method='post' name='changer'> <br /><br /> <font color='#D99C29' face='Arial' size='3px'>Add Noun </font><input type='text' name='noun' value='' size='30' /> <input type='submit' value='Submit' style='font-size:10px' /> <input type='submit' value='Add form' style='font-size:10px' /> </form>";[/code] How do …

Member Avatar for Stefano Mtangoo
0
102
Member Avatar for bettersaid

help! dunno how to convert this in python.. 'contains == ???' in python [CODE]if (basket contains "fruits") then try tell application "Document" to tell application "System Events" to tell application process "Document" to click button "Cancel" of sheet 1 of window "Untitled" tell application "Document" to quit saving no end …

Member Avatar for bettersaid
0
167
Member Avatar for bettersaid

[CODE]from Tkinter import * class ButtonHandler: def __init__(self): self.root = Tk() self.root.geometry('600x500+200+200') self.label = Label(self.root, text=str(self.mousedown)) self.can = Canvas(self.root, width='500', height='400', bg='white') self.can.bind("<Motion>",lambda x:self.handler(x,'motion')) self.can.bind("<Button-1>",lambda x:self.handler(x,'press')) self.can.bind("<ButtonRelease-1>",lambda x:self.handler(x,'release')) self.label.pack() self.can.pack() self.root.mainloop() def mouseDown(self, event ): return 1 def handler(self,event,x): if x == 'press': self.mousedown = 1 elif x == 'release': …

Member Avatar for TrustyTony
0
192
Member Avatar for vibhaJ

Hi all, Here is my htaccess code for url rewrite: [CODE] RewriteRule ^(.*)/test.php$ test.php?language=$1 [NC] [/CODE] which will redirect [url]www.domain.com/english/test.php[/url] to [url]www.domain.com/test.php?language=english[/url] It is working fine... But when i have extra variable with that url then it doesn't work. e.g. [url]www.domain.com/english/test.php?name=abc[/url] should work like: [url]www.domain.com/test.php?language=english&name=abc[/url] But it is not working.. …

Member Avatar for vibhaJ
0
318
Member Avatar for Claude2005

Hi there, I'm wondering if there's a way to differentiate a space and a tab in Perl. I have this data format: [CODE]02 Aug 10 14:22:00 12345 A Quick Brown Fox Jumps John Peter Doe 02 Aug 10 14:25:00 12345 Over The Lazy Dog John Peter Doe 13 Aug 10 …

Member Avatar for Claude2005
0
94
Member Avatar for tungnk1993

I made a button in pts and now want to use it as a button in a program. Is there any way to change the image of the button to the one i made or make it function like a button ? tkq

Member Avatar for leahrose87
0
115
Member Avatar for amegahed3

Hi All, I'm not an expert in C, and what I need to do is the following. I have a certain large .txt file that has many lines (sometimes the lines are separated with one empty line, sometimes two, sometimes 3,...etc. Some of these lines have "= 9999999999" at their …

Member Avatar for amegahed3
0
77
Member Avatar for jingo1126

[code] .model small .stack .data .code start: mov ah,1 int 21h mov ah,2 mov dl,0ah int 21h push ax mov ah,1 int 21h mov ah,2 int 21h pop bx add ax,bx aaa add al,30h mov dl,al mov ah,2 int 21h end start [/code] Ok guys?this is another addition program in …

Member Avatar for Leeron2009
0
943
Member Avatar for Weichen

I have input stream problem where my Console::ReadLine() command gets "eaten" when I try to loop my program back to start. Here is the code [code=c] #include "stdafx.h" using namespace System; int factorization(); int main(array<System::String ^> ^args) { int terminate; do{ terminate = factorization(); }while(terminate == 'y' || terminate == …

Member Avatar for Weichen
0
431
Member Avatar for fourty
Member Avatar for vb5prgrmr
0
108
Member Avatar for skumar244

I am pretty new to the Jython world, I have a need to create the jvm custom properties but i am king on struck at array. please provide expertise suggestion.. Here is my code snippet : ### JVM CUSTOM PROPERTIES SCRIPT ### fileOpen = open("/tmp/jvmname.props", "r") fileRead = fileOpen.read() server …

Member Avatar for TrustyTony
0
96
Member Avatar for madhub2v

pl could help.. I m a fresher , learnig Java. I wat to know what happening in the IT industry(programing dovelopment). could you please tell me any source to learn "how they are devoloping software projects from begining to the product release. for example for a website dovelopment(Using Java) mostly …

Member Avatar for madhub2v
0
164
Member Avatar for PixelExchange

Hello everyone. Working with winsock, I have successfully been able to connect a client application to a server application that is running on the SAME computer. My problem is, I cannot, for the life of me, get a client application to "connect" to a server application that is running on …

Member Avatar for Aranarth
0
135
Member Avatar for kadams

I need to count characters from a file. But I get an error error C2660: 'getchar' : function does not take 1 arguments. Im new to C please bare with me. Thanks for your help. #include "stdafx.h" #include "stdio.h" #include "stdlib.h" #include "string.h" int _tmain(int argc, _TCHAR* argv[]) { int …

Member Avatar for kadams
0
140
Member Avatar for leesysmuthu
Member Avatar for dchunt

I've wanted to write a program to read the extended characters from a file. [ICODE] #include <iostream> #include <fstream> using namespace std; int main() { char a,ch[50]; long l, m, k; ifstream infile; infile.open("as6.txt"); l = infile.tellg(); infile.seekg(0, ios::end); m = infile.tellg(); k = (m - l); infile.seekg(0, ios::beg); while(infile!=0) …

Member Avatar for kadams
0
136
Member Avatar for jfarny

Hello, I am currently developing a review site that requires displaying video reviews. I have created a PHP page that successfully retrieves all records from my video database called reviews.php. I have also created a page that a user gets redirected to when he/she selects a video entitled watch.php. The …

Member Avatar for jfarny
0
993
Member Avatar for ylin333

How do you access a database from a C++ or Windows API program? :-/ I would like to be able to get data from a database as strings or something. I want to use a database so that it is easily changed from MS Access or something similar. Thanks in …

Member Avatar for ylin333
0
235
Member Avatar for bouhbob

Hi there, here is my code and I don't know how to add <br /> to get a return in the email received: [CODE]<?php $to = "myemail@gmail.com"; $subject = "From the website"; $email = $_REQUEST['email'] ; $yname = $_REQUEST['name'] ; $ycompany = $_REQUEST['company'] ; $yphone = $_REQUEST['phone'] ; $ymessage = …

Member Avatar for bouhbob
0
189
Member Avatar for CDS93

Hey all, I'm what you could call a beginner database coder, so this may seem like a simple issue to some :D I am using Visual Basic 2010 Express and a SQL Database. I have a series of TextBoxes, ComboBoxes, and CheckBoxes that I would like to save to different …

Member Avatar for supermoose
0
80
Member Avatar for Ryan61343

i have a couple of should be simple linked list questions one of which is how to make it insert in a sorted fashion i have a way i think should work but it doesnt i can post the code if needed. also i have to delete the last n …

Member Avatar for Ancient Dragon
0
87
Member Avatar for Greece

Hi I'm Beginner in a programming at all and I planned to start with Java I read alot about programing in jeneral and I know the outline about it .. as looping and conditionals but I don't start to write any things by myself .. I mean I don't have …

Member Avatar for Greece
0
97
Member Avatar for Vexx

Hello everyone, I am having some trouble with a program I'm writing and I can't figure out for the life of me what is going wrong. I'll post the code below but first I will point out the problems I'm having. (Both problems are highlighted in my source code with …

Member Avatar for Vexx
0
111
Member Avatar for punchinello

Do any of you veterens have expirence with displaying and controling a 3d model with c++ programming code and maybe spicifically with vb6.0? Any literature on the subject you would like to recommend or any key words I could use with searching? How do I go about learning it? Thank …

Member Avatar for punchinello
0
1K
Member Avatar for rokz84

okay.. i'm really stuck on this program assignment i have to add two arrays (20 digits long) than sum the two. what i have done so far is (or at least attempted) is putting the digits into a temporary array than moving them into one of the arrays i want …

Member Avatar for vocater
0
119
Member Avatar for rObOtcOmpute

I'm supposed to use a 'top-down' programming style (which is my enemy) for a simple game of Cootie, and I am very new to C++ so there will be errors abound in my program, I'm just working on getting past one error thus far: [CODE=C++]void ApplyRoll(int Roll, int Body, int …

Member Avatar for rObOtcOmpute
0
3K
Member Avatar for Don_leon

How can I connect to a SQL server(not SQL Compact Edition)Database from my Smart device. I am a bit stuck on this because the connection string does not seem to work it gives me a (Null reference error) I checked the SQLcommand text and that was working properly as well …

Member Avatar for Don_leon
0
218
Member Avatar for hazeeel

ATOM 1430 CB ASP A 187 [B]54.776 12.063 20.348[/B] 1.00 50.88 C How do I store the above in bold into a 1x3 arrray after using StringSplit?

Member Avatar for hazeeel
0
100
Member Avatar for ekseks

I don't know where to start so I just got to ask from the experts :). From my MySQL (database) I got a date formatted mm-dd-yyyy (i.e. 01/01/2010), now from my php page there are 3 dropdown/list menus which are for [B][Month]-[Day]-[Year][/B] and a [B][TextField][/B] then a [B][Submit Button][/B]. When …

Member Avatar for Zagga
0
157
Member Avatar for maldemer

I need to do a pretty standard dining philosophers setup for my class. (I assume most people on here know what this problem is... if not look here: [url]http://en.wikipedia.org/wiki/Dining_philosophers_problem[/url]) We need to have a variable number of philosophers between 2 and 8, and avoid deadlock and starvation. In my design, …

Member Avatar for NormR1
0
161
Member Avatar for 3d0army

Hi all. I'm brand new here, been on the site for about 1 minute, and I have a question. Not sure if I'm in the right thread, but the question is for VB6. This may sound basic, but I am making a program, that will open WAV music files by …

Member Avatar for 3d0army
0
162
Member Avatar for MoriEdan

Hi all i'm trying to make a plugin supported windows MDI application but my brain has stopped! i can't build algorithm! First of all my program will read dll's from plugin directory which is located at the same directory of my MDI parent application, i don't know what will i …

Member Avatar for MoriEdan
0
605
Member Avatar for dontnoephp

hi, i have to write a program that simulates a vending machine: the sale of items,coin counting and change giving. can some1 help???

Member Avatar for Zagga
0
83
Member Avatar for rjthomas8

i'm attempting to use a select statement which retrieves products 'LIKE' textbox.text. However, i am given an error and cannot find a solution private void buttonSearch_Click(object sender, EventArgs e) { if (radioButtonCustomerID.Checked == true) { try { sqlConnectionNW.Open(); sqlDataAdapterSearch.SelectCommand = "SELECT * FROM Customers WHERE (CustomerID LIKE'" + textBoxSearch.Text + …

Member Avatar for Geekitygeek
0
1K
Member Avatar for pi_lord12

I am creating a game in which I import images from files to represent characters, etc. I have created a class called Contents which represents anything that can be placed on a tile of the gameboard. A subclass of Contents (by several levels) is Wizard, to create a wizard character. …

Member Avatar for pi_lord12
0
145
Member Avatar for lafayettejohnso

Hi Iam new to c++ programing and I have this project where I must write a program that takes in data from the employee.dat. I have the program started but now Iam stuck any help would be greatly appreciated. heres my instructions. • Note there are only 4 employees in …

Member Avatar for daviddoria
0
220
Member Avatar for Hawkpath

Hello all, I'm taking a programming course in python and I have to write a program using certain math functions like pow() and sqrt() and I don't know what to program. Please give me some ideas on programs. I don't need to know how to program them, just what to …

Member Avatar for Gribouillis
0
140
Member Avatar for zer0cool

Hello, Here is my problem: I have copied a web site onto my development server. All the images and files are called using absolute paths, for example: <img src="/images/picture.jpg" /> So it's trying to do this: [url]http://www.localhost.com/images/pictures.jpg[/url] When I want it is actually suppose to do this: [url]http://www.localhost.com/client/folder/images/pictures.jpg[/url] How do …

Member Avatar for Zagga
0
158
Member Avatar for wyssen

Hi, I have a wired problem. I try to build a argv array which will be passed to ssh command. The following line works perfectly: [CODE]argv[n++] = "64.106.11.123";[/CODE] But when I try to get the IP address out of a string which contains it, it will add me a line …

Member Avatar for wyssen
0
282
Member Avatar for cjmartin

When a user Scans a barcode representing a # sign while focus is on the fromComboBox, code is used to scroll through the list. It scrolls through the list fine, but then it moves to the next field on the screen, because the scanner (that is what we use for …

Member Avatar for cjmartin
0
111
Member Avatar for kmh72756

I believe that my questions are all going to revolve around the internal workings of DataGridView. While this is specifically written in VB.Net, it is definitely a general Visual Studio object question generically related to anyone working with .Net. I've been trying to find a forum where I can get …

Member Avatar for kmh72756
0
919
Member Avatar for frodo_man

Hi everyone, I just developed an application using C# and looking forward to having your comments about it. It's a calculator based on text expression and custom functions which is named Xmart Calculator. For more details please visit [url]http://www.xmartcalc.com[/url]. This is my first on-my-own project and it really costs me …

Member Avatar for frodo_man
0
79
Member Avatar for niche1

$ct is my array: array(4) { ["a"]=> int(1) ["b"]=> int(2) ["z"]=> int(2) ["c"]=> int(1) } I need to put it in a two column database where "item" is col1 and "count" is col2 where the first row has an "a" in col1 and 1 in col2, 2nd row has a …

Member Avatar for niche1
0
62
Member Avatar for tjohnson13

Hello! I have been searching for a good solution all morning but can't seem to get one! I'm trying to create a form that sends to a different set of email addresses based on what is selected in a drop down menu. While I can make this happen, I need …

Member Avatar for diafol
0
104
Member Avatar for Twinzen

I'm having trouble with using a multiset of my own data structure. It seems to complain about my comparison (less than) function when I try to iterate, but it works at some level because I can insert() stuff and call functions from the first member of the multiset. If anyone …

Member Avatar for Twinzen
0
141
Member Avatar for jianwu_chen

I'm trying to put some text which will confuse HTML parser inside the CDATA section for javascript to access. But seems it won't work in both firefox and Internet Explorer. In Firefix, it will treat it as comment, it's still possible to remove the <!-- and --> go get back …

Member Avatar for julesmanson
0
1K
Member Avatar for MichaelWClark

I have just developed my first 'large' application in ASP.net. I have developed many smaller web pages and sites and never really had this issue. In VS everything looks crisp and clean and is layed out perfect via CSS. After uploading the code to my server all my alignments are …

Member Avatar for MichaelWClark
0
98
Member Avatar for NewOrder

[CODE]import java.io.*; class DecToHex { public static void main(String[] args) { Console console=System.console(); System.out.println("Please enter a decimal number"); String input; input=console.readLine(); int dec; dec=Integer.parseInt(input); String hex=""; int remainder; String hexChars="0123456789abcdef"; if(dec==0) hex="0"; while(dec!=0) { remainder=dec%16; hex=hexChars.charAt(remainder)+hex; dec/=16; // what does that mean? } System.out.println(hex); } }[/CODE] what does dec/=16 in …

Member Avatar for NewOrder
0
115
Member Avatar for ktimov1

I created a stored procedure in SQL which will accept parameters from a vb.net textbox. I want it to output the count of records. stored proc: [CODE] USE [Traffic] GO /****** Object: StoredProcedure [CENTRAL\TIMOVKP].[spReturnValue] Script Date: 08/02/2010 08:57:13 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [CENTRAL\TIMOVKP].[spReturnValue] …

Member Avatar for Coder Smurf
0
116
Member Avatar for ironmancpp

Hi I am learning c++ at school. I am supposed to submit a project this year end. I would like to create an offline mail server using c++; something in which you can create an account and read & send messages to other existing accounts in the same computer. Once …

Member Avatar for Ancient Dragon
0
208

The End.