199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for xbob

How can i get the floating layer to stop scrolling at a certain point on the page so that it does not 'run into' my other elements on the top and bottom of the page. If you will look at my page: [url]http://increased-online-traffic.com/Big-Search-Engine-List-A.asp[/url] , you can see exactly what i …

Member Avatar for xbob
0
129
Member Avatar for Brinnie

What is the best, or where can I find the best link/affiliate scripts? I had no luck as sourceforge and found a few at hostscipts... But I want to know, in your opinion, what are the best affiliate scripts? [B] Now, pertaining to my search, I am looking for 2 …

Member Avatar for sarahk
0
222
Member Avatar for server_crash

Ok, what the heck causes these stupid exceptions. I can't find hardly any documentation on it. I've tried running my mortgage calculator on a different computer and it won't show up because a unsupportedflavorexception. I know it's something about the major or minor version, but what do you do about …

Member Avatar for jwenting
0
253
Member Avatar for Rete

Sorry for troubling everyone with my questions these past few days, but I keep bumping into all these weird little problems. The code below, is a sort of minor reflective program that runs methods after reading classes. [CODE]try { //getclass is a class named "Example" [B]Object instance = getclass.newInstance();[/B] //Is …

Member Avatar for Phaelax
0
102
Member Avatar for wu7jian

for example double t[]={0.12,0.3,7.0,4,4}; or int t[]={1,2,3,4} i wanna ask what "t+1"stand for respectively.if t is the first adress of a array,then t+1 will get to another physical adress right?a back to back address?thanks.

Member Avatar for wu7jian
0
188
Member Avatar for Judas

Im having trouble clearing the strg variable in my code, i have tryed cout<<flush(); and <<endl but each time i run the function it concatenates the new data with the old. [code] #include <fstream> #include <iostream> #include <string> using namespace std; int main() { static char str[12], strg[100]; char ismapname[] …

Member Avatar for Dave Sinkula
0
1K
Member Avatar for joshSCH

ok.. now that I know about the JOptionPane, I have one more question. How can you create a real executable program from the java code that u write. IT can be executed through JCreator or another java creator, but how can you make it so that its an actual java …

Member Avatar for stevenr
0
170
Member Avatar for server_crash

If you don't mind helping me a little, I have a few questions for you: 1) Why is it possible different data types(which should be different sizes) be the same size in memory? Take the sizeOf() function. I read where it's possible that you can pass it a long and …

Member Avatar for server_crash
0
163
Member Avatar for jhdobbins

Here is my entire code. I am getting a segmentation fault ( I love pointers for this reason!!!!) off of one of my head pointers i believe. Can anyone help me find/ fix this? please, and thank you. [CODE]/* The purpose of the program is to simulate a queued line …

Member Avatar for jhdobbins
0
123
Member Avatar for escolta

the first echo [PHP]echo $strSQL;[/PHP] gives: SELECT company_name from passwds where user = "jgonzalez" and ID = "0052" wich is allright but the second pair of echos are supposed to return solution if company_name is solutions and selex if company name is selex but i always get for an echo …

Member Avatar for sarahk
0
148
Member Avatar for jwenting

yes, there's an area of Java I'm almost a complete novice in (so far, I'm going full steam ahead :cheesy: ). I've the following code to filter out non-numeric input from a JTextField (which is meant to contain a timeout interval in minutes, that's why). [code] private void dumpNonNumericInput(KeyEvent e) …

Member Avatar for server_crash
0
341
Member Avatar for server_crash

I know how to run tomcat on MY computer, I just click the start button. My question is, how can I upload tomcat to a webserver and make it run forever(or at least until I click stop).

Member Avatar for server_crash
0
224
Member Avatar for nephish

Hey there, i have been writing python scripts for about 4 months now so i am still very new at programming. that said, i need to build a gui app to handle some data manipulation from a database, set points, etc... what i would like is the easiest to learn …

Member Avatar for nephish
0
210
Member Avatar for wu7jian

printf("%c was appended to arr\n",*(char*)p); header <stdio.h> i met a lot of this kind of situation.what are these "%d,%c"stand for? is there a detailed list about this? thank you very much!

Member Avatar for Dave Sinkula
0
142
Member Avatar for nephish

Hey there, i have some python scripts that run with the cgi-module. all named whatever.py the thing is, firefox will open one that has a form on it, but not load the next one in line. it pops up a window that says what do you want me to do …

Member Avatar for nephish
0
177
Member Avatar for winbatch

Is there a (builtin) way to compare the contents of two stl maps? (Assuming of course that the maps have the same data types). I thought of writing this myself, but iterating through each map and seeing if the contents are found in the other map (and then doing the …

Member Avatar for winbatch
0
499
Member Avatar for Naters_uk

I am facing a huge problem. I did a registration page and i want to store the data into SQL Server. I created two stored procedures in SQL and two functions in visual basic to call the stored procedures before inserting the data into the database. My codes are based …

Member Avatar for goldeagle2005
0
223
Member Avatar for jlimty

Hi, I was wondering if there are any Ruby experts out there who can help me. I am currently writing a program and I wish to use multithreading. How do I go about doing this? I have 2 seperate threads (which do different things) created but how do I run …

Member Avatar for jlimty
0
391
Member Avatar for dsgnews

Hi friends, I have very little knowledge of JOINs. Please, help me out in rewriting my sub-query to some kind of JOIN for earlier MySQL version TABLES IN MY DATABASE: Room (room_ no, room_ type, price) Guest (guest_ no, Fname, Sname, address) Booking (room_no, guest_no, Fname, Sname, arrival_date, departure_date, emp_no, …

Member Avatar for angelo
0
97
Member Avatar for Rete

I've been making a reflective program, which examines class files, and then creates an XML file that holds all it's values. But, I've been trying to now parse these XML files I've made, and I've been trying to do it using DOM. Unfortuanetly I have no clue as to how …

Member Avatar for jwenting
0
189
Member Avatar for erikkl2000

Here is where i am at: :eek: I am faced with a comon newbie problem and i have bet my brains in for 4 days over this and now i am seeling help. I have a dda that has static content, i have ddlB that loads depending on the selection …

Member Avatar for erikkl2000
0
161
Member Avatar for cjones5499

I need to write a program in C that reads in an english sentence and converts it into piglatin according to 3 rules. All the rules are working correctly; however, it seemes that the program only executes 2 words: the last 2 words in the sentence. Also, since I have …

Member Avatar for proghelper
0
101
Member Avatar for Max_05

To all the GUI Masters, I have two questions, 1) How do I make my frame start/appear in the middle of the screen ? 2) How do I disable the control/menu box i.e the maximize,minimize,close options on the top left corner of the frame ? Wating for a favorable Reply. …

Member Avatar for server_crash
0
160
Member Avatar for server_crash

Please take a look at this link, and let me know what you think of it. If you have any problems with it, I really want to hear about them: [url]http://wizardsolutionsusa.com/MortgageApplet/MortgageApplet.html[/url]

Member Avatar for server_crash
0
148
Member Avatar for webempress

Can anyone help me convert char to double. Yes, I tried casting, it did not work. Anyway, this is the problem, the variable is declared as type double in the struct(database structure). However, it is defined as type Text in the class I'm modifying. The variable in the class I'm …

Member Avatar for Dave Sinkula
0
365
Member Avatar for Max_05

Hi, Can any one tell me how to use a Java Object in a JSP file i.e I have written a connection class and want to instantiate an object of this class so that the JSP can connect to the database. Do I have to import it or include it …

Member Avatar for server_crash
0
139
Member Avatar for hkhan45

Hi, I have connected to a MS Access database but when I try to insert data through the java interface, it gives an error which is [MICROSOFT][ODBC MICROSOFT ACCESS DRIVER] TOO FEW PARAMETERS.EXPECTED 2. I dont know y its giving me this error. All the parameters r correct. Can any …

Member Avatar for Catweazle
0
439
Member Avatar for JeffHeaton

Has anyone seen this yet? It looks like APress is having a contest to see who can write the fastest fractal program. [url]http://www.apress.com/promo/fractal/[/url]

Member Avatar for server_crash
0
144
Member Avatar for dmissai

hey i am try to design webserver by using java /C++ programming or any programming language so if any one interesting to assist me i am attaching source hear .you can use plugs in to access source code by using any programming language

Member Avatar for server_crash
0
114
Member Avatar for shanenin
Member Avatar for eivnay

hi guyz Am new to Daniweb.I am Vinay Kumar,currently doing 1st year CS in india. I did an intrductory course in computing last sem.I learnt some java. Now I want to learn c seriously. Please help me by suggesting some books,online tutorials etc. Thanking you

Member Avatar for Acidburn
0
158
Member Avatar for shanenin

I have been trying to make a class based on Tk(). My code is such a mess, I would be embaressed to show you what I came up with. Here is what I am trying to do [code] class Window(Tk): fill in the code here win = Window() win.mainloop() [/code] …

Member Avatar for vegaseat
0
349
Member Avatar for balor

I have this kind of error: (and i can't seem to solve this) Error Type: Server.MapPath(), ASP 0172 (0x80004005) The Path parameter for the MapPath method must be a virtual path. A physical path was used. /proj/save.asp, line 12 this is my code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> …

Member Avatar for william_stam
0
163
Member Avatar for Toulinwoek

As basic as this may be for you experienced programmers, this leaves me baffled. I have a copy of VB6 I obtained as an employee of a Microsoft Certified Solutions Provider, but it didn't come with the MSDN Library so I don';t have access to any online help (BTW, if …

Member Avatar for Monster17
0
242
Member Avatar for RickW

At my firm I developed (haha, more like put together with bubblegum and paperclips) a CGI based upload script and another download script to accompany it. The upload page requires a username and password. You then can browse for a file and upload, and it stores it in a directory …

Member Avatar for ProFreelance
0
200
Member Avatar for Acidburn

Hello, in the past i've used MS VC++ v6, however since uni this year are going to teach us .NET i thought it would be a good idea to grab a copy of visual studio.net , however when opening my old *.cpp files they dont wanna run. the blue run …

Member Avatar for shortLived
0
213
Member Avatar for altheastronut

Hello, I've been working on this random number generator code and got it to work using integer outputs, however I need scientific notation. I read on a site that I can use %E for scientific notation, however I get wierd results that aren't really random, and results that are extremely …

Member Avatar for altheastronut
0
280
Member Avatar for c#dummie

hi, 1) how can a user close a tab page including the tab after viewing it?? 2) how do i disallow the user from opening the 2 or more of the tab page? (my tab page is opened by button click) i dont want to disable the button after opening …

Member Avatar for c#dummie
0
242
Member Avatar for freesoft_2000

Hi everyone, I have two rather silly questions about URLs but please bear with me for a while. Usually when you use the URLConnection class to read from a website you don't get prompted for authentication but if you are trying to post something to that website you will usually …

Member Avatar for Sauce
0
324
Member Avatar for nitinmenon

im not quite sure what this means, ive got this sample code that im trying to figure out: <FORM ACTION ="QUIZ_RESULTS.CFM" METHOD="POST"> <P><HR><B> QUESTION ###CURRENTROW# IS:</B> <BR><I> #QUESTION#> the second line is really what i dont understand. I understand that it is the value of the variable between the hash …

Member Avatar for ProFreelance
0
206
Member Avatar for SelArom

hi! I haven't been here in a while but I like the changes! I've asked this question @ asp.net forums, but they were completely unhelpful. Maybe it's just me but they could not give me a straight answer. So maybe I'll have better luck here; I find the people in …

Member Avatar for cambia
0
172
Member Avatar for sam1981

Hi, I have a two week deadline to complete a new project which I have little experience in. I have been asked to create a database accessible through a web application. The web application will be used to update, delete and add new data to the database. A maximum of …

Member Avatar for ProFreelance
0
127
Member Avatar for user777

Hi, I want to add a new contact to the table in a database (using ADO Control) but when I write a contact name in a text box it should be automatically changed to upper case even i write in a lower case. Regards, user777

Member Avatar for invisal
0
103
Member Avatar for angel22

HI: Maybe some of you read my thread about how to sort a file that contained 17 students data: ID LASTNAME FIRSTNAME 10 SCORES My program had to read this file, sort the names alphabetically, then calculate average score and letter grades. Finally send all data to a new file …

Member Avatar for Rashakil Fol
0
103
Member Avatar for Letscode

Hi, I have a left frame and right frame.The left frame has lets say three buttons and when each button is selected,a different page is selected in the right frame.The pages in the right frame has its own computation,like dropdown boxes to select the query. Whats happening here is,during the …

Member Avatar for Letscode
0
175
Member Avatar for wishes

help me in my work .... can any one give me cods on linked stacks... coz i faced alote of proplems... thanxxxx

Member Avatar for wishes
0
133
Member Avatar for chrchcol

mail -s "subject" [email]chris.collins@fuse.net[/email] < email What can I add to this line and where to automatically create a blind carbon copy? Also if possible what can I add to this line and where if possible to add the address from? Thanks

Member Avatar for techniner
0
129
Member Avatar for Jon182

Hey guys, I was just wondering why when dealing with a lot of classes do you often have to use something like the following code before the class: [code] #ifndef classCarhpp #define classCarhpp [/code] and this code after the class [code] #endif [/code] Thanks in advance.

Member Avatar for winbatch
0
148
Member Avatar for wu7jian

[code]#include<stdlib.h> #include<stdio.h> #ifndef COMPARE_H #define COMPARE_H using namespace std; int compare(const void* pfirst,const void *psecond); #endif int compare(const void* pfirst,const void *psecond) { const int first=*((const int *) pfirst); const int second=*((const int *) psecond); return(first-second); } void main() { int iarr[10]={9,83,100,1,645,-7654,4,23,543,9}; int j=0; for(;j<10;j++) printf("element %d of iarr is:%d\n",j,iarr[j]); …

Member Avatar for Lerner
0
196
Member Avatar for gaston

Hello, I have a javascript code (a part of it is in php) that populates a pull-down menu. It works perfectly well with Explorer, Netscape and Firefox under Windows. But impossible to make it work with Explorer or Safari under Mac!!! Is javascript different between windows and mac? Here's the …

Member Avatar for Dani
0
166

The End.