64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for cool_zephyr

I'm packaging my java program as a jar..it includes mysql-connector.jar..it runs fine when i run it in eclipse..now i need to distriute the jar file..I packaged the jar file and when I run it through command line using java -jar myprogram.jar, it throws ClassNotFoundException: com.mysql.jdbc.Driver could anyone please tell me …

Member Avatar for cool_zephyr
0
350
Member Avatar for mixelplik

I'm practicing my parsing, and I'm writing a program with an overloaded function that counts the words in a user entered cstring and regular string. Suprisingly the cstring was easy peasey but the string object is has me a stumped. I don't think my cstring was the most efficient solution, …

Member Avatar for mixelplik
0
326
Member Avatar for mixelplik

This code is supposed to randomly assign numbers to an array of structs, but isn't working at all. I have no clue why, everything looks fine to me, can some one take a look and tell me why it's crapping out on me? #include <iostream> #include <cmath> #include <cstdlib> #include …

Member Avatar for mixelplik
0
99
Member Avatar for brandon66

Hello everyone im not very good with using pointers, maybe just need more explanation of using them/how i would change my code. Well i have to update this program i have to read in item number cost and qusantity from a file instead of getting it from the user. the …

Member Avatar for brandon66
0
279
Member Avatar for CoilFyzx

Hello good afternoon. I have successfully serialized data in the past, however it seems as if I don;t fully understand the process. I have a class called ProgramState which stores a variable (called lastCreated) with custom class LinesProject and an ArrayList variable(called recentProjects) of this custom class. The purpose of …

Member Avatar for CoilFyzx
0
391
Member Avatar for dlmagers

Needing some help with a small problem. I have this program that is not compiling correctly. The instructions are simple which are: The PairTest should prompt the user for the two values, create a Pair object with the values and then print the average, distance, maximum, and minimum of the …

Member Avatar for JamesCherrill
0
196
Member Avatar for HunainHafeez

i am calling store procedure from MVC, which returns single record only. SP contains: PROCEDURE [dbo].[GetMonthlyReport] @emplID INT = NULL, @month VARCHAR(50) = NULL AS BEGIN IF (@emplID IS NOT NULL AND @month IS NOT NULL) --If Block begins BEGIN SELECT * FROM MonthlyRecord WHERE Month = @month AND EmplID …

Member Avatar for HunainHafeez
0
120
Member Avatar for Mr.M

Hi Dw I'm create an application that register a user and now because we accept even oldest people we have to include their years in a dropdownbox so I'm not sure if this is possible but I do think it is possible it just that I don't have a clue …

Member Avatar for Spyderbane
0
215
Member Avatar for Paladine

This is sample code for a ASP.Net Login page (using Visual Basic.Net code behind) with OleDB connection to an Access Database using ADO.Net. The datebase used is the Access Northwind Database. With the connection string being placed in the [i]web.config[/i] file. [b]1. [u][i]Web Config[/i][/u] File code:[/b] [code] <?xml version="1.0" encoding="utf-8" …

Member Avatar for Anita_1
2
19K
Member Avatar for nazree.zeko

So i got one form so the user can enter and submit their personal details. The problem is i didn't apply any validation . I've done a simple validation like this , but it seem to be not working . function validate(){ if((\$('txt_no_kp').value != '') && (\$('txt_nama').value != '') && …

Member Avatar for nazree.zeko
0
250
Member Avatar for LeNenne

Hi I will from the database only copy some textboxes to excel to specifik place in the excel sheet Just those from the database surename,lastname,adress,zip,zipadress,prn only one at the time PS ! the excel sheet is an invoice one textbox to excel i4 = prn one textbox to excel f9 …

Member Avatar for Stuugie
0
136
Member Avatar for johnef_sh

hi I using PHP/MySQL with Google Maps from here https://developers.google.com/maps/articles/phpsqlajax_v3 and then I used PHP's DOM functions to Output XML from here https://developers.google.com/maps/articles/phpsqlajax_v3#outputxml everything working fine with me but I need to center google map on the marker. here is the code that center the map and make the zoom …

Member Avatar for johnef_sh
0
9K
Member Avatar for ghazanfar abbas

draw a flow chart to discribe your logic to find out and disply to given charecter from lower case,uper case or number. asci table below. 65-95(A-Z),97-122(a-z) and 48-57(0-9).

-1
79
Member Avatar for davidjennings

Hi all, I am looking to extract address line of text into arrays in a word document. I am only really looking for the postcode to extract. Any help would be appreciated Thanks David Velta - The Underfloor Heating Company, Wombwell School, S73 8AX Speedy Asset Services Limited, C/O Arnold …

Member Avatar for davidjennings
0
304
Member Avatar for Noralyn_1

hello, ahm, can somebody help me, i'm always getting this error InvalidArgument=Value of '25' is not valid for 'index'. Parameter name: index this is my code: Dim currrentRow As Integer currrentRow = lv2T1.Items.Count() If compare(lv1T1.Items(currrentRow).SubItems(2).Text, txt2T1.Text) = True Then Dim lv As ListViewItem lv = lv2T1.Items.Add(txt1T1.Text) lv.SubItems.Add(txt2T1.Text) txt1T1.Text = "" …

Member Avatar for Noralyn_1
0
400
Member Avatar for lydia21

hi i am doing a attendance sheet appln... i want to know how to get the current indian time,date,month and year..... and i want to store that in mysql database lydia

Member Avatar for kharthikeyan
0
3K
Member Avatar for Linddha

i have a script for replace char that i want for URI in php. But now i need these result but using Javascript. i've try to change using Javascript but cant run <?php function seo_title($s) { $c = array (' '); $d = array ('-','/','\',',','.','#',':',';',''','"','[',']','{','}',')','(','|','`','~','!','@','%','$','^','&','*','=','?','+'); $s = str_replace($d, '', $s); …

Member Avatar for Linddha
0
272
Member Avatar for engrjd91

**Task:** I'm currently working on my final year project and i have to present my evaluation in 10 days. The only task which is left is to connect my android application to a database through WIFI. **Database:** I have to work on sqlite3, and currently I've Installed Navicat IDE for …

Member Avatar for peter_budo
0
164
Member Avatar for alexandru.caplescu

Hello everybody,can someone help me? i have to make a program who ilustrates Kirchhoff's first law.Thank You!

Member Avatar for Suzie999
0
1K
Member Avatar for Tcll

lol don't take any offence to the title XD just being funny :P anyways... I'm having a problem with my function... it's supposed to allow you to read/write float values in any specified byte length. but there's a problem with the output value >_> first off though I must state …

Member Avatar for Tcll
0
851
Member Avatar for murali2489

Hi Team, I have two java Files 1. Print (Package A) 2. Apple (Package B.C) (Jave file is inside C:\Z\A\B\C\ I have compiled and kept Print.class file inside C:\Z\A\B\A\ Now i have made a Jar file of Print.class named MyJar.jar and kept it in Z\A\ When i try to compile …

Member Avatar for murali2489
0
666
Member Avatar for Vish0203

Hi everyone, I know that we can pass string as command line argument and use it as we want. But, can we pass a text like "this or that" (with several spaces)?? Is there any way??

Member Avatar for Vish0203
0
95
Member Avatar for rubai

I am new in plugin development. I created a plugin with the help of http://codex.wordpress.org/Creating_Options_Pages <?php /* Plugin Name: 1pluginframework Plugin URI: Description: Custom plugin for lendingbig website. Version: 1.0 Author: Jahur Ahmed Author URI: License: GPLv2 or later */ // create custom plugin settings menu add_action('admin_menu', 'baw_create_menu'); function baw_create_menu() …

Member Avatar for rubai
0
316
Member Avatar for siskaj

Hello. I have problem with compiling this piece of code after "install" of Allegro (according to this http://www.daniweb.com/software-development/cpp/threads/248782/help-installing-allegro-for-bloodshed): #include <conio.h> #include <stdlib.h> #include “allegro.h” int main() { allegro_init(); printf("Allegro version = %s\n", allegro_id); printf("\nPress any key...\n"); getch(); return 0; } END_OF_MAIN(); Because I got these errors: 3:10 ..\GetInfo\main.cpp #include expects …

Member Avatar for siskaj
0
354
Member Avatar for mbarandao

Hello, I have the following string and would like to use preg_match() to extract parts of the string. Yang club 4931 Wyaconda RdRockville, IA 20852 301-937-3401 Monday - Friday - 3:00 - 10:00PM and Saturday & Sunday -12:00 - 8:00PM another possible string is: Kahler Hall 5440 Old Tucker Row …

Member Avatar for mbarandao
0
820
Member Avatar for V3N0M

Hi everyone can anyone help me debug this code apparently it works on my mac and doesnt work on windows and codepad.org. Thanks in advance: //Tic_Tac_Toe game #include <stdio.h> #include <stdlib.h> /************************************ function prototype ***********************************/ void displayBoard(); int verifySelection(int, int); void checkForWin(); /************************ gloobal variables ***********************/ char board[9]; char cWhoWon …

Member Avatar for V3N0M
0
315
Member Avatar for ankman

Im new to programming python3 and i'm trying to write a password program. i want to compare a word from a .txt file with a input. no matter if i type the password in write or wrong it always comes up 'access denied!' inFile = open('passwordtest.txt', 'r') password = inFile.read() …

Member Avatar for Gribouillis
0
2K
Member Avatar for Start4me

I’m trying to create a textbox, where the user enters a number, and the output shows a word representing each digit, each word is in an individual label created by the code, regardless of how many digits are entered. So if the user enters 153, the output will be: one …

Member Avatar for Start4me
0
511
Member Avatar for mixelplik

I have no clue why this search isn't working. Two majors problems (1) As is it always returns false (2) It would recognize valid IDs if instead of setting found to true, I just returned true, but I don't want to do it like that, and if there was an …

Member Avatar for rubberman
1
125
Member Avatar for murali2489

Hi Team, I am almost going to finish learning core Java and my employers said openings are available for Hibernate/Spring/Struts. I am just wondering whether can i directly start studying one of these frameworks after Core Java. Some people said these Frameworks contains JSP,servlets and important J2EE concepts so that …

Member Avatar for rubberman
0
266
Member Avatar for glamiex

Hi guys, my assignment is to create a program that sets up a menu for a user to choose from. The menu should consist of an addition, subtraction, multiplication and division problem. It seems to work well, but the only thing that's not working is the division problem. Whenever I …

Member Avatar for rubberman
1
160
Member Avatar for mavtcr

I was working with VB6. Now I am trying to study VB.NET. In vb6 There is Cancel property for command button eg. If we make the cancel property of exit command button 'True',then if we press Esc key ,we can exit from that form even without clicking the exit button. …

Member Avatar for Start4me
0
273
Member Avatar for theashman88

I'm currently using Microsoft Visual Studio express 2013 for Windows Desktop. I have a program that I created and want to share it with friends, but I'm trying to locate the .exe file. (It's a terminal program that gives a quiz). How can I find the executable file. Or do …

Member Avatar for Ancient Dragon
0
167
Member Avatar for vishalonne

Hello I am writing an PHP module for admission process. It have an admission form. Tentatively ddmission process start from mid of March and ends in mid of May (not fixed). My question is what is the best way to activate and deactivate the calendar control of this admission form …

Member Avatar for JorgeM
0
181
Member Avatar for centenond

So , i want when ppl click on my picture open like a new window to show full size picture like facebook, im thinking this gotta be javascript .. How would i do this? Thanks :3

Member Avatar for centenond
0
178
Member Avatar for pekemp23

I am trying to finsih this coding and something is missing and teacher has asked me to init the doubles. I am struggling with the finishing touches of this program. import java.awt.*; import java.awt.event.*; import javax.swing.*; /** * The MenuWindow class demonstrates a menu system. */ public class CellPhonePackage extends …

Member Avatar for stultuske
0
251
Member Avatar for patk570

Hi guys, I am trying to get the last_insert_id() from the table above, that way when it sends the query and is successful, it then updates the events table with timestamp, id , asset type and asset id from the insert code. I am currently using the max(id) but its …

Member Avatar for patk570
1
2K
Member Avatar for Jochen_1

Hello , i am making a website and have difficulties using Google Chart API. I am using a annotated timeline chart and it works. But i want to change the look of the chart and i am having difficulties with that . Mayby somebody here can help me ? Here …

0
165
Member Avatar for mbarandao

I am generating a multidimensional array which outputs in the following format: Array ( [0] => Array ( [cName] => "Club Name (Exp. Date)" [location] => "" [days_times] => '0' [zip] => 0 [state] => 0 [contact_person] => "" [contact_phone] => '0' ) ) Array ( [0] => Array ( …

Member Avatar for mbarandao
0
329
Member Avatar for notAdmin

how to set the domainupdown.Items with data from selected column datagridview? as far as i know, first get the data from datagridview: string[] myData = null; for (int i=0; i<datagridview.rows.count; i++) { myData[i] = convert.tostring(datagridview.rows[i].cells[0].value.tostring(); } how to set the domainupdown.Items = myData?

0
72
Member Avatar for theashman88

I'm trying to create a program in c# that asks the user a question and then tells him if he is correct or incorrect, the code I am using only allows for case to be the same. Is there a way I can compare two strings without it checking for …

Member Avatar for theashman88
0
321
Member Avatar for kjklls

hey guys, i'm currently working on a project, i have a tabbed panel and i've put a timer on the 1st tab panel. what i want to do is for the timer to remain enable even if i change tabs. what could i possibly do for this problem? thanks

0
145
Member Avatar for stackOverflow

Hi, I have a problem. I have put up an image on a form of .jpeg format.(copy and pasted).. But when i save it... it works fine at home.. .when i copy it on a cd... it is not saving the background image. Rather ... when I try to open …

Member Avatar for sonunclejalil
0
6K
Member Avatar for chubbyy.putto

I am creating 30 random from last function and the last function have pass the information to this one. I am using the bubble sort because i want to make a mode. But mode is not idea here. Anyway, it run but it show some crazy output. Here is the …

Member Avatar for chubbyy.putto
0
260
Member Avatar for WafflesAndCream

I am stuck on getting my program working, basically i am building a elevator simulation with multiple elevators which move simultaneously so i decided to use threads to do so. Thats when the problem manifested. Basically i have a set of buttons indicating which floor the person would like to …

Member Avatar for ddanbe
0
143
Member Avatar for wkwasniak

Hi. I just wonder, is it possible, to validateform , which has been "echoed" in PHP using JavaScript function? See code below <?php if(isset($_SESSION['email'])){ echo"You are looged in as ".$_SESSION['email']. "</br> "; echo' <form action="confirmlogout.php" id"logoutform" method="post"> <input type="submit"id="sub" name="sub" onclick="" value = "LOG OUT" /> </form></br>'; } else{ echo …

Member Avatar for wkwasniak
0
336
Member Avatar for Limiter

Hi guys, I have worked with PHP and MySQL before and recently I wanted to try and learn ASP.net MVC since some of my friends are using it in the work place. But the most confusing thing about this is, why does all the tutorials out there not mention how …

Member Avatar for Limiter
0
463
Member Avatar for chaitu11
Member Avatar for mavtcr

Friends I am new to VB.Net Please help me I have two text boxes. When I press the 'Enter' key in the first text box the focus should go to the second textbox What will be the code?

Member Avatar for G_Waddell
0
989
Member Avatar for momal

This is my question and I've managed to bring out an answer for part a, but for part b I'm not really confident about my answer of part b. In a recent court case, a judge cited a city for contempt and ordered a fine of $2 for the first …

Member Avatar for momal
0
2K

The End.