199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Maya Pawar

Hi friends, Anyone know how to take backup of Access database through Coding in vb.net. Means when i click on button ,the folder should be automaticaly created and that folder contains Access database file with current entered records means updated database. Plz if u know plz help me all. Thanks …

Member Avatar for JRitchie777
0
136
Member Avatar for capsitan

I am doing a payroll program that requires a sentinel value. I cant seem to get it right no matter how much I try. here is my code so far: //Filename: Payroll3.java //Description: Payroll calculator with sentinel loop //Author Name: Chris Russo //Date: 08/15/2010 import java.util.Scanner; public class Payroll3New { …

Member Avatar for tong1
0
416
Member Avatar for frodo_man

Hi all, I have 2 years experience with VC++ and C#, I am now looking for doing some smart phone apps, but I don't know which platform is better in the future, iphone or android? Which one should I choose? cheers

Member Avatar for Master Rattley
0
102
Member Avatar for love_bug

I have Webpage written using PHP that displays data from MySQL tables. I want my page to refresh after new records are entered to the database.

Member Avatar for gelos
0
348
Member Avatar for Sunshineserene

I have 2 arrays that are in a while loop each. I have declared the array ouside of the main, declaring it 'public static'. I want to use the values store in the array outside of the while loop, but I can't seem to do it. May I know how …

Member Avatar for Sunshineserene
0
817
Member Avatar for levsha

Here is my php: [CODE]<?php $confirm = $_POST['confirm']; if(($_POST['confirm'] == 'Y') {header("Location: http://mysite.com/sage/page1.php");} else {header("Location: http://mysite.com/sage/disagree.html");} ?>[/CODE] Here is the HTML: [CODE]<form id="form" action="terms_redirect.php" method="post"> <table id = "radio"> <tr> <td> <input type="radio" id="agree" name="confirm" value="Y" /> </td> <td> <label for="agree">I have read and agree to the Terms and Conditions</label> …

Member Avatar for levsha
0
210
Member Avatar for jemimaloh

hi. could some one help me. I am trying to read the tokens into the array but the datatypes are incompatible. what should i do to cast it into the same thing. the numbers from my text file are actually floats. But i can make do with just the integers …

Member Avatar for ~s.o.s~
0
133
Member Avatar for gunnarflax

Hi! I've started learning writing javascript objects with literal notation... [CODE]something = { variable: "value", method: function(){ //code } }[/CODE] instead of the usual syntax... [CODE]function something(){ variable = "value"; function method(){ //code } }[/CODE] the problem is that it's hard for me to adapt procedures which I'm used to …

Member Avatar for gunnarflax
0
195
Member Avatar for Karthik.gautham

Hi guys, i want to to know the follownig status in my php.ini file 1 zip is enabled or not 2 openssl is enabled or not i treied using ini_get('zip') but its not working pls help me out. Thanks in advance

Member Avatar for MindSter
0
180
Member Avatar for prem2

Hi, Can anyone send the download link of j2ee server. thank you, With regards, Prem

Member Avatar for prem2
0
39
Member Avatar for rapids79

Hi, Is anyone aware of a trial UML or a freeware UML that can generate a sequence diagram from a code written in C in visual studio 2008? Thanks, rapids79

Member Avatar for rapids79
0
69
Member Avatar for flutterby2006

Hi, I am lost when I need to upload some files, I feel lost as I can't figure out what to do. Can someone offer some advice, I really would appreciate the help!!

Member Avatar for MindSter
0
69
Member Avatar for phierzon

how to save a selected radio button in visual basic so that as you visit the form..its still selected???please help..

Member Avatar for phierzon
0
71
Member Avatar for PixelExchange

Hi everyone.. I've recently switched over from Visual Studio 6.0 to visual Studio 2010.. The problem is studio 2010 does not have an "execute .exe button," as version 6 does. Is there a way to manually place an execute .exe button inside of visual 2010?

Member Avatar for PixelExchange
0
111
Member Avatar for shannon.archer

Hey I've just started using C# and wanted to start employing DirectX as well however before I can start all the tutorials I go to say I have to add a reference to the library. Now I've installed and reinstalled the June 2010 DirectX SDK a few times but the …

Member Avatar for shannon.archer
0
236
Member Avatar for agr8lemon

Hello! As the title says, I'm trying to toggle a <tr> element of form based on the selected value of a drop down box. Here is my current code for the dop down: [CODE]<tr> <td><img src="require.gif" align="center" width="7" height="5"> Employee Type</td><td colspan="3"><select name="type"> <option value="Please Select an employee type:">Please Select …

Member Avatar for Jackson TKL
0
4K
Member Avatar for emchom

I have a question that i have to solve and that is to create a program that will calculate the surface are of somebodies body, then to calculate how much sunscreen they will need to cover their entire body using functions. This is what i have so far but i …

Member Avatar for Beat_Slayer
0
212
Member Avatar for Bigbrain99

[CODE]void addname(string name) { ofstream myfile(CONTACTS,ios::app ); myfile.open(CONTACTS); if (myfile.is_open()); { myfile<<i++<<name<<endl; myfile.close(); } }[/CODE] Initially the codes just kept on overwriting the existing file, but after that i was told to put ios::app. However, it is still now working....now even worse...ofstream is not even writing the file...hellp..

Member Avatar for Bigbrain99
0
117
Member Avatar for Garee

Hello, I am starting to learn java and I was wondering if anyone know of any resources/websites that have projects I could attempt to improve my skills and expand my java knowledge? Thanks.

Member Avatar for new_programmer
0
831
Member Avatar for urlstwohim

I would like the results from this script(it is working but results open in same window)to be displayed in a new window? Here is the code: [<?php function new_module_menu() { $items = array(); $items['new_module/form'] = array( 'title' => t('My form'), 'page callback' => 'new_module_form', 'access arguments' => array('access content'), 'description' …

Member Avatar for urlstwohim
0
191
Member Avatar for Babyblues

Hello, I am having trouble with my Odd/ Even Code. Can anyone help me with this? Or has a current code?

Member Avatar for new_programmer
0
1K
Member Avatar for Naveed_786

I am using the following code to delete record it did not delete record but just only populate message record deleted successfully what should i do now please please help me. [CODE]If TextBox1.Text = "" Then MessageBox.Show("Please Select record to delete......", "ALI ENTERPRISES", MessageBoxButtons.OK, MessageBoxIcon.Information) Exit Sub End If If …

Member Avatar for PsychoCoder
0
164
Member Avatar for lambing

Could someone help me, figure out why is that my new table always display the last row of data only. the code goes like this: [CODE] string connection_string = @"Data Source=.;Initial Catalog=calendar;Integrated Security=True"; SqlConnection conn; SqlCommand cmd; SqlDataReader dr; string cssMonth = "calMonth"; int i = 0; string[] dateTo; string[] …

Member Avatar for lambing
0
141
Member Avatar for xfrolox

well i didn't know how to name it, well my problem is that when i put center parent its centered from the form that was open obviously but when i put my program after the screen resolution like it cuts more then the half of the program and i open …

Member Avatar for xfrolox
0
217
Member Avatar for QWaz

Hi, I am about to blow my brains out. Im sure you've been there! I am trying to create a table in my MySQL database and getting this error -> SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds …

Member Avatar for QWaz
0
133
Member Avatar for come_again

Hello everyone, I don't have much experience with C++ and it has been a while since I have last used it. Right now I am writing my own class for quaternions. My problem which I cannot figure out is what is wrong with the operator overload shown below... No matter …

Member Avatar for StuXYZ
0
173
Member Avatar for fladei

Hello DaniWeb community! I have the following problem: I developed and OpenID authentication system on C#, it worked perfectly on my LocalHost, but when I published it, I keep getting this error messages about No OpenID endpoint found. I'm using Google, Yahoo, Chi.mp and myOpenID, and with none of them …

Member Avatar for Momerath
0
266
Member Avatar for Bigbrain99

when i tried to compile it, why i got expected primary-expression before input? [CODE]#include "mylibrary.h" #include "contadd.h" //for function declaration void Contact::setname(string name) { ofstream myfile; myfile.open(CONTACTS); if (myfile.is_open()); { myfile<<name<<endl; myfile.close(); } i++; } int main(int argc, char* argv[]) { vector <string> input; Contact addingname; if (argc == 2) …

Member Avatar for Bigbrain99
0
333
Member Avatar for CloneXpert

Hi, I have a constantly rotating image and i want to get the pixel at a specific point (where i click). The problem is that after the rotation the image won't update the bitmap with the new position, so the pixels will remain exactly the same whether the image is …

Member Avatar for Momerath
0
153
Member Avatar for enkidu75

I need to write a program for class. I'm not necessarily looking for code, just help. I need to file input data in this format: 01 - 00:53 - 70 01 - 02:45 - 50 01 - 03:31 - 79 01 - 04:30 - 56 01 - 05:55 - 59 …

Member Avatar for mrnutty
0
116
Member Avatar for jeevsmyd

I have been advised by many people that it is better to use integer return type for main function instead of void ! I actually dont understand what return 0 means .. main returns 0 value to program ! What does that mean ?! Could you please help me understand …

Member Avatar for gerard4143
0
142
Member Avatar for MichaelWClark

I have recently developed a pretty comprehensive Inventory application for my company. Today I loaded up SQL Server Profiler for the first time and started to play around in the application to see what and how many queries are really being ran. One section of my application utilizes a gridview …

Member Avatar for Lusiphur
0
81
Member Avatar for gaishi

Hello, everyone I just wrote a program by using vc 2010 and it won't compile. The reason was 1>------ Build started: Project: 17, Configuration: Debug Win32 ------ 1> 17.cpp 1>c:\users\yuan\documents\visual studio 2010\projects\17\17.cpp(101): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 1>17.obj : error LNK2019: unresolved …

Member Avatar for NicAx64
0
194
Member Avatar for Xufyan

[CODE] class character1{ public static void main (String args[]){ float a,b; a=Integer.parseInt (args[0]); b=(float)Math.acos(a*(180/3.14)); System.out.println (b); } }[/CODE] the above program isn't working when entering angle other than 1 , why ?

Member Avatar for tesuji
0
698
Member Avatar for Bigbrain99

When i tried to compile it, it gave me this error "no match for operator". Any idea how could this happen? This program will take user input and add it into dat file [CODE]#define CONTACTS "contacts.dat" #include <iostream> //enable the used of cin and cout #include <fstream> //enable writing file …

Member Avatar for Bigbrain99
0
225
Member Avatar for mike42intn

I am trying to make this project and im very new to this but i really want to learn this can anyone check this code for me and tell me whats wrong with it. I have to get it to add 2 fractions display result then display result in decimal …

Member Avatar for mike42intn
0
154
Member Avatar for breakid

Hi, I build a project in visual basic 2008 with reference excel. I copy the project to my notebook and now I get 15 error. [CODE] Warning 1 There are updated custom wrappers available for the following referenced components: Excel ,Microsoft.Office.Core. Warning 2 Cannot load type library for reference "AxMSChart20Lib". …

Member Avatar for JRitchie777
0
270
Member Avatar for scottyg13

Hi I was wondering if someone could help me with a code for my website? Basically what I want to do is have a drop down list that is essentially a matrix in the sense that picking one option leads to another and eventually you can narrow down the results …

Member Avatar for scottyg13
0
74
Member Avatar for SeanC

I'm trying to create a method which checks if a certain text file is empty, and if so it deletes it. However, the program seems to freeze for one reason or another when executing this part. [CODE]try { BufferedReader in = new BufferedReader(new FileReader("File List.txt")); String str; while ((str = …

Member Avatar for SeanC
0
2K
Member Avatar for ramukumar

Hi Friends I have two server 1. server 1 2. server 2 I want to execute a shell script in server 2 from server 1. shell script will returns few data i need to check in server 1 Please help me in this

Member Avatar for rch1231
0
162
Member Avatar for emchom

I am needed to create a program that could be used by judges judging a diving competition, where there is 7 judges and the lowest and highest scores are removed and the average is then calculated. this is what i have so far however it does not work. Can anyone …

Member Avatar for Beat_Slayer
0
1K
Member Avatar for clb8372

[CODE]For each of the following problems, use the top-down modular approach and pseudo code to design a suitable program to solve it. 1. Input names of students from the user, terminated by ZZZ, and create a data file GRADES with records of the form: student (string), test1 (integer), test2 (integer), …

Member Avatar for UnderAshes2008
0
503
Member Avatar for Temmu

hi, i'm wanting to do a for loop on the last line [CODE]System.out.println(host + "\t" + status);[/CODE] of this bit of code so that when i replace [CODE]String host = "server";[/CODE] with something like this: [CODE]String hostarray[] = {"pc","server","pc2","another","etc"};[/CODE] that i get output that looks like this: Server Up? pc …

Member Avatar for NormR1
0
104
Member Avatar for praveenpvs

Hello Everyone I need to convert string to an image in vb.net. In my project, i need to capture the signature and show it as image. Capturing signature is done and it returns the data as string. I need to take this string and show it as image. I am …

Member Avatar for JRitchie777
0
3K
Member Avatar for Joeflims

Hello. I am a n00b learning to code in Python. Right now, I am working on functions and parameters. To practice, I am making a simple Celsius-to-Farenheit converter. However,whenever I run the program it returns a NameError. I am confused in my n00bishness. Please reply. Here is my code: [CODE]>>> …

Member Avatar for Joeflims
0
137
Member Avatar for Bigbrain99

currently I'm building a program which can take people contact and add it to a dat file. However, when I tried to run the program, i got this error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript [CODE] class Contact{ private: int phones; string email; string name; public: void …

Member Avatar for Bigbrain99
0
5K
Member Avatar for axas

Hi i am new in oracle. i am having a problem. i need to collect datewise max time and min time from my table "dailyAtt" here is the data formate in my table.. ID Code Ptime 1 2570 14/10/2010 1:00 Pm 2 2570 14/10/2010 2:00 Pm 3 2570 15/10/2010 7:00 …

Member Avatar for tesuji
0
140
Member Avatar for ghosh22

Hii I am a learner of Perl and I am asking a silly question now, I think!! I have a text file containing: ABCDEFGHIJKLmnOPQRSTUVWxYZ Now I would like to translate those m n and x written in small letters into MN and X. How could I do that? I have …

Member Avatar for mitchems
0
90
Member Avatar for student_

here is the code: [code=python] def main(): totalBudget = 4000 printOptions() option = input("What would you like to do? ") while option != 5: if option == 1: newExpence = addExpence(totalBudget) totalBudget = totalBudget - newExpence printOptions() option = input("What would you like to do? ") elif option == 2: …

Member Avatar for student_
0
149
Member Avatar for tones1986

Hey all, I am currently working on a simple page that lists all current tickets for my small company. I want to be able to click on a ticket in the list, and expand the page with all replies etc for that ticket. basically something that would look like: Ticket …

Member Avatar for chrishea
0
141

The End.