199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NH1

I need help with converting standard time to military time through a button. Then being able to use another button to convert back.

Member Avatar for NH1
0
186
Member Avatar for Khodz

So i'm trying to make a module for my program that returns a multidimensional array based on another array in the form of a command-line argument. Here is the module that's keeping me up at night: [CODE]public static double[][][] getDimensions(String [] args) { final int l = args.length; double dimensions …

Member Avatar for Khodz
0
172
Member Avatar for DanHu

ok so i have 3 separate classes: Product, Action, and Invoice. Action would be my interface that allows me to add and remove items in my hashmap that is in my Invoice class. my Product class would have the instance variables name, info, id and quantity (correct me if I'm …

Member Avatar for NormR1
0
514
Member Avatar for buster2209

Whilst I can find MANY examples of how to split a string based on a certain character within that string, how can I split a string based on the no of chars For example, I have a string that is 20 chars long but I want to create a newline …

Member Avatar for buster2209
0
103
Member Avatar for Geekitygeek

Its been a few years since i've coded any network applications so I was hoping for some suggestions on the best approach. I have written two programs which i now need to have them communicate with one another. They are both running on a LAN (over VPN) with static IP …

Member Avatar for mshauny
0
121
Member Avatar for buster2209

I'm wanting to automatically upload login details to a router then download the relevant page into a textbox in c sharp. How can this be done?

Member Avatar for buster2209
0
101
Member Avatar for sheiyvin
Member Avatar for shabir_24

heyy guys wats up !?? i am trying to convert a list(c++) in qt list... i have no idea how i can do that.... the list is a list of employee objects.... (id , name, rate) i want a list of qtlist which containts the employee objects or at least …

Member Avatar for Banfa
0
122
Member Avatar for Traicey

Guys I have a textbox, I wana enter 4 digit and when I press enter it should show a label I have add the label but its not working the code I have look more like this [ICODE]if(e.KeyChar == 4) { this.Controls.Add(label); e.Handled = true; }[/ICODE] Any help will be …

Member Avatar for tawadchai
0
96
Member Avatar for AngelicOne

I want to find out whether the password is incorrect for the username. I'm using sqldatareader.

Member Avatar for AngelicOne
0
125
Member Avatar for tonvlad

i'm trying to explode my variable but it has a single quote which is invalid in my mysql syntax. can u help me how to explode a single quote?? list($a, $b) = explode("'", $des);

Member Avatar for dddougal
0
253
Member Avatar for rodce

Good Day All, I'm relatively new to programming. And I'm taking a C# course at the local University. Is there a place I can go on DaniWeb to get help with coding questions? Thanks, R

Member Avatar for mshauny
0
154
Member Avatar for BarryBrooks

First of all I'd like to apologise in advance if I do not explain this very well, as I'm not overly familiar with javascript, but here we go. I'm currently working on an ecommerce page on ebay, I've added html code within the description of a listing to make it …

Member Avatar for BarryBrooks
0
120
Member Avatar for 47pirates

For my school project , I got student details in database and according to system of that school yearly the student standards are raised by one grade . So how can i code so that the data i've entered in database, say 4 grade this year will become 5 grade …

Member Avatar for 47pirates
0
128
Member Avatar for mogaka

my application icon looks ugly-like a paper and i would like to change it to something like globe icon or any suitable image.Am programming using visual studio 2005 and the program is written in vb.net.Can somebody save me ?

Member Avatar for Oxiegen
0
93
Member Avatar for jammiedude

Ok im trying to get my head around this and i could do with some input from someone else, brains about ready to shut up shop! So im looking at LINQ to try and pull off records where a confirmed field is equal to null. The confirmed field is a …

Member Avatar for jammiedude
0
891
Member Avatar for SC803

public class kgPoundsConverter extends JApplet 12 { 13 private JPanel kPanel; // To hold a text field 14 private JPanel pPanel; // To hold a text field 15 private JPanel buttonPanel; // To hold a button 16 private JTextField kgram; // kilogram 17 private JTextField pounds; // pounds

Member Avatar for Nick Evan
0
88
Member Avatar for nammae

Hi everybody, I am a newbie in C#. I have a fragment code but it doesn't run. Here is my code: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int number; string type; number = 5; if (number …

Member Avatar for nammae
0
108
Member Avatar for lewashby

[CODE]+--------------+------+------------------------------------+-------+ | ProductCode | Qty | Title | Price | +--------------+------+------------------------------------+-------+ | relationaldb | NULL | The Relational Database Dictionary | 14.99 | | artofsql | 50 | The Art of SQL | 44.99 | | databaseid | 0 | Database in Depth | 29.95 | | mysqlspp | 5 …

Member Avatar for xandro
0
102
Member Avatar for novice20

could anyone help me regarding calling different python scripts from within a main script.How can this be acheived? Thanks in advance

Member Avatar for cghtkh
0
230
Member Avatar for Ryan61343

Anyone able to help load a list box using a text file I load the text file into a single string then split at every new line and put into an array of strings then us the array of strings as the data source for the list box. The problem …

Member Avatar for AndreRet
0
84
Member Avatar for rcbpro

I want to let others to delete selected row in the following datagrid view, and i have written it like this. Now when i select a row and press the delete button i can remove the selected row but it will not update the database which meant it will not …

Member Avatar for nikita111
0
503
Member Avatar for VBNew

Hi, I need to have a status bar at the bottom of the screen which will show the login name and project after I login. I have no idea how to start in VB6, could you help? I have attached a sample. Please help! Thanks!

Member Avatar for AndreRet
0
90
Member Avatar for phpDave

Hi, Currently I am working on a site that lets users upload photos for their personal page. This page is just a prototype so some of the code is very sloppy so I really should not post all of it. Anyway, here is some: [CODE]$id =$_GET['id']; if(!isset($id) || empty($id)){ die("Please …

Member Avatar for P0lT10n
0
83
Member Avatar for ehsantl

Hi guys I'm trying to finish my assignment, I stuck in a weird situation. I'm trying to create a pointer a linkedlist. This linkedlist contains pointer to a user-defined objects (City) and I'm trying to add City to this linkedlist and then iterate through the linked list to find and …

Member Avatar for ehsantl
0
172
Member Avatar for TinhornAdeniyi

I cant figure out what is wrong with this code These are the instructions [ATTACH]17304[/ATTACH] [ATTACH]17305[/ATTACH] [ATTACH]17306[/ATTACH] and this is my code [CODE]#include<iostream> #include<fstream> #include<iomanip> using namespace std; void Get_Info(string[],int[][3]); void Get_Average(int[][3]); void Prt_GradeBook(string[],int[][3],int[]); int MakeUps(int[][3]); int Grades[5][3],average[5]; string Students[5]; int main() { Get_Info(Students,Grades); Get_Average(Grades); Prt_GradeBook(Students,Grades,average); cout<<"There are"<<MakeUps(Grades)<<"Makeup(s) to arrange. …

Member Avatar for VernonDozier
0
197
Member Avatar for perryg30313

I am using a stored procedure to fill a dataset with a large amount of data (47k rows and 8 columns). I am needing to fill two tables with the results of this stored proc. One table will have data representing 47k reps that currently have credit for a transaction. …

Member Avatar for Oxiegen
0
133
Member Avatar for cmccully

Hi all, I have an AJAX function that sends the contents of a text field to a PHP file. The file checks for duplicate entries and if unique stores the new record in MYSQL. This all works fine. However, I would like the PHP file to send back an alert …

Member Avatar for cmccully
0
85
Member Avatar for dustbunny000

for: [CODE]import random keys='abcdefghijklmnopqrstuvwxyz ' random.choice(keys)[/CODE] How would I count how many times it takes random.choices(keys) to generate "m"?

Member Avatar for D33wakar
0
168
Member Avatar for joewinsock

trying to make a payroll program, im pretty sure this is all the code i need. maybe 1 or 2 maybe 3 extra lines. ERRORS: operator * cannot be applied to java.lang.String operator * cannot be applied to double,java.lang.String operator * cannot be applied to double,java.lang.String ERRORS in CODE are …

Member Avatar for joewinsock
0
143
Member Avatar for jj.amonit

Using the above technologies, I want to create a PDF, store it in my db, and email it. All with the click of one button. I also want to call it up and have it be able to display with a hyperlink. I am very new to FPDF. Therefore, I …

Member Avatar for red_ruewei
0
1K
Member Avatar for Mahaa

Hi, I am pretty new to this scripting language. I have just installed the following s/w packages in my system via XAMPP. >php >MySQL >Apache Next,I started writing a basic script in notepad and saved it as "hello.php" My question is where to run this script, either in the Command …

Member Avatar for Mahaa
0
735
Member Avatar for leopardsag

I want to create pdf from sql result and then also mail it or save it. Kindly advise. I want any link to working example and code or simple code. Thanks. :)

Member Avatar for red_ruewei
0
157
Member Avatar for liamzebedee
Member Avatar for samuel_1991

Ever since the "disatrous" Adobe Encore (CS4 and 5 does not matter)'s way of storing the installation directory details in Sqlite database file and some uninstall string in the registry, I would like to create dll to get the install directory from Sqlite database as per recommended by the Inno …

Member Avatar for samuel_1991
0
724
Member Avatar for HedoBum

This is stumping me...it's probably pretty obvious, but I'm working under medication for the flu... I finally got my form submitting to my database and to separate tables from the update.php script. Problem is, (I know this sounds trivial and I shake my head as I query) I can't get …

Member Avatar for HedoBum
0
140
Member Avatar for sajohnson05

Below you will find my code for a form. I am trying to do Regular expression. I have the expression but when i enter something that is not right it will still post. I believe the reason is that i am still calling the $_POST of original not taking into …

Member Avatar for timhysniu
0
101
Member Avatar for ziaul1234

Hi I am just stucked. Would be great if someone can help me. I have created form in page1.html. User fill the form and can view it in page2.php where there is also an edit button. If they need to edit any details, page3.php comes and they they can edit …

Member Avatar for timhysniu
0
225
Member Avatar for iqlas

[COLOR="Red"]could any one explain me this code pls[/COLOR] [CODE] Imports System.Runtime.InteropServices Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose …

0
141
Member Avatar for rena0514

I have to create a program that uses a class that adds, subtracts, multiplies, and divides fractions....and then reduces them....I did the program to make sure calculations worked and they did....I just began trying to reduce the fraction but I'm stomped. I have many errors concerning my get and set …

Member Avatar for StuXYZ
0
193
Member Avatar for muraj

. Goal is for user to input 2 numbers then get a multiplication chart with a row and column. Example: user enters 3 and 5, then should print ...3 4 5 (disregard the dots) 3 9 12 15 4 12 16 20 5 15 20 25 My program will not …

Member Avatar for muraj
0
1K
Member Avatar for Shandelzare

Have you ever forgot or lost your SQL Server sa password? Did you hava any ideals to reset your lost sa password? Or choosed to reinstall MS SQL Server on your PC again? I once forgot my SQL sa password and I reinstalled SQL Server at last, because I failed …

Member Avatar for Shandelzare
0
252
Member Avatar for MKDWOLF
Member Avatar for techie929

How Can I read the below file without using tag names.If suppose I have to fetch Title value, I know using xmlDoc.getElementsByTagName("title").item(0).firstChild.nodeValue; But How can I read without using Tag Names. <catalog> <title>Airbus Aircraft Families</title> <aircraft> <Airbus>A380</Airbus> <Aircraft>A380 </Aircraft> <seats>555</seats> <Range>15000km </Range> </aircraft> </catalog>

Member Avatar for hielo
0
145
Member Avatar for flowerzink

Hello, I have a problem, and I'd be grateful if someone could help me solve it. It's divided in two parts: 1. Record a sound using only code (Doesn't have to be in c++) 2. Being able to use the sound of a hanclap and use it to trigger an …

0
93
Member Avatar for ana_1234

Hi everyone, I have an assignees that I've been working on and I'm stuck on the last function. use the function void Increment(int numDays = 1) This function should move the date forward by the number of calendar days given in the argument. Default value on the parameter is 1 …

Member Avatar for brandonrunyon
0
249
Member Avatar for coding101
Member Avatar for ankilosado

Hi, there, I am also very new to Java. For class, I have to create an structure that reflects that of a document stored in a plain txt file. The hyerarchy of the classes is: Class document is made of //complex objects class Page objects, that are made of class …

Member Avatar for ankilosado
0
482
Member Avatar for amarnathnn2713

Hai Friends, I am very new to perl Scripting... but my task is somewhat tricky.. Actually i want to connect remote machine from local.. I think it is possible using [B][COLOR="Green"]Net-SSH-Perl [/COLOR][/B]but i unable to install in windows platform. if anybody have answer? Please give some idea about connecting remote …

Member Avatar for brandonrunyon
0
846
Member Avatar for nyler01

i need help. i am developing a webpage which is the user is able to log in,log out, register, and change password but my problem is the tutorial that i've seen so far is about mysql. i am using ms access database and i want to do this stuff using …

Member Avatar for nyler01
0
208

The End.