132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for F_M

am using vb.net and sql database. My tables are as follows: Details: Details_ID (PK) Address_1 Address_2 City Postcode Country Email And Customers: Cust_ID Customer_Name Notes Details_ID(FK) When i insert data, it fills in the tables but the Details_ID comes as Null. I need the Details ID to correspond with the …

Software Development vb.net
Member Avatar for thines01
0
167
Member Avatar for markduffy

Working in vs2008 I have a report that accepts 30 rows of data. The issue I have is that I need to split this data up into 5 sections of 6 with a border... _______________________ 1 data 2 data 3 data 4 data 5 data 6 data _______________________ 7 data …

Software Development vb.net
Member Avatar for thines01
0
88
Member Avatar for C0ding

Hello everyone, I am trying to make a tool that can allow me to join text... For example, my project have four listboxes like my example: [One] [Two] [Three] <== these are thre list boxes or three text boxes with multiline option, which the job is to make something like …

Software Development visual-basic
Member Avatar for C0ding
0
488
Member Avatar for wallet123

[CODE]package PAyroll; import javax.swing.JOptionPane; import javax.swing.UIManager; import java.awt.Color; import java.text.DecimalFormat; import java.text.NumberFormat; import javax.swing.UIManager; public class EmployeeProfile { public static void main(String[] args){ JOptionPane.showMessageDialog(null,"Welcome to Payroll System"); payroll(); } public static void payroll(){ int conf=0; // do{ String name=""; String add= ""; String contact= ""; String email= ""; String word=""; …

Software Development java java-swing
Member Avatar for Philippe.Lahaie
0
136
Member Avatar for nickliutw

I'm working on a project that can recursively print out the items from a single link list. The project also require the reverse method should accept a reference to a generic single-linked list. This is my logic for printing the item in reverse: if the element in a node is …

Software Development java linked-list
Member Avatar for nickliutw
0
209
Member Avatar for arsenalfun

Hello, I have website proxy-zone.net and there you can add proxy on this link: [url]http://proxy-zone.net/add-proxy-server/[/url] I made simple web bot that should POST proxy and add it in database. But it wont POST because my website checks if backlink exist on remote proxy website. And I make sure backlink exist …

Software Development first-post
Member Avatar for arsenalfun
0
319
Member Avatar for TIM_M_91

Hi guys what I want to do is once the user has entered the id number it displays the results for the particular record. This works fine however what would I need to do to the following code so if the id number does not exist it produces an error …

Software Development java
Member Avatar for Philippe.Lahaie
0
132
Member Avatar for utkarshsahu

I am a beginner in learning assembly language. I wanted to know which assembler would be best to use between NASM and MASM in today's context. Also, can you give a link to documentation on these assemblers?And tutorial specific for these assembler (as assembly is not standardized)

Software Development assembly
Member Avatar for utkarshsahu
0
3K
Member Avatar for Black Knight

Right, my program ran perfectly fine with the line [CODE]JLabel headerImage = new JLabel(new ImageIcon(img));[/CODE] But as soon as i put it into a JAR file it has problems, i have searched the inet for soloutions and there isnt much out there for apps, loats for applets though, but none …

Software Development file-stream image java
Member Avatar for joyal
0
1K
Member Avatar for availalble4you

Can you please help me out on my project?, its like a phonebook on cellphone it should be display the ADD CONTACTS, DELETE, EDIT, SAVE, VIEW, SEARCH. I sunno how to edit and delete the contacts can you help me on this.. i came out on this,.. #include<iostream.h> #include<conio.h> void …

Software Development c++
Member Avatar for Labdabeta
0
138
Member Avatar for Vampiricx3

Hey guys, I'm trying to create my own personal API (more like a simple way for me to write long codes), and i've run into a snag. I want to create a simple function to detect whether or not I want the consoleWrite() to print out a new line system …

Software Development api java
Member Avatar for ~s.o.s~
0
95
Member Avatar for jonnyboy12

Hello all. I am working on a pop3 connection. The problem is that after i have connected , when i try to read the stream, it will work. Although the next time i read from it it will just stop my program execution and hang. Like as it its in …

Software Development c++ client-server
Member Avatar for thines01
0
141
Member Avatar for garden4ork

Hey, I'm having trouble transferring a single row of data from a StringGrid through a Client/Server module and then add the row onto another StringGrid at the other side. I keep getting array errors which would make sense however surely you can just take a row and add a row? …

Software Development client-server pascal
Member Avatar for garden4ork
0
132
Member Avatar for dujgaran

Do the following tasks: Task 1 Create an enumerated type named AccountType for representing different types of bank accounts (checking and savings). You will create two variables by using this enum type, and set the values of the variables to Checking and Deposit. Task 2 Design a class named BankAccount …

Software Development
Member Avatar for syd919
0
237
Member Avatar for karan_kanna

Hi , i have a dump file . i want to load it into a dictionary. i am using pickle load to load it as shown below: pkl_file = open( r'D:\work\dumpfile.dat', 'rb+') FinalTable = {} FinalTable = pickle.load(pkl_file) The problem is it is loading only one key and value from …

Software Development file-system python
Member Avatar for Gribouillis
0
210
Member Avatar for Naveed_786

Hi All, I want to ask you a question. Can you tell me how can i record a call from my phone to my PC? What method should i adopt? Should my telephone is is connected to my PC through a wire?

Software Development vb.net
Member Avatar for Naveed_786
0
121
Member Avatar for reds8

This is my code to create textboxs with button. Now I need a button which to delete all the text box. What is the way of doing it ?? AND can I write the code below as a class and I just call the class in the button only?? [CODE] …

Software Development vb.net
Member Avatar for Reverend Jim
0
1K
Member Avatar for km2011

Hello, everyone! I am trying to generate a random number with Java, but random with the fix number of reviewers per object.Example: I have 5 reviewers(r(i)) and 5 objects(o(j)), a[i][j] is the evaluation score that reviewer(r(i)) has evaluated object(o(j)), and my question is i want to labeled each object should …

Software Development java
Member Avatar for NormR1
0
682
Member Avatar for Newbienoob

I have problem with printing the binary tree.After i put the numbers it is just closing.Can't find the problem,somehow it ignores the function called "printukas". [CODE]#include <stdio.h> #include <stdlib.h> struct tree { int data; struct tree *rajt; struct tree *left; }; typedef struct tree node; int main() { init(); } …

Software Development c
Member Avatar for Banfa
0
147
Member Avatar for sajaddehghan

I don't know what the "*" or "**"or "***" means. could anyone help me please? [CODE] #include <iostream.h> #include <complex.h> #define PI 3.141592654 extern int phin,Ne; extern double Lamda; extern double ***TS; extern double ***TF; extern complex **d; extern complex *bd;[/CODE]

Software Development c++
Member Avatar for JasonHippy
0
154
Member Avatar for arunsolo1984

how to perform a 64-bit addition in c? but the following code fails? why? I have taken this code from stack overflow. But this doesnot works. Pls help me. I need to perform 64-bit addition in c. I am using 32-bit compiler. :chomp: :chomp: /* break up the 64bit number …

Software Development c
Member Avatar for Banfa
0
188
Member Avatar for c++ prog

I'm creating a game here using a vb.net.....to make my project more interesting, i'll add a flash animation before the game begins to serve as the story of the game....but the problem is i don't know how to add it into a form....i didn't found anything in the toolbox that …

Software Development flash vb.net
Member Avatar for donniedonos
0
236
Member Avatar for lhsunshine

My problem is for postItem.aspx and giveComment.aspx, users cannot access without login. Can i use the nested-if method? Then how to use it? Thank you... In Login.aspx.cs if (temp == 1) { string cmdStr2 = "Select Password from Reg where Username= '" + txtUN.Text + "'"; SqlCommand pass = new …

Software Development microsoft-access session
Member Avatar for CriticalError
0
186
Member Avatar for learntosucceed

I'm trying to use these icon images for my JButtons, but I keep getting "Resource not found: " [url]http://java.sun.com/developer/techDocs/hi/repository/TBG_Media.html[/url] [CODE] static ImageIcon createMediaIcon(String imageName) { String imgLocation = "/toolbarButtonGraphics/media/" + imageName + ".gif"; java.net.URL imageURL = Test.class.getResource(imgLocation); if (imageURL == null) { System.err.println("Resource not found: " + imgLocation); return null; …

Software Development image java
Member Avatar for ejosiah
0
347
Member Avatar for t_daniweb

Having trouble getting the QuickSort to work in this code. I turned off the counter for now, just trying to get the sorted array to display correctly. This is the results I get from the code: This program keeps track of the number of comparisons required to to sort a …

Software Development c++ display programming-construct
Member Avatar for t_daniweb
0
247
Member Avatar for hasan_cemos

Hello! Is there any standart Java libaries to interpolate an image? Thanks!

Software Development java
Member Avatar for peter_budo
0
96
Member Avatar for Joker500

This is an assignment that i am doing for my class. Everything seem to work right expect for one code which for some reason is not outputting the account type.i am not getting any errors at all.I am input an char type not an number type. just does not seem …

Software Development c++
Member Avatar for WaltP
0
523
Member Avatar for darthswift00

Hi i have a problem where i want to use 2 radio buttons to view sum data related to them. e.g. if i select DVD then all the dvd's listed in my database must display, and if select CD then all cd's will be displayed on my data grid(2 radio …

Software Development vb.net
Member Avatar for darthswift00
0
330
Member Avatar for zingwing

I'm current trying to write codes that will read a .txt file and count the words and sentences. Right now im currently just trying to count words. So far my code is counting all multi-letter words but not single letter words. I know i can hard code in 'a' and …

Software Development c
Member Avatar for zingwing
0
192
Member Avatar for hubertj

i was wondering if someone can help me with this Java codes? [CODE]/** * This is a class of Money for us to be able to input an amount and do addition or substraction * to it and display the balance.. * * @author HUBERT JIANG * @version 0.2 */ …

Software Development java
Member Avatar for stultuske
0
166
Member Avatar for AliQadir

Hi, I have GridView on my asp.net Page I want to validate the Gridview. I want that in my Grid , Records with Null Value do not be displayed,Like I have some Null values In second column rows So I need to Hide those Null Values, In fact Entire row …

Software Development asp.net c#
Member Avatar for KushMishra
0
119
Member Avatar for bloodbender

Hello Daniweb, I just created a small program that generates a random integer between a given range then asks the user to guess the number, giving hints like "Too high" or "Too low" along the way until they guess the correct number. I have it all working smoothly, except when …

Software Development java
Member Avatar for stultuske
0
131
Member Avatar for Mosey Mo

Hello, I am a student attending a communintiy college in southern California. Im currently taking a course entitled, "Programming in C++.". The class book is entitled, " An Introduction to Programming C++", Sixth edition. I need, help with my homework. Our homework is to workout the exercises at the end …

Software Development c++
Member Avatar for ravenous
0
1K
Member Avatar for RobotFX

Well, I hope this is the right forum, first of all. Here's my issue: I have a lot of images stored in subfolders like this example: [I]/Stallone/photos[/I] or [I]/Aguilera/photos[/I]. I'd like to move all the images from the [I]photos[/I] folders one folder up, if possible. I'm hoping maybe there's a …

Software Development shell-scripting
Member Avatar for RobotFX
0
113
Member Avatar for semor7

can u help me plz people with this problem? i have 2 checl boxes bol1 and bol2 and i stored a record after ticking one of them and now i want to make a function to retrive what i stored in the access data base in check boxs as well …

Software Development vb.net
Member Avatar for Pgmer
0
117
Member Avatar for sridhar.selva

hi, i m doing a program now. in which i need to get ascii values like SOH, NUL etc from the serial port. i m getting the values as string. i don know how to process the ascii values to obtain the original values back. example my data is SOH …

Software Development c
Member Avatar for sridhar.selva
0
240
Member Avatar for newbie1234

I want to encrypt my 128 bit string using AES encryption. example 128 bit string = "A#$RFDE%t^&jhy*i" with 128 bit key = "CDF$#%Tgfvb^%&$C" [url]http://www.cryptopp.com/[/url] Is here any help to encryption. I gone through crypto++ library. But it seem tough to understand.

Software Development c++ encryption
Member Avatar for raptr_dflo
0
252
Member Avatar for vanesh

I already input grades for the first student and the all grade information will save in the database. but when i'm trying to input grades for the other student i can't save the grade but there is no error shown. [CODE]Private Sub cmdSave_Click() On Error Resume Next If Val(txtcount.Text) = …

Software Development visual-basic
Member Avatar for Jx_Man
0
124
Member Avatar for razamughal67

Hello everybody i want to get recycle bin all files and folders in a list box using visual basic 6.0 please help me to solve this problem

Software Development visual-basic
Member Avatar for Jx_Man
0
383
Member Avatar for roshu10

hi friends,,,,, i am doing an gaming project in vb.net 2008.. my problem is i wrote code to play the video in button click,, so codes after the video playing code in button click must stop for 5 seconds.... how to do it???? i cant use threading.thread.sleep(5000) if i use …

Software Development gaming vb.net
Member Avatar for Gé48
0
157
Member Avatar for zhouy

This is my matrix. I want to solve C,D and E <uploaded> Can anyone give me the sample codes to solve C, D and E in VB.Net? Answers are C=0.4857143, D=0.0000000 and E=-0.1428571 (manual calculation) Thanks!

Software Development matrix-multiplication vb.net
Member Avatar for zhouy
0
1K
Member Avatar for aj9393

I'm am trying to make just a simple text-based adventure game, inspired greatly by Zork. Basically all it is is an IF statement for many possible input so the player isn't constrained to inputting their text in a certain format. Then each section is it's own module so when the …

Software Development gaming python
Member Avatar for woooee
0
364
Member Avatar for rbran74

When reading input file into the array the last line of the input file is not read in. When i run the program everything ouputs except tea and the cost. input file: 1.45 Bacon and Egg 2.45 Muffin 0.99 French Toast 1.99 Fruit Basket 2.49 Cereal 0.69 Coffee 0.50 Tea …

Software Development c++
Member Avatar for histrungalot
0
137
Member Avatar for tendaimare

iam reading scale values from a scale in vb.net. now iam getting values like 33333kg and 55555kg and I want to format it such that I get values like 33.333kg and 55.555kg

Software Development vb.net
Member Avatar for Gé48
0
184
Member Avatar for ng5

I was wondering if i would be able have the saved items as a way to "login" to my program. in the first form (form1) i have a masked textbox and a button. you type your "pin" into the masked textbox and click the button to enter. i would like …

Software Development vb.net visual-basic
Member Avatar for Gé48
0
120
Member Avatar for jineesh

I have two tables, tblstudent having fields [studentId,rollNo,classId,studentName], tblclass having fields [classId, division,className]. The two tables are referenced by field classId. I want to fill tblstudent. Also I want the table tblClass should be filled at the same time. This is for creating reports. Can any one help me..

Software Development asp.net c# microsoft
Member Avatar for jineesh
0
812
Member Avatar for chopper25

So im stuck writing a function and was hoping someone would be nice enough to help. My objective is to look at a list of grades such as: [CODE][23 , 64 ,74 , 53 , 55[/CODE] And return a list with the number of grades in each percentage range I.E. …

Software Development python
Member Avatar for woooee
0
594
Member Avatar for tendaimare

i have a small sample seral comms sample project and its working great .however i want it to run such that it will run continually 24 hours a day and not stop. I do not want any unauthorised persons to close the system, or stop it in any way, any …

Software Development vb.net
Member Avatar for Gé48
0
283
Member Avatar for kiail

Okay, so I have a bubble sort that has some issues. It is meant to sort 10 random numbers, and it does....however, in the console I have to press enter about 11 times for it to produce results, what can I do to fix that?? Here's my code: [CODE]using System; …

Software Development algorithm app-store
Member Avatar for Momerath
0
166
Member Avatar for easygi

I build my project then I open the EXE file at the RELEASE FOLDER, when generating in a crystal report a error message pops up "LOAD REPORT FAILED".

Software Development vb.net
Member Avatar for easygi
0
212

The End.