132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for radskate360

Please Help, I have our first assignment here on functions. It is pretty difficult, at least the one part that I keep getting stuck on. I seemed to manuver through the other parts I was having trouble with so far. But to start our assignment is to write a program …

Software Development c++
Member Avatar for Killer_Typo
0
119
Member Avatar for vladdy19

i need help writing a program that compares 5 numbers and returns the max, i have the code that compares 3 numbers but i don't know how to expand it to 5. here's the code for the max of 3 [CODE] (define max3 (lambda (x y z) (if (> x …

Software Development
Member Avatar for azimuth0
0
109
Member Avatar for jethfo

I need a robust shell script fast and don't have time to learn how script it myself from scratch. Summary: An existing PHP Application allows consumers to place an order for a product and upload files necessary to build that product. These files are stored in folders on the webserver …

Software Development open-source session shell-scripting
Member Avatar for AHbrendan
0
117
Member Avatar for olodu

[COLOR=green]Hi Guys,[/COLOR] [COLOR=green]I have a problem loading data into datagridview control. I have 2 forms with datagridview on both forms. when the user selects a record in form 1, the related records is then displayed in the datagridview in form2. These all works fine but my problem is, when the …

Software Development vb.net
Member Avatar for QVeen72
0
216
Member Avatar for quintoncoert

can anyone give me more info on the system command? It allows you to execute dot exe programs from your code. I am in particular looking for return values. Can one get the system function to let the called program write its output to a variable instead of writting it …

Software Development c++
Member Avatar for Ancient Dragon
0
168
Member Avatar for grussell

I want to convert a vector into a string array. I have put in my code: criteria = (String []) tokenVector.toArray(); I get a ClassCastExceptionError (I can understand why since Vector holds objects which are 'bigger' than strings) - and yet I cannot understand how to resolve it - any …

Software Development java
Member Avatar for masijade
0
316
Member Avatar for firehiwot

dear all i am new to this forum ,i was writing a vb code and i need to display a saved word or exell file on a comand clike, but it replies me file not found. but my code can open a notepad.if any one can tell me the right …

Software Development visual-basic
Member Avatar for QVeen72
0
99
Member Avatar for pkhussain

[COLOR=#000000]Hello,[/COLOR] [COLOR=#000000] I am using widows media player 10 (WMP sdk 10 is installed in my pc) and vb.net 2005, when I play clips from my play list for first few times it plays well but after some time all the video clips from my play list are playing in …

Software Development vb.net video
Member Avatar for pkhussain
0
281
Member Avatar for flaerpen

Hi, I wonder what the best way to compare one value in a tuple/list with all other, and not itself. I'm taking my values from a file and thos file can be very big so I also wonder how to optimize this, not to much so you can't see what …

Software Development python
Member Avatar for flaerpen
0
368
Member Avatar for nagramana

I am trying to call a C# function which returns byte array from C++. Can anybody have some sample code. Thanks njvr

Software Development c# c++
Member Avatar for Narue
0
403
Member Avatar for zaahar.hassan

I am searching for projects done in java.I am a M.C.A student and as per my academic requirements i'm asked to do projects.Please Help me

Software Development java
Member Avatar for jwenting
0
47
Member Avatar for bobs360

I am a beginner in computers, i would like to be assisted in writing a simple program that inputs a fraction in the form of a/b and c/d and culculates the sum and returns the answer in the simlest form as in p/q. Notes do not allow zero as the …

Software Development c
Member Avatar for ~s.o.s~
0
327
Member Avatar for reyhan12

i have a datagrid that has null values. I can't remove the column because there are rows that does not have a null value. is it possible to replace cells with null values to blank spaces? i know this is possible to do manually by selecting a cell and changing …

Software Development vb.net
Member Avatar for arjunsasidharan
0
70
Member Avatar for vamas

learn about listview control please...........suggest (in vb.net)

Software Development listview vb.net
Member Avatar for arjunsasidharan
0
75
Member Avatar for invinate

I recenly read this piece of code: [CODE]heap.push((Edge){x, 0});[/CODE] where Edge is something like [CODE]struct Edge { int a, b; }; [/CODE] I wonder how standard this syntax is? do all compilers understand this and is it ok to write such code?

Software Development c++
Member Avatar for Ancient Dragon
0
81
Member Avatar for ShawnCplus

Well this is my problem, I wrote a function to sort a 2d char array but right now the second dimension bound cannot be variable so it has to be hardset (which I don't particularly like) This is what I have [code=c++] void multi_charSort(char array[][5]) { int i,j; char temp2[5]; …

Software Development c++
Member Avatar for dougy83
0
232
Member Avatar for Hamrick

I wrote this trying to understand templates, functors and inheritance. it works but I want to know if there's a better way. Is a base and derived class overkill for a sorting function? How cand I make it better? [code=cplusplus] /* sorting test Class based sorting by Kimberly Hamrick */ …

Software Development algorithm c++
Member Avatar for thekashyap
0
150
Member Avatar for caltiger

Hi, Does anyone know anything about stack size reduction? I`ve gone thru the C forum and I did not find anything. Wat r the standard techniques to reduce the stack size? From wat I`ve heard, one of the best ways is to try and avoid static arrays in functions. Is …

Software Development c
Member Avatar for Salem
0
143
Member Avatar for joshSCH

Alright guys.. I'm back in the java forums for help/suggestions. I'm sure one of the Daniweb java programming geniuses will be able to decide if this idea is too difficult or needs to be revised. I was thinking of writing a stock trend analysis program. There will be a stock …

Software Development java
Member Avatar for Ezzaral
0
2K
Member Avatar for bryan110

Hi, I would like to use a timer with vb6 but i am not allowed to create an object timer with CreateObject. The main problem is i need to make a delay until the connection is successful. I tried sleep function but it seems it stopping everything. Please If you …

Software Development visual-basic
Member Avatar for brijlesh
0
344
Member Avatar for snakai415

I am currently reading about bit sizes or something.. is knowing these bit sizes important? Because I don't really get this, and if it's not important, I won't have to keep rereading this thing. Type Width in Bits byte 8 [B]<-- is knowing this important?[/B] short 16 int 32 long …

Software Development java
Member Avatar for snakai415
0
85
Member Avatar for satish.paluvai

I am using a servlet, in that servlet I used a doPost() method by extending the HttpServlet. then who implement the all remaining methods( doGet,doPut,doHead,doOptions.......)

Software Development java
Member Avatar for masijade
0
89
Member Avatar for satish.paluvai

can anybody tell how to implement a trigger in a jdbc program?

Software Development java
Member Avatar for ~s.o.s~
0
80
Member Avatar for sez90

hey there, umm so i have an array of words and now i need to be able to randomly choose one of those words when the appropriate button is clicked, its for a hangman game... i know that randomize; goes in there sumwhere... thanks heaps..

Software Development pascal
Member Avatar for Emelinn
0
92
Member Avatar for kinggarden

I have a question to drow a line in GUI programming. I hope you could help me:) In fact, it's not a continuous line, it's a line with break. The function I use to draw this line is like this: Void DrawBreakLine(int nStartPoint, int nEndPoint, BYTE bPattern) the last parameter …

Software Development c++ gui
Member Avatar for kinggarden
0
101
Member Avatar for ridhimasatam
Member Avatar for ~s.o.s~
0
350
Member Avatar for rocket1356

I am trying to work with MSAccess through the use of ADOBC with VB6. I am having trouble with modifying current values. I have 3 input text fields in the form. FCUIPADDRESS, MCASTIPADDRESSA, MCASTIPADDRESSB. The MCASTIPADDRESSA+B are associated with the FCUIPADDRESS. For example: 204.168.11.234, 192.168.1.1, 192.168.1.2 I also have the …

Software Development visual-basic
Member Avatar for AV Manoharan
0
268
Member Avatar for Naveed_Cn

Hi Everyone:* I am working on Database project using DAO. Now I got a problem in counting all the data from one Field:-/ . Please help Me in this problem. :confused: And Tell Me how can I get the total of any field by using SQL STATEMENT? Thanks In Advance

Software Development sql visual-basic
Member Avatar for AV Manoharan
0
82
Member Avatar for vodanh7x

i used visual studio 2003 ,i am newbie i Created a simple database access and link it below ,i want to use dataset and oledbapdater compare the input from textbox with username and password colums in file .mdb . [url]http://mkptrans-nt.com/BaiTapTn.mdb[/url] [B]interface drag drop [/B] [B][U]Login page :[/U][/B] [url]http://mkptrans-nt.com/pic1.JPG[/url] [B][U]Viewmark page …

Member Avatar for vodanh7x
0
144
Member Avatar for smithag261

I want to know how to write a program to print all ascii values and equivalent characters using a while loop. ascii values vary from 0 to 255.

Software Development c
Member Avatar for WaltP
0
481
Member Avatar for shalini_roy

Hi i have been asked to write a program to generate fibonacci as well as non fibonacci numbers till a certain value. i have just started learning c++. i managed to find the fibonacci series but i am unable to find the non fibo one. how do i go about …

Software Development c++
Member Avatar for WaltP
0
196
Member Avatar for Fribs

Hi friends. Do you know a library/header file/...etc. which has codes/instruments to write codes related to (how to read frame/frames from multiframes images or from video file? ) Thanks.

Software Development c++ video
Member Avatar for dougy83
0
103
Member Avatar for ndutz

hi, i am a newbie... would anybody please to tell me, how is the codes, to directly changing windows default printer, from within visualbasic code, without poping: windows select printer dialog box best regards ndutz

Software Development printer visual-basic
Member Avatar for choudhuryshouvi
0
100
Member Avatar for zandiago

[CODE=CPP]#include <iostream> #include <cstdlib> #include <cmath> #include <ctime> using namespace std; int main() { srand(time(0)); int randNum = rand() % 100 + 1; // Generates random number between 1 and 100 int num = 0; int name;//Name of player cout << "Welcome to the Random Number Guessing Game!!"<<endl; // Name …

Software Development c++
Member Avatar for zandiago
0
102
Member Avatar for hina-pande

we r doing a project on data recovery...... is there any way how to access hard disk directly.....

Software Development c++
Member Avatar for Salem
0
117
Member Avatar for ClockworkMind

I'm fairly new to C++, and I can't seem to find any sources on opening applications or files straight from the program. I looked up the system() function on this site, but all that it did for me was verify the file's path and post it's size. I need the …

Software Development c++
Member Avatar for ClockworkMind
0
367
Member Avatar for nadith_cs

wht's Visual studio 2005 team edition sp1; wht's visual studio 2005 .net (RTM) wht's better among those two;and wht's the newest plz help me...i wanna buy one of these

Software Development vb.net visual-studio
Member Avatar for Ancient Dragon
0
92
Member Avatar for marcories

guys, i have just joined this forum. I want to ask you if you know where i can find ready-to-use java servlet and jsp code for a search engine. i need this in order to complete my thesis. thank you very muchin advance

Software Development java java-jsp
Member Avatar for ~s.o.s~
0
83
Member Avatar for aeroll

:) guys im a firt timer. im making a program which reads floating point numbers from cin and compute 2 averages: the average of the positive and negative nos. im wonderin wats wrong in my program>> #include<iostream.h> #include<conio.h> int size,i,sumpos,sumneg; int num; main() { clrscr(); cout<<"input size\n"; cin>> size; for …

Software Development c++
Member Avatar for aeroll
0
173
Member Avatar for Prozeen

Hi there, I'm completely new to C++ programming and need to find out/verify something in the code below... [code]// my first program in C++ #include <iostream> using namespace std; int main () { cout << "Hello World!"; return 0; }[/code] From a web site I (believe I) understand the following …

Software Development c c# c++
Member Avatar for Prozeen
0
124
Member Avatar for lz300

I have created an app using Microsoft VB6, using error handlers in every sub and function (no errors generated). I created an executable, which runs fine on the machine that has VB6 installed on it, but the app does not run on my other box. I get "Run-time error '5': …

Software Development visual-basic
Member Avatar for DenisOxon
0
670
Member Avatar for arunprashanth

Hi what are the ways to improve performance of tomcat server. or Tomcat performance tuning.(Tomcat server 5.5) Thanks

Software Development java
Member Avatar for reflex2java
0
67
Member Avatar for SatanophanY

Hello all, I am currently attempting to create an instant messenger program, using Visual Basic 6.0 I have no idea where to start and am open to all information/help available. Please respond with links to help sites or any other references of information. Please dont hesistate to email me either …

Software Development email visual-basic
Member Avatar for togocure
0
95
Member Avatar for pixrix

Write a program that simulates a lottery. The program should have an array of five integers named lottery, and should generate a random number in the range of 0 through 9 for each element in the array. The user should enter five digits which should be stored in an integer …

Software Development c++
Member Avatar for pixrix
0
1K
Member Avatar for snakai415

Hello, I am new at this java thing... like really, 1 day new. I have this book called Java 2: A Beginner's Guide (Second Edition). I got stuck on the second step which tells me to.. use javac to compile Example.java.. I read old posts that were posted here through …

Software Development java
Member Avatar for peter_budo
0
255
Member Avatar for brian.p

[code] Private Function atoz() As String ' Lower Case Chr(97 + Rnd() * 862150000 Mod 26) ' produces a-z End Function Private Function ZerotoNine() As String ' Numbers Chr(48 + Rnd() * 862150000 Mod 10) 'produces 0-9 End Function[/code] Hi, Quick question(this is not homework by the way)the above code …

Software Development visual-basic
Member Avatar for DenisOxon
0
188
Member Avatar for cguan_77

hi, i made a program it works fine on my computer but if I try to run it on other computer it has an error "Run Time Error 429 Active-x Can't Create Object", OS is XP, already installed the runtime files, and someone advice me to install the latest IE …

Software Development os-x visual-basic
Member Avatar for cguan_77
0
168
Member Avatar for psrujan

Hi , I have little bit of knowledge in C++. When I run the following program its gives me segmentation error. I tried to do all the possible things by reading online but not able to figure out the error. I ran it suing gdb debugger but still it stays …

Software Development algorithm c++
Member Avatar for Techpedia
0
110
Member Avatar for aaisha

including the 2 conditions that r chekd for prime numberS

Software Development c
Member Avatar for Narue
0
118
Member Avatar for swatirao

:?: How do I change the input and display of the dtpicker control to "dd/mm/yy" format. Also how do I store it in an MS-Access database in the same format (ie. dd/mm/yy ) . ... need help urgently! Regards, Swati

Software Development visual-basic
Member Avatar for Naveed_Cn
0
110

The End.