132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for samoo

Hi everyone i am new here and i have problem with my project this is the project Use x86 assembly language to write a program that works as a following: 1) When the program is executed, it asks the user to enter a password 2) If the entered password matches, …

Software Development assembly
Member Avatar for angham
0
255
Member Avatar for arelius

Hello, I have a datagridview and I allow a user to fill in some checkboxes which call stored procedures to show only certain data based on the criteria given by the user. [COLOR="Red"]I then want to take all that data that is currently shown in the datagridview and copy it …

Software Development dataset
Member Avatar for CaptainRon
0
5K
Member Avatar for JDSkywalker

I have a bound datagridview and I add 2 unbound columns and set the cell value for each row to "X" for the unbound PKG column and "Y" for the MISC column. When the window comes up, the 2 new columns are stil empty. I put a Msgbox to show …

Software Development
Member Avatar for Mitja Bonca
0
446
Member Avatar for Wolxhound90

Hey guys, I have a form that is used to navigate through records in a table one at a time. The form generates the number of textboxes required automatically. Navigating through the records is easy enough, but when I click the update button it comes up with the error: Object …

Software Development vb.net
Member Avatar for Wolxhound90
0
133
Member Avatar for choosechrist

i've been all over the internet to solve this problem, but i've found no solution to my problem.my concept is this. Based on selected value within a combo box, the datagridview will populate with values from the database. For test = 0 To containerdetaildatatable.Rows.Count - 1 DataGridView1.Rows.Add() DataGridView1.Rows(test).Cells(0).Value = containerdetaildatatable.Rows(test).Item("Roundtrip") …

Software Development vb.net
Member Avatar for adam_k
0
992
Member Avatar for lj81

Hi I'm currently writing a program which applies collision detection to balls on the screen. My code works to a certain extent (the balls collide however they do not rebound away from each other) but it is not written efficiently. Here is the code that partially works: private void checkForCollision(Ball …

Software Development java
Member Avatar for lj81
0
173
Member Avatar for Om Alooi

I have a problem im my order form the user enter the order he chose the customer name and the product name and they should print in the list box the user should click on next product so he can enter another product for the custmer and when he finish …

Software Development vb.net
Member Avatar for thines01
0
147
Member Avatar for <HHH>

I have an ArrayList Contain Strings as follow 1, 200, 2 , 434 , 3 , 400 , 4 , 500 ............................... and so on how i can remove the number 1,2,3,4 i tried the followinh code but its not worrking for (int i=0;i<content.Size();i++){ if(i%2== 0 ) // if the …

Software Development java
Member Avatar for JamesCherrill
0
130
Member Avatar for FC Jamison

I am trying to learn how to write a merge sort function, but I have only gotten so far with the book I am using now: [code] template <class T> void mergeSort(vector<T>& s) { mergeHelper(s.begin(), 0, s.size()); } template <class Itr> void mergeHelper(Itr start, unsigned int low, unsigned int high) …

Software Development c
Member Avatar for Lylla
0
178
Member Avatar for Begginnerdev

Hello my fellow DaniWebbers, I have a discussion topic for everyone. Winforms VS. WPF ITT: Your opinion on the two Your reason for coming to that discision Your approval/disapproval of Microsoft abandoning WinForms How this impacts your vb.net skills

Software Development asp.net vb.net
Member Avatar for Begginnerdev
0
176
Member Avatar for Kitt3nkat

I am trying to create a 2d table that asks for user input to create table size, adds all the numbers across each row, and creates the next row by multiplying by the first row. Here's what I have and it's now giving me an "Exception in thread "main" java.lang.NullPointerException" …

Software Development java
Member Avatar for NormR1
0
889
Member Avatar for robin99

can anyone show me the point to get the tutorial on how to print using shared printer in java (windows os) ? thank you all

Software Development java printer
Member Avatar for robin99
0
591
Member Avatar for polarbear125

I have the following program, and I want to print the appropriate return statement for the numbers given. I am currently getting the error "cannot find symbol variable result, lines 18 & 19"... how do I get it to work, though? I've tried a few different ways, and this is …

Software Development java
Member Avatar for polarbear125
0
183
Member Avatar for sdr001

Hey everyone, I am having some trouble parsing a string in java. I get a string from a databse, then I want to put it into a String Array to access two elements in the array (x and y positions). I think my problem is when I try to split …

Software Development java
Member Avatar for NormR1
0
227
Member Avatar for hussain shabbir

somebody pleae post some basic C++ excersices of loops.please help me i am a beginner. thANKSS

Software Development c++
Member Avatar for thines01
0
82
Member Avatar for gfp91

Hi i need help with moving a light. at the start of the program i define the floats. `GLfloat Light_Ambient[] = {0.7f, 0.7f, 0.7f, 255.0f};` `GLfloat Light_Diffuse[] = {1.0f, 1.0f, 1.0f, 1.0f};` `GLfloat Light_Position[]= {0.0f, 1.0f, 3.5f, 1.0f};` but later on in the program while the scene is running i …

Software Development c++ opengl
Member Avatar for mitrmkar
0
184
Member Avatar for jumbowat

Hi every one, #include <stdio.h> #include <conio.h> #define SIZE 4 int main(){ char Menu[SIZE] = {'A','B','C','D'}; int i; for(i=0; i<(SIZE); i++){ // print the array elements printf("\t%c",Menu[i]); } getch(); } I want to swap the elements of the array for e.g. if I pass A and D or Menu[0], Menu[3], …

Software Development c
Member Avatar for jumbowat
0
7K
Member Avatar for Sgt. Pepper

Hello, My assignment in class is to write a notepad program in java, using only the .io and .awt extensions (I believe that's what they're called). Now, I've got every part of the program working, except the save and saveAs functions. I've spent roughly 5 hours looking for and trying …

Software Development java
Member Avatar for JamesCherrill
0
786
Member Avatar for PoovenM

I'm creating a custom `ComboBox` that allows the user to select a date; the calendar display is localized making the built-in `DateTimePicker` undesirable (see [here](http://support.microsoft.com/Default.aspx?scid=kb;en-us;889834&x=18&y=19) for more information). I need the UI control to mirror the look and feel or the existing components. Here's what I've tried and the problems …

Software Development
0
179
Member Avatar for JasonWung

Hi, Can anyone give me some examples with threads with win forms. I have one form which make post request to a server. When i start form and hit "start" button my form read one .txt file. I want to make when start .. read 50 rows then stop and …

Software Development
Member Avatar for JasonWung
0
121
Member Avatar for sarrrry92

Never mind my last post(I don't know how to detete) How to do the main? Write a program that has an array of 5 Strings, and determines which ones are palindromes (letter-case does not matter) . Your code will be written in one class Palindrome.java and has a main() method. …

Software Development java
Member Avatar for joankim
0
172
Member Avatar for bgx90

I have not found anything that addresses these questions. Any help is appreciated. If I have a class that has pointers to objects of a user-defined class as members, is there any problem with initializing those pointers with the initialization list of the constructor? For example, where A, B, and …

Software Development c++
Member Avatar for bgx90
0
3K
Member Avatar for Yoink

Hi, I have a program that deals with stacks and queues in python. Part of the program compares items in 3 stacks that contain objects. The loop will run and compare all items in the top of the stacks and pop the item that has the highest value and appends …

Software Development python queue
Member Avatar for scudzilla
0
266
Member Avatar for ccbuilder

Can anyone show or explain how to do a base conversions ? I'm new so this concept is confusing so far i got to but I have no clue to get answer from base 10 to any base 2 to base 16 #include <cstdlib> #include <iostream> #include <string> using namespace …

Software Development c++
Member Avatar for ccbuilder
0
227
Member Avatar for Nimrod7676

Hello everybody, I'm using Ubuntu 11.10 and I don't know about assembler for linux, but I think there is. Do anybody know about Assembler for linux? Thanks. =]

Software Development assembly ubuntu
Member Avatar for rubberman
0
142
Member Avatar for freddyk

I was just experiminting with the following C code and i noticed something interesting.. The first loop runs fine, but from the second loop the variable r1 occupies the kernel address space(ffffffffe) and instead of randomly changing as it is supposed to, all the consecutive loops show r1 as occupying …

Software Development c windows-virus
Member Avatar for rubberman
0
163
Member Avatar for NerdPC

I have googled this and I see how to do the clock function with insertion and I was pretty sure I implemented it right but the insertion sort never shows any time. I am not sure if I am not waiting long enough but I have had the program up …

Software Development c++ ios
Member Avatar for rubberman
0
224
Member Avatar for oscargrower11

I'm sure I'm missing something basic here, but I cannot get this to compile. Using codeblocks 10.05 with mingw build of gcc 4.4.1. I've included unistd.h and tried replacing MAXPATHLEN with PATH_MAX but every time, it gives me: error: 'MAXPATHLEN' was not declared in this scope or error: 'PATH_MAX' was …

Software Development c++
Member Avatar for oscargrower11
0
1K
Member Avatar for brandon66

Hey guys im new to java in the process of learning how would i go buy adding exceptions to my code with a try/catch when i divide by zero or enter a word instead of and integer. package errorapp; /** * * @author Brandon */ import javax.swing.JOptionPane; import java.util.InputMismatchException; public …

Software Development java java-swing
Member Avatar for NormR1
0
213
Member Avatar for MasterHacker110

I want to start writing a os, but doesnt really know how. I need a simple boot and kernel to demonstrate how its done. nothing fancy just simple one that will boot and load a kernal. if it isnt to much work maby make it that is can hold files, …

Software Development assembly
Member Avatar for AceStryker
0
252
Member Avatar for ghada ali

this part give object reference not set to an instance of an object massege problem : Form1 f1 = new Form1(); f1.Show(); //////after this line this.Close();

Software Development
Member Avatar for skatamatic
0
161
Member Avatar for gerard4143

I have a question about istream iterators and reading the input to the EOL. How do you do it? I tried the following but had to revert to a hack to get it to work. My first attempt reads from the istream but a word at a time. first.cpp #include …

Software Development c++
Member Avatar for gerard4143
0
354
Member Avatar for ITOzann

Hello guys, I've been trying to finish a project. But I seem to be stuck. I'm suppose to get the following output: [1:18:10, 2:33:10, 3:21:10] Remove customer:1:18:10 Remove customer:2:33:10 Remove customer:3:21:10 [Cashier:1001:0-0:Customer:null, Cashier:1002:0-0:Customer:null, Cashier:1003:0- 0:Customer:null, Cashier:1004:0-0:Customer:null] Remove free cashier:Cashier:1001:0-0:Customer:null Remove free cashier:Cashier:1002:0-0:Customer:null Remove free cashier:Cashier:1003:0-0:Customer:null Remove free cashier:Cashier:1004:0-0:Customer:null [Cashier:1001:13-31:Customer:1:18:10, Cashier:1002:13-46:Customer:2:33:10, …

Software Development api java queue
Member Avatar for ITOzann
0
382
Member Avatar for jrpaarlberg

I was wondering if anyone could help me. I am working on a program in VS2008 with C# which has a datagridview populated from 2 SQL Express tables and needs to save to only 1 database. Below is the code I have working so far: public frmGrid() { BindingSource bs …

Software Development c# visual-studio
0
120
Member Avatar for sing1006

the coding will works if the data type of my primary key is integer.but when i try to change the primary key in string data type i cant delete oe edit. below is my coding for that 2 button that is working. coding for edit button ` Private Sub Button4_Click(ByVal …

Software Development vb.net
Member Avatar for Begginnerdev
0
240
Member Avatar for how_too

Objectives: • Use an object with a list • Use a list of objects Write a class that encapsulates data for a sales person. Class SalesPerson has an ID number (int), a name (string), and a list of sales (float). It provides a constructor __init__ that initializes ID and name, …

Software Development python
Member Avatar for Lardmeister
0
239
Member Avatar for lena1990

hi i want to move from one applet that is displayed in html to another applet that is also displayed in html how i can do that thanks for help

Software Development html-css java
Member Avatar for NormR1
0
91
Member Avatar for DavidKroukamp

Hmm i really like what applications like Windows Media Player and VLC player can do, and by this i mean: you know when you are watching a movie or listening to music and you minimize the window? Well if you hover the taskbar icon of the minized window with your …

Software Development java java-swing microsoft
0
191
Member Avatar for jp071

Hello, Could anyone explain details about three different case and output. Here is the code and output: #include <stdio.h> void foo(int n) { n = 6; } void fooWithRef(int& n) { n = 6; } int main() { int n; foo(n); printf("Case_1 Result: %d \n", n); n = 4; foo(n); …

Software Development c++
Member Avatar for MandrewP
0
137
Member Avatar for T0pAz

The problem is simple. I have LoadLibrary on my c++ app and I want to load c# library but I don't know the entry point.

Software Development c c# c++
Member Avatar for T0pAz
0
2K
Member Avatar for riahc3

Hey What is the easiest way to read and write XML file to my C# program? Im looking for Localiziation Configuration I imagine that the only difference is that I have to load the localization as soon as I load the program.... Thanks! :)

Software Development xml
Member Avatar for skatamatic
0
744
Member Avatar for avirooge

Hi, I have created a project in which i am printing Hall ticket for an examination. i am using vb6.0 as front end and Access 2003 as backend. I have created a reprot in crystal reprot 8.0. I have added photographs of students in the report. Everything works fine. The …

Software Development image visual-basic
Member Avatar for dhaval.2cool
0
246
Member Avatar for BlackJavaBean

I'm trying my hand at OpenCV and have run into a problem that Dr. Google hasn't been able to help me out with. According to O'Reilly, the following code should play an AVI file in a window the program creates. [CODE] #include "highgui.h" #include <stdio.h> int main( int argc, char** …

Software Development c computer-vision ubuntu
Member Avatar for nhadley
0
663
Member Avatar for Dendari

Hello everyone. I'm trying to work with this kind of file: http://www.mediafire.com/?da0ad07pzfogdl0 (you may use Notepad++ to open it) I think it's a binary data file but I'm not sure. Anyways what I need to do it's to edit some of the text part inside it. Example: http://img403.imageshack.us/img403/8017/94022290.jpg I'd like …

Software Development vb.net
Member Avatar for Dendari
0
226
Member Avatar for xxxartistxxx

Hello Everyone,I'm new at DaniWeb I have a problem with my file download function. This's my function Private Function download_files(ByVal _URL As System.Uri, ByVal _SaveAs As String) If InternetConnection() = True Then Dim _WebClient As New System.Net.WebClient() Try AddHandler _WebClient.DownloadProgressChanged, AddressOf _DownloadProgressChanged lblStatus.Text = "Downloading File :" & _SaveAs _WebClient.DownloadFileAsync(_URL, …

Software Development file-system vb.net
0
149
Member Avatar for tendaimare

I am going through some tutorials in java and I would like to do my first insert into an SQL express database using java .I saw some tutorial recomending jdbc insert. I would like to know which is the best and most reccomended way to carry out an insert into …

Software Development java
Member Avatar for tendaimare
0
161
Member Avatar for Kirielson

Hello, I am trying to implement a version of the cubic spline based on the artilce here: [Click Here](http://en.wikipedia.org/w/index.php?title=Spline_%28mathematics%29&oldid=288288033#Algorithm_for_computing_natural_cubic_splines) and while implementing it I find errors that my indices are out or range such as: ` h[i]=(n[i+1]-n[i]) IndexError: list index out of range ` Here's a part of the code: …

Software Development python
Member Avatar for Kirielson
0
331
Member Avatar for MrEARTHSHAcKER

Hi, I have read something on IBM's site about exception specification and pointers to functions: void (*f)(); void (*g)(); void (*h)() throw (int); void i() { f = h; // h = g; This is an error. } IBM says: > The compiler allows the assignment f = h because …

Software Development c++
Member Avatar for MrEARTHSHAcKER
0
197
Member Avatar for UnhingedToker

I have an image consisting of lot of different frames. There are a lot of transparent pixels in the frames. I have to split the image into individual frames and iterate over the pixel data in an input image/buffer and copy out rectangular regions containing non-transparent pixel data into individual …

Software Development image java
Member Avatar for JamesCherrill
0
170
Member Avatar for prajot_03

how to deduct qty from data base i have used this sentex to deduct...... cm1.CommandText = "update inventory set qty=qty- " & cust_gv.Rows(i).Cells(3).Value() & " where item_name='" & cust_gv.Rows(i).Cells(1).Value() & "'" this sentex is giveing error

Software Development vb.net
Member Avatar for thines01
0
153

The End.