199,114 Archived Topics
Remove Filter ![]() | |
Hello, I've a question: is it possible to pass a variable from perl script to HTML form. I want this variable $ztable value to be send to this form. <input name="dirname" size=15> its post method form. Thank you in advance. | |
I have a program that is designed to read in a line of text and ouptut the number of words in the line and the number of occurrences of each letter. A word is defined as any string of letters that is delimted at each end by either whitespace, a … | |
i tried to run this program but it comes up with the windows 6th grade algebra quiz has encuontered a problem and has to close message can anyone help? here is the code: [CODE]#include <fstream> #include <cstdlib> #include <iostream> #include <stdlib.h> #include <time.h> #include <string> #include <conio.h> using namespace std; … | |
Hey there i am just starting programming in vb and what i need is 1. to be able to print what day it is monday, tuesday, wed.. etc in a text box just the code for this is what i need. 2. want to have the time in another box … | |
Hi, Using visual basic how I can simulate circuits and TCP packets in different proportions i.e circuits and TCP packets in different rates? Any idea or suggestions Thanks, | |
I wish to if someone types something in a textbox that it shows up in a label..but on another form...so say in the textbox i type in "Sharpy" then "Sharpy" shows up on another form. | |
Im trying to make a basic web browser with VB6, here is what i have: [CODE] Private Sub cmdback_Click() On Error Resume Next WebBrowser1.GoBack End Sub Private Sub cmdForward_Click() On Error Resume Next WebBrowser1.GoForward End Sub Private Sub cmdgo_Click() WebBrowser1.Navigate (txturl.Text) End Sub Private Sub cmdRefresh_Click() On Error Resume Next … | |
hi all im writing a function for rectangle where it takes a rectangle and return a rectangle (same top-left vertex) but reduces the width and height by a,b respectively..... i have done this [CODE]public int shrink(int a, int b) { return (this.width -= a)&&(this.height -= b); } [/CODE] but i … | |
how to create inventory system using VB.i want coding also for that would u plz explain me.at the ealiest | |
I want to return an XML stream from a SQL 2000 database using a URL query. I have been trying to get a simple M$ Northwind example to work on a Windows 2003 server but I can't get it to work. I can get the simple example to work on … | |
Ok I have a list box and a label...I wish to do the following. I want to click on a object in the list box and I want information from a .txt file to show up in the label, I need different information for each object in the list box … | |
Please help me. I'm trying to download java and I keep getting a message that says "Error 1311 source file not found. C:\Documents and Settings\owner\local settings\content. IE5\kxabstqz\ja150000[1].cab". I have no clue what it means and when I called gateway they told me that the instructions to fix it would be … | |
Is there a way to get the day of the week when supplied with a date? usign the date() function ie how do i find out what day of the week it is e.g. Monday, Tuesday, Wednesday, Thursday, etc ? | |
How can I fine a name in a table and compare it? If the name is in the table, continue with FORWARD. Else, then write information to a different table. Approver is a name in the record that is doing the work. I wanted to see if this person is … | |
[Somehow I posted this Friday in the VB456 forum...sheesh, you'd think after 15 years of foruming, I'd do better than THAT... well, let's try again here.] I confess that I'm very very rusty with this. Years ago I programmed a QB45 app for a client, and have never done anything … | |
hi ive just found this forum site and thought maybe just maybe someone may help me. here goes im trying to create a card came in vb and in doing this i am wanting to have random statements in my game i have done the random statements and they are … | |
how can i put the text i added to database to the combo menu i have in another form?! :confused: | |
Hi, I get a segfault when I try to instantiate a class I wrote. I don't know what the problem is here. The constructor is never entered. Details: [code] /* Connection.h: */ class Stream { private: ACE_Message_Queue<CONNECTION_SYNCH> *serverq; Provider *provider; ACE_Event_Handler *serverp; public: Stream(ACE_Message_Queue<CONNECTION_SYNCH>*, Provider*, ACE_Event_Handler*); ULONG send(char*, size_t); ULONG … | |
I keep getting a core dump (bus error) on my program. I suspect it has something to do with the amount of data I am storing in a map<string,string> The program crashes however when it is done processing and is actually destructing. Before I post any code, I was wondering … | |
I have a strange number input problem. I am scanning in numbers from a file, like so: [CODE] While(bla){ double temp; minmaxFS >> temp; //do crap } [/CODE] And it works fine until it reaches a number like: 8e-05 (A non-decimal exponential number). Then, it just hangs up and scans … | |
![]() | hello everoyne, I am nu 2 this so pleaz b kind. I need 2 make a program which does the factorial. But i not no how to do this. It is urgent so if you could help me i would be greatfull. God bless. i have this so far. [code]#include<iostream.h> … |
i'm new to c++, i was wondering if somebody could clarify something for me about encapsulation, for example if you have 2 classes [code]class Music { private: int a; public: int b(); int C(); }; class Record: public Music { private: char c; int a; float b(); protected: int d(); … | |
hi I have a problem with this source code [code] #fi, fo = os.popen2('c:/python24/python.exe C:/AppServ/webserver/www/index.pyw') #fi, fo = os.popen2('c:/Perl/bin/perl.exe C:/AppServ/webserver/www/wwwp.pl') fi, fo = os.popen2('c:/appserv/php/php.exe C:/AppServ/webserver/www/wphp.php') data = self.rfile.read(nbytes) fi.write(data) fi.close() shutil.copyfileobj(fo, self.wfile) sts = fo.close() [/code] when I try with python or perl it works but with php not. first … | |
hi all, im trying to find out how i can move a file to another location in c++. Is there any kind of function or way i could do this. Ive seen before someone using the system() function to use command prompt style commands like system("cmd,command"); or something like that … | |
Hi I have successfully installed the vbulletin 3.0.7 forum on my server. Now I am trying to import my phpbb database into the forum using Impex. I get the following error when I choose phpBB2 in the dropdown box and continue: [CODE]Warning: build_module_list(./impex/systems/phpBB2/_notes): failed to open stream: Success in /impex/ImpExSession.php … | |
hi :) i have problem with opening ".py" files in my web server this is the source code: [code] import string,cgi,time from os import curdir, sep from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer class MyHandler(BaseHTTPRequestHandler): def do_GET(self): try: if self.path.endswith(".html"): f = open(curdir + sep + self.path) #self.path /index.html self.send_response(200) self.send_header('Content-type', 'text/html') … | |
Hi i have c++ as a class and decided to do a tic-tac-toe for fun at home. Um I've only been in it for a week. anyways here is the coding so far: [CODE] #include <iostream.h> #include <string.h> #include <math.h> #include <iomanip.h> #include <conio.h> #include <stdio.h> main() { char a1='-'; … | |
hi im using MS access database to keep my data and using visual studio .net 2003 to design forms... i want to know how to retrieve data from access to my forms in visual studio .net.. what codes must i write in visual studio .net or must i use some … | |
Hello... Any idea how to write this in C++ code.... A parking garage chages a $2.00 minimum fee to park up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour … | |
Hello, I've just read thread why I should lear python and I must admit that I'm very interestwed to learn oppython myself. i have experience with C and C++ programming language. If I understood corectly Python is an interpreted language. What is advantage of interepreted languages (if there are any)? … | |
I know that you might get mad at me for posting this here, but I CAN'T seem to get anyone's help elsewhere. I installed a simple attachment mod for a phpbb forum, and it's done something...I get these three errors: Warning: Cannot modify header information - headers already sent by … | |
Hi, I am struggling with c++ linking problem in Linux... The C++ code has MATLAB engine inside, and it has no problem when compiling under Windows(same MATLAB version, MATLAB 6.5R13), but it can not be compiled with Linux, I always get the following error: [code]/usr/bin/ld: warning: libstdc++-libc6.1-2.so.3, needed by /s2bin/matlabR13/bin/glnx86/libmx.so, … | |
Hi, can anybody out there tell me how to set up a datasource in the cfadmin and use the datasource attribute instead of the connectstring attribute? I need to do this because it happens to be that my client for which i have developed a web based database for is … | |
Tell me how to use FindNextFile() in console | |
Hi I have created an array of random numbers but I need to stop duplicate numbers being added to the array so I have added the boolean 'fresh'. however, I somehow need to tell my 'fresh' to only check the number of elements added to the array so far and … | |
I am trying to iterate through a hashtable that i have populated with objects using the repeater control. For each iteration i wish to output the values of properties of the objects I am populating the hashtable with. For example: - [code] Class SomeClass { public String myProperty1 public String … | |
i need code that will allow me to restart shutdown or logoof the computer (saftley) | |
Could anyone confirm if for every algorithm running on some architecture M, there is an equivalent boolean function, and that the length of this boolean function is proportional to the runtime of the algorithm? Meaning that if A is a polynomial algorithm, then the corresponding boolean function f is also … | |
Hello there I'm a new member of this board. Can anyone explain me on some example what callback functions really do? I found one tutorial about function pointers where concept of callback function is introduced but I didn't find it suitable for understanding. Can anyone exaplain it in simple terms … | |
Sorry but i have alot of questions for you u guyes seem to be helpfull and friendly so i said why not let sort every question i got : If someone is using Sharp develop can you tell me how to put ActiveX in in it?How to close 2 form,and … | |
[FONT=Fixedsys]Hi it's me again, I want to know how to make a new directory containing my python script. Also, how do I make the new directory containing my python script into the current directory? Just for you to know, I installed the newest version of Python which is Python 2.4.1 … | |
Hi can anybody help me with this program? Thanks Write a program that reads a file with a record containing a user id number (SSN), a course number (2 letters and 3 numbers, e.g. IT303), a letter grade, and the number of credit hours. Using a case statement, determine the … | |
Hi there, i am looking for a random google search script, which i have seen several month ago on a site, i couldn`t remember. Its very simple just graps some words from a dictonary file and send it to google with a seach reply. Maybe someone knows where i can … | |
please explain in detail how computer work.in term of computer processing cycle.for example when we start compuer how comper parts(ram,processor,hard disk,busses,etc )perform task or work.and how windows work. ;) | |
If I have two templates that are mutually dependent, is there a way to declare one without defining it? | |
What I want to do is pass a function to a function. The function that is to receive a function is a recursive function. It is to call the passed function. I have a short (one page) example of this in my book but that is it and I can't … | |
Hi everyone, Please bear with me as i have a rather silly question. Lets say i have an object and i want to convert that object say a document or any other object to an array of bytes. Does anyone know how to do this? Any help is greatly appreciated … | |
hi could anyone please tell me in detail about the parameters to the main function argc and argv.please let me know as much as possible. | |
hi i need to make a homework helper for 3 equasions 3 unknowns that will ask me what the equasions are and calculate what the unknowns are i thoght i would ask what the first char was a number or a letter and if it was a number it would … |
The End.