199,114 Archived Topics
Remove Filter ![]() | |
I need help with converting standard time to military time through a button. Then being able to use another button to convert back. | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
I want to find out whether the password is incorrect for the username. I'm using sqldatareader. | |
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); | |
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 … | |
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 … | |
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 ? | |
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 … | |
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 | |
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 … | |
[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 … | |
could anyone help me regarding calling different python scripts from within a main script.How can this be acheived? Thanks in advance | |
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 … | |
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 … | |
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! | |
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 … ![]() | |
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 … | |
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. … | |
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. … | |
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 … | |
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"? | |
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 … | |
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 … | |
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 … | |
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. :) | |
Is there any way of emulating an .exe in a .NET application? | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
. 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 … | |
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 … | |
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> | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.