199,114 Archived Topics
Remove Filter ![]() | |
If there is a thread related to this one please reply back the url, thx What i have is Parent form that is the owner of multiple child forms, im having trouble trying to display the form, it flashes and then disappears Code: PrivateSub spawnNewChild(ByVal Name AsString, ByVal IP AsString, … | |
Does anyone know if it is possible to place a .swf within a dhtml dropdown. For instance, On click drop down and externally load an swf within the dropdown. Any feedback would be great. Thanks | |
Hi there. Can anyone recognize a problem with this code? The page is not working and I can't figure it out. print "Content-Type: text/html\n\n"; print "<html>\n"; print "<body>\n"; print ("<br><H1>Welcome $0</H1><br>\n"); $sth=$dbh->prepare("update breeder set breed = '$p1', breeder_name = '$p2', county = '$p3', phone = '$p4' where id = '$p0'"); … | |
Aight ppl i am in search of a script which will be helping in my work alot. i need a script, which can read one file and detect changes in it. eg: like i want to track the gain/loss of castles in a game. Rank Name Castle Land Kingdom Strength … | |
Hey does anyone know of a way to crop images automatically while still focusing on the subject in the photo? I have a gallery of pictures and I would like to make all the thumbnails square shaped, just thought maybe someone knows if there is such a thing as smart … | |
Hi, I'm new to php, I want to know what's the better time to use POST instead of GET(or GET instead of POST)? what's the advantage to use one rather than other. Thanks. ![]() | |
Hi, Perhaps this thread does not bellong in the PHP forum, but since I'm working with PHP/Apache I'll try here first. I have setup subdomains on my site and realized that links are not relative to the wwwroot, but relative to subdomain root, I was wondering if anyone knows of … | |
Hey, im trying to make a PHP Login box for a program that i am making for my A Level project however, im new with PHP so dont really know much about the code :( lol. this is what i have so far <html> <body> <?php $username = "Admin"; $password … | |
I have just started doing a little C programming and, looking here and there, I have noticed a lot of people prefers to use <iostream.h> library (and related commands "cout" and "cin") instead of using <stdio.h> library (and related commands "printf" and "scanf") What are the advantages and/or disadvantages (if … | |
I would like some help regarding multithreading... i want to know what exactly happens when i start a new thread... i.e how it affects the variables etc. in the program... one query i have is what happens if i start 2 threads starting with the same function.. will their running … | |
Ok I have done this program where there are 2 buttons, one to enter price and one to calc average, so the user enters an randome amount and click the enter price button then user can keep entering more and then click calc average button to get average, but problem … | |
if the token is separated by character like ':' or '|' how can you use sstream to tokenize it? << moderator edit: split thread from [thread=27724]here[/thread] >> | |
I am using javascript to display a dropdown menu on an html page. This menu lists 48 states and is used to calculate shipping costs to each state. I have an onChange() event in the <select> tag that sends the selected state to another function to figure up the shipping … | |
Hi guys I have a a text box that is initialized with some value, let's say "William". When I run the program, the text box shows "William" of course, but what I want to do is to type something else, let's say "Vincent" and set this value as the default … | |
I have been working on some python code with a friend and for some reason i keep getting this message when i try to run his code, if ar[2]!="client": IndexError: list index out of range I can't see whats wrong and i have never had this message come up before?? | |
May please one of you explain me what the hell are these sucking error messages and how can they be fixed that the sucking DevCPP compiler generates out for no reason which I have been trying to solve for two entire days? [Linker error] undefined reference to `wglCreateContext@4' [Linker error] … | |
Hello all! Ok here's my problem: I have a Hello World type program that I want to run in steps, and each step is in a new window. When a "next" button is pressed the old window terminates and a new one is created. Now I don't know much about … | |
I found this book extremely useful in learning and using php, mysql and apache together. it's great | |
Hi , I have a function as : function doCheck(str1,str2) { top.LocalCacheLoadStatus = false; parent.SearchFrame.location.href=str1; g_str_Mode = str2; alert (g_str_Mode); } This has str1 as the name of the jsp file and str2 is the value which i have to pass to the jsp file given in str1.How do i … | |
I've created an html form that allows the user to login, or register. Here is what I've thought about(just for the registration page, not login): HTML FORM --> servlet ---> servlet calls java class that verifys the data, and shoves it into the database... ----> Makes a few tests --- … | |
Think of typing a password. You type your password but what you see is merely a asterisk sign. If you use `getch()`, no problem! Put the problem is that I can't use the getch. See the code: struct Func { char password[9]; char name[34]; char code[8]; }element; do{ gotoxy(21,6); printf("****************************************"); … | |
hey guys i have a problem :S I'm making a site and now im trying to fix the menu, its a rollover menu and it should drop down...it works perfectly now probs there. but the problem now is that i want the menu in a frame. But then the dropdown … | |
Ok, I've only been working with Python for something like 4 days now and I'm stuck trying to do a certain thing in Tkinter. Now, just to get you into the situation here. I've created a little program that has an entry bar and a go button. It says for … | |
I have heard that it is possible to compile python so that people reciving the script don't need to worry about going to the python website and downloading it. One more thing if you tell me to run something from the prompt I can't for the life of me run … | |
Hello there, i am new at C++ and i would like to learn a few thing if you could help me. I would like to learn how to load sounds on C++. I mean having the sound file on my computer and input it on the exe program i create … | |
Hi, This is one of those dumb newbie questions, I'm afraid. I'm trying to learn Servlets/JSP by making a small application that allows you to register yourself as a user. I'm using the latest tomcat version for this, and I'm using a linux environment. For some reason, when I try … | |
hi all have spent a lot of time recently trying to get the attatched programe to run. decided to start from scratch,went through the tutorial for vb6 on main page of functionx , tried a few examples and all are ok,except where i had put in code incorrectly. but this … | |
Hi all! I am getting compile errors when it is Linking. --------------------Configuration: CIRCLE - Win32 Debug-------------------- Compiling... circle.cpp Linking... LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16 Debug/CIRCLE.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. CIRCLE.exe - 2 error(s), 0 warning(s) [code]# include <iostream.h> class CCircle { … | |
i tried this #include <fstream> #include <iostream> #include <cstdlib> using namespace std; int main() { // Declare input stream ifstream fin; int min, max, val; int isFirst = true; fin.open("inFile.txt"); fin >> isFirst; min = isFirst; max = isFirst; while (fin >> val) { fin >> val; if (val < … | |
This problem is especially annoying because it works on my computer. I think it has something to do with this computer being the one that it was compiled on... Anyways, here's the page: [url]http://hp-h.com/p/gzero14/java/HydraSWApplet.shtml[/url] Since I used basically the same html for some other applet and that one works, I … | |
Hello All, I am confused between MIS, SE and CS courses at graduate level (Masters) I know that they are fundamentally different and have absolutely different purpose. My dilemma is which one should I choose? I have done my undergraduation in Information Technology (India) and currently working in a software … | |
[CODE] string s; getline(ifile, s, '\n'); stringstream parser(s); string temp; while(parser>>temp) variables.push_back(temp); getline(ifile, s, '\n'); while(parser>>temp) terminals.push_back(temp);//Doesn't work the second time. [/CODE] stringstream can tokenize the string s only for the first time. The string s is passed to it through the constructor. How can reinitialize the stringstream object? | |
I need to have my code modified, but am unsure how to write the code to do it. After the ID and name are poped from the stack, I need the program to automatically display the list created i.e. I don't want to use display as an option. I think … | |
I get very large binary print files that need to be sent directly to the Windows spooler. If the file is less than 2GB, I get LOF (or FileLen) and divide that by a defined buffer size. A segment of the input file is read into the buffer and then … | |
Below is my new code for this julian day program. I have fixed some of the errors I mentioned earlier. However, the day is still one short for the julian day and my conditional if statement seems to be the problem. I have tried a couple of ways to fix … | |
Could someone please tell me how to hyperlink to a page? Say if I had a combobox and the user selected an item, how could I hyperlink to a page? | |
I am pretty much done a shell program I have to write for my operating systems class. The only problem is that I can't seem to figure out how to make this function work. It is supposed to separate out a list of tryable paths that is from the getenv("PATH") … | |
hey all, i've worked with sql server 2000 before and configured the odbc driver to connect to it, using tcp/ip, named pipes, sql admin (sa), and so on....now we're starting to get involved with mysql and are trying to configure myodbc to talk to mysql so queries and tables and … | |
Hi All, I am working on an assignment for this week, and once again could use your help in understanding concept. Basically, a company pays their salespeople on a commision basis, I need to write a program that uses a single-subscripted array to decide how many people are getting paid … | |
With school out and summer in full swing I decided to learn C++ in order to keep myself busy. I've been playing around and learning a lot. So far I've been able to make a program that solves quadratic equations! Alas, I've encountered a problem I can't figure out for … | |
i am programming in Microsoft Visual c++ 6.0 and I have two linking errors that I do not know what they mean. Can someone please help. Linking... LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16 Debug/Programming Project 1.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. | |
Dear Friends i want help about the Simulate a Linux/UNIX shell, called MASH (for MiniAture SHell) in the C. plz read the the my problem and send the best solution of my problem as soon as possible. Objectives: After the completion of this assignment you’ll be able to: Simulate a … | |
Hi all First thing is that i am new to php and i could get stuck on one semicolen. OK here is the code that i have problem with and the problem is that results given to both the query are same for some reason and i cant figure it … | |
Hi there, I was trying to get a script working that will fire me an email when my database cannot be connected to. This is what I have and I'm wondering if it looks right to you php experts. :) $conn = mysql_connect ($server,$user,$pass) or die(mail("$SendToEmail", "$yoursubject", $emailtext . mysql_error(), … | |
hi im a newbie in asp.net(learn 2 days ago) n still havent fully grasp the concept of asp.net yet. I ran into some problems here but i dunno what is it. i've tried looking at the other post but could not really find the error in mine .Can you please … | |
Hi all, I am trying to malloc some memory and then pass the address of the first array into another function however I keep getting the same error (see thread name). [CODE]Error:error C2664: cannot convert parameter 1 from 'float **__w64 ' to 'float *[/CODE] Here is a short version of … | |
please someone give me some idea to write this program Write a C++ program that has class 1) math Math class has only one data member number and member function display that will display the data member number. Write the constructor of your math class that will initialize the data … | |
Hey guys: Can anyone please help me. I am having problems with this program and nned help understanding this. here is the code and the problem. Thanks. =========Mr. President============ Use a text editor such as Notepad to create a text file that contains several integers. The first integer in the … | |
I am just looking to tidy the output form echo '<body bgcolor="#FFFFFF" text="#000000"></body>'; echo("Ping Output:<br>"); echo "<pre>"; $i = "11"; //check target IP or domain system("ping -n 1 192.168.2.$i"); echo "</pre>"; I am just looking for somthing like this Reply from 192.168.2.11: bytes=32 time<10ms TTL=128 With nothing else. |
The End.