199,113 Archived Topics

Remove Filter
Member Avatar for
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 …

Member Avatar for mitrmkar
0
129
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 …

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 …

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 …

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

Member Avatar for Agni
0
78
Member Avatar for mortalex

Hey, i'm new here and i need help. I'm trying to write an update query so i can update mulitple items in a database, but it aint working.. Ive used the mysql_error() thingy, but it still does not display any errors. All it does is nothing, the web page doesnt …

Member Avatar for vidalweb
0
276
Member Avatar for achiman

Can anyone please tell me how I can write a PHP program to automatically generate bar code when a code is entered e.g 04565434782 using universal product code (UPC-A). Thanks

Member Avatar for achiman
0
64
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 …

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 …

Member Avatar for dor.marchan
0
196
Member Avatar for thebluestar

While saving the html code, I accidentally saved my code as encrypted code. I don't remember what did I do. More importantly, Now I dont' now decrypt it. Please help me make it return as html code. Thank a lot! [CODE] 3C 21 44 4F 43 54 59 50 45 …

Member Avatar for almostbob
0
668
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 ## …

Member Avatar for jlm699
0
89
Member Avatar for vuyiswamb

Good Day All i have the Following sp [CODE]SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[sp_Timetable_View] @selectionType varchar(30), -- either Venues, Staff, Subjects, Curricula etc... @selectedItems ntext, @selectedTerms ntext AS /*This Part of the code was Representing the Sp Get_Staff_Cycles_For_TimeTable due to temp table scope , i …

Member Avatar for sknake
0
165
Member Avatar for satiss7pwr

[code] public CheckBox[] cb = null; int z=0; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { int count = (int)countcmd.ExecuteScalar(); Int32 k = Convert.ToInt32(Session["TZ"]); cb = new CheckBox[count - k]; OleDbCommand cmd = new OleDbCommand("Select Member_Name from Member_Master", con); dr = cmd.ExecuteReader(); while (dr.Read()) { //creating check box …

Member Avatar for apegram
0
103
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. …

Member Avatar for privatevoid
0
133
Member Avatar for deepas

I have a store procedure in which i need to get values from another procedure, so i called it and tried to insert in table variable. but i got the "An INSERT EXEC statement cannot be nested." error message. anyone please give solution as i've already spent 2 days searching …

Member Avatar for sknake
0
84
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 …

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

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

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 …

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

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

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 …

Member Avatar for ankush.mukherje
0
514
Member Avatar for cw08

What I'm trying to do is import a list of addresses from an xml file and display them in a google map. When each marker is clicked, a window will appear with the address and a name given from the xml. So far, I've gotten the code to work, with …

Member Avatar for pritaeas
0
156
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 …

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 …

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 …

Member Avatar for jonsca
0
148
Member Avatar for tania khan

[icode] Hi all there, I need your help in my project of "online examination”. I am developing this for my lab. frontend: ASP backend: SQL Server 2000 Now the requirements r: 1. I have to generate papers which randomly select 100 MCQs from table and displays on client computers. The …

Member Avatar for PRAGYACHITKARA
0
235
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; …

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 …

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

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 …

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 …

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 …

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

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

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

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?

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.

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.

Member Avatar for debasisdas
0
90
Member Avatar for peko_peko

Hi all, I'm new to PHP and at this stage I'm still learning what is and isn't possible with PHP. I want to add a script to my website that will automatically add the file size next to any link that leads to a non-HTML document. For example, imagine I …

Member Avatar for peko_peko
0
202
Member Avatar for embee

hello. i am designing an online library management system as my project work and im having problems with my code.. please can someone help me with the code.. using php and mysql. thanks

Member Avatar for Stefano Mtangoo
0
111
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! ' …

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 …

Member Avatar for thomas_naveen
0
114
Member Avatar for koolsun

[COLOR="Red"][/COLOR]hi frnds !!! I am an engineering student of 3rd year and i want to make a DBMS project so please suggest some good n unique projects on dbms. I'll be really grateful.Plz help me

Member Avatar for debasisdas
0
124
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?

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

0
73
Member Avatar for codewalkz

Hi, i am working on a member database. I need to get all the registrations except the current week. I have a "week" field in my database. This one is fine and echos all the records from week 1 to 8: [CODE]SELECT COUNT(*) FROM agents WHERE week < 9 and …

Member Avatar for rajabhaskar525
0
81
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 …

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 …

Member Avatar for mixelplik
0
196

The End.