132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for king03

Hi guys I wanted to ask how to make the numbers 0 to 9 show up diagonally, vertically, and horizontally all at the same time. My code must show something like this: (NOTE: Daniweb won't allow me to fill up those spaces with blanks so just imagine the "x" as …

Software Development assembly
Member Avatar for Assembly Guy
0
176
Member Avatar for SoulofchaOs

After I clicked the 'Run' button in Netbeans, it will compile and run and then it will stop at this point : [Click Here](http://i.imgur.com/4O8vY2d.png) I will have to press any key on the keyboard then it will display the text, but it doesn't allow the user to enter any form …

Software Development c java-netbeans
Member Avatar for tinstaafl
0
226
Member Avatar for imBaCodes

CAn anyone help me how to create a file browser using excel macro? Thank you guyss.

Software Development visual-basic
Member Avatar for imBaCodes
0
176
Member Avatar for Van1234

616.00 -first value -1 empty -2 empty 616.00- last value 791.00 791.00 -1 empty -2 empty 994.00 1,008.00 - - - -- - 910.00 882.00 -1 empty 826.00 756.00 can anyone show me a code to interpolate this replacing the blank space that is not more than 4 to tha …

Software Development visual-basic
Member Avatar for Van1234
0
127
Member Avatar for Pervex

Hi, I am newbie , I have application in which check-box tree is present. I want to pre-populate the check-box's if user before checked some of those check box. For that am getting XML format from my back-end perl script as shown below.like , in below XML only 0, 43,44,45,46 …

Software Development display html-css perl xml
Member Avatar for mariasain
0
264
Member Avatar for kelay

could anyone please help me write a program which accepts an age and throws an exeception if(18>age>22).

Software Development java
Member Avatar for somjit{}
0
134
Member Avatar for rahul.katiyar.7731

I want the vba coding of the formula SUMIFS in MS-Excel 2007, so I can copy the code and paste it in the Module of MS-Excel 2003 to use the formula in this version. [url=http://damdamalakeresort.com/]Damdama Lake[/url]

Software Development visual-basic
Member Avatar for rahul.katiyar.7731
0
265
Member Avatar for Pundia

Hi everyone! I haven't seen this question here, so I'll give it a try. I'm from a country where some words have accents, like *María*. I have all this words in a database and I would like to use the Select function from a DataTable but ignoring accents in the …

Software Development
Member Avatar for TnTinMN
0
2K
Member Avatar for fatalaccidents

Hello all, I would like to first state that it this is a question for a homework assignment, so I'm not looking for exact code but rather just help on something that is frustrating me. We have to create our own ADTs for this assignment and not use built in …

Software Development java linked-list
Member Avatar for somjit{}
0
895
Member Avatar for milkman93

Hey Everyone, I want to instantiate an ArrayList in java. I realize the method to doing this is: ArrayList<String> determiners = new ArrayList <String>(); determiners.add("A"); Where "A" is added to the arraylist once created. However, the problem I'm having is that the .add method doesn't work unless in a main …

Software Development java
Member Avatar for milkman93
0
2K
Member Avatar for Jake.20

I'm stuck, can someone teach me on how to populate my listview using database.

Software Development listview vb.net
Member Avatar for nethzkie18
0
822
Member Avatar for thewayoftheduck

**I have some errors in my code and can't figure out how to get rid of them any help is wonderful.** The full code is: import java.util.Scanner; public class FindGeneSequence2 { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Please enter a genome for segmentaion into genes: …

Software Development java
Member Avatar for thewayoftheduck
0
275
Member Avatar for thewayoftheduck

import java.util.Scanner; import java.util.Random; public class HangmanGame2 { public static void main(String[] args) { Scanner input = new Scanner(System.in); final String[] WordList = { "porcupine", "flamingo", "sasquatch", "poseidon", "minnie mouse", "mickey mouse", "galileo" }; String ChosenWord = WordList[(int)Math.random()*WordList.length]; StringBuffer display = new StringBuffer(ChosenWord.length()); for (int i = 0; i < …

Software Development java
Member Avatar for IIM
0
329
Member Avatar for masterjiraya

Problem: I have a version of 2003 of MS EXCEL for example I have Line A and Line B in the same work sheet the DATA of Line A has a b c d e and f the data of Line B has b and d only if I use …

Software Development mathematics microsoft-office
Member Avatar for masterjiraya
0
222
Member Avatar for Mbokodvo

Guys i need your help i just want u to help me create a simple real life project with c++,i've just finished learning it and i passed it,so i would like to see it work in real life,besides i would also like to see my programs work out of code …

Software Development c++
Member Avatar for ddanbe
0
285
Member Avatar for paulnamroud

Hello, This is my first experience with C# Web Service & AJAX ... I would like to build a page like Facebook that will load the next set of records when we scroll down ... I'm trying to use the code but it's not working at all ... Can you …

Software Development c# javascript javascript-jquery
Member Avatar for paulnamroud
0
332
Member Avatar for Allorango

Getting Run Time Error 13 Typy Mismatch this coding is of EXE file of VB programing can any 1 sold this coding for me ??? please help me here is full coding :- Dim serverid, serverport, serverip, agentid, lsip, lsport As Integer Dim zonelist() As String Dim zonecount As Integer …

Software Development app-store open-source storage visual-basic
Member Avatar for tinstaafl
0
312
Member Avatar for NikkiStars

# Pseudo Code # Hello, I have just joined a new class called "Programming Concepts". This subject is still very new to me. I am having trouble understanding what I need to do. If somebody could explain to me what my assignment means, I would really appreciate it. Providing some …

Software Development c++
Member Avatar for NikkiStars
0
335
Member Avatar for chdboy

I have this code Dim con = New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Danial\documents\visual studio 2010\Projects\ESI_PF_Payroll_V1\ESI_PF_Payroll_V1\Pay.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True") con.Open() cmd.CommandText = "SELECT Firstname,Lastname FROM Employee where Firstname = @Firstname and Lastname = @Lastname" cmd.Parameters.Add(New SqlParameter("@Firstname", TextBox1.Text)) .Value = TextBox1.Text cmd.Parameters.Add(New SqlParameter("@Lastname", Lname_txt.Text)) .Value = Lname_txt.Text dr = cmd.ExecuteReader While dr.Read Label4.Text = dr(0) …

Software Development dataset open-source sql vb.net visual-studio
Member Avatar for chdboy
0
243
Member Avatar for dinesh012

Dim connString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|datadirectory|\payroll.mdb;persist security infor = false" Dim conn As New OleDbConnection conn.ConnectionString = connString it will displya the message "Could not find installable ISAM." any one plz help

Software Development vb.net
Member Avatar for TnTinMN
0
140
Member Avatar for bananacat

I've had enough. I just don't get what's wrong at all. I coded a basic calculator program, and it compiled correctly, no exceptions thingy, sooo... it's probably my mistake --- nothing appears on the calculator's GUI. It's a blank window with just the title. And when executing programs like this, …

Software Development gui java java-swing user-interface
Member Avatar for bananacat
0
340
Member Avatar for bogc

given an audio signal x, there are a number of simple effects that can be implemented on such a file. we are to implement base dumps and treble dumps given piecewise functions relating to each

Software Development audio python
Member Avatar for bogc
0
122
Member Avatar for stacey.rae.35

I need help running my program this is what it asks me for "Write a program that asks the user for the name of a text file. The program should display the first 10 lines of the file on the screen. If the file has fewer than 10 lines, the …

Software Development c++ ios
Member Avatar for nmakes
0
231
Member Avatar for LostStranger

A newb programmer here I have a project involving pedestrian simulation I'm planning to use libpedsim.dll in python with Ctypes but so far I cannot make the functions working Can anyone point out how to make use of this DLL? This is the class documentation: http://pedsim.silmaril.org/documentation/libpedsim/latest/classPed_1_1Tscene.html This is the link …

Software Development c++ python
Member Avatar for vegaseat
0
467
Member Avatar for Yorkiebar14

Hello DaniWeb, I am trying to retrieve the ip of the current proxy in use but it either throws an error saying "Unable to connect to the remote server" or it goes really, really slow and crashes the program for at least 10seconds. I have tried using multiple proxies from …

Software Development router-proxy-firewall vb.net
Member Avatar for Yorkiebar14
0
374
Member Avatar for Tinnin

Hi all, I'm trying to change the file extensions of some excel files to csv and add the file names to a list box. The box is coming up blank however. My code is as follows: Private Sub Project_Load(sender As Object, e As EventArgs) Handles Me.Load Dim importsFileList As New …

Software Development vb.net
Member Avatar for Tinnin
0
166
Member Avatar for 2mhzbrain

Dim siar As Integer, siac As Integer Set SIATable = SIADoc.Tables.Add(SIADoc.Bookmarks("\endofdoc").Range, rs.RecordCount, 7) SIATable.Range.ParagraphFormat.SpaceAfter = 0 SIATable.Range.Font.Underline = wdUnderlineNone SIADoc.Tables(1).Borders(wdBorderTop).LineStyle = wdLineStyleSingle SIADoc.Tables(1).Borders(wdBorderLeft).LineStyle = wdLineStyleSingle SIADoc.Tables(1).Borders(wdBorderBottom).LineStyle = wdLineStyleSingle SIADoc.Tables(1).Borders(wdBorderRight).LineStyle = wdLineStyleSingle SIADoc.Tables(1).Borders(wdBorderHorizontal).LineStyle = wdLineStyleSingle SIADoc.Tables(1).Borders(wdBorderVertical).LineStyle = wdLineStyleSingle For siar = 1 To rs.RecordCount For siac = 1 To 7 SIATable.Cell(siar, …

Software Development visual-basic
Member Avatar for 2mhzbrain
0
217
Member Avatar for darylglenng

>what do i need to change if i want this program to convert decimal to hexadecimal thanks. package dectooctal; import java.util.Scanner; public class Dectooctal { public static void main(String[] args) { Scanner input = new Scanner(System.in); int broj; System.out.print("ENTER NUMBER THAT YOU WANT TO CONVERT TO OCTAL: "); broj = …

Software Development java
Member Avatar for deceptikon
0
435
Member Avatar for Nagarajan M

Hi friends, I am using java applet that will perform some operations. Now it is independent of jsp or html page. So,if i close an applet my html page remains active and Vice-Versa. What i want to do is embed an java Applet in html page itself. When i click …

Software Development html-css java javascript
Member Avatar for Nagarajan M
0
713
Member Avatar for tumblinmonkeym

I am trying to implement a priority queue with an unsorted array and hit a wall when I received a Segmentation fault:11. I used gdb and got the error: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 0x00000001000017fa in Item<std::string>::setKey (this=0x0, k=3) at PriorityQueueArray.h:27 27 …

Software Development c++ queue
Member Avatar for deceptikon
0
872
Member Avatar for AmerJamil

When im using fstream.h its giving an error with using namespace std, how ever when i use simple fstream without .h , it is not giving error but not reading the file, How can i use fstream object using fstream.h header file along with using namespace std? Your urgent response …

Software Development c++ file-system ios
Member Avatar for deceptikon
0
982
Member Avatar for alaa sam

hi everyone I'm supposed to write a wifi analyzer in java , what are the libraries I need to do it ? also I'm using linux will my work be protable for windows??

Software Development java
Member Avatar for stultuske
0
134
Member Avatar for noble3ad

Hello all, I'm suppose to write a program that asks the user to input five numbers. Out of those five numbers, the program is suppose to select the maximum value. I attempted to do it with "else-if" statements as can be seen in the following code. I was hoping there …

Software Development c
Member Avatar for arunkumar4003
0
464
Member Avatar for game06

i have a for loop and inside i have some code. i want to run this code random. i was thinking of using a if statment. for(int i = 0; i < 50; i++) { if(ran.nextInt(50) > 50/2){ //code } } but i want it so its even more random. …

Software Development java
Member Avatar for JamesCherrill
0
105
Member Avatar for ImZick

Hi i got this problem and i dont why it occured in my query i know that the Table name is correct and the Column Name is correct but this error always appear No value given for one or more required parameters. the it highlights the da.fill(dt) Dim da As …

Software Development vb.net
Member Avatar for ImZick
0
99
Member Avatar for saurabh.mehta.33234

I have the following code on threads.I have a doubt that is it possible that any of the two threads created ie one and two will execute the 2nd print statement in run method before the first print statement in it?That is print hello first and then the current thread …

Software Development java
Member Avatar for stultuske
0
182
Member Avatar for tomz6

Is there any difference in processing speed if use pointers in function instead of passing by value?

Software Development c++
Member Avatar for Banfa
0
997
Member Avatar for solomon_13000

I found some reading materials about factory design pattern (parallel hierarchy) whereby a class in a hierarchy has a corresponding class in the another hierarchy. So I wrote the code as below: package com.factory3; public abstract class Subject { abstract SubjectPlanner createPlanner(); } package com.factory3; public class English extends Subject{ …

Software Development java web-design
0
158
Member Avatar for renzlo

Hi, All, Greetings! Is this doable? I have a textbox for email address entry, now, when I type the email address and reach the @ character, there will be a dropdown suggesting common domains like msn.com,hotmail.com, aol.com, yahoo.com and etc. I hope you can help me. Thanks in advance.

Software Development vb.net
Member Avatar for renzlo
0
743
Member Avatar for game06

i have enemy class. and i am createing bunch of them and storing them in arraylist. i am printing them in random places. for(...){ enemy_class = new Enemy((WINDOW_WIDTH/2)+r.nextInt(WINDOW_WIDTH/2), r.nextInt(WINDOW_HEIGHT)); //add in arraylist } the problem is that some times they get create on top of each other. so my plan …

Software Development java
Member Avatar for somjit{}
0
134
Member Avatar for JamesDanny

Hey Guys, i was looking at the post linked below and been trying to solve the issue, however, i have been unable to solve it. [Click Here](http://www.daniweb.com/software-development/java/threads/384109/data-from-text-file-into-jtable) The post says i "MUST create a new Vector for each row" in order for it to work. as mentioned above, i have …

Software Development java java-swing
Member Avatar for <M/>
0
295
Member Avatar for blacklooksgood

Sorry guys, im beginner in java. Can you help me with these problems. :/ Problems: 1. a. Create an abstract class named Book. Include a String field for the book’s title and a double field for the book’s price. Within the class, include a constructor that requires the price. Include …

Software Development java user-interface
Member Avatar for <M/>
0
2K
Member Avatar for James19142

I'm writing classes for widgets on a ui. While planning what I would do, I realized majority of the of the classes would look very similar. What I decided to do was to use a macro that takes a few parameters to define the similar parts of the class bodies. …

Software Development c++ qt
Member Avatar for James19142
0
815
Member Avatar for lauraroxi

Hello. I have to design 2 classes that use a binary search tree for storing some orders for some products. I've researched on the Internet about BST implementations in Java, and I've found TreeSet. Do you have any other suggestions? Thank you:)

Software Development java
Member Avatar for cmps
0
186
Member Avatar for game06

i need some help with binary trees. i belive i have finish with insert and displaying the tree methods. but i can not be sure but i am getting a error in main. error in main: Exception in thread "main" java.lang.Error: Unresolved compilation problem: Cannot make a static reference to …

Software Development java linked-list
Member Avatar for JamesCherrill
0
300
Member Avatar for gbhs

Hi Guys Im a newbie in vb.net and trying to insert data into students table and some related details to scores table. Point is, a student registered in a class(level) must offer subjects (courses) for that class. I insert a student in students table (see Cmd below). This is easy. …

Software Development vb.net
Member Avatar for AleMonteiro
0
365
Member Avatar for xHellghostx

Okay so I have couple of questions about lists in vb.. Please be aware that it's all related to integers only no strings or others 1. How to sum values of a list? 2. How to sort values of list from highest to lowest? Also how would I display list …

Software Development mathematics vb.net
Member Avatar for ddanbe
0
332
Member Avatar for UKnod

I am running a database with about 200,000 records, so not too big. It runs fine except when I try to update one of the tables. Here is the code: Private Sub Add_History() Dim cb5 As New OleDb.OleDbCommandBuilder(da5) Dim dsNewRow5 As DataRow Dim sql5 As String sql5 = "SELECT * …

Software Development vb.net
Member Avatar for TnTinMN
0
240
Member Avatar for Akshay nand

Lab Assignment 1 - A Simple UNIX Shell Objectives: The objective of this assignment is to understand the workings of a command-line interface (CLI) and to obtain a working knowledge of process forking and signalling. Assignment: In this assignment we will build a command shell in stages. Our command shell …

Software Development c c# c++ file-stream objective-c unix
Member Avatar for deltascrow
0
335
Member Avatar for huang0521

Hey guys I have some problem in my c++ program hope you guys can give a hand -------------------------------------------------------------------------------------------------------- do printf("Please key in the number of passenger >>"); scanf("%s" , &no_passenger_check); if (strlen(no_passenger_check)>3) { repeat = 1; }else { if (isdigit(no_passenger_check[0,1,2])) { repeat = 0; } else { repeat = 1; …

Software Development c++
Member Avatar for deceptikon
0
214

The End.