199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lrw0831

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(); …

Member Avatar for stultuske
0
1K
Member Avatar for rambo12
Member Avatar for williamwalker
0
271
Member Avatar for Yozuru

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 …

Member Avatar for slate
0
5K
Member Avatar for yamini222

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 …

Member Avatar for JamesCherrill
0
1K
Member Avatar for davy_yg

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 …

Member Avatar for Alberto Bucur
0
129
Member Avatar for PulsarScript

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.

Member Avatar for stultuske
0
159
Member Avatar for butterfingerss

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 …

Member Avatar for butterfingerss
0
264
Member Avatar for julie.macfarlane.73

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 …

Member Avatar for julie.macfarlane.73
0
328
Member Avatar for janith.amarawickrama

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) …

Member Avatar for Banfa
0
514
Member Avatar for Ahmed.C

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!

Member Avatar for Sw8Lala
0
204
Member Avatar for 21300342
Member Avatar for mayaestat
0
112
Member Avatar for sanchaki

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.

Member Avatar for bansgaon
0
81
Member Avatar for john.kane.100483

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 …

Member Avatar for David W
0
182
Member Avatar for mystycs

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!

Member Avatar for David W
0
898
Member Avatar for glamiex

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 …

Member Avatar for David W
0
158
Member Avatar for anku83

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

Member Avatar for gon1387
0
250
Member Avatar for ethan.david.376

"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.

Member Avatar for gon1387
0
222
Member Avatar for Gregd3rd

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

Member Avatar for Gregd3rd
0
58
Member Avatar for janith.amarawickrama

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() …

Member Avatar for rubberman
0
177
Member Avatar for cazmere
Member Avatar for uDevv

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 …

Member Avatar for tinstaafl
0
247
Member Avatar for Junz_1

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 …

Member Avatar for Junz_1
0
1K
Member Avatar for overwraith

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. …

Member Avatar for L7Sqr
0
112
Member Avatar for toll_booth

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 …

0
139
Member Avatar for JayGeePee

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, …

Member Avatar for JayGeePee
0
310
Member Avatar for tallon

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 …

Member Avatar for diafol
0
2K
Member Avatar for matt.haselip

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 …

Member Avatar for matt.haselip
0
515
Member Avatar for romil.agrawal.1

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 …

Member Avatar for Alex_20
0
250
Member Avatar for cppgangster

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 …

Member Avatar for David W
0
343
Member Avatar for 21345570

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?

Member Avatar for 21345570
0
129
Member Avatar for shaneetra.graham

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.

Member Avatar for Ancient Dragon
0
500
Member Avatar for LucyLogic

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 …

Member Avatar for David W
0
3K
Member Avatar for Gen_2

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 = …

Member Avatar for Reverend Jim
0
176
Member Avatar for blue_Student

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 …

Member Avatar for Ancient Dragon
0
518
Member Avatar for phephe

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 …

Member Avatar for Armen_2
0
2K
Member Avatar for dan.doca

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; …

Member Avatar for dan.doca
0
376
Member Avatar for Adox

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.

Member Avatar for rubberman
0
230
Member Avatar for Srinivas_2

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

Member Avatar for Reverend Jim
0
144
Member Avatar for Gen_2

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 …

Member Avatar for Reverend Jim
0
162
Member Avatar for VIPER5646

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 …

Member Avatar for VIPER5646
0
262
Member Avatar for ethan.david.376

`"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, ... }

Member Avatar for cereal
0
1K
Member Avatar for Lius

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 …

Member Avatar for Lius
0
2K
Member Avatar for Sevyt

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> …

Member Avatar for Mike Askew
0
2K
Member Avatar for SkyCross

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 …

Member Avatar for Momerath
0
791
Member Avatar for kangarooblood

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 …

Member Avatar for rrashkin
0
367
Member Avatar for Emma_3

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 …

Member Avatar for David W
0
521
Member Avatar for Gink

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?

Member Avatar for vrebo
0
146
Member Avatar for mystycs

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 …

Member Avatar for David W
0
1K
Member Avatar for mystycs

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 …

Member Avatar for David W
0
473
Member Avatar for Opsive

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] …

Member Avatar for Gribouillis
0
913

The End.