199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for halculvin

Hello, I'm taking a project with vb.net and i need someone to help me with the source code for connecting to an access relational data base. Pls I don't want to use a wizare.

Member Avatar for DangerDev
0
57
Member Avatar for javaStud

In this method I am trying to locate a user by its ID and then remove it. I am having errors in the second if statment (cannot find symbol-method getID() ). [CODE] static void removeMember(ArrayList<GymUser> UserListIn) { Scanner keyboard = new Scanner(System.in); keyboard.useDelimiter("\n"); System.out.print("Enter the ID no of the member …

Member Avatar for javaStud
0
93
Member Avatar for manjusaharan

Hello All, Does not support loopback URL problem.I m getting the problem whenever I m opening any webpage like [url]http://local[/url] host/3052/service.asmx though I have checkeed the firewalls and proxy settings very well . Kindly Help me. Thanks in advance.

Member Avatar for majestic0110
0
130
Member Avatar for Venom Rush

Hi there I'm having a bit of a problem. As the title suggests, I'm creating $_SESSION's such as [code=php]$_SESSION[''.$row[0].''][/code] dynamically which is working perfectly, but the problem is I don't know how to call that same variable on a template page that I click through to. At the moment I …

Member Avatar for Venom Rush
0
150
Member Avatar for wizardofdigi

Hello. I have a website that is working except for one thing. The pages load fine but when a user clicks on any option, that should immediately stop what is happening on that page & take user to new the page they have selected. Right now it happens very slowly, …

Member Avatar for DangerDev
0
106
Member Avatar for shashipkiran

Can anyone tell me the code to refresh a JSP page onload...? <meta http-equiv="refresh" content="1"> I have used this code and this keeps on refreshing the page every second. But i just want it once...Pls help me...?

Member Avatar for shashipkiran
0
98
Member Avatar for Arctic

[code=cpp]/*I've actually located the segmentation fault location, I believe it is because I am trying to declare one array memory location equal to another when they are in seperate memory segments. However, if this is the case I have no idea on how to correct it. Here is my code …

Member Avatar for vijayan121
0
160
Member Avatar for Kupitzc

I'm in a CS class in college now, and it's in C++. I have done all the things we're covering this semester... but in Java. I'm trying to write a basic program that uses a 3d char array to store the last names of passengers in an airplane, but when …

Member Avatar for Nick Evan
0
110
Member Avatar for VersEtreOuNe

I'm making a program that is supposed to store the circles in a file, each circle should have an id and a radius. after i Add some circles to the file i need to open it again and search for a specific Id to display it. Here's what I've done …

Member Avatar for VersEtreOuNe
0
125
Member Avatar for ryan_vietnow

Hi guys, is there anyway to unset $_SERVER['PHP_AUTH_USER'] than to close the browser? I have tried [code=php] unset ($_SERVER['PHP_AUTH_USER'] ); [/code] or even [code=php] unset ($_SERVER); [/code] it unset but after you have refreshed it the $_SERVER['PHP_AUTH_USER'] comes back again. Hope to hear from you guys.Thanks

Member Avatar for johnsquibb
0
2K
Member Avatar for lordx78

[code=php] <?php // connection to MySQL server mysql_connect('localhost','root','root'); mysql_select_db('administration'); // *** Validate request to login to this site. //session_start(); $loginFormAction = $_SERVER['PHP_SELF']; if (isset($accesscheck)) { $GLOBALS['PrevUrl'] = $accesscheck; session_register('PrevUrl'); } if (isset($_POST['username'])) { $loginUsername=$_POST['username']; $password=$_POST['password']; //$MM_fldUserAuthorization = "level_usr"; $MM_redirectLoginSuccess = "validated.php"; $MM_redirectLoginFailed = "index.html"; $MM_redirecttoReferrer = true; //mysql_select_db($database_connBlog, $connBlog); mysql_select_db($database, …

Member Avatar for nav33n
0
286
Member Avatar for pbosek

I get binary data from a file which is to be displayed in hex byte wise(i.e. 2 digits). format$(hex(num),"00") places a leading zero for single digit numbers but it doesnot support for hex (A-F). How do i get leading zeroes for bytes of values A-F? Is there any simplae way …

Member Avatar for pbosek
0
339
Member Avatar for mayank24
Member Avatar for jino

I am new in PHP. I have a form having fields from 3 different tables.. I want to search these 3 tables simultaniously for reporting the information... 1st table personal details. 2nd table services offered. 3rd table payment details. I want to search each and every fields in these tables …

Member Avatar for jino
0
115
Member Avatar for satishvengala
Member Avatar for lulusweety
0
242
Member Avatar for alejalv

hey guys, i have a project due tomorrow on recursion. the task was to write a recursive program that prints the value of fibonacci numbers and the number of calls made. i wrote the program and it returns the value at the end just fine, but i have been unable …

Member Avatar for DangerDev
0
96
Member Avatar for khalidmehmood

Hello Dear Experts! I need Oracle and EnterpriseDB comparison in detail. kindly help me.

Member Avatar for Jx_Man
0
114
Member Avatar for dragonheart

in my project i need to load another software (it is just for viewing purpose) through a Vb form . i tried to use OLE containers, but when i run d program and double-click the icon in the OLE container, it doesn't do anything, not even sends an error msg …

Member Avatar for x2per14
0
98
Member Avatar for daviddoria

Is there a way to interpolate between RGB values? I have a set of values that I want to map (linearly or otherwise) to colors from a color_min RGB triple to a color_max RGB triple. Since RGB is not "incrementable", how would I do this? Thanks, David

Member Avatar for Duoas
0
106
Member Avatar for gracea

Please tell me how to store a user given input as one of the options in the combo box?? I have put up a combo box on my form with no collection,no options to choose from, in it.I want the user to enter some value in it and the next …

Member Avatar for Ramy Mahrous
0
95
Member Avatar for bugmenot

OK, so heres my code, check it out, let me know what you think, I'm trying to embed a serpenski triangle into it, and the program isn't crashing but it isn't displaying and I'm not sure why, if you can tell me it would be greatly appreciated. Also, I need …

Member Avatar for bugmenot
0
178
Member Avatar for werks

Hello does anyone know how to lock the system within a specified time? Like a screensaver.. Actually i want my system to automatically lock if it is unused for about 15 minutes..tnx in advanced

Member Avatar for werks
0
96
Member Avatar for C++masterinneed

[code=c++] bool list::remove (char * key) { char id[100]; cin.get(key, 100 ); cin.ignore(1, '\n'); //cin >> key; //remove data from the list if it exists node * prev = NULL; node * curr = headbyName; while (curr) { curr->item.getName(id); if(strcmp(key, id) == 0) { if(!prev) headbyName = curr->next; else prev->next …

Member Avatar for C++masterinneed
0
110
Member Avatar for bcm

I want to create a program in [COLOR="Red"]VB.NET2005 [/COLOR]windows application which will show google map on the form along with its contols of zoom. OR Also an image on form having zoomin and zoomout buttons. Please Help!!!! :icon_cry:

Member Avatar for technogeek_42
0
57
Member Avatar for elcorillord

I have to basically write a fuction that does the inmemoized recursion and count the number of times is called..which i did.. the second part is that i dont understand which is to create a global array of 100 and calculate the function using memoization... can some one help..this is …

Member Avatar for alejalv
0
91
Member Avatar for ravipanwar4u

Hi guys, this is ravi. I m trying to implement sms services on my website so please help me out how i can use it, if you know any gateway for this then plz tell me thanks in advanced

Member Avatar for ivobrett
0
117
Member Avatar for Nyx18

what im trying to do is read in a data from a file into 4 different arrays then also read in the same data using array of structs. the assignment is to show that we know how to use both methods of reading in and sorting the data. i have …

Member Avatar for Ancient Dragon
0
83
Member Avatar for Metalsiege

Hey everyone.. I'm having a little problem with something I'm writing for a class.. I'm supposed to use while and a nested IF statement in the solution, but every time I run it I get the following back: [quote]Run-Time Check Failure #3 - The variable 'A' is being used without …

Member Avatar for Metalsiege
0
267
Member Avatar for electron33

Hi. I have a little problem. i tries to connect to a datasource defined in Tomcat context. But when i run the jsp page i got an error telling that the driver i not found. I'm using the mysql jar 5.0.x whitch i have placed under Catalina common lib folder …

Member Avatar for electron33
0
101
Member Avatar for Matt You

I've made a program that can scan through a plain text document for the string "SA001:" and if it's not there, it ads it in at the top. But the problem comes with the saving to the document: It adds some things to the document that I don't know how …

Member Avatar for micdareall
0
111
Member Avatar for nate12457

I'm getting 3 unresolved external symbol errors. I think it's probably syntax but I can't seem to find it. This is a class I was supposed to write based on the professors specifications. The header and implementation file are mine, while the driver file cannot be edited for this assignment. …

Member Avatar for nate12457
0
147
Member Avatar for mark192

When I click on the exe file to open it up via a folder or my desktop etc... it will show a black cmd window for about half a second and then close, however if i find the directory of my exe through cmd and then run it that way, …

Member Avatar for WaltP
0
299
Member Avatar for mjoshi

Hi, I have written a program that copies one file to another while making format changes to some lines The relevant part of the code is the following" [code] while(fgets (cbuff, 80, f1)!= NULL) { if ( (isdigit(cbuff[5])) && (isdigit(cbuff[11])) && (isdigit(cbuff[17])) ) { strncpy (c1, cbuff+1, 5); c1[5] = …

Member Avatar for Ancient Dragon
0
100
Member Avatar for Demond

I am trying to use a GoTo statement but it says "Error 1 Labels are not valid outside methods." My code is like this: [code] Public Sub Start_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Start.Click Start: Dim ...... End Sub Public Sub Retry_Click(ByVal sender As System.Object, ByVal e …

Member Avatar for Demond
0
143
Member Avatar for guitarrick

Lost again...Just trying to "tie" a header file to a .cpp file, but I keep getting a 'need ;' before '{' ..... in my .cpp file at LIST::LIST() { x = 0; } Here are both files that I am fooling with: [CODE=C++] #ifndef LISTS_H #define LISTS_H #include <iostream> using …

Member Avatar for Duoas
0
123
Member Avatar for javaStud

Hey all. I am having some problems in my project work. I am trying to this 'transaction' class in which the user enters his personal details.Now all I want to do is that when I create a new account for the user, I must also know the date when the …

Member Avatar for javaStud
0
91
Member Avatar for sura17

i have to do a seven segemtn display for 2 numbers but at the moment it looks like this:- [url]http://i28.tinypic.com/a176ep.jpg[/url] but i want the 1 and 3 to be next to each other but i cannot seen to do this here is my pascal:- [CODE]Program sevensegmentdigit; Uses Wincrt; Var x,y,n1,n2 …

Member Avatar for sura17
0
122
Member Avatar for rhose

hi,hello to anyone there can anyone help me to fix my problem about C#.Net conditional exercise.The problem is write a problem that asks the user for the hours worked for the week and hourly rate.The basic salary is computed as: Salary=hours worked*hourly rate bonus are given: No.of hours>45 Bonus of …

Member Avatar for david.crawford
0
384
Member Avatar for atish00

[CODE]corr[8]="pizzaboy"; error-- cannot convert char* to char corr[]="pizzaboy"; error-- char has zero values corr[0]="p" corr[1]="i" corr[2]="z" ----- syntax error corr[8]='pizzaboy' ------- char const can have 2 chars [/CODE] Is there any way to input:'( :'( :'( :'( :'(

Member Avatar for Ancient Dragon
0
465
Member Avatar for MikeKristal

I took out a lot of code, hence all of the variables you can't see, but for some reason, this part is the only one thats screwing up. When you enter zero, its supposed to "cout" a phrase that you don't have money, but when I run it, it tells …

Member Avatar for MikeKristal
0
111
Member Avatar for shadowfire36

i have done some coding back in '99 in visual basic, and i remember there a command to excutse a message box to input data . is there a similar function in C++ to excute a message box for input in a windows os ?

Member Avatar for John A
0
133
Member Avatar for vinaygarg

[CODE] Struct threshold { long value; int exponent; }t1,t2; t1.value = 2; t1.exponent =3; t2.value = 3; t2.exponent =4; [/CODE] The first structure (t1) is 2 x 10^3 The second structure (t2) is 3 x 10^4 I want to get the result after division of the two structures. The Reault …

Member Avatar for vinaygarg
0
94
Member Avatar for justapimp

I have this ASP.NET web page that makes use of the <asp:TextBox> tag and I would like to use it with my codebehind as well as an a small AJAX code. The text box field will be use to edit/enter data into a database. at the same time, I would …

Member Avatar for justapimp
0
235
Member Avatar for andyg55

input file: 1 0 0 2 1 0 0 2 1 I would like to produce this in a 3x3 array on screen. My code: [code] #include <fstream.h> #include <stdlib.h> int i, j; int matrix[3][3]; int main () { ifstream inFile; inFile.open("input.txt"); if (!inFile) { printf ("Unable to open input …

Member Avatar for VernonDozier
0
175
Member Avatar for enrgpro

I have no background with programing, but would like to start learning. Can you recomend a good book to start with.

Member Avatar for Ancient Dragon
0
71
Member Avatar for ryy705

Hello, I just used the crypt command on 'password' and 'password1' and got identical output!! What are the rules concerning the crypt function? Am I not allowed to use numbers? EXACTLY what am I allowed to use? Many thanks in advance.

Member Avatar for ryy705
0
83
Member Avatar for gcardonav

Hello guys, how are all you doinbg ? Well I just created this program to cound 24 hours. The program runs fine but my only problem is when I ran the programs i get the following [inlinecode]0:0:0 4469690:0:1 4469690:0:2 [/inlinecode] Where is the number 446969 coming from ? I am …

Member Avatar for gcardonav
0
128
Member Avatar for atish00

My project is to build a hotel menu and billing program. The problem is I have to use user defined functions to do it. 1st Function [code=c++]int password(char usr_name[8], char pwd[]); { int j=0,k=0,i=0,m=0; corr[8]=pizzaboy; for(i=0;usr_name[i]!='\0';i++) { if (usr_name[i]=corr[i]) n=1; } else n=0; po[5]=qwerty; for(j=0;pwd[j]!='/0';j++) { if (pwd[j]=po[j]) m=1; else …

Member Avatar for Ancient Dragon
0
564
Member Avatar for mmcshmi11

I need to print out a number that begins with 7, without the seven. For example, print 71011 as 1011 or 701 as 01. I've tried many techniques and just can't get it to work. Is there a printf format that will let me print out everything left of the …

Member Avatar for invisal
0
117
Member Avatar for prljavibluzer

I need to write something like this, just plain and simple c. 1. Program starts and prints 5 news titles 2. You select one and it prints news body 3. after viewing you select close and select other one or exit program 4. after that it prints "sort by views" …

Member Avatar for WaltP
0
177

The End.