132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Japus

Hello I'm trying to read the ID3 tag from a file. For now, I print out the string that I've read and I can see the title, year and so on but in the specs it says that the first 7 bytes contain ID3, the version, some flags and the …

Software Development c++ ios
Member Avatar for Salem
0
188
Member Avatar for lrh9

I'm using the code module to add an interactive interpreter to an object. This object has an interact method that when called creates an interactive interpreter with the object's dictionary as the namespace for the interpreter. When done interacting with the object, I want the "exit" function to return execution …

Software Development gui python
Member Avatar for lrh9
0
118
Member Avatar for Annettest

Hi everyone: I am fairly new to c++. I have created a dynamic array, but I am having trouble initializing it. My goal is to create a grid, and then assign an initial condition (for example, initial temperature = some value) on the grid points. I know that it would …

Software Development c++
Member Avatar for Annettest
0
178
Member Avatar for iamminsk

[CODE]//word frequency counter #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> struct words { char word[255]; int count; struct words *next; } *pointer, *start, *previous; int statistics(); int main(void) { statistics(); system("pause"); return 0; } int statistics() { FILE *fp; int pom,a; char quest[255]; start=NULL; fp=fopen(name, "r"); fscanf(fp, "%s", &quest); …

Software Development c c# c++ linked-list
Member Avatar for iamminsk
0
283
Member Avatar for anilopo

i want to add source files that i made in another computer to my project. i want them to be at the same folder as the project. how do i add them to the project? (to copy them into the folder wont help in this case..) thx!!

Software Development ide java
Member Avatar for anilopo
0
149
Member Avatar for iamai

Hi i am trying to write-read data from serial port but it don't work my code look like this [CODE] Private comPort As New SerialPort comPort.PortName = cboCom.Text comPort.Parity = Parity.None comPort.DataBits = 8 comPort.StopBits = StopBits.One comPort.BaudRate = CInt(cboSpeed.Text) comPort.Handshake = Handshake.None comPort.Open() 'Write GPS command comPort.WriteLine("$PSRF103,00,00,01,01*25") [/CODE] and …

Software Development vb.net
Member Avatar for iamai
0
462
Member Avatar for gedas

hi guy i started learning c recently, and im trying to do exercises from the book the bad thing is they are not showing the solutions. what i need to do is simply modify the program below so that instead of reading single characters at a time, it reads in …

Software Development c
Member Avatar for mitrmkar
0
130
Member Avatar for al_buotan

hi everyone, i am very new in java. i am having problem in SWITCH CASE STATEMENT. can anyone please help me to solve the following problem: you have to write a program in java to generate the following menu with submenus: LinkedList 1: ADD ELEMENT 1-1: add first 1-2: add …

Software Development java
Member Avatar for verruckt24
0
96
Member Avatar for nishanthshaan

hi everybody, i am a freshly formed in proffessional programming in the .net c#, VB, and Asp.net platform. For a new personal project, i am trying to find a solution to sign in to a site automatically. i started inserting a webBrowser in the windows form, charged the url which …

Software Development asp.net c# html-css
Member Avatar for nishanthshaan
0
253
Member Avatar for javaStud

Hi, I am trying to implement a crc check but I am not having the correct output. i.e. I am having a "Corrupted file" when the file is not corrupted, and vice versa. I am not "seeing" my mistake since according to me the logic is right. The wierd thing …

Software Development c
Member Avatar for thomas_naveen
0
76
Member Avatar for sidra 100

plz i m having error at line 71 and 83[CODE]#include <iostream> #include <stdlib.h> using namespace std; class expense { private: int income; int gbill; int ebill; int wbill; int saving; public: expense(int, int, int); int display(); void setTotalIncome(int); void setEBill(int); void setWBill(int); void setGBill(int); int getEBill(); int getWBill(); int getGBill(); …

Software Development c++
Member Avatar for Agni
0
78
Member Avatar for sbanks_charles

I am writting an application in VB using VS2008 and SQL2005. I would like to save an array to my database and later retreive it. I understand that I need to serialize the array to do this but don't understand the process. I have looked at various resources on the …

Software Development vb.net
Member Avatar for sbanks_charles
0
1K
Member Avatar for dor.marchan

Hello All, I am in a roadblock right now and I really need some help on the code below. What I wanted to do is close all opened workbooks. This code does the work IF there is at least one or more opened workbooks. My problem is IF there is …

Software Development microsoft-office vb.net
Member Avatar for dor.marchan
0
196
Member Avatar for J_IV

I'm new to python, and have just recently started using it as a means to circumvent my lack of calculus knowledge when performing physics equations. The problem I'm working on now is fairly simple, but I'm getting a bizarre syntax error I don't understand. Here's my code: [CODE]## Introduction ## …

Software Development python
Member Avatar for jlm699
0
89
Member Avatar for makdu

Hi, i have created an application and i want to run this application from a usb. I have copied the exe found in the debug folder to the usb and then i need to connect the usb in another computer . there i need to run the program from usb. …

Software Development
Member Avatar for privatevoid
0
133
Member Avatar for lio180

hi all, i have i this question for my project, but i have some problems with sorting the names of students by alphabetical order and order the names by their scores. the names are strings and the scores are of type int. this is the question and i want functions …

Software Development c
Member Avatar for printrobin
0
114
Member Avatar for java..

how do manipulate byte array buffer .. i need its very urgent.. anybody give good example..

Software Development java
Member Avatar for musthafa.aj
0
107
Member Avatar for scias23

i've written this code, it works. whenever I click the OK button of the NewModel.vb, it will insert a new record, then the datasource of the datagridview will be reinstantiated and rebinded with all the records in the database. the datagridview will be rebinded with the records from the database. …

Software Development dataset vb.net
0
270
Member Avatar for JBeginer7891

Hello members! Could someone please give me a hand on this? I have a JTable in my program that display query resuslt when the user search for a patient by entering the surname, the result is supposed to display in JTable in another frame. Here is what I've done [CODE]import …

Software Development java java-swing oracle
Member Avatar for JBeginer7891
0
428
Member Avatar for fairy1992224

[code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' declare constants and variables Dim cm As Integer Dim m As Double Dim g As Integer Dim kg As Double mtextbox.Text = "" kgtextbox.Text = "" ' converting from cm to m Integer.TryParse(cmTextBox.Text, cm) m = …

Software Development vb.net
Member Avatar for fairy1992224
0
105
Member Avatar for chotib

hi, i want to ask using AssignFile, Reset, FileSize, BlockRead, CloseFile on c++ builder (codegear 2009) ?? [CODE]system.AssignFile(objfile,OpenDialog1->FileName); system.Reset(objfile,1); FSize=system.FileSize(objfile); system.BlockRead(objfile,Buf,SizeOf(Buf),NumRead); system.CloseFile(objfile);[/CODE] and get error : [BCC32 Error] UnitFile.cpp(1102): E2294 Structure required on left side of . or .* thanks in advance sorry my english bad

Software Development c++
Member Avatar for chotib
0
250
Member Avatar for ankush.mukherje

[CODE]Private Sub cmdgetdata_Click() For i = 0 To lstsoftware.ListCount - 1 If lstsoftware.Selected(i) Then sSQL = "select * from Master_final" With adorsRAM .ActiveConnection = cn '.CursorLocation = adUseClient .CursorType = adOpenDynamic .LockType = adLockOptimistic .Open sSQL End With If Not adorsRAM.EOF Then Set msh.DataSource = adorsRAM msh.Refresh Else MsgBox "No …

Software Development visual-basic
Member Avatar for ankush.mukherje
0
514
Member Avatar for techker

Hey guys im a fitness freak and i want to make a litle app for making workout routines.. i need guidance for a couple of things.. drag and drop images i wouder if in vb i can have a pic of lets say a man and we can click on …

Software Development vb.net
Member Avatar for techker
0
57
Member Avatar for hondros

Okay, all I want to do for now, is create a rather simple python interpreter. I have already created a simple command prompt for windows, utilizing the os module, the script's code is here: [CODE]import os os.system("title Command Prompt") while True: osc = raw_input(os.getcwd()+">> ") if osc == "exit" or …

Software Development python
Member Avatar for lrh9
0
144
Member Avatar for sidra 100

Problem Statement: Expense class You are required to write a class name “Expenses “. Expenses class has • Constructors • Destructor • Write a function to add expenses for a month • Write function which displays these expenses. • Write a function which calculates savings for a month. • Expense …

Software Development c++
Member Avatar for jonsca
0
148
Member Avatar for Web_Sailor

Hi... I want to read only the first line of a file and print the line. I don't want to read the whole file. How can I do that ? Here is how we normally read the file [CODE]import java.io.*; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.logging.Level; import java.util.logging.Logger; …

Software Development file-system java
Member Avatar for rAun007
0
8K
Member Avatar for medopunsher

Hi , i have a list box and i want that when the user hovers over an item , a form is shown next to the mouse and stays as long as the mouse is over that item then disappears after the mouse leaves the item. I Know how to …

Software Development
Member Avatar for Geekitygeek
0
160
Member Avatar for barristerpee

Please this is my code to display records from my ms-access database whenever i click the [B]button next[/B]. But the code is only displaying the[B] last record[/B] in the database. Please HELP is needed. I have tried using for loop but it is giving me error. [code] Imports System.Data.OleDb Public …

Member Avatar for kvprajapati
0
550
Member Avatar for Zaad

Hello; I am currently doing a project that involves the reading the data from a MS word document..... At present I am using the HWPFDocument library to read the text from the word document.... But I need a way to identify the [B]Title of the document when retreiving the data[/B]..... …

Software Development java
Member Avatar for Zaad
0
307
Member Avatar for scias23

i want to display the inserted row to my datagridview. how can i accomplish this? [CODE=vb] Imports System.Data.SqlClient Public Class Model Dim sqldata As SqlDataAdapter Dim modeldata As New DataSet Dim sqlquery As String Dim conn As New SqlConnection Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

Software Development dataset vb.net
Member Avatar for kvprajapati
0
112
Member Avatar for Lukezzz

I have got an Diagram example that is supposed to draw a diagram that I have on a picture. The code compiles but cant understand how to trigger this code for example in the button click event that I have set up. Perheps there is any C# code basics of …

Software Development
Member Avatar for privatevoid
0
221
Member Avatar for Stefano Mtangoo

/home/stefa/Projects/C++/evstevemd/Additions.h|7|error: expected class-name before ‘{’ token| /home/stefa/Projects/C++/evstevemd/Additions.h|9|error: expected ‘)’ before ‘parent’| ||=== Build finished: 2 errors, 0 warnings ===| Here is the file. Cpp file is empty. There is something wrong with My class and inheritance knowledge. What is wrong? thanks [CODE=C++]#ifndef ADDITIONS_H #define ADDITIONS_H #include <wx/panel.h> #include <wx/notebook.h> class …

Software Development c++
Member Avatar for Stefano Mtangoo
0
783
Member Avatar for xShankZ

I have just been learning Java this year, and i am to construct a virtual ATM machine. I stumbled across an "incompatible type" error. Here is my entire Syntax Code: import javax.swing.*; import java.awt.*; import java.awt.event.*; public class BankMachine extends JFrame implements ActionListener { JFrame FraWelcome, FraRegis, FraLogin, FraRegised, ErrorRegis, …

Software Development java java-swing machine-learning
Member Avatar for musthafa.aj
0
112
Member Avatar for SasirekhaMuthu

How to set colors to half word of a tree view node in C#?? [B]newnode.backcolor=color.red[/B] ; ------> this gives colors to all the nodes in the treeview. But i need to get colored only a first word. Eg:[B] Java Programs[/B] ....i need to color the word [B]Java[/B] and not[B] Programs[/B] …

Software Development c#
Member Avatar for SasirekhaMuthu
0
879
Member Avatar for hbweb500

I'd like to create a matrix class using the vector library. I have seen many examples of creating a matrix class using standard C arrays, and in each of these, arrays are declared in the private section of the class declaration, and initialized in the constructor function, as such: [code=c++] …

Software Development c++
Member Avatar for mrnutty
0
216
Member Avatar for JohnDove

My vb app uses an icon which is 128x128, which looks fine on the desktop. But when viewed in a folder with View set to Extra Large Icons its size doesn't change - it is too small (smaller than 128x128). Any ideas how I can rectify this?

Software Development vb.net
Member Avatar for kvprajapati
0
114
Member Avatar for ankush.mukherje

How can we add data from multiple columns of an access table in a list box. Please explain with the help of a code. Thanks in advance.

Software Development visual-basic
Member Avatar for ankush.mukherje
0
115
Member Avatar for ama_trig

Any one have any working source of a yahoo messenger, that is capable of Logging in & sending PM? I googled a lot, but noting came true working, many of them are very old.

Software Development visual-basic
Member Avatar for debasisdas
0
90
Member Avatar for eva yang

class Toy(object): def play(self, toy): ''''Print squeak''' print 'Squeak!' class Dog(object): def __int__(self, name): '''Name a dog''' self.name = name def call(self, shout): '''Return true if shout is exactly 'Here, n!', otherwise return False''' return shout == 'Here, ' + str(self.name) + '!' def play(self, toy, n): '''Print 'Yip! ' …

Software Development python
Member Avatar for eva yang
0
92
Member Avatar for ubi_ct83

hi and thanks for advance, i have a problem to compare between 2 arrays. i have a file name fruit_file which has a content like this: apple orange mango banana papaya and i have an seed array from arg list which is; mango lime pineapple peach i want to copy …

Software Development apple c file-system
Member Avatar for thomas_naveen
0
114
Member Avatar for death_oclock

I can't find, within my project directories, any option to specify where I want my .exe to start in. I want to do this for that sake of .dll and other file references. Any help?

Software Development c++
Member Avatar for jakesee
0
104
Member Avatar for goody11

Hey, I made a function that will automatically conjugate a Spanish verb and I want to put the different conjugations in different Edit Text controls but when I use SetDlgText it comes up with a bunch of i's with accents. Here is the code that I've narrowed it down to. …

Software Development c++
0
73
Member Avatar for jemz

hello please help me on how to get data on textfield...example input name ...input your family name ...after inputting data then i will click the add button then it will clear the textfield..then i will click the search button there will be Joptionepane prompting please input name to be search...can …

Software Development java
Member Avatar for jemz
0
106
Member Avatar for mixelplik

Ok, I thought I was clear on the double, int, float, decimal etc types. I used typed variables in VB and was comfortable with them. I've just started C# and out of the gate I feel totally clueless. I keep assigning double type variables expressions with division and when I …

Software Development c#
Member Avatar for mixelplik
0
196
Member Avatar for atticusr5

hey guys im using vi to try and compile code for school in main i keep getting errors in the functions READ and PRINT and they say that the variable in the function call is not within the scope. here is my code: [code] #include <iostream> #include <iomanip> #include <fstream> …

Software Development c c# c++ ios
Member Avatar for Ancient Dragon
0
102
Member Avatar for nccsbim071

Hi I have an application installed. I need to have a functionality that prevents user from uninstalling the application if application is currently running. I uninstall appliation from Add/Remove programs. I have functionality in my system that allows it to be minimized to the task bar and to system tray. …

Software Development microsoft
Member Avatar for nccsbim071
0
449
Member Avatar for bonzi200x

I'm implementing a TCP protocol. TCP implementation requires to send packets continuously and if the receiver doesnt respond after a particular interval of time it should resend the packet again. I need some method to implement a timer expiry function. How can I implement it?? Should i implement threads (If …

Software Development c unix
Member Avatar for bonzi200x
0
70
Member Avatar for ThomasII

Hello- I am trying to create a program that will allow a user to enter in checking or savings data; date, type of transaction (deposit or withdrawl), display the previous balance and the new balance based on the new transaction entered. I cannot figure out how to locate the element …

Software Development vb.net visual-studio
0
97
Member Avatar for fuston05

im asking w input() for user to input "spelling words" for a kids homework, and i want it to append or add the words entered into a list. i got it to ask for user input for the words, but not sure how to make it add them into a …

Software Development python
Member Avatar for fuston05
0
111
Member Avatar for phil750

Ok i half have a working scheduler. The idea is to print out input from a text file, with the process id quantum and priority, sort them out into priority order, 0-20(0 highest) ad print them out the number of times the quatum is. here is what i have so …

Software Development c
Member Avatar for phil750
0
111

The End.