199,114 Archived Topics
Remove Filter ![]() | |
Could someone please help me out. I have an illegal start of an expression error at line 8 in the following code. [code]package untitled5; public class Untitled1 { public static void main(String[] args) { public static void main(String[] args) { int start_system, add_modify, add_modify_animal_data, report, exit_system; int check = menu(); … | |
please provide me best web soft phone to integrate with php with Mysql | |
Hello good people, I wanted to talk today about auxiliary functions. I have a brief understanding of what it is, however, I am still rather confused on what it actually does. Lets say for example I have a function that calculates leapyear as TRUE or FALSE, how would I use … | |
Hi, I hope there will be a suitable function or easy way to enable/disable save button until something is really changed in the GUI(frame). My frame consists of several panels, textboxes, Jtable,Jtree e.t.c. How can I design some function until some infomation is manually chnaged by the user to enable … | |
Hello, Please cek this website: [Infracom](http://www.indonusa.net.id/infracom/) There are some errors after I move it from localhost to webserver. header.inc.php <?php if( !defined('WDS_ROOT') ) exit; $meta = array(); $meta['title'] = 'Error 404 Object Not Found'; $meta['keywords'] = $config['sitekeywords']; $meta['description'] = $config['sitename'] . ' :: The page you looking for is not … | |
Hi all! I do the project about seafishing from the boat.Can anyone help to build the interesting storyboard.? Opened for ideas 24/7.Regards. | |
I have used Qt to create GUI program in C++, but i have given up in trying to statically compile Qt. i have moved on to microsoft visual studio 2013, the question i wanna ask is does the same problem occur in visual studio ( creating static programs ). if … | |
I am building a support application (VB.net 2010) for a device that will attach via USB. Most of the end users will not be geeks. In starting the app I need to discover available ports on the machine, which I can do with this code. myPort = IO.Ports.SerialPort.GetPortNames() 'Get all … | |
I rote this code in my program JSONNode::const_iterator iter = root.begin(); for (; iter!=root.end(); ++iter) { const JSONNode& arrayNode = *iter; std::string type = arrayNode["type"].as_string(); if(type == "node") { std::string id = arrayNode["id"].as_string(); double lat = arrayNode["lat"].as_float(); double lon = arrayNode["lon"].as_float(); Node node; node.SetId(id); node.SetLatitude(lat); node.SetLongitude(lon); nodesMap.insert( std::pair<std::string, Node>(id, node) … | |
Hello Everyone, Was just wondering if anyone here does Windows Phone Development? apart from Android and iOS are there are Windows Phone developers here that could help out? Thanks! | |
How can i make a list of value window in asp.net 2.0 with c# and how i get value from GridView of Child Page to a server control [TextBox] in a Parent window. | |
Hi everyone my Binary2Decimal is okay now because it can now hold 16 digits. But how come my Octal2Decimal and Hexa2Decimal can't hold 16 digits to convert to decimal it can only up to 5 digits. Can anyone correct this problem? #include<conio.h> #include<stdio.h> #include<string.h> #include<ctype.h> char base; char key; void … | |
I want to create a queue that holds certain information. I want it to hold multiple peices of information like below. Name, Age, Race, Sex. How can i create a queue FIFO. that holds multiple pieces of information like this that i can access or add into? Thanks! | |
How do I change this code so that the user can choose a math operation and determine have that type of operation(either add sub mult or divide) run as much as a user wants it to? Say, if the user wanted 5 addition questions only. And how do I keep … | |
How can we detect redundant rows.and maintain their count. if the rows are like 11111 11111 10101 11111 the result i want is 11111 4 10101 1 | |
"Checkbox1 Checkbox2A Checkbox2B Checkbox2AA --- hidden at first Checkbox2AB --- hidden at first" How will I implement this using javascript/jquery? When Checkbox1 is checked, Checkbox2A and Checkbox2B will also be checked. When Checkbox2A is checked, Checkbox2AA and Checkbox 2AB will be visible. | |
Anyone please help me., how to display selected data from database to listview using vb6, data with checkmark field. check data will be display and the not checked data will not display | |
I created following classes in my program. Way.h class Way { private: std::string id; std::string name; public: Way(); Way(const Way& orig); void SetName(std::string name) { this->name = name; } std::string const & GetName() const { return name; } void SetId(std::string id) { this->id = id; } std::string const & GetId() … | |
So i have small problem. Idk how to explain so we will go like this. I have 2 projects. 1. MyLib its compiled .dll 2. MyApp its compiled .exe Okay now Mylib has form, and MyApp has form. So there are 2 forms. Mylib form is login form with 2 … | |
Hi guys, need help here. I would like to check the registry key is exist for this code: Sub main() Dim regKey As Object = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D75F38ED-E49A-48F3-9B72-D4BC5FE73B44}", True) ' Check if it exists If regKey Is Nothing Then MsgBox("Registry key does not exist!") Else MsgBox("Registry key is exists.") End If End … | |
So I am working on an old project that uses libnet, actually it is a book example, and I cannot find a version 1.1 or 1.0 of libnet. I am going to somehow have to track the depreciation of certain functions and I have never done something like this before. … | |
Hello everyone. I am trying to teach myself the very basics of the Brian neuron simulator before attempting to modeling realistic networks. Any of you guys know how to use it? Specifically, the first exercise I am attempting is: dx/dt = 1 + x - y - x^2 - x^3 … | |
![]() | I'm having issues with repopulating my input fields after being submitted if there is an error. I've tried the simple `<?php if(isset($_POST['value'])){echo $_POST['value'];} ?>` That doesn't work. And I'm thinking it's because of how I have my else statements set up. I am currently using get to repopulate my fields, … ![]() |
Hello I'm trying to add coding to my site so that someone can visit it, see everything on the site, but get banned so that when they come back they can't see anything anymore. My guess is they have to be banned after visiting. I tried this code but it … ![]() | |
hi please help me. i have a google map on my website, but i cant get it to zoom out to show the circle radius, and it seems to be zooming only to view the markers. how can i zoom out to show the radius of the map? see below … | |
I just now installed python 3.3.4 on my mac os 10.9.1 mavericks. I am developing through the Wing IDE for mac. When i tried to change the python excutable from default to python 3.3.4 and restarted the program, a dialog box appeared thta said that the interpreter for python 3.3 … ![]() | |
Hi there, I am having a problem of passing arrays to functions, here is my code: void zeroMatrix(float **arr); void main() { float e[2][2]; zeroMatrix(e); } void zeroMatrix(float** arr) { int i,j; for (i=0;i<2;i++) { for(j=0;j<2;j++) { *( *(arr +i)+j) =0; } } } The problem is I want to … | |
Hello, I would like to know if it was possible to use a time limit on my application and log out the user after that time has expired? | |
would like some ideas of how to acutally create my own cd function from scratch using C programming.I'm building a shell program in C. | |
I need some assistance with a program I wrote and had to alter. Here are the initial instructions and what I initially had then my reworking and what I have now and any assistance would be helpful. Write a C++ program to help you balance your checkbook at the end … | |
I'm wondering if there's a way to cut the long statement and make it shorter as possible. the case is i have 5 radiobuttons each questions. thanks in advance.. =) If Q1.Visible = True Then If q111.Checked = True Or q112.Checked = True Or q113.Checked = True Or q114.Checked = … | |
Hi, i have this project where the size, 2d array of size n is scanned from a file; asks for the vertex pairs from the command prompt until the user decides to stop inputting them. There is something wrong with my code because it skips the scanning of int variables … | |
Hi, I am having trouble writing the code to work for my C# .Net assignment. I already design the form and now I have to get the code to work for my program. The problem I am having is if I put a number in my design form other than … | |
so i got a class going for making and showing tree elements, i need some help with the following: i need to display the leaves and the height of the tree. here is the code: // ar.cpp #include <iostream> #include <stdlib.h> using namespace std; class nod { public: char inf; … | |
Hello, I was wondering if someone could help me in this case. I need the program to open a txt file. But the User shall inform the location where the file resides. Can be by text. Example: "C: \ documents \ test.txt". To open files I know just the fopen. | |
Hi All, I am trying to create a VB application where I will have to upload the Excel data into MS access automatically, can anyone suggest me a method as how to do it? Regards, Srinivas | |
i really have a problem to this code. can anyone help me? Try Dim fBrowse As New OpenFileDialog With fBrowse .Filter = "Excel files(*.xls)|*.xls|All files (*.*)|*.*" .FilterIndex = 1 .Title = "Import data from Excel file" End With If fBrowse.ShowDialog() = Windows.Forms.DialogResult.OK Then Dim fname As String fname = fBrowse.FileName … | |
Hi all I Have 3 Queries in access 2 of them are being used as a calculator we willcalled them Cal1 and cal2. The third query The Order query displays the Customer , the orders and totals which consistes of cal1+cal2 (there is a possibilyty of some cells for cal1 … | |
`"SELECT IFNULL(count(id), 0) AS ctr FROM table WHERE date >= $from_date AND date <= $to_date AND GROUP BY WEEK(table.date)"` This should result to 0 row. But, instead of printing 0, it is returning an empty array rather than {0, 0, 0, ... } | |
Hello guys, I have a project to save an image from canvas to file. I have tried googling for 3 days and nothing works. Can anybody show me how to do it. I have search from this forum and this is what i get. http://www.daniweb.com/software-development/java/threads/436548/saving-canvas-as-image " Create a new buffered … | |
I have a WPF app which saves a few textboxes in a XML file. But for some reason sometimes it saves ok and the other time it does not. And the problem always is how it closes the XML file. For example, closing the XML file shoudl end with </Data> … | |
hello everyone. I am doing a program with c# DatabaseMicrosoftAcces And I got error Overflow. It points out in ExecuteQuery(); pls help me. Here's my code using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; namespace sad { public partial class … | |
Hi there, I'm a real newbie to python so sorry if this is a stupid question or if I don't fully get your answer, no hate please! I'm trying to write a small program to use when calculating differential equations bu using Euler's step method, don't worry if you don't … | |
I'm trying to convert a number from any base between 2-36 to any base between 2-36. I have the conversion to base 10, but I'm having trouble getting it from base 10 to the desired base. Any ideas? I know part of this idea will work, I just can't get … | |
Currently JTextField aligns all text to the left side, how do you change it so all text typed into it goes to the right side instead? | |
I am trying to print my queue which has values in it. Right now i have this. for(int i = 1; i<ReadyQueue.size(); i++) { } But i am stuck now because i have no idea how to print a queue without popping it off the front. So now i am … | |
I have a class below class CPU { public: void setPID (int a) { PID = a; } int retrievePID() { return PID; } private: int PID; }; And i am curious if you can create a queue into this class? I am trying to queue in a value into … | |
Hello, I am writing a little script that needs to get the timezone from an rss feed, and I am using [URL="http://www.feedparser.org/"]Feed Parser[/URL] to parse the rss feeds. The way that I am converting the date into Unix Epoch time is: [CODE] feedDate = feed['feed'].get('updated_parsed') or feed.entries[0].get('updated_parsed') feedDate = mktime(datetime(*feedDate[0:6]).timetuple())[/CODE] … |
The End.