199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for carson myers

Okay, so I'm well read in VB and quite an avid VB programmer but I realize that programming in visual basic isn't very marketable and above all I only use it for fun. I wanted to move to C++ but noticed that it was a LOT harder, and worked completely …

Member Avatar for NotNull
0
116
Member Avatar for gowrishg

Developing an applet , which queries information from database and displays. Database used is sqlite. Application Envi:: Application runs on the local machine and the database file is present locally. The application is run inside Web browser and not in the appletviewer. Due to security restrictions, applet doesn't allow application …

Member Avatar for gowrishg
0
136
Member Avatar for benda001

Hi I have a particular problem in returning an element of a struct which matches a maximum of another element here is part of the code, which will work, but does not display the details[i].title, which part of my original Struct declaration. What am I doing wrong ? [code=cplusplus] int …

Member Avatar for ddanbe
0
85
Member Avatar for abhi_sri08

Hi, I want to use outputs from different forms of a project and save them into a single text file that could be from a module. Please suggest any tips on this. Abhishek

Member Avatar for Drycola
0
94
Member Avatar for jems000

when i am using graphic in my program and copy the .exe file in another computer where c++ is not available its return a graphics error(EGAVGA.BGI) is not found. why?? and how can i solve this problem.

Member Avatar for jems000
0
156
Member Avatar for juliusvogel

I need to do some calculations in VB and display the results of the calculation as a decimal number like 1.62. In my code several variables have the Dim Double and some have the Dim Currency. The result of the calculation is always shown as a scientific number with a …

Member Avatar for Drycola
0
170
Member Avatar for monogana

hi all, if you look at the code below you will see that i am trying to get a template function to return an iterator based on the type type of one of its parameters, i cant seem to get it to work i dont want to have to pass …

Member Avatar for monogana
0
174
Member Avatar for pandapop87

right i am really really sorry i have left it until the night before hwk is due in i need to make a program that; inputs student data outputs students data edits previously inputted student data deletes previously inputted student data if anyone can help me, give me a basic …

Member Avatar for House_of_Dexter
0
150
Member Avatar for AutoC

Hi, I need to write C++ code to find the factors of a polynomial.For eg. X^2-1 should return x-1 and x+1...anyone have any ideas on how to do this?

Member Avatar for ddanbe
0
111
Member Avatar for AirmanTheGreat

Sorry to everyone, I figured this out just after I posted, But i do still have another question, For a certain operation I am required to use log's in determining a variable for example Var3=log(Var1/Var2)/log(8) but java doesnt seem to accept log. What is the appropriate way to use logarithm? …

Member Avatar for destin
0
70
Member Avatar for IT_Techno

hi i have created application that uploaded files (.zip, .doc, ... any type ) to file system and then i have create another code to download the files but i need so have the option to open also the file if i do not need to save it on my …

Member Avatar for LizR
0
191
Member Avatar for DvlsAdvc8

First off, I'm not really a DBA... I'm learning as I go. The office I work in has a lot of problems when it comes to the integrity and reliability of data stored in our Oracle database. One of the little things I'm wanting to resolve is the duplication of …

Member Avatar for debasisdas
0
110
Member Avatar for jackakos

Hi Folks, is there a way to validate input fields using only PHP scripts before inserting into a MySQL database? I have fileds for: Date (DD-MM-YYYY) Time (24 hour format between 0900 and 1700) Location (String) Your suggestions will be a boost.

Member Avatar for jackakos
0
198
Member Avatar for dnmoore

I need a little help converting my GUI panel into JButtons instead of text for some parts [code] //Davina Moore //TempConverterPanel //November 6, 2008 import java.awt.*; import java.awt.event.*; import javax.swing.*; public class TempConverterPanel extends JPanel { private JLabel input, results_f, results_c; private JButton output; private JTextField fahrenheit, celsius; public TempConverterPanel() …

Member Avatar for dnmoore
0
118
Member Avatar for Weebl4551

Hi. I just joined this forum because I really need some quick advice on a Blackjack game I'm working on. It's my first major endeavor, and I can't quite get it to work right. Here's the code. #blackjack.py from cards import * from graphics import * import random DIM = …

Member Avatar for jlm699
0
186
Member Avatar for konczuras

Hi Everyone! I have to make a forum with MS SQL, and, as I'm Hungarian, we use characters, like áéíőúű, etc. Now, if I insert a text with the letter Å‘ or ű, I get back o and u. How can I solve this problem? The users write posts in …

Member Avatar for canonzone
0
367
Member Avatar for Modo

hi guys how r u doing .. i need some help .. something went wrong and i dunno what is going on .. i will post the problems .. i hope someone could help first i tried making a script .. to include certain files depending on the time ... …

Member Avatar for Modo
0
171
Member Avatar for STUDENT#101

hi I have crreated a conde to try and take input rom a user as a string then break it up into bits and pass it o it's functions but the values are not releacting at the functions and anyone has any other way o converting a string into a …

Member Avatar for Ancient Dragon
0
248
Member Avatar for atman

Hey Guys., Im super desparate have 1 day to hand this in. Have to use loops only. quote: The use of any of the following C statements or functions is not permitted under any circumstances. break; continue; exit(); abort(); No global variables. When the program starts it will prompt the …

Member Avatar for Denniz
0
162
Member Avatar for ansari.wajid

Hi All I am writting an stored procedure to get the recently inserted records primary key as follows: [CODE]ALTER PROCEDURE [DBO].[AddEditUserMsgDetails] ( @iJobID [INT]=NULL, @iUserID [INT]=NULL, @vFromName [VARCHAR](50)=NULL, @vFromAddress [VARCHAR](50)=NULL, @vSubject [VARCHAR](50)=NULL, @iListID [INT]=NULL, @vActualText [VARCHAR](100)=NULL ) AS BEGIN /* Logic Comments: INSERTING OR UPDATING INTO THE TABLE ezlMailJobs EXEC …

Member Avatar for dickersonka
0
210
Member Avatar for Amoneh

Hi how are you all?hope fine I need quick help please, i'm a computer science student, in fourth year,and i should have a graduation project,the problem is i cannot find a good idea yet, so i need a quick help. i think a bout something in "java applet" ' but …

Member Avatar for stultuske
0
92
Member Avatar for litchi

Hello, I have just started using Delphi and ran into a small problem. It's a simple app, as I am only practicing. It has a Button and 2 Edit boxes. I want the user to enter some text to be saved (in a .txt file) in Edit1 and choose a …

Member Avatar for litchi
0
185
Member Avatar for gmdune

Hi All, I need help figuring out how I can call the various functions in this program from main. I've figured out as much of the code I could, but now I'm stumped. Any help would be appreciated. [code] #include <stdio.h> float deposits[50] = {0}; float withdrawals[50] = {0}; char …

Member Avatar for Denniz
0
117
Member Avatar for oling

I have trouble with getting the correct number of characters displayed when returning this simple function. Does anyone see what I am doing wrong in the function (the cout function outputs -2 instead of 4 which is the lenght of "test")? Thanks: [code] #include <iostream> using namespace std; int mystrlen(char …

Member Avatar for oling
0
105
Member Avatar for yamid

I have a text data file including a lot of double data set as below: the dta are separated by 3 spaces. x x x x x x x x x x . . . x x x I want to read these data line by line and from left …

Member Avatar for LizR
0
199
Member Avatar for sandmonkey

ok, so I have to write a program for computer science and I chose to do it in python (obviously) butI'm having trouble getting the program to open the file. here is just a snippet of the coding in question: [I]elif choice == 5: h = open("C:/Users/Dhyan/Documents/" + raw_input("Please enter …

Member Avatar for sandmonkey
0
120
Member Avatar for krisna_samy85

hi everyone... I'm newbie in php.... currently doing my class project (simple tennis court reservation).... kindly please guide me how to do and please provide some sample.... thanks alot...:)

Member Avatar for ithelp
0
93
Member Avatar for saurabhnovice

[code=csharp] using System; /// <summary> /// Summary description for Class1 /// </summary> interface I { void dis(); } class B:I { public virtual void dis() { Console.WriteLine("dis() in Base"); } } class D : B { public override void dis() { Console.WriteLine("dis() in Derived"); } } class c2 { public …

Member Avatar for LizR
0
121
Member Avatar for mrkcse

hi all, here i got strucked on auto incrementation of version using c# ,iam trying to do it programatically but i could able to change version number in variables but iam not able to write it back as it is read only.Is there any alternative for this?. my code is …

Member Avatar for mrkcse
0
115
Member Avatar for skatamatic

I'm writing a class for simple equation parser. I've completed the - and + operators, and am currently working on implementing brackets. They seem to work most of the time, except I occassionally get strange results, such as with 10 - ((10 - 20) + (10 - 20)) returns 40! …

Member Avatar for iamthwee
0
135
Member Avatar for master_mind187

Hello., i have sql server in my pc and i want to connect my visual basic form to my sql? how can i do that? what is the code i have to write in the modules? please help Thanx in advance...

Member Avatar for jireh
0
79
Member Avatar for Levio91

I am a 17 year old beginner to C++ I want to find a beginner project that I can set my mind on so I can have a clear goal. What projects do you recommend? Please make them beginner friendly. I am having a huge problem with lessons, so I …

Member Avatar for ithelp
0
73
Member Avatar for Belo

can anyone teach me how to design web using PHP What software i need to have and send me some tutorial

Member Avatar for star-whiz
0
114
Member Avatar for kings

in my php application i have used onchange and onload javascript function.it is working fine in IE but it is not working in other browsers eg:mozilla,chrome,flock

Member Avatar for Atli
0
113
Member Avatar for jhuyenh

hi, i'm trying to figure out how to fix this warning: decode.c(77) : warning C4715: 'get_msg' : not all control paths return a value i understand that my get_msg could not always return a value, i'm just not sure how to state that in my code? can anyone suggest anything? …

Member Avatar for ArkM
0
215
Member Avatar for dcparham

"need rotating div display, preferably in PHP" need a rotating div display, similar to rotating slideshow - preferably in PHP, since will interface with database. see [url]http://www.cshlaw.com/cai/[/url] - upper right is [a] a photo, next to it is [b] a caption, below it is [c] the name of the person …

Member Avatar for Atli
0
121
Member Avatar for bornok15

Anyone who coulf help me in loading listview items to another listview? i want to load items one by one using "selected" property and all items by using "For each" statement.. and also i want to know hoe to track down duplicates with 1 column as a basis.. anyone who …

Member Avatar for jaasaria
0
110
Member Avatar for gangsta gama

Hello all, I was wondering how I could make this with larger numbers instead of scientific notation or whatever it is. I have attached my code and here is what I did: 1. Typed in E for exponent and hit enter. 2. Entered 9 and hit enter. 3. Entered 9 …

Member Avatar for ArkM
0
170
Member Avatar for lightzoutdeuce

Can't figure out a for statement that will make this function work...help please ASAP Receives nothing from main Returns an even integer Ask the user for an even integer Read in the user’s input value. Repeat the prompt and input for any invalid numbers until a value of the correct …

Member Avatar for gwenky
0
145
Member Avatar for NycNessyness

Hello everyone. I wanted to know how I could create a simple time restriction variable. For example making private double hour; not go over 2:59. Basically I don't want someone to be able to input a number greater than :59 in a Jtextfield. I can do a time application, but …

Member Avatar for destin
0
105
Member Avatar for kipl20

hi, i have a client and a server using uniform server and im using sockets to connect them. i would like to be able to input information from say a form on the client side, send it to the server, the server would then input this data and send it …

Member Avatar for digital-ether
0
116
Member Avatar for kiddo39

Hi, I have 2 things I'd like help with: 1) is there a way to find the exact center of my screen? 2) a loop Here's what I need the loop for: [code] image = ImageGrab.grab((0,0,800,800)) box = (100,100,400,400) im = image.crop(box) im1 = im.save("screen.jpg") # at this point I …

Member Avatar for kiddo39
0
112
Member Avatar for clutchkiller

after you switch (variable) case 1: etc.... if the switch defaults, how do you return to repeat the switch case? do you just do a simple cin>>var and it will reset or you have to loop it? Sorry if question isnt clear

Member Avatar for clutchkiller
0
83
Member Avatar for aksshe10

hey i need this for my exams the gave me a summary about a program which gets password from the user an saves it inside the exe itself.you can also give me help for encription please do write the source code

Member Avatar for aksshe10
0
133
Member Avatar for k8f1

Hi, I'm trying to finish a college project for tommorrow, but am having real problems with my code. Every time I try and run it, I get an error message saying 'Expected If'. I looked and looked at it, but can't for the life of me work out whatthe problem …

Member Avatar for vponline
0
164
Member Avatar for ambarisha.kn

Consider d_type=POINT_LONG in the following program. and data.Long=0xA; In the following program i am getting correct output in constDataArea[0],constDataArea[1],constDataArea[2], constDataArea[3] which is oxA, 0x0, 0x0, 0x0. But not able to write the same into ambi.dat file. Some junk value is inserting in the front. and writing 5 bytes instead of …

Member Avatar for ambarisha.kn
0
164
Member Avatar for rainny

Hi, all.. Does anybody have experiencing on store the spoken word into database? For example, when the program hear the voice spoken by some person, the program can store the spoken word into the database? The database system use is MySQL. Anybody have any idea on it?

Member Avatar for rainny
0
112
Member Avatar for Epic Tissue

Hey I am new to php and was thinking of writing a mailing list. Very simple, users enter their email into a box and click signup or whatever. I am just wondering.. where -or- how do I store those email addresses? Obviously storing them in a text file on the …

Member Avatar for FlashCreations
0
129
Member Avatar for twosocks

ok i cant see whats is wrong with this but it wont add a user [code=php] <?php include "config.php"; //Get the information from the form $username = $_POST['username']; $email = $_POST['email']; $password_1 = $_POST['password_1']; $password_2 = $_POST['password_2']; // makes sure that the 2 passwords match and that the email address …

Member Avatar for FlashCreations
0
90
Member Avatar for imput1234

Hey guys, I've got a beginner question about this for some reason the getline function will not work, does anyone know why? I can't seem to figure it out [code]int main () { string studentname; int test1, test2; cout << "Enter first test score"; cin >> test1; cout << "Enter …

Member Avatar for imput1234
0
96

The End.