199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sujagr8

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) …

Member Avatar for sujagr8
0
179
Member Avatar for storeowner

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 …

Member Avatar for Puckdropper
0
127
Member Avatar for Zill

Hi, im having trobles with excel how I can chance the color of the text in a specific cell from vb?? any help??

Member Avatar for Comatose
0
143
Member Avatar for lballans

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 …

Member Avatar for lballans
0
98
Member Avatar for queenlin

[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! …

Member Avatar for Puckdropper
0
177
Member Avatar for Dark_Omen

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

Member Avatar for Puckdropper
0
288
Member Avatar for 100%

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? :)

Member Avatar for Puckdropper
0
154
Member Avatar for cancer10

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 …

Member Avatar for Puckdropper
0
113
Member Avatar for rexx

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 …

Member Avatar for Puckdropper
0
91
Member Avatar for queenlin

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" …

Member Avatar for zippee
0
124
Member Avatar for ashwinperti

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

Member Avatar for timmay
0
178
Member Avatar for blacklocist

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 …

Member Avatar for blacklocist
0
191
Member Avatar for noobDesigner

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). …

Member Avatar for b4codes
0
260
Member Avatar for vov4ik

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 …

Member Avatar for vov4ik
0
160
Member Avatar for Coding Mage

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 …

Member Avatar for Dave Sinkula
0
621
Member Avatar for muthuivs

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 …

Member Avatar for GloriousEremite
0
398
Member Avatar for Stud33

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 …

Member Avatar for Stud33
0
77
Member Avatar for mikeandike22

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 …

Member Avatar for mikeandike22
0
131
Member Avatar for conetrader

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 …

Member Avatar for conetrader
0
263
Member Avatar for selimatmaca

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: …

Member Avatar for Fenerbahce
0
116
Member Avatar for uma

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 …

Member Avatar for last
0
888
Member Avatar for joshilay

can anyone tell me the code for inorder traversal of binary tree non recursively and using a constant memory ...??

Member Avatar for Laiq Ahmed
0
169
Member Avatar for aholliker

[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 …

Member Avatar for ShawnCplus
0
105
Member Avatar for asmith3006

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 …

0
84
Member Avatar for frogeye

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 …

Member Avatar for frogeye
0
88
Member Avatar for lconvoy

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.

Member Avatar for jim mcnamara
0
94
Member Avatar for nihao

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 …

Member Avatar for jim mcnamara
0
179
Member Avatar for joshilay

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; }

Member Avatar for Salem
0
278
Member Avatar for freesoft_2000

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, …

Member Avatar for freesoft_2000
0
1K
Member Avatar for Fede

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 …

Member Avatar for thandermax
0
705
Member Avatar for j4mes_bond25

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 …

Member Avatar for zippee
0
141
Member Avatar for Bernard Kane

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 …

Member Avatar for Bernard Kane
0
93
Member Avatar for katharnakh

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 …

Member Avatar for Vote4WillFree
0
94
Member Avatar for Tlhokomelo

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) // …

Member Avatar for Salem
0
103
Member Avatar for aruma

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 …

Member Avatar for aruma
0
123
Member Avatar for NewVBguy

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;" …

Member Avatar for maheshsayani
0
177
Member Avatar for puddin

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 …

Member Avatar for puddin
0
145
Member Avatar for iamthwee

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 …

Member Avatar for iamthwee
0
201
Member Avatar for Bellaa

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

Member Avatar for Bellaa
0
163
Member Avatar for Marthy

[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]

Member Avatar for Laiq Ahmed
0
90
Member Avatar for msaenz

: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 …

Member Avatar for vegaseat
0
131
Member Avatar for Derickd

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 …

Member Avatar for Derickd
0
268
Member Avatar for Payman

hi. API: StartServiceCtrlDispatcher This API use to run services. but i cant use it in vb6. Please help me.

Member Avatar for Payman
0
315
Member Avatar for samsundar

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 = …

Member Avatar for Fenerbahce
0
81
Member Avatar for ashneet

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 …

Member Avatar for ashneet
0
120
Member Avatar for Tyreses

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 …

Member Avatar for Lord Soth
0
112
Member Avatar for Ries

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 …

Member Avatar for tgreer
0
122
Member Avatar for tefflox

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 …

Member Avatar for tefflox
0
230
Member Avatar for msaenz

: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 …

Member Avatar for Ene Uran
0
119
Member Avatar for viermus

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 …

Member Avatar for thandermax
0
136

The End.