132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Ajay_9

Hi, I am developing a quiz contest in before starting the quiz user is to select the types of question(combobox) & number of question and when the button is clicked we go to next quiz form in the question is displayed in textbox and option is displayed on 4 different …

Software Development
Member Avatar for castajiz_2
0
259
Member Avatar for haider885

I am using Visual Studio 2013. Error in structure... syntax error : missing ';' before '<<' unexpected token(s) preceding ';' #include "stdafx.h" #include "iostream" #include "fstream" #include "string" #include "conio.h" using namespace std; struct input { char f_name[13]; char l_name[13]; char gender[6]; char section; int age; cout << "Enter Your …

Software Development c++ ios visual-studio
Member Avatar for k99rs
0
348
Member Avatar for longinus.ozor

I want to be a programmer but I don't even know where to start. I have read about what computer programming can be used for and what it does but I have no idea about how to start.

Software Development c++
Member Avatar for Schol-R-LEA
0
216
Member Avatar for ala_2

How can i measure sequential read/write speeds? is there any API, library that can help me?

Software Development api c++
Member Avatar for sDJh
0
238
Member Avatar for lillen1421

Hey, Ive recently started programming and kinda hit a wall on how to continue :S Im trying to load the values in a textfile into a array and then calculate the lowest value in the array and display it. The format in the textfile is in HH.MM.SS and every value …

Software Development visual-basic
Member Avatar for lillen1421
0
147
Member Avatar for jeffersonalomia

pls help me on my code.. i had successfully avoid data redundant but there is an error "Item cannot be found in the collection corresponding to the requested name or ordinal." and because of that, i wasn't been able to store new data that wasn't exist in my database. please …

Software Development vb.net
Member Avatar for Reverend Jim
0
190
Member Avatar for k99rs

I have an application that where i have a an Asp textBox and i added TextBoxWatermarkExtender to it. <asp:TextBox ID="txtCellNo" runat="Server" /><br /> <ajax:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender4" BehaviorID="CellNoBehavior" TargetControlID="txtCellNo" runat="server" WatermarkText="Cell No."> </ajax:TextBoxWatermarkExtender> Because i have the page constantly postpage the TextBoxWatermarkExtender Blinds everytime it does a Postback. So i added this …

Software Development vb.net
0
81
Member Avatar for d100man

pleas ehelp with this program im clueless in what to do for it • The program will ask three questions 1. What is your sex 2. Do you work in a n office 3. What is your race If the sex is Male and the race is white, and the …

Software Development c c# c++
Member Avatar for samson.dadson.3
0
161
Member Avatar for Ajay_9

I want access data randomly and i have write the code when i click the button then data is displayed but i want when i again click the button then the next row data is displayed. could you please tell i am stuck here past 15 days.please And when click …

Software Development c++ dataset microsoft-access open-source
0
102
Member Avatar for lilbrownmpole

how to come up with a code to class queue and circular queue

Software Development c++ queue
Member Avatar for Schol-R-LEA
0
157
Member Avatar for BogdanCov

Hello guys. the AutoSize is true, but the form is not autsizing :( first the form looks like [this](http://i60.tinypic.com/2s1uk1v.jpg) . when i press that button generates a matrix of buttons but the form is not autsizing it should look like this [this](http://i58.tinypic.com/11gni9h.jpg) . but no change, it remains at the …

Software Development
Member Avatar for BogdanCov
0
168
Member Avatar for beSmart4

Hi. I wonder why this doesn't work. I expected to see ch1 and ch3 are numbers but it shows they are operators.... How can I make this work? #include <iostream> using namespace std; void isItNumber( char *ch ) { if( strcmp( ch, "*" ) || strcmp( ch, "/" ) || …

Software Development c++
Member Avatar for Schol-R-LEA
0
169
Member Avatar for Martin_3

Hi guys, I have some C# code in my Powershell script and in that code I have a global variable. How can I access my variable from the powershell code ? $source = @' using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; …

Software Development c c# c++ session windows-api
Member Avatar for BogdanCov
0
273
Member Avatar for Vhyr

Hi all, I'm making a program that can search for all .JPG files and display them in a ListBox. Now I want it to display the selected ListBox Item in the PictureBox1. The files in the listbox are listed like this : C:\Documents and Settings\My pictures\Image01.JPG Thanks, Vhyr.

Software Development vb.net
Member Avatar for Reverend Jim
0
201
Member Avatar for Khyxz

How CAn I get the "sum" of a "Column" in a Data Grid? I dont't use /connect database with my Data Grid! How can I make this happen? Thank you for any responses!

Software Development
Member Avatar for oussama_1
0
158
Member Avatar for user304795

I'm a novice to MIPS I'm trying to develop a program which takes an input from a ten word array, increments it by two, stores the result back into a register $v0. Which will hold the incremented value. The program should stop when it encounters a value of 0 from …

Software Development assembly
Member Avatar for Schol-R-LEA
0
6K
Member Avatar for SpS

Can anyone explain me in simple language and better if with an example [B]why constructor don't have return types :!: [/B]

Software Development c++
Member Avatar for ishan_1
0
739
Member Avatar for GrantB

Im trying to create a random 6 digit numeric code that will not repeat. I have tried using guid but that was unsuccessful. random rnd = new random(); int num = rnd.next(000001,999999); I would prefer not to use Random , or to have to iterate through all the previous codes …

Software Development
Member Avatar for Ketsuekiame
0
2K
Member Avatar for murali2489

Dear All, I have an animal class and a thread class. Just to understamd the concept of Object lock in threads. I have used the Animal instance as a lock in my thread class. The program never ends. My question is is there a condition i can put before invoking …

Software Development java
Member Avatar for JamesCherrill
0
244
Member Avatar for YA RAMSAMKER

i want to create an activity log on an application i have wereby on the website i am able to see exactly what the user did on the page meaning which buttons was pressed and what else he did . . . Is it possible ?

Software Development c#
Member Avatar for ZER09
0
127
Member Avatar for brett.warren.1612

Hi, I was working on a solution to problem ten of Project Euler, which states: > The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. > Find the sum of all the primes below two million. I've got code that solves this …

Software Development python
Member Avatar for slate
0
251
Member Avatar for netisland

how to get all available SQl SERVERS on the network and their databases?

Software Development client-server sql vb.net
Member Avatar for pritaeas
0
122
Member Avatar for Johnathon332

I am having trouble as I am trying to run my clientsocket.connect until a connection has been established. However it is not running my connect method and I cannot seem to be able to diagnose why that is private static ClientSocket clientSocket = new ClientSocket(); private delegate void connection(); public …

Software Development client-server
Member Avatar for oussama_1
0
286
Member Avatar for mavtcr

I want to save data in to my ACCESS database from textboxes. My code is here. Private Sub BtnSubmit_Click(sender As Object, e As EventArgs) Handles BtnSubmit.Click Dim cb As New OleDb.OleDbCommandBuilder(DA) Dim dsNewRow As DataRow DA = New OleDb.OleDbDataAdapter(SQL, CN) DA.Fill(DS, "Deposit") dsNewRow = DS.Tables("Deposit").NewRow() dsNewRow.Item("Bank") = TxtBank.Text dsNewRow.Item("Acno") = …

Software Development vb.net
Member Avatar for oussama_1
0
364
Member Avatar for henrimontreal

I have a Texas Instrument board and I need to make a GUI on PC and link it to my board via a serial port in order to have communication.(energy-meter calibration monitoring window) Therefore, I decided to use Visual Studio 2010. When I started to use it I found out …

Software Development c++ gui visual-studio
Member Avatar for tinstaafl
0
237
Member Avatar for jared.geli

Hi guys I need your help once again. I can update a record from excel through datagrid but I've encounter a problem where instead updating in number/percentage format(I have columns in number format and in percentage format) it updates in General Format. Example: col1 col2 col3 abc 123.00 100% -------> …

Software Development vb.net
Member Avatar for jared.geli
0
195
Member Avatar for sciprog22

Hello, I am writng a simple networking program with a single server and multiple clients. I would like to send and receive objects between the clients and the server and hence I use the ObjectOutputStream/writeObject(Object) and ObjectInputStream/readObject() combination. First, my server program: import java.net.*; import java.io.*; import java.awt.*; import java.awt.event.*; …

Software Development java java-swing
Member Avatar for sciprog22
0
907
Member Avatar for rathiikk

hi sir, i have vb.net project connected with msaccess ,in that when i inserting a value to one table i want to update the value in another table is it possible ,in my code it is not showing any error but it is not updating only inserting can u check …

Software Development vb.net
Member Avatar for xrjf
0
1K
Member Avatar for BadManSam

Hi, I have a raspberry pi and was wondering if it was possible to detect button presses from a webpage in python. I have a robot arm and can control it using this code: #!/usr/bin/env python #ROBOT ARM CONTROL PROGRAM # MoveArm(1,[0,1,0]) @Rotate base anti-clockwise # MoveArm(1,[0,2,0]) @Rotate base clockwise …

Software Development python raspberry-pi
Member Avatar for BadManSam
0
486
Member Avatar for Pepp

Hello! I would like to ask you for help about this: Create a program in C that inputs a random number from the keyboard( long long ), finds the sum of the numbers formed by the digits, grouped in pairs starting from the one and displays the character equivalent of …

Software Development c
Member Avatar for Pepp
0
249
Member Avatar for Raouldukey

Hi, I am not begging for code here, but rather some concepts / ideas on how to accomplish this. I code in VB.NET, but that isn't really too relevant at this point. I am trying to develop something similar to a radar system. I have that all working and the …

Software Development audio
Member Avatar for Philippe.Lahaie
0
255
Member Avatar for Cara2014

Hiya guys, I am wondering whether anyone can help me, I have been stuck on this for weeks. I have got a similar thing working but I just cannot get this working. I have got a SQL Server Database integrated into my VB application. There is a table called 2HaulierLogIn …

Software Development open-source sql vb.net visual-studio
Member Avatar for cgeier
0
373
Member Avatar for DeeperShade

Essentially, I'm trying to go oldschool and make a lil 2D engine, but instead of just importing bmp's or other image files, i'm looking to print each pixel to the screen myself. Firstly, Ive got it so I can display a single image I made, however, for colors such as …

Software Development c++ ios
Member Avatar for DeeperShade
0
195
Member Avatar for ethan.david.376

Is it possible to put a checkbox in the title bar of JInternalFrame?

Software Development java
Member Avatar for Philippe.Lahaie
0
105
Member Avatar for TheFearful

I keep getting a corruption for my array and I do not know why. Can anyone help me figure out what is causing my run-time error to happen? my heapInsert function is at the very bottom #include <iostream> #include <algorithm> using namespace std; //function prototypes int getParent(int index); int getLeftChild(int …

Software Development algorithm c++
Member Avatar for TheFearful
0
284
Member Avatar for Ezekiel_1

My problem with this program is within my do while loop. From line 33 to line 47. Please find attached the original intention in the pdf document ` //Program to show loan and interest calculation #include <iostream> // for cin, cout #include <string> using namespace std; const double ANN_INTEREST=0.05; //simple …

Software Development c++ pdf
Member Avatar for Ezekiel_1
0
458
Member Avatar for C-Money

I am writing a code for my Computer class, that takes a user input string, and displays it with the vowels removed. I have the code to where it takes the input and displays the string, but it only displays the letters in front of the first vowel. For example, …

Software Development assembly
Member Avatar for sDJh
0
805
Member Avatar for Mehul Jain
Member Avatar for Ancient Dragon
0
63
Member Avatar for Dean_Grobler

Since some of us might get a bit rusty with our coding, we constantly need projects to keep us busy, no matter how big or small. Making sure you code a little a day it not only fun but also allows your skills to continue growning. The problem though, is …

Software Development app-store java
Member Avatar for JamesCherrill
0
758
Member Avatar for ZJRG.1997

I'm quite new to Python, and am trying to make a simple unit converter - was hoping if anyone could tell me where i'm going wrong? This is the script as it stands: input('Would you like to convert centimeters to inches (a), or inches to centimeters (b)?\ntype a or b: …

Software Development python
Member Avatar for slate
0
265
Member Avatar for hassan.kiani.10

Write a program which asks the user to either convert the number of days into hours or minutes. Based on the option entered by user your program should calculate the result accordingly.

Software Development c++
Member Avatar for talha ijaz
0
213
Member Avatar for Shft

Hello, DaniWeb! Today I am in need of a Java Crash Course! Maybe a couple of (very short) source files with comments describing what things do? Any help is appriciated! I already know C++, how much does that help me?

Software Development java
Member Avatar for JamesCherrill
0
119
Member Avatar for Mart_webber

A hardware merchant sells steel bars at a flat rate of Kes 1000.00 per meter, and has announced the following discounts: Quantity of steel bar bought (per meter) Discount (%) <20 0 21-40 5 41-60 10 61-80 15 81-100 20 100 25 Implement the following programs: a) Using if..else statement, …

Software Development c++
Member Avatar for Mart_webber
0
166
Member Avatar for Elixir42

Hi, The problem I am having is that the returned object, from a dll factory, is not lasting for more than the function scope that recieves it. Despite reading [How to prevent the static initialisation order fiasco](http://www.parashift.com/c++-faq/static-init-order-on-first-use.html) I fail to see how it even applies to my code. `g_spEngineLog` is …

Software Development c++ ios
Member Avatar for Banfa
0
285
Member Avatar for It tech

I am having problem with programming, i have been given a program to perfom and so far i have benn unable to start..can anyone help me? This is my question..1. Create a class called MyString. Within this class, you are to implement, from scratch, two versions of each of the …

Software Development c c# c++
Member Avatar for David W
0
339
Member Avatar for amir4g

Hey everyone, I am learning recursion in Java and I have a lab to do. I have done the first part right, which is to draw those squares. The second part of it is to do the reverse of it, so left starts from the smallest square to biggest. I …

Software Development java
Member Avatar for stultuske
0
982
Member Avatar for snowhite021

i have worked on standalone projects on vb but dont know how to debug server & client side database application whose front end is vb.net & back end is ms access. do i have to install vb.net on the server to debug the software or is there any other way …

Software Development
Member Avatar for snowhite021
0
117
Member Avatar for ganges

My eclipse id is taking too long time to open (at least 15 minutes) I tryed all the options in google search but the problem remains the same kindly give me tips to fix the problem thanks for your time

Software Development java
Member Avatar for ganges
0
4K
Member Avatar for Raquel_2

// random number generator var theDecimal = 0; function newProblem(){ theDecimal = Math.floor(Math.random()*256); //math.floor chops off decimals and rounds document.getElementById("startNumber").innerHTML = theDecimal; }

Software Development display java
Member Avatar for Schol-R-LEA
0
259
Member Avatar for JaneLewis1615

I am a beginner to VB.NET, and I am creating a program that displays a new string in a label. The new string should take a sentence entered by the user and remove every occurrence of a substring supplied by the user. This is my code so far: Dim input …

Software Development vb.net
Member Avatar for JaneLewis1615
0
191

The End.