199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jaymeaux77

Hi, I am working on a small program that converts English to Morse code and back into English. The input is read from a file specified by the user no matter which way the conversion is going. I figured out the english to morse conversion pretty easily, by just reading …

Member Avatar for jephthah
0
267
Member Avatar for sting23

I need to put time and date in the script, anyone please help[code]1. questions <?php $qid = "Quiz ID-00"; ?> <html> <head> <title><? echo "Gamers Pub $qid"; ?></title> </head> <body> <p><h3><? echo "SiteName $qid"; ?></h3></p> <form action="/forums/results.php" method="post"> <p>Username: <input type="text" name="name"></p> <p>1.) Question number one is?<br> <input type="radio" name="q1" …

Member Avatar for boomop
0
250
Member Avatar for rahul8590

Well i got some weird problem here . We have a web team and we disributed our work equally , where i mainly created the web application in php and i am glad its working file . But for simplicity purpose i used basic html tags and created the web …

Member Avatar for rahul8590
0
97
Member Avatar for ms_sws

I've used the following code to open Excel. It works but generates a browser error warning the visitor that the web page is trying to run an add-on with an unknown name, and control with an unknown name. Is there a better way to open Excel (read only) in order …

Member Avatar for ms_sws
0
216
Member Avatar for harry010

Hi, I'm currently working on a script that parses out function keys in a string of text. I've got this code which works, but was just looking for ideas on how to improve it :) I would have liked to use regex, but I would need to do variable substitution …

Member Avatar for harry010
0
86
Member Avatar for 2koolguy

Define a base class person that will contain universal information, including name, address, birth date, gender and identification (student, worker etc). Derive from this class the following classes: Student Worker Student_worker Write a program that asks user to input information (student, worker etc) and creates a list of persons. Give …

Member Avatar for 2koolguy
0
202
Member Avatar for micka10

Hi, I'm trying to capture an audio stream from Axis IP camera. The audio data encoded as g.711 should be captured from the camera. I'm using the following http request: [code] Stream roughStream = null; string URLaudio = "http://5.123.220.228/axis-cgi/audio/receive.cgi?httptype=singlepart"; request = (HttpWebRequest)HttpWebRequest.Create(URLaudio); request.Credentials = new NetworkCredential("admin", "password"); request.Method = "GET"; …

Member Avatar for micka10
0
757
Member Avatar for Dwarrel

Hi, i'm trying to learn some assembly, ive got a assignment from school to control a lcd screen. I've got some sample code that i mostly understand but i can't figure out what the SBI command does. Using atmega32, with avr studio 4 [CODE]sbi PortD, LCD_E[/CODE] At this point PortD …

Member Avatar for Dwarrel
0
3K
Member Avatar for twentytwotwo

I have a vb.net project which i have inserted pictures and video. I inserted a video clip using the Windows Media Player control and it does work. The issue i have is that i can't move the program to another computer because the pathname for the video will be wrong. …

Member Avatar for twentytwotwo
0
123
Member Avatar for digitalsindhx

Friends I m working with RowFilter, its working good with String Data, and like statements, specially its Autometed functuallity with string data is good, just like in follwing code (it is written in Textbox "txtSearch"s TextChanged Event) [CODE] Private Sub txtSearch_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtSearch.TextChanged …

Member Avatar for Oxiegen
0
1K
Member Avatar for ardn0001

Hi, Im new in this forums looking for an answer for my problem, I find a similar post here so I decided to suscribe here because this website look very professional. I had the following code: [CODE=java]public class Gen { public static void main(String[] args){ args = new String[6]; args[0]="0101"; …

Member Avatar for ardn0001
0
188
Member Avatar for vathsala1

Hey ppl, I'm doing a project which needs serial communication. I'm sending and receiving data from a PIC through the serial port. I'm using Windows XP and dev cpp. I'm succesfully sending data by my program to the PIC. I'm using inpout32.dll file to access serial port because windows dosen't …

Member Avatar for jephthah
0
244
Member Avatar for albertkao

I want to keep the value of the user input (e.g. text box value) displayed after page refresh by a javascript. The following test web page is used. The alerts appear before and after the page refresh as expected on all browsers (FF, Chrome, Opera & IE). The input value …

Member Avatar for albertkao
0
163
Member Avatar for Divyab

hey plzz help... i'm encountering many errors in dis code segment.. plz try n remove d errors asap... n tell me how to generate a database in C++[code]/* ----------------------------------------------------------------------------- -------------- PROGRAM TO IMPLEMENT THE PAYROLL OF EMPLOYEES ---------------- ----------------------------------------------------------------------------- */ #include<fstream.h> #include<fstream.h> #include<conio.h> #include<stdio.h> #include<stdlib.h> #include<string.h> #define MAX 50 // …

Member Avatar for LevyDee
0
154
Member Avatar for Bugz

I'm a long time C programmer, but I'm only starting to learn C#, so forgive me if this is question that should be intuitively obvious. In C, I dislike 'magic numbers' in code, such as this: [CODE] var_name = 1234; /* what is the significance of this value??? */ [/CODE] …

Member Avatar for Bugz
0
215
Member Avatar for PDB1982

I can run the code fine without the Option Strict on, but once it's turned on, I run in to a "Option Strict On Disallows Late Binding"...why!?! I can't figure out how to fix it.... [code] 'Option Strict On' Public Class StateFinderForm Private Sub FullStateNameRadio_CheckedChanged(ByVal sender As System.Object, ByVal e …

Member Avatar for PDB1982
0
136
Member Avatar for Suicidal_tool

Just struggling through my SQL coursework, and already fallen over the first stubling block :( My case study tells me that i need to put a foreign key from my centre table (parent) to my salesman table (child) on a 1-1 relationship. Trying to add my foreign key, which is …

Member Avatar for Suicidal_tool
0
134
Member Avatar for BC3

Ok, lets see if I can expain better, unfortunately I am somewhat of a beginner. I am using Microsoft office access 2007, using Microsoft Vista, and visual studio 2008. I am writting a program that uses a GUI to show and change a Access data base. When I first tried …

Member Avatar for BC3
0
162
Member Avatar for toko

I have found that using the Bring to front & Send to Back functions on controls created at runtime does not work. Does anyone know a way to solve this problem? any help would be appriciated.

Member Avatar for jmosquera1987
0
1K
Member Avatar for bradleykirby

Hi, new to Perl. Learning regular expressions. Im trying to validate a form field using regular expressions. Field criteria is: - Begin with a letter - 4-8 characters long - must include at least 1 digit So far Ive got: [code] $fieldValid=$username=~/^\D\w{3,7}\d+/; [/code] I read this as "beginning with any …

Member Avatar for peter_budo
0
350
Member Avatar for amby

Hi, In my code behind file, I called Soap web reference and retreive data and diplay in grid view and it worked. But when I convert retreived data to Json text and send back to java script and on client side, convert json text to java script object and when …

Member Avatar for Airshow
0
192
Member Avatar for RogerI

Short version: How can I provide a GUI over the web to a user to allow them to select a file from a directory on the server? Explanation: I need to process data files stored on the server and generate some graphs of the results. I have (as my first …

0
104
Member Avatar for Chelp261

I have a program which is as follows: We'll extend the Search and Rescue Simulator. You will implement a class to represent the location of a person, and add searchers to the simulation. A Person class that will be used to represent both the missing person and the searchers, details …

0
106
Member Avatar for Juicy5ursoul

This is what I have to do and I am so confused I do not even know what to do. Please help. Thank you Write a program that generates an Employee Payroll Report. The input for the program consists of a collection of data containing the last name, hourly pay …

Member Avatar for Juicy5ursoul
0
144
Member Avatar for Mestika

Hi everyone, I'm currently working on a assignment and have to write a short (max 3 lines) definition on some different kinds of queries. I've written a definition to all of them but I'm having a really hard time about one particular query: Scan Query. I've tried to look in …

Member Avatar for Mestika
0
153
Member Avatar for kmackmac

Hi, I have a form that allows the uploading of an mp3 file to a directory on the server. Which works fine. Then all the form contents are emailed, including the attached mp3. Issue is the mp3 is opening in the body of the email (not attached) and is in …

Member Avatar for almostbob
0
91
Member Avatar for gajen007

I have confused to use Java Native Interface with dll file (by c++).. To get the squired value of a number which will be given by user... this is my class file...which also should be converted as header file for c++ file (dll file preparing...) import java.io.IOException; class First { …

Member Avatar for Freaky_Chris
0
151
Member Avatar for Lumin0us

Hey everyone, I want my code to generate a color like it would generate in a C# application. For example Light Green versus Standard Green : [url]http://img694.imageshack.us/img694/3233/colore.jpg[/url] [CODE] #include <iostream> #include <Windows.h> using namespace std; void initColor(int); int main() { initColor(2); cout << "===== INITIALISATION =====" << endl; initColor(7); return …

Member Avatar for Lumin0us
0
116
Member Avatar for b.bob

Hi, I would like to understand how arguments work in C++ functions. I have this: HRESULT PCSys::CheckActNode(WCHAR *iNod, ULONG iSeq, ULONG *ioHiber) I don't understand it. what is the difference between the input argument and the output argument and the inputoutput (3rd argument). How can we differentiate between them and …

Member Avatar for Ancient Dragon
0
4K
Member Avatar for Omar123

Hello, I'm working on a project where I have in a form 5 to 10 buttons, everything manually added (from code) and I need to see which button was clicked on. [CODE]Button Remove = new Button(); Remove.Name = i.ToString(); Remove.Text = "Remove"; Remove.Click += new EventHandler(Remove_Clicked()); i++; void Remove_Clicked(object sender, …

Member Avatar for Sodabread
0
204
Member Avatar for samrin

here is my code but i need to get output if my Sample input: 3 Sample output * *** ***** *** * will must look like this! now can anyone please help me with this .. [code=java]public class p2.java{ public static void main (String args[]){ int x; SimpleInput sInp = …

Member Avatar for javaAddict
0
171
Member Avatar for walmsles

I have an issue with my access database when creating a simple insert form on visual. When i load the form into the browers and add the data, it says it has worked but when i look in the database the information has not been added. can anyone help?

Member Avatar for walmsles
0
80
Member Avatar for vamsi51

how to go about tis program [CODE]int array[26] for(i=0;i<=25;i++) { array[i]=`A`+i; printf("\n %d %c "array[i],array[i][/CODE]

Member Avatar for Ancient Dragon
0
91
Member Avatar for Robert1995

Hello , I have tried several ideas , times and ways to do this but all fail on the site's test , could any1 give me an idea or something [URL="http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=98&page=show_problem&problem=1415"]Problem[/URL] [CODE] #include <iostream> using namespace std; long int q,n,i,point,casenr; long int marbles[10000]; int main (){ while(1==1){ cin>>n>>q;casenr++; if(n==0 && …

Member Avatar for Robert1995
0
129
Member Avatar for vbx_wx

Hi all,i am using function COpyFile() to copy a file to windows directory,but the function return error code 5: [CODE] char win_path[MAX_PATH]; char reg[MAX_PATH]; GetModuleFileName(NULL , reg ,MAX_PATH); GetWindowsDirectory(win_path , MAX_PATH); bool x = CopyFile(reg , win_path , true); if(!x) cout << GetLastError() << endl; [/CODE]

Member Avatar for vbx_wx
0
116
Member Avatar for Tcll

I'd like to know how to program a hex editor in python, using just tk with the main installation. (no add ons like wx or any others) if anyone can help, this would be gladly appreciated. I'm not really "good" at python yet, so please try to be detailed. (not …

Member Avatar for Tcll
0
1K
Member Avatar for Tcll

as well as my last thread (hex editor) I need help knowing how to program a 3d model viewer that reads obj format, and supports texturing... unlike the hex editor, I have some code if you want to play around with it... you must set everything manually before you run …

Member Avatar for Tcll
0
202
Member Avatar for yaoc1987

1>c:\documents and settings\joe\desktop\spring 2010\csc 212\hw\hw #5\rec_fun_test.cpp(25) : error C2065: 'outs' : undeclared identifier i keep getting this from one of my codes it is from a prototype void binary_print(ostream& outs, unsigned int n); is there a #include needed for that or something???? please help!!!

Member Avatar for vbx_wx
0
138
Member Avatar for hawksury

Hi, I actually want to copy the contents of all files that is in a particular directory into a new directory.The new files should be of a specific size (2MB)and each with a new name (randomly assigned). My Current Code looks, testdir = "K:/test" # Iterating over each entry Dir.entries(testdir).each …

Member Avatar for hawksury
0
141
Member Avatar for bjice

Hey i'm writing my own first full website with PHP and MySQL and i've come to a problem. I know i need to optimalize it with some fewer echo's and more elses, but this is what i have now and apart from the problem, it works. On the site at …

Member Avatar for bjice
0
385
Member Avatar for des6043

[CODE]#include <iostream.h> #include <conio.h> int main() create s push (s, '#'); while (not end of infix input) { ch = get char; if (ch is an operand) add ch to postfix expression; if (ch is a '(') push (s, ch); if (ch is a ')') { pop (s); while (ch …

Member Avatar for des6043
0
99
Member Avatar for jjrrmm

hi so for my project we were asked to ask the user to input a width and height for the dimensions of turtle screen. i asked for a user input then split it, and put in into a list then converted the two separate numbers into integers. so for example …

Member Avatar for vegaseat
0
179
Member Avatar for kjock002

[CODE]# PURPOSE: to see if a user entered number (n) is prime or not prime # # INPUT(S): a number greater than 2. (n>2) # # OUTPUT(S): prime or not prime depending on what (n) is. # # EXAMPLES:input: ;output: # input: ;output: ################################################################################ import math def prime(n): for i …

Member Avatar for vegaseat
0
185
Member Avatar for gregarion

Hey guys , i would like to ask some question regarding checking if a string is all integer. First off, i wrote a program to check if the value i enter contains strings. [CODE]string str; int n = 0 ; cout << "Enter the letter please "<< endl; cin >> …

Member Avatar for Robert1995
0
182
Member Avatar for MarcusMaximus

We have an internal custom program in-house for CRM and we export all email address weekly for a mailer to another external program on our web server. We currently receive emails and manually unsubscribe people from our email database weekly as they come in. I would like to write a …

Member Avatar for MarcusMaximus
0
81
Member Avatar for PierlucSS

I am running xhtml-strict report on a bunch of pages and each time I find a page on a specific page I save it. I need to really look over all the page but what happens is that sometimes the XmlReader is failling but I cannot go on and check …

Member Avatar for PierlucSS
0
248
Member Avatar for jackl007

Hi! I have a program that use a data base for save information about store products, all is OK, but the problem starts when i protect the DB with a password. I put the password in this way: [CODE]Usar una contraseƱa para cifrar una base de datos de Office Access …

Member Avatar for jackl007
0
149
Member Avatar for Lee21

Guyz I need help.. I'm a newbie in vb.net 2008..I have a form for User Account Maintenance and I want to transfer the Data of the specified Cell of the Datagridview once it's selected by clicking the mouse. How can I transfer it to textbox? Please help me.

Member Avatar for Lee21
0
460
Member Avatar for ameyanatu

I have just completed my vb.net application with ms-access as back end. Then i deploy and create it's setup. In my pc IT's Running very good. But when i copy my setup and installed on another pc it won't work... I know that it;s need .net framework. Actually The problem …

Member Avatar for ameyanatu
0
102
Member Avatar for ameyanatu

Hello Friends I am newbie To Vb.net. i am building an vb.net 2005 application with ms-access 2000 as back end for practice. i just want to know that suppose user entering new data to the database if this record already exist then user should know that how can i do …

Member Avatar for ameyanatu
0
114

The End.