132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bobbuilder67

Hello everybody, For a project my dad has enlisted me in, I am to be able to communicate with a Vitamin Scanner from a computer. To illustrate, he opened 'Hyper Terminal' (should come with most Windows computers). He set up a communication using the program, and told me the baudrate, …

Software Development c++ windows-xp
Member Avatar for bobbuilder67
0
440
Member Avatar for chromatinpt

Hello! I´m receiving in one text.box some values from external software. The kind of value can be something like this: 0.234 2.345 23.45 234.5 2345.6 23456.7 etc... I need to round and have only 1 decimal value. If I use: [CODE] decimal x; x = decimal.Parse(original.Text); arredond.Text = Math.Round(x,0).ToString(); [/CODE] …

Software Development
Member Avatar for chromatinpt
0
79
Member Avatar for lllllIllIlllI

Hi, i have been using the wxPython TimeCtrl for a while now, when fiddling with it i realised that it would never go to 10:00 AM.. It would always just skip to 11 o'clock. I found it still did this in the wxpython demo. I was wondering if this was …

Software Development python
Member Avatar for sneekula
0
95
Member Avatar for Lolalola

Hi, I try insert new themes in PLone 3. But show this error: [code] C:\Program Files\Plone>bin\buildout Uninstalling zopepy. While: Installing. Uninstalling zopepy. An internal error occured due to a bug in either zc.buildout or in a recipe being used: Traceback (most recent call last): File "c:\program files\plone\buildout-cache\eggs\zc.buildout-1.4.3-py2.4.egg\z c\buildout\buildout.py", line 1660, …

Software Development python
Member Avatar for Lolalola
0
190
Member Avatar for d8m9

Hello, Iam beginner in python and my english is not so good. Sorry. I want (must) to write a program witch must read the .txt file and pursuant to the informations in text write another text to another file. :) example: [B]in .txt file:[/B] <HEADLINE text="This is headline 1"> <PARAGRAPH …

Software Development file-system python
Member Avatar for snippsat
0
139
Member Avatar for SwisherStreets

How would i write a program that asks for you to input a letter (a for example) and how many letters you want to shift (3 for example) and gives you the decoded letter (D)? Also how would you loop it so it goes from Z and starts over with …

Software Development python
Member Avatar for Gribouillis
0
127
Member Avatar for ameltei

Hello, I have a project where I am using a listview to display a data received through XML. One of the columns called "STATUS" display only 2 text data, either "ON" or "OFF". I would like to know how to count how many times the word "ON" it is apearing …

Software Development listview vb.net xml
Member Avatar for ameltei
0
2K
Member Avatar for S_I_R

Hi there, I am a newbie in C# (also in coding). now I am trying to extract some specific information from a text file and try to write in .csv format file. I know basic read and write formula. but can't solve this specific problem. Plz, anybody suggest me any …

Software Development file-system
Member Avatar for S_I_R
0
102
Member Avatar for Roger_Hades

Hey guys! I was wondering if anybody could help me out with my C++ programming. I'm currently trying to sort out a vector of class objects by their member variable but i dont know what i'm doing wrong or missing. I googled alot of things and read through alot of …

Software Development apple c++
Member Avatar for Fbody
0
12K
Member Avatar for juggalo

Ok well first I'll tell you the 3 errors that I am getting... All 3 errors are near the bottom of the code [LIST] [*]main.cpp(103) : error C2664: 'errno_t strcat_s(char *,rsize_t,const char *)' : cannot convert parameter 3 from 'char' to 'const char *' [*]main.cpp(105) : error C2664: 'SzToLPCTSTR' : …

Software Development c++ visual-basic
Member Avatar for Ancient Dragon
0
158
Member Avatar for Jagana2005

Below are my code and i m still getting the error: Run time error ‘3021’; Either BOF or EOF is True, or the current record has been deleted; the operation requested by the application requires a current record [code] oRsPage.AddNew For iColumnIndex = 0 To .Fields.Count - 1 oRsPage.Fields(iColumnIndex).Value = …

Software Development visual-basic
Member Avatar for sidnei
0
316
Member Avatar for D_switch

please help im really out of ideas. this program is a phonebook that can store unlimeted mobile numbers, landline numbers and email addresses, this program also deletes, edits,inserts and sorts and display all the records. this is what i've got so far: [CODE]# include <stdio.h> # include <conio.h> # include …

Software Development c
Member Avatar for WaltP
0
4K
Member Avatar for rwill357

My assignment was to write code to Delete an ith node on a linked list. Will this function accomplish that? [CODE]void deleteIthNode(int el){ IntSLLNode *tmp; tmp = (IntSLLNode*)malloc(sizeof(IntSLLNode)); tmp = head; IntSLLNode *oldTmp; oldTmp = (IntSLLNode*)malloc(sizeof(IntSLLNode)); oldTmp = tmp; for( int i = 1 ; i < i-1 ; i++ …

Software Development c++ linked-list
Member Avatar for Lerner
0
395
Member Avatar for nicklbmx

I need to figure out how to find the max number of an array by using a while loop. I have searched all over but do not understand how to do it. If I could get any help at all that would be great. Thanks! Anyway the findMax method is …

Software Development java
Member Avatar for BestJewSinceJC
0
94
Member Avatar for sindhujavenkat

will anybody tel me how to run a symbian code using PyQWt4?

Software Development python
Member Avatar for sneekula
0
70
Member Avatar for sfp

Hi, i apologize if this is in the wrong section (First Post); i am fairly new to delphi / pascal but was wondering how to create a form within a form, e.g. click a button on Form1 to open Form2, i am aware that tform.create is a function but am …

Software Development delphi pascal
Member Avatar for finalist
0
513
Member Avatar for Ap0ca1ypse

Hello, How do I reinitialise a form load event? Example; Form1 Loads data from a Db and has 3 buttons, each button represents showing data from a different table onto form2 When form2 is initialise for the first time i can use an onload event, but if i go back …

Software Development vb.net
Member Avatar for Ap0ca1ypse
0
122
Member Avatar for clisen

Hey everyone, I'm currently writing a simple text based MUD in Java for learning purposes. Currently I'm in the process of coding a Login class that prompts the user to enter a user name and password in order to access the account. Right now the problem lies in opening a …

Software Development file-system java open-source
Member Avatar for clisen
0
146
Member Avatar for adnan.siddique

hi every one. can some one please tell me steps to make an MFC application in vc2008? showing a blank window. thanx in advance

Software Development c++
Member Avatar for Ancient Dragon
0
153
Member Avatar for 013..

this is my homework.....this is all new to me, i really need help, im reading the book but is confusing, any link to a tutorial would be good to give me an idea on what i need to do please!!! ..... In this assignment, you will write a program called …

Software Development c++
Member Avatar for 013..
0
93
Member Avatar for teatime

I have a ContextMenu with MenuItems in it with their CheckOnClick property set to true. And I want to save the Checked state of each MenuItem in the user.config file. So what I did is bind the Checked property of the MenuItem to an application settings I created. But when …

Software Development user-interface visual-studio
Member Avatar for teatime
0
2K
Member Avatar for doha786

hi, i m just wanna open/explore/view inside of any txt or doc file from folder by using JFileChooser... here i made the code, pls tell me what need to add to open the files.. [CODE] import java.io.File; import javax.swing.JFileChooser; public class OpenFile { public static void main(String args[]) { JFileChooser …

Software Development java java-swing
Member Avatar for peter_budo
0
117
Member Avatar for word.smith

Greetings, I have an array that stores words and their equivalent phonetically sounding codes as strings like this: 1:abat 12:abash 134:abridge What I want to do is split each string and store the code only, so basically I want to store everything prior to the ":" . I've wrote the …

Software Development storage
Member Avatar for word.smith
0
87
Member Avatar for benregn

Hi, I need to create a time delay before I call a method. [CODE]public void brewDrink(CoffeeMachine coffeemachine) { try { coffeemachine.displayDrinkBrewing(); Thread.sleep(7000); setDrinkReady(coffeemachine); } catch (InterruptedException ex) { } }[/CODE] This doesn't work, the method isn't called. Any help or pointers are welcome!

Software Development java
Member Avatar for verruckt24
0
105
Member Avatar for wilsonz91

Hi, I have a problem here with the c++ if statement. if (adult=1) { hotel=(adult*hotel)+(children*0.5*hotel) +(baby*0); break; } else if (adult=2) { hotel=(adult*260*0.85) +(children*0.5*260) +(baby*0); break; } else if (adult>2) { hotel=(adult*hotel*0.8) +(children*0.5*hotel) +(baby*0); break; the above is a small part of the code i'm doing. Problem here is, It …

Software Development c c# c++
Member Avatar for wilsonz91
0
120
Member Avatar for garyinspringhil

I am trying to finish the second release of this hpgl interface for ubuntu/linux, The first release is popular but not very feature rich. My problem is I have added two large save and read in settings buttons on the bottom of the gui window. I need to be able …

Software Development gui python ubuntu user-interface
Member Avatar for garyinspringhil
0
98
Member Avatar for bharatk

Hello I have generated a list of words & their occurrences. Now, how to I filter them based to the starting alphabet. I.e. all words starting with 'a' should be filtered from thos list & put into 1 list along with their occurrences, similarly b,c & d. This is the …

Software Development python
Member Avatar for woooee
0
145
Member Avatar for nuB

hey im now starting prog in c++ n im being honest- im REALLY flustered i have to create a program to get information from a user, put the info to a file, create another program to read from that file, calculate total scores of x amount of students n grade …

Software Development c++ file-stream
Member Avatar for nuB
0
120
Member Avatar for ppotter3

Hello! How is everyone? I have been working on this for about a week and a half, and I need it to function properly. I am going to be using this program to build my next assignment, thus needing it to work properly. My problem: I am trying to write …

Software Development c c# c++ objective-c
Member Avatar for ppotter3
0
204
Member Avatar for lewashby

[URL="http://www.mono-project.com/Main_Page"]http://www.mono-project.com/Main_Page[/URL] On that site, what is the difference between to two blocks to the left? They read. Mono [INDENT]An open source, cross-platform, implementation of C# and the CLR that is binary compatible with Microsoft.NET[/INDENT] MonoDevelop [INDENT]An open Source C# and .NET development environment for Linux, Windows, and Mac OS X[/INDENT] …

Software Development ide open-source os-x
Member Avatar for vivek4020
0
131
Member Avatar for P00dle

I want to remove the JOB node with JOBNAME "One" from the following file: <SETTINGS> <SYSTEM> <VERSION>3.1<VERSION> </SYSTEM> <JOB> <JOBNAME>One</JOBNAME> </JOB> <JOB> <JOBNAME>Two</JOBNAME> </JOB> </SETTING> The code that is supposed to remove it looks like this: [CODE]try { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); Document doc = docBuilder.parse(new …

Software Development html-css java xml
Member Avatar for P00dle
0
5K
Member Avatar for Tucker0

Hi... I'm trying to add a name of a product to a Textbox...the name of the product is stored in a database. Now there is a Combobox with number in them....1 2 3 ect. Now if you select one of the numbers it must display that product name? I know …

Software Development display vb.net
Member Avatar for Tucker0
0
88
Member Avatar for vbdotnetlover

Dear Developers SQL, Table1 has data as following Code------product 1-----------Mango 2-----------Potato 3-----------Orange Datagridview has THREE columns as Code----product-------qty I have following codes [CODE]str3 = "SELECT product FROM table where code =" & Val(DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells(0).Value) dt3 = GetTable3(str3) If dt3.Rows.Count > 0 Then DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells(1).Value = (IIf(IsDBNull(dt3.Rows(0).Item("product")), "", dt3.Rows(0).Item("product"))) Else MsgBox("Code Not Found", …

Software Development vb.net
Member Avatar for vbdotnetlover
0
128
Member Avatar for checho

Hi i have the next task to solve. [I] A bank holds different types of accounts for its customers: – Deposit accounts – Loan accounts – Mortgage accounts Customers could be individuals or companies. All accounts have customer, balance and interest rate (monthly based). Deposit accounts are allowed to deposit …

Software Development java
Member Avatar for checho
0
167
Member Avatar for sweetyyyy

how we can send binary sms to any mobile particularly nokia mobile from pc using smpp...

Software Development java
Member Avatar for verruckt24
0
220
Member Avatar for Nakeo

Here is my code [CODE]#include <iostream> using namespace std; int searchList(int [], int, int); int main() { int numItems = 18; int position; int accountnumber; int accounts[numItems] = {5658845, 4520125, 7895122,8777541, 8451277, 1302850,8080152, 4562555, 5552012, 5050552, 7825877, 1250255,1005231, 6545231, 3852085,7576651, 7881200, 4581002 }; cout << "Please enter an account charge …

Software Development c++
Member Avatar for Nick Evan
0
166
Member Avatar for guravharsha

Hi I am trying to genarate report in java. my basic requirement is like: 1. i have to print sales invoice in .txt format. 2. In application, user will select sales invoice no in drop down list. after clicking print button, user can show his invoice . 3. invoice contain …

Software Development java
Member Avatar for JamesCherrill
0
195
Member Avatar for darcee

im making right now a auto sign up application for example in registering yahoo mail when i click a button in VB all information will be filled out and submit Example: [CODE] Private Sub btnFillUp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnFillUp.Click Dim theElementCollection As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("Input") …

Software Development vb.net
Member Avatar for darcee
0
202
Member Avatar for darcee

im trying to make a auto sign up in youtube but my problem is the " I accept" button doesnt have value in html so i try to use the id but i doesnt work help me please.... heres my code [CODE] Public Class Form1 Public Sub BHMNavigate(ByRef Wb As …

Software Development vb.net
Member Avatar for darcee
0
155
Member Avatar for vbdotnetlover

I have following codes [CODE] str2 = "select sno,name from employees where sno =" & Val(Me.TextBox1.Text) cmd2 = New SqlClient.SqlCommand(str2, con) da2 = New SqlClient.SqlDataAdapter(cmd2) dt2 = New DataTable da2.Fill(dt2)[/CODE] Now dt2 has two columns as sno and name But I want to add a 3rd column city type char(80) …

Software Development vb.net
Member Avatar for vbdotnetlover
0
335
Member Avatar for garyinspringhil

I have a series of variables like so: $BLACKPASS=7 $BLACKCUTDEPTH=567 $SURFACE=325 NUMBEROFPASSES=$((($BLACKCUTDEPTH-$SURFACE )/$BLACKPASS)) #is 34 Text To Edit: IN; PU; SP6; !PZ-325,200; snip here (inclusive)SP6 is a known/usable starting point VS25; PU9170,-10213; PD9170,-10827; PD7967,-10827; PD7967,-10213; PD9170,-10213; PD9170,-10213; PU9170,-10213; snip stops here inclusive BEFORE the next SPx line SP7; !PZ-325,200; VS8; …

Software Development shell-scripting
0
81
Member Avatar for Namrata.Bibodi

Can anyone help me to implement binary search tree with addition ?

Software Development java
Member Avatar for verruckt24
0
121
Member Avatar for vivek4020

Hi I have a database with two tables 1. iSet(which contains data) 2.Table1(which is empty) I have a program that can read from iSet. It uses OleDB Its working properly The problem is that i don't know a thing about writing to a database. The table Table1 has two fields …

Software Development
Member Avatar for vivek4020
0
89
Member Avatar for anishakaul

This is the python code from a file 'legend.py' that prints the contents of variable 'doc' to console: [CODE=python]print '\n'.join (doc)[/CODE] Now through the above code, whatever is inside doc gets written to the console, if I run python legend.py description.xml Below is a shell script : [QUOTE][B]for z in …

Software Development python xml
Member Avatar for anishakaul
0
287
Member Avatar for Pari13

Have nice Evening! I have an error message of "[B]Overflow Exception was Unhanded by User code[/B]"when i am trying to exceute below very simple code. [CODE] Partial Class zeesant Inherits System.Web.UI.Page Dim x As Integer Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load x = (Val(TextBox1.Text) …

Software Development vb.net
Member Avatar for Pari13
0
131
Member Avatar for indu_ss4

Hi! i need to insert a new element in an existing xml document. for example, [code=xml] <details> <person> <name>Anu</name> <email>abc@yahoo.com</email> </person> <person> <name>thara</name> <email>xyz@gmail.com</email> </person> </details> [/code] In this document if i want to insert another element using Xpath, say,<publisher> in <book> node, how to insert it. I'm using DOM …

Software Development java xml
Member Avatar for AbhikGhosh
0
7K
Member Avatar for me_roy

Hi all, I am stuck here after several hours tried. Here the thing. I have txt file that contain float data (1 column and many row) such like this (4 float data): 0.799 0.851 0.926 1.000 Then i want to read it as array. My code is work until this …

Software Development c file-system
Member Avatar for me_roy
0
316
Member Avatar for termatt56

I've just read chapter 8 of accelerated C++, which covers template functions. From my understanding if you use a template in a function that function must be included in the header file, as opposed to a source file. Am I correct in thinking this or am I missing something obvious?

Software Development c++
Member Avatar for termatt56
0
109
Member Avatar for ELBUF

I am writing my program for the bullseye dartboard question I posted in another thread. The link is [URL="http://www.daniweb.com/forums/thread255853.html"]here[/URL]. Anyways once I debug, it brings up 2 errors that read: LNK2019 Error: unresolved external symbol _main referenced in function _tmainCRTStartup and the file is MSVCRTD.lib and the other error is: …

Software Development c++
Member Avatar for ELBUF
0
237
Member Avatar for dmanw100

Hello all, I have created an RSS object and I would now like to parse out the descriptions of the children. My knowledge of RSS is extremely limited so pardon me if I am incorrect in explaining what I need. For example, I am connecting to [url]http://rss.cnn.com/rss/cnn_topstories.rss[/url] and I would …

Software Development java
Member Avatar for dmanw100
0
202

The End.