132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for yaninea

Hi everyone, I was wondering how to build a treeview from a table in my db witch has the followings fields: RowId, NodeName, ParentNodeId. I will appreciate any help please.

Software Development
Member Avatar for JerryShaw
0
123
Member Avatar for Oxiegen

Hi, it's me agin. I would like to know if it's possible to customize a tabcontrol, so that I can have the tabpages shown horizontally when alignment is set to left or right. If so, could someone give an example, or a link, of how to accomplish this? I've been …

Software Development vb.net
Member Avatar for Oxiegen
0
360
Member Avatar for acetdmn

You are required to provide an algorithm to operate a cash register that will keep count of all withdrawals and deposits made during a day’s business operation. For simplicity, this cash register will handle notes with the value of $50, $20, $10 and $5 only, and coins with value of …

Software Development algorithm c++
Member Avatar for n1337
0
597
Member Avatar for arunpawar

It's not homework it is just a play.If you have any simmilar tragic like this one with int and character or float then please discuss it here or explain how things happen.Let this thread be informative. I'm playing with int,floats and type casts but i have found that in following …

Software Development c++ ide
Member Avatar for dougy83
0
117
Member Avatar for Maddy1987

[COLOR=#228b22] Coefficients in the expansion of (x+y)^n form a pattern which is useful for small values of n. It is known as Pascal's triangle. n Pascal's triangle 1 1 1 2 1 2 1 3 1 3 3 1 4 1 4 6 4 1 5 1 5 10 10 …

Software Development pascal
Member Avatar for DevonMcC++
0
445
Member Avatar for uniquestar

Hi, I am using the Microsoft ADO Data Control 6.0 and connectiong to my database using Microsoft Jet 4.0. My fields are being outputted into labels. I have a tex box called text1 and a command button called cmdsearch I wand to be able to search through my database and …

Software Development microsoft visual-basic
Member Avatar for hell_tej
0
1K
Member Avatar for hell_tej

Hi, I m new member of 'daniweb' i m a student of BCA 5 in india i m intrested in VB,Oracle,JAVA,Networking so Please help me.... I m creating a project like mobile company! i have problem to create table in ORACLE 9i using VB6. I have some problem to give …

Software Development oracle visual-basic
Member Avatar for hell_tej
0
89
Member Avatar for rh3883

ok i need a to make two simple programs from The first program can be a while , for , switch, or a do while loop 1) Output This progeam allows you to enter a list of positive integers(terminated by a -1) then displays the largest value, smallest value, and …

Software Development java
Member Avatar for javaAddict
0
114
Member Avatar for tarakant_sethy

Hi friends, i have to delete a node in a link list and the prototype for the delete function is like this void deleteNode(struct node**, int pos). "Pos " is the position of the specified node in the list. And have to write it with all boundry condiotions. Help me

Software Development c++
Member Avatar for Luckychap
0
122
Member Avatar for swapna7999

hi i want only that part of a picture which is visible in picturebox the picture may be larger than the picturebox but i want to copy only the visible part anybody help thank u vey much

Software Development visual-basic
Member Avatar for swapna7999
0
69
Member Avatar for swapna7999

hi i have two forms in the first form i used form2.show and in the second form from1.show but i want to reload form1 again on button click event in form2 is it possible to reload the form as it was first appeared thank u very much

Software Development visual-basic
Member Avatar for swapna7999
0
95
Member Avatar for ayman86

here is what i have to do: [url]http://www.sendspace.com/file/og252q[/url] this is what i have so far. [url]http://ayman86.pastebin.org/34381[/url] its pretty much the code in the pdf file with defined functions of quick sort, bubble sort and better bubble sort im not sure how i implement "size of array increment, and number of …

Software Development pdf python
Member Avatar for ayman86
0
128
Member Avatar for dan_e6

hey guys. i have a linked list set out like this [CODE] struct node { string bookTitle; string *authors; int nAuthors; node *next; }; node *start_ptr; [/CODE] and i need to sort the linked list based on bookTitle alphabetically. how would i go about doing this?

Software Development c++ linked-list
Member Avatar for dan_e6
0
100
Member Avatar for RyanLeaf

I know I posted a previous post and a person stated I should read How to Design Programs. However, I was told the following link would be a better choice to start off with. [url]http://maven.smith.edu/~thiebaut/ArtOfAssembly/artofasm.html[/url] My question is: Is this a good resource for a beginner.

Software Development assembly
Member Avatar for Salem
0
341
Member Avatar for kse989

I am having trouble with my binary search tree... these are the errors i am getting - it is my print function and the find function I have not written the code for the other print functions, i need it to compile before i can go on bintree.h - find …

Software Development c++
Member Avatar for kse989
0
133
Member Avatar for Igor_MK

Hello, I have a project to make a text comparer. I've downloaded almost 90000 texts from a site, parsed them and stored the texts in a file(150MB). So now, a new text is in another file and should be compared with the others, and return a result of 20 most …

Software Development python
Member Avatar for woooee
0
168
Member Avatar for iammop

[CODE]Private Function IsTextFile(FileName As String) As Boolean Dim FF As Integer Dim FileData() As Byte Dim K As Long FF = FreeFile Open FileName For Binary Access Read As FF ReDim FileData(LOF(FF) - 1) Get FF, , FileData Close FF For K = 0 To UBound(FileData) If FileData(K) > 126 …

Software Development c++
Member Avatar for Ancient Dragon
0
120
Member Avatar for pooh2008

PLEASE HELP!!!!i need to write a program to record, average, and display grade for a maximim class size of 15 students. display a menu of options to the user, such as: input grades, display grades, and display class average.

Software Development c++
Member Avatar for Lerner
0
147
Member Avatar for chartreusesnot

I'm not sure if this is possible, but I was wondering how you might get something in the menu bar, to the top right, where current user, battery power, airport signal, sound level are displayed. I think it might only be possible with Cocoa applications or something... I know with …

Software Development java
Member Avatar for chartreusesnot
0
74
Member Avatar for Spagett912

Hey I've written a program that prompts the user to enter sides and the program figures out what kind of triangle the sides equal. I keep getting some retarted error saying "3 triangleCalc.cpp `triangleType' does not name a type ". It's also saying " 1 Taxes\triangleCalc.cpp header.h: No such file …

Software Development c++
Member Avatar for Spagett912
0
194
Member Avatar for jk_bscomp

Hello everybody, I just want to ask if what is the error on creating a jar file.. I am trying a create a jar file on my command prompt but it always flag an error saying 'jar' is an unrecognizable command... How can I fix this problem.. YOUR HELP IS …

Software Development java
Member Avatar for peter_budo
0
979
Member Avatar for jamesbond110

Man, I'm so new. I'm trying to script something for a game. so here's what I got: [code] program twars; const Color = $FFFFFFFF; FISTS = 0; DEAGLES = 1; MP5 = 2; AK74 = 3; STEYR = 4; SPAS = 5; RUGER = 6; M79 = 7; BARRETT = …

Software Development pascal
Member Avatar for jamesbond110
0
288
Member Avatar for Clockowl

Hai all, I ran into a strange issue I never experienced before. Pointers are passed to function, the function allocates memory to them with calloc, and right before the return sanity checks if the pointers still != NULL. That check succeeds, but upon returning and sanity checking in the calling …

Software Development c opengl
Member Avatar for Clockowl
0
102
Member Avatar for Gardibald

Hello! I have recently started a new program in delphi 7 and i stuck. The problem is: I want to add an .avi video to run in my program when certain condition is fullfilled, but i dont know even how to start this. Please if you have some knowlege about …

Software Development delphi pascal video
Member Avatar for Micheus
0
111
Member Avatar for SelArom

when working with strings, I can check if it has a value by doing something like if (s == "") but how do I accomplish this with integers? I thought maybe initializing to a dummy value like 0 or -1, but what if those values might be valid? should I …

Software Development
Member Avatar for SelArom
0
271
Member Avatar for sibotho

Hi All I have a table (contactDetails) in my database (Sql express) with username,password, email, contactNo, bySMS and byEmail columns. I have 2 radiobuttons in my application smsRB and EmailRB, when the user registers he must select either smsRb or EmailRB. if smsRB is selected, a "Y" is inserted under …

Software Development
Member Avatar for sibotho
0
117
Member Avatar for lllllIllIlllI

Hi i was wondering the best way to time how long a function/program takes i cant work out how to do it. I tried fiddling with the time module yet i keep doing the wrong things.

Software Development python
Member Avatar for woooee
0
84
Member Avatar for degamer106

Suppose I have a week that begins with Sunday and ends with Saturday (so UMTWThFS). How do I get the date for each day of the week if, lets say, we use this month and year? I looked in the API but I wasn't sure what to extract to make …

Software Development api java
Member Avatar for masijade
0
275
Member Avatar for Lechugas

Hello, Can any1 help me doing this programs ? 1. A program in C++that alows you to visualize in a table the areas of a circle, and the volume of a sphere for a radio, with a range from 0 to 2, rising by 0.2 2.a program in C++, where …

Software Development c++
Member Avatar for Lechugas
0
108
Member Avatar for DanWilliams

(First Post of hopefully Many :) This question is directed towards anyone who has worked with as400----> vb.net. I was able to connect to the 400 with i-series and used an odbc connection to 'see' the tables on the 400. Here's where my newbish question comes in. There is a …

Software Development vb.net
Member Avatar for DanWilliams
0
167
Member Avatar for detoxx

Hi, im new to this forum, and searched for everything to do with 2D array, but found nothing to no real avail. My problem is that i have to write a 2D array in pascal that stores 15 student ID's and 5 marks for each student. I've managed to write …

Software Development pascal
Member Avatar for Clive29
0
153
Member Avatar for rem0404

I'm really really stuck. What i'm supposed to do is, first, create a class called Book having the private attributes: title(string), publisher(string), and number of pages(int). For the Book class there are supposed to be two constructors: a default (setting title and publisher to some default value, and number of …

Software Development c++
Member Avatar for Lerner
0
109
Member Avatar for dan_e6

hey guys. i cant remember for the life of me what the difference is between putting ++ before or after a variable (specifically an int). for example in a for loop.

Software Development c++
Member Avatar for William Hemsworth
0
14K
Member Avatar for dan_e6

hey guys. just wondering what it means when a function has this in it.... void add(string title, string authors[], int nAuthors); the [] next to authors. what does this mean?

Software Development c++
Member Avatar for dan_e6
0
265
Member Avatar for CloudKill9

I'm wanting to search a file full of http links.. I know how to search for a string and such but I don't know how I would search for a link inside a file. I just basically want to search a index.html for a certain site pertaining to ..lets say …

Software Development c++
Member Avatar for Nick Evan
0
96
Member Avatar for linux

Sorry if this belongs elsewhere, it's BASIC, so VB is the closest. (By the way, long time no post for me, I'm back, yay) Okay. I'm writing a game (a SRPG) in QBASIC (wicked leet, huh?) so that my friends can edit it and crap (I know other languages, but …

Software Development first-post qbasic visual-basic
Member Avatar for gugus
0
150
Member Avatar for mo86uk

Hi Guys, I was trying to build a library catalogue with GUI (Graphic User Interface) which consists of two text boxes and four buttons. I have actually created the layout, but I dont know how to add actions to the buttons. Could anyone help me please. the Question is: for …

Software Development gui java java-swing user-interface
Member Avatar for jwenting
0
3K
Member Avatar for Black Magic

I went to the beach at the weekend and played on one inpeticular game, the one were you pull the lever and XOO or w.e comes out, i was going to make one but thought i would ask if this was the best solution.. [CODE=C++]#include <conio.h> #include <iostream> using namespace …

Software Development c++
Member Avatar for Black Magic
0
102
Member Avatar for rodG

[code] # This is meant to draw Start and Stop buttons and a label # The Start button should start a loop in which the label # is configured to change colour and text. # At each pass through the loop the variable self.stop is checked: # if True the …

Software Development python tkinter
Member Avatar for rodG
0
4K
Member Avatar for ceyesuma

I attempt to create a string variable to a setter() that is used as query property What am I missing in the procedure to implement a simple query on the database? It stops here. [code] searchList1 = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : searchQuery1.getResultList(); [/code] [code] @Action public Task searchSplash() { if …

Software Development java oracle
0
74
Member Avatar for sandip250382

Buddies, I want to design a simple file download button in deafult.aspx. Can anyone provide me the detailed C# code behind it? Thanks in advance.

Software Development c c# c++
Member Avatar for majestic0110
0
213
Member Avatar for Jennifer84

I have 2 buttons on my form. The First button contains a loop and second button a MessageBox. If I press the first button, this loop will take sometime. Now is my question this. Let´s say that the loop will take about > 5 seconds and I press button2 after …

Software Development c++
Member Avatar for Radical Edward
0
146
Member Avatar for selvaganapathy

Hi I Want to display a Form as System Modal. The best Example is [B]Shutdown Dialog box[/B]. How can we create such forms.

Software Development display visual-basic
Member Avatar for selvaganapathy
0
1K
Member Avatar for Dannyo329

Is there any way to add images onto your program? I'm using Dev-C++ Thanx

Software Development c++
Member Avatar for Dannyo329
0
89
Member Avatar for lllllIllIlllI

Hi My question is: i made a program that counts up and up continuously in the background but i want it to print what number it is up to when you press a certain button such as ENTER. I have tried using raw_inputs() but all that happens is it keeps …

Software Development python
Member Avatar for a1eio
0
8K
Member Avatar for alpe gulay

can anyone help me with this one... System.out.println("Hi!"); System.out.println("How are you there!"); -can i display this one controlling the time! what i mean is.. display first the "Hi!" and then after 3 seconds it will display "How are you there!" Help me pls.. ANY HELP IS HIGHLY APPRECIATED -alpe

Software Development java
Member Avatar for alpe gulay
0
137
Member Avatar for Mackjan

I have a list for exemple: a = [ 9,6,5,4,1,0,0,7,6] . By this function I want to delete all element which content zero and delete all element which content duplicate. But it doesn’t do exact what I want. [CODE]def rensa(a,b): j=0 for i in a: if a[j]<= 0: del a[j] …

Software Development python
Member Avatar for Mackjan
0
112
Member Avatar for edek

Is there any difference between C and C++ pipes implementation? Is there any C++ library that makes using pipes easier? I ask those questions because there are many 'wrapper' classes in C++ that wraps C (like string, vector etc.) Is there anything that 'wraps' pipes? <Thanks>

Software Development c c# c++
Member Avatar for Nick Evan
0
214
Member Avatar for nelledawg

Hi guys, I have been working on this for 13 hours straight now, and I am going out of my mind. I have a final due tonight and I cannot figure this out at all. The program is basically a product database for a sporting goods store, and I have …

Software Development c file-system
Member Avatar for Prabakar
0
115
Member Avatar for varsitygirl_13

Hi, i am working on a quicksort function and I have everything except how to sort the second half. I am missing one line, where to start the second half and for how many items, any help would be greatly appreciated. THANKS! [code=cplusplus] int * partition(int array[], int size); void …

Software Development c++
Member Avatar for ivailosp
0
119

The End.