199,114 Archived Topics
Remove Filter ![]() | |
my coding is working well in IE not in mozillafirefox <html> <head> <title></title> <script LANGUAGE="JavaScript"> function displayHTML(printContent, text2,textn) { var inf = printContent; var vt2=text2 var vlabels=textn var tablestring='' var lnstr=text2.length; var vrows=1.5 var vroundrows=1.25 var vprintstr='' var vvalue=document.forms[1].fname.selectedIndex; var vovalue=document.forms[1].fname.options[vvalue].value var vfsize=document.forms[2].fsize.selectedIndex; var vofsize=document.forms[2].fsize.options[vfsize].value var vlbl=document.forms[0].lsize.selectedIndex; var textsize=document.forms[0].lsize.options[vlbl].value if(inf.length>30) … | |
Bought webstore and using Lunarpages host, but cannot get past Parse errors in forum.php and forum_login.php to complete set up. Errors read: Parse error: parse error, unexpected T_LNUMBER, expecting ',' or ';' in /home/pagan4/public_html/forum_login.php on line 23, and Parse error: parse error, unexpected T_VARIABLE, expecting ',' or ';' in /home/pagan4/public_html/forum.php … | |
Hi, im having trobles with excel how I can chance the color of the text in a specific cell from vb?? any help?? | |
Hi All, I'm new to C++ and I have a C++ mortgage assignment due where a user inputs there mortgage amount, interest rate, and term of the loan and the program should give the user there monthly payment and also ask the user if they want to quit or enter … | |
[php] <?php session_name ('YourVisitID'); ini_set('session.use_cookies', 0); // Don't use cookies. session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <?php # Script 16.0 - login.php // Send NOTHING to the Web browser prior to the session_start() line! … | |
I was trying to echo the quotation " in a string, but I realized it wasn't going to work the way I thought it would, does anybody know how to do this? Thanks | |
If .. Or Switch. Which one is better? Are they used for different things? Any pros or cons for each? Or is it just a matter of which one you like best? :) | |
See, I am using the following PHP code to generate a PNG image file [CODE]<?php // create a 100*30 image $im = imagecreate(100, 30); // white background and blue text $bg = imagecolorallocate($im, 255, 255, 255); $textcolor = imagecolorallocate($im, 0, 0, 255); // write the string at the top left … | |
Hi, I am very new to PHP and i am getting an ... Parse error: parse error, unexpected T_STRING i have removed this bit of code and the page works perfectly. but i need this piece of code... <? display_dl_menu("Related Links", " - <a href=\"http://www.indiana.edu/~jshouse/purpose.html\" target=\"_blank\">Jill's House Website</a>"); ?> I … | |
Please help, can't seem to see where problem lies. I have placed session_start() at start of script, yet problem recurs. Will appreaciate suggestions. [php] <?php session_name ('YourVisitID'); ini_set('session.use_cookies', 0); // Don't use cookies. session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" … | |
Sir, I had mysql file ss.sql. Now I want upload the file in the Database. Is there any way to do the same. Kindly help me in the matter. Ashwin Perti | |
Hi All, I am extremley mad right now. I had a desktop machine and installed Win2k3 and put SQL server and IIS on it. It ran perfectly but just slow. So I managed to buy a new beast. It's really sweet and was in the process of migrating over. I … | |
hello!!! again i encounter a problem ......... I was wondering if anyone can point me in the right direction. What i am trying to do is create a volume dataset. I have been aiming to create a coloured cube and put a cylindrical object inside it (of a different colour). … | |
Hi, I'm new to 80x86 Assembler... My question is very simple one: how should i print number on screen? I used the following code to print ascii data: [code] mov ah,09h ;load code of print function lea dx, Var ;load address of variable to be printed int 21h ;DOS call … | |
Hi all, I have an interesting problem for which I already have a solution, but I have a feeling my solution is less than elegant. I need to create a Factory class which returns an instance of some child of class Foo. Which child is instantiated depends on the value … | |
Ladies and Gents, I am trying to write a function in my ever growing program to give me information on a selected folder. I actually only need the number of files in the folder so I can use that number in a loop. Is there a way to get the … | |
Hi, I will try to brief as I know some of you will probably see what im trying to do.. What I am trying to do is have the IP address of the machine compare its IP to the IP that is on the server. I am trying to get … | |
Here im working on this code and I cat quite get it to work I want it to take the entries from a form, check to see that they meet the criteria (pass must be 6 chars, must be 13 or older) and then insert them into a table in … | |
I am using a script that counts clicks on various links in the home page. The site is for the community channel of a cable TV company and the user can purchase ads or post an obituary or a weather related delay or calcellation. We want to add a count … | |
I spent my whole day but I could not solve the problem. I dont have much experience in Asp.net. Please help... DropDownList dont send selected value to the Sub DropDown_SelectedIndexChanged The Error Message is:[B]Exception Details: [/B]System.NullReferenceException: Object reference not set to an instance of an object.[B] [/B][B]Source Error:[/B] Line 38: … | |
hi,everyone my name uma,I use powerbuilder with mysql and have some problem.I have a table that have 2 primary key first a character and second a numeric.I create a datawindow that has 2 argument(primary key) for retrieve data.if second argument(numeric) has value more than 9 the datawindow can't retrieve data.I … | |
can anyone tell me the code for inorder traversal of binary tree non recursively and using a constant memory ...?? | |
[LIST=1] [*]I need to write a program in c that prompts the user to enter the scores for four quizzes each worth a maximum of 100 points. Your program should compute the average score and display this average together with a letter grade based on the following scale:[/LIST]90 - 100 … | |
Hi. Is it possible to add new rows and columns to the table layout panel at runtime? I want to create a table of text boxes, but I don't know how many rows or columns will be needed. Also, is it possible to add rows and/or columns at the click … | |
Hi all I am working on a bank reconciliation program and have a problem with data entry. For a readln (real) statement, if a character is entered, it crashes the program. Is there a way to test the input data to keep it from crashing the program? Also is there … | |
Is there any way to view or access javascript portions of a web page from the linux shell? For example, I use curl to pull a web page that has text and javascript. The javascript portion does not show up, just the filename as it is in the source. | |
Hello all: I want to compare two folders by script like this "diff -yr folder1 folder2",but I find there are two problems in the result which is not what I want,please help me. Problem One: If there are two line is different,and every line is too long, the result will … | |
can anyone explain me why the values are not swapped in the below code ?? main() { int *i,*j; *i=4000; *j=9000; f(i,j); printf(" %d %d",*i,*j); //output =4000 9000 } void f( int *a, int *b) { int *temp; temp=a; a=b; b=temp; } | |
Hi everyone, I seem to have in problem in adding columns and deleting colums in the JTable. When my program initializes there are five columns and six rows. I can append as many rows as i want and the column headers i have left to default which is (A, B, … | |
Hi, does anyone knows how to write a simple telnet client aplication in VB .NET Visual Studio 2005 ? I've looked and downloaded a lot of stuff but still don't find anything that really works. All I need is to connect from my App. to Unix via telnet and run … | |
My Contact form on my website [url]www.allinclusivewebdesign.co.uk[/url] does the job well. However, as the time went by, I've been thinking to make it do MORE than just a basic form, allowing me to receive the information viewers' submits (as it does perfectly well, at the moment). I wonder if anyone … | |
I have been used to using Access where sub forms can be simply dragged into a main form. Can I do this in VB 2005 Express Edition or does it have to be entirely coded? If it is possible then could anyone help me see my way through? Many thanks … | |
I'm having problem in inserting into table. I'm inserting data from one table into another [I]insert into table1 select * from table2 where condition = expression[/I] I have 962 records in table2 for specified condition, but only 105 rows are getting inserted. Both tables are in same database. What could … | |
Thank you for reading my thread,I am new to C and I have a big problem -Naturally.I cant seem to compile thise code: [code] # define EOF =-1 main() { int c,nl; // integers nl = 0; // assignment int ln to 0 value while ((c = getchar() !=EOF) // … | |
hi , today i got an error with : Exception in thread "main" java.lang.NoClassDefFoundError : Loop i have gone thru so many links which i found in google but i am unable to solve that problem iam using both eclipse and command prompt. in both i got the same problem … | |
Hi There, Can anybody help me with the following: 1. I am trying to open an excel file using adodb connection but i got a run time error on the rs. open. Here is my code Dim cnn As New ADODB.Connection, rs As New ADODB.Recordset cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\temp\XLS.XLS;Extended Properties=Excel 8.0;" … | |
I'm dizzy trying to figure out what I should do, I will treasure whoever can help me! When a user comes to the site they are automatically in their own $_SESSION, they are greeted by their username, it looks professional really nice... If the person is not a member they … | |
![]() | This is really ticking me off. Ok I have a program like so:- [CODE] #include <iostream> #include <string> using namespace std; int main() { string crap = "dfgfd-rergreg-dfgfdg-ertertd-gfdg-df"; }[/CODE] And all I wanna do is replace the [INLINECODE]"-"[/INLINECODE] with [INLINECODE]" - "[/INLINECODE]. Note the spaces. I've tried everything but it … ![]() |
Hi all, I will be developing a C compiler :mrgreen: that will support Object Oriented Techniques, Database Connectivity and Simple Networking programming using VB.Net language. I really wish you guys could give comments/opinions on my compiler by downloading the doc attached and send it back to me....:D | |
[I] What is the Importance and uses of data stuctures in Programming using C/C++ when using it? .How Stack,Queue,and list works and give example problem that solve stacks (note:this is not a code program).t.y..i want your different opinions...pls...reply this tread.. [/I] | |
:cheesy: hi all, i do not know how many people have worked in biopython before but, i am soo close to this answer i can feel it! just need a lil help again... basically this takes a FASTA file from NCBI and makes it into a dictionary which is wonderful … | |
42 00 02 E3 0B 06 1E CD 78 C1 47 B5 A5 00 8E 69 E2 32 67 00 00 00 75 85 00 00 00 00 00 00 00 00 00 00 64 65 72 69 63 6B 00 41 72 65 73 20 31 2E 39 2E … | |
hi. API: StartServiceCtrlDispatcher This API use to run services. but i cant use it in vb6. Please help me. | |
hi, iam having 2 listboxes.In one listbox i am populating products from Msacess.Then after clicking any of the product it should populate corresponding schedules in the other listbox.Below is my code Kindly reply me as soon as possible.. [CODE] [COLOR=#0000ff]Dim[/COLOR][COLOR=#000000] sql [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]String [/COLOR]con = [COLOR=#0000ff]New[/COLOR] OleDbConnection("Provider=Microsoft.jet.oledb.4.0;Data Source=D:\Inetpub\wwwroot\WebApplication12\WRMdatabase.mdb") sql = … | |
I have three question: 1) how can i post a variable which is an array? 2) Lets say i post declare a variable by typing: [php]$_POST['test'] = 'hello';[/php] would it transfer that variable to next page. 3) is it possible to post variable with the header command: [php]header("Location: index.php?Successful=UPDATED&hello=yes");[/php] into … | |
Ok, i've been tyring to get this to work for days, and I got it down to this, but it still all doesnt work. Any advice as to what I may be doing wrong would be greatly appreciated. [Code] Function Listen(ByVal backlog As Integer) lsocket.Listen(backlog) If Not lsocket.Connected Then Console.WriteLine("Winsock … | |
On a website I remeber seeing a news feature where the news would be a bar with a title and you clicked it and it would expand showing the message and other information and the code used was javascript:show but I don't understand how it works (as the news was … | |
Hello, this is my first post here. I'm taking c++ as an elective course, and I'm doing great until now. The problem I'm having is taking data from a txt file formatted line by line [inlinecode]#### # ##[/inlinecode] for product id, store number, and quantity. I'm supposed to read this … | |
:mrgreen: hi guys/gals, thanks for the bioinformatics help, im working on tons of independant projects, it feels like im in summer school and im not even in it! oh well, that is how it is. Python and me are like new friends so I have been needing on this journey … | |
Hi, everyone! I am trying to program (in assembler) a hardware interrupt at vector 72h, to beep twice. The program seems to be running, and it looks like it is returning control to DOS. I can run it as many times as I want, the only problem is when I … |
The End.