492 Topics
| |
This is a program I have to submit in a few hours that checks whether numbers are prime or not. I have it to the point where is tells me the correct answer, but for some reason my loop is infinite. I'm just in an intro class and I was … | |
Hi guys! i wonder how can i save image path in a string to MySQL, i mean...what instruction i have to use...i want to save it to MySQL and then show it into a picture box. Thank you very much for your help. | |
Hi there, I'm pretty new to XML and Web Services but what I'm trying to do is allow a user to register with an email address. The email entered is to be checked to make sure it doesn't already exist and if not, it is added to our XML file. … | |
Hey everyone , I have a Mid semester Exam next week and I need to study the basics of programming a C++ programs. can anyone recommend or help me with some basics or link me something which could help me revise things faster and make it easier. i am sturggling … | |
Hello everyone. I am looking to see if there is any possible way Visual Basic 6.0 code can run in Visual C++ 2008 Express. Any help would be very appreciated. | |
[CODE]#include <stdio.h> #include <stdlib.h> #include <conio.h> int main() { char _name[30]; int _age; printf("Hello Quester\n"); printf("What is your name ?\n"); scanf(_name); printf("...and what is your age, may i enquire esquire of peril and danger ahead\n"); scanf (_age); printf ("\nYour name is ",_name, (" \nand your age is "), _age ); … | |
Hello, I have a layout and i have to paste information on that layout, in that lay i have Columns H, P i have a formula in column P like this [CODE] =IF(ISERROR(P3/H3),0,P3/H3) [/CODE] but when i insert the information obtained in VBN to EXCEL worksheet it pastes the information … | |
Hey all, I am trying to make a form that is blank and will add in 2 comboboxes, a textbox, 2 buttons and a checkbox next to each other in a row. I want the controls to be part of an array, so that all controls on a row are … | |
Guys ,i got this code in my project ,but i didnt understand most of it ,if any body can understand then please add comments in it to understand. [CODE] Private Sub cmdclose_Click() Unload Me Unload recoform frmmain.Show frmmain.Image1.Picture = LoadPicture(imagefile) frmmain.cmdont.Enabled = True frmmain.cmdpre.Enabled = True frmmain.cmdrecognize.Enabled = True End … | |
I've tried so hard by myself and I've just ended up confusing myself as it's my first time using vb. I didn't want to waste anyones time but I'm sorry I just don't know what to do.. ---- How would I code this? I want to make a progress bar … | |
Hello everyone: I have the following issue, i have and old computer and i need to erase pics and all that, but that computer has several folders and some are hidden, and is very time consuming checking where are those folders. I would like a VBS to erase all the … | |
Hi please herlp me on How pass values from datagridview to listview thanks a lot guys :) | |
Hey Im just wondering if anyone could help me with this timer project Im working on... The purpose of this project is to keep tract of the time a classroom of students is working, not working and then total time of the class. So far I have only the seconds … | |
Hello World, I'm a c++ beginner and i've diced to study. So this is my first code: [CODE] #include <iostream> using namespace std; double d = 2.2; int i = 7; void some_function() { d = d + i; i = d * i; printf("%d\n", d); printf("%d\n", i); } int … | |
When i finish my U.G at the rate i am going I don't think i will know anything.I want to know exactly what i should be knowing so that i can proceed with my graduate degree.Which languages are a must know,which data structure concepts i should know,should i be able … | |
[CODE]/* Problem 3 Writing User-defined Methods Programmer: Date: March 10,2011 ProgramName:Tuition.java */ import java.io.*; import java.text.DecimalFormat; public class Tuition { public static void main(String[] arg) throws IOException { //declare and construct variable int hours; double fees, rate, tuition; //call methods displayWelcome(); hours = getHours(); rate = getRate(hours); tuition = calcTuition(hours, … | |
I need to open a serial port on Windows XP. I'm pretty limited on programming languages but can code Java and C. [B]Javax.comm[/B] package is no longer supported - third party isn't very good [I]either[/I] :S so [COLOR="Red"]how[/COLOR] do I open a port? at the moment all I want to … | |
So I'm trying to define a counter in a while loop, and print it from the class: [CODE]public class odd { public static void main(String[] args) { System.out.println("Input your number"); int x = IO.readInt(); int odd = 0; int even = 0; while (x != 0) { if (x % … | |
So I'm trying to write a program: Print a number in scientific notation with 3 significant digits (e.g., 0.000838423 = 8.34*10^4). You must define and use a module that rounds a number to a specified number of decimal places. Here is what I've got so far: [CODE]public class Sn { … | |
Hi Guys: I have completed my source code for the following problem using the "if" statement. I have gotten 4 errors which are: Line|26|error: ambiguous overload for 'operator>>' in 'std::cin >> (Total_Number_of_Seconds / 3600)'| Line|29|error: ambiguous overload for 'operator>>' in 'std::cin >> (Total_Number_of_Seconds % 3600)'| Line|32|error: ambiguous overload for 'operator>>' … | |
i am taking my first C++ class and i can not clear the following error can anyone help error C2447: '{' : missing function header (old-style formal list?) //christine gershen // Exercise 4.17: Encryption.cpp // Encrypts data given by user. #include <iostream> // required to perform C++ stream I/O #include … | |
Hello all, I'm trying to get through this tutorial, but running into a brick wall. I'm not very versed with PHP, so the error may be simple. I'm trying to call the data that the user inputted to the PHP form, but it's only displaying blank lines for me. I've … | |
Hello again: I am having trouble declaring my variables. Can you please show me what I am doing wrong. The homework problem ask for me to use the "if" statement also, kinda having a few problems with that. Please see the question and my code below. Thank you for your … | |
In reference to this post [url]http://www.daniweb.com/forums/thread43763.html[/url] I have another more specific question about passing data between forms in VB.net I have a form with over 50 variables that I need to access on a second form and if i followed the method above, my form 2 will end up way … | |
I am asking on multiple forums because I am desperate! Hi, firstly I would just like to say that I am not a C++ programmer and I never intend to be - I am an SQL, javascript and PHP developer. For a module at University I have to alter a … | |
Title kinda says it, I was wondering if anyone has heard of this what im about to ask. If i program code on ubuntu 10.04 using netbeans, and code in C. can I somehow save the file from netbeans, and transfer/make a conversion for the netbeans file to be able … | |
Hi I need to migrate an application from MS Access to SQL Server (2005), and i'm using the code bellow, but i'm getting an error when the compiler reaches the AddNew instruction. It gives me "Run-time error '3027': Can't update. Database or object is read-only". [code] Dim DBTesteSQL As Database … | |
Hi another exercise which im having problems with. In this challenge im given a four digit integer and encrypt each digit as follows. Replace each digit by the sum of that digit plus seven mod 10. Then swap 1st and 3rd digit places and 2nd with 4th. Heres what i … | |
uhm, hello, i was hoping if anyone here can help me with my project its due on next week, im gonna fail if i dont submit this one, problem is i dont really understand visual basic, so im seeking for help here.. well here it goes.. i was asked by … |
The End.