132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bapak

i did save image to mysql by creating a field type longblob and saving it by converting the image into byte(). my problem is the image cannot be to big else it fails. can anybody help me in this. i can send the sample code if requieres. thanks

Software Development image mysql vb.net
Member Avatar for bapak
0
224
Member Avatar for nurulshidanoni

If I want to sort in descending order for exams.at (i).total.at(j) like this.. the output 1 34 2 56 3 21 and I want to cout the output 2 56 1 34 3 21 Is it must to use bubble sort or radix sort? [code=c++] #include <iostream> // std::cout #include …

Software Development algorithm c++
Member Avatar for mitrmkar
0
612
Member Avatar for xRuP7uR3x

Hello again. Before I begin I would like to offer my heartfelt gratitude to the DaniWeb community; this website truly is a wonderful resource for a new programmer such as myself, and the help and advice that I have received have been incredibly useful. I am currently working on a …

Software Development algorithm python
Member Avatar for dabear
0
78
Member Avatar for Kusno

Dear all, I'm newbie in Java language. I get assingment from my teacher to create small project for my final test. Now, I create a Budget Controlling project using Netbeans. I have created main class, Login form, menu and MasterBudgetingGroup (addGroupAnggaran). In menu, I have menuItem. But when I click …

Software Development java java-netbeans java-swing
Member Avatar for masijade
0
133
Member Avatar for Kusno

Dear all, Do you know what properties should I set to hide Min & Max button in JFrame. I use Netbeans editor to create login form. Thanks, Kusno.

Software Development java
Member Avatar for Kusno
0
43
Member Avatar for msantosh18

can any one help me in the following problem i have created a exe file in visual basic. in my application if i click a command box a excel file will open. the excel file is accessible in my system. but if the exe file is executed in any other …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
95
Member Avatar for Spartan552

Hi I want to be able to find out the int (or float) value of a variable whoose name is in another string variable [QUOTE]int x = 10; String var = "x"; System.out.println(Integer.valueOf(var).intValue());[/QUOTE] I want 10 to be printed but all I get is : [QUOTE]Exception in thread "main" java.lang.NumberFormatException: …

Software Development java
Member Avatar for masijade
0
134
Member Avatar for quecoder

Hi , I'm new to programming, I wanted to know if knowledge of C++ is enough to build a program that makes modifications in the system , like [URL="http://www.tune-up.com/"]Tuneup Utilites[/URL] program that repair registry errors, or check for hard disk failures , format it and check the mbr ...or it …

Software Development c++
Member Avatar for quecoder
0
124
Member Avatar for mrnobody

Lets say I have a text file which contains a long list of 8bits data and i want to create a .wav or .au file from it. Forexample, my text file contains 8000 bytes for 1 second of audio with the sample rate of 8kHz. How do I create a …

Software Development audio c# file-system
Member Avatar for mrnobody
0
226
Member Avatar for h0neydip

[code] #include <iostream> using namespace std; const int queue_size = 1000; class queue { private: // array containing queue elements char data [queue_size]; char *front, // index of the front of the queue // indexes 1 before actual front element *rear; // index of the rear element in the queue …

Software Development c++ queue
Member Avatar for dougy83
0
120
Member Avatar for R3B3L

I need to make a method that receives the matrix values as a string as [code=c#]"[ 1/4 1/3 1/2 ; 2/3 1/5 2/5 ; 1/6 1/5 7/8 ] "[/code] and initializes the matrix ( ex. “[ 1/4 1/3 1/2 ; 2/3 1/5 2/5 ; 1/6 1/5 7/8 ] “) I …

Software Development
Member Avatar for R3B3L
0
123
Member Avatar for lizhiyuan

dear all friends i am a newcomer, i have a basic questions, i already read one book of openGL, couldn't understand well. my question is how to create a cube and map a texture to it, anyone give me some explanation of work principle to handle this? thanks a lot. …

Software Development c++ opengl
Member Avatar for lizhiyuan
0
89
Member Avatar for nelledawg

Hi guys, Ok so I need to use pointer syntax for the functions init-costs(), show-costs() and toUpper() in the following code. I'm still working on the first two, but I'm curious as to what needs to be done to the toUpper() function. I'm pretty sure I've already done the pointer …

Software Development c
Member Avatar for jephthah
0
115
Member Avatar for pralu

[B]can any one tell me what is socket descriptor in socket programming in c.[/B]

Software Development c socket-programming
Member Avatar for jephthah
0
412
Member Avatar for Jennifer84

I wonder, I have a CheckedListBox and on the properties you can choose "MultiColumn" and set this to True or False. What I wonder is if it is true that CheckedListBox can have for example 5 columns because when I set this to true you can´t see that any columns …

Software Development c++
Member Avatar for Jennifer84
0
228
Member Avatar for DJEEPER

well, my assignment is to create a program that will compute a square root of a number without using the sqrt() function in the cmath lib. here is the direct assignment guideline. [url]http://community.tncc.edu/faculty/lewis/csc201/pdf/lab4b.pdf[/url] and my program is about 95% written out (minus the comments)... but it keeps getting stuck in …

Software Development c++ pdf
Member Avatar for vmanes
0
215
Member Avatar for devesh9392

Hi guys, i need help extracting e-mail id from the text file can anybody please tell me how can i extract e-mail id and store it in a vaiable using perl regex. (e-mail id is not always bound to end with .com) here is my text file: ****************************************** IQXpert 27(ID) …

Software Development perl regex
Member Avatar for KevinADC
0
162
Member Avatar for sonia sardana

Can somebody send me the basic book of Visual Basic if they have??? & if its possible to send on net...Send me on the below given Id-> [email]sonia.sardana@yahoo.co.in[/email]

Software Development visual-basic
Member Avatar for ladyjade
0
82
Member Avatar for TheBeast32

Hi, i need to make a [B]very[/B] large char array (char array[10000000]). How would I do this without getting a stack overflow error?

Software Development c++
Member Avatar for bugmenot
0
71
Member Avatar for drjekil

I am totally new in biopython and its my first program.so may be i am asking stupid question. I am working with a text file.Every line in that file represents one amino acid,which has some value.But i need to separate those lines which has a value between 10 to 22.how …

Software Development python
Member Avatar for vl4kn0
0
139
Member Avatar for annajee

The question means this: One bank is providing mobile services via GSM modem only for online banking registered customers.Here the customer can register for mobile services provided by Bank through his online bankig account.When he registered for these services successfully (i.e. he successfully enterd all the fields of the reg …

Software Development java java-jsp
Member Avatar for jwenting
0
91
Member Avatar for lorentz

Hey! I'm currently doing my thesis work in C# where I'm writing a program for a certain company. I have a little problem with resizeing my program for different screen resolutions. I don't relly know how to do this. My current resolution is 1280x1024 and that's what I've designed the …

Software Development
Member Avatar for Narue
0
142
Member Avatar for Yogesh Sharma

HI, I have made a menu with two menu Items Colors Size. Colors will further have the submenu Items--> FillColor Exit FillColor will further have-->Red,Green,Blue Size --> Small , Large If i write the foll. code--> [B]Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
206
Member Avatar for mike4

I made a hotel software and connected it to a access database created using the visual data manager. The software runs very well but when records in a table for daily stock taking reaches around 2000 the software starts messing up with my table. I am suspecting that the table …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
114
Member Avatar for soosai

hi there .. whats wrong with th e following code? [code=c] #include<mpi.h> #include<stdio.h> #include<math.h> void main(int argc, char **argv) { int rank, row, i, j,s,p ; int n; int oldrow,oldcol,newrow,newcol; MPI_Status status; int z; int delta_x,delta_y; int temp_map[60][40]; int map[60][40]; int col; z=oldrow,oldcol,newrow,newcol; temp_map=0; map=0; printf("pls enter the row value\n"); …

Software Development c
Member Avatar for Salem
0
159
Member Avatar for CaffeineCoder

I currently have a program using keyboard input from the user, but am trying to replace keyboard input with onscreen buttons. Does anyone have any information on the best way to do this? I've pasted the code file involved with this (there are other files in the program). I'm not …

Software Development audio java java-swing
Member Avatar for CaffeineCoder
0
163
Member Avatar for rje7

im building a telephone directory. and the code is given below. i am using file system to store the record which i get from the user. and then i should be able to do searching, deleting, sorting and other default telephone dir functions. so far i have been able to …

Software Development app-store c++ ios
Member Avatar for Salem
0
87
Member Avatar for RatherBeInVegas

Hello, Yes, I am a new C++ student and yes I have tried looking for this topic already. I'm very interested to know if there is a way to create a text array that would produce random output akin to a magic 8 ball? Here's what I want to do... …

Software Development c++
Member Avatar for RatherBeInVegas
0
188
Member Avatar for ITKnight

i want my program able to change cursor at runtime. give a hand pleasee.... thanks all...

Software Development visual-basic
Member Avatar for Jx_Man
0
214
Member Avatar for Arne Kristoffer

Hello! :) I'm having some trouble including header files in my project. This is my three files: main.cpp: [code=c++] #include <iostream> #include <string> #include "functions.h" using namespace std; int main() {}[/code] functions.h: [code=c++] #include <iostream> #include <string> using namespace std; void functionSplit(string str);[/code] functions.cpp: [code=c++] #include "functions.h" using namespace std; …

Software Development c++ visual-studio
Member Avatar for Arne Kristoffer
0
167
Member Avatar for toomuchfreetime

Hey I'm building a application and using JTree to navigate between the functions. This is working but can't figure out how to set up the JTree to have different icons for each node. I can have one default icon that gets rendered to each node or set up an icon …

Software Development java
Member Avatar for Ezzaral
0
1K
Member Avatar for Vega_Knight

My Friend tell me to using GetSystemInfo api function to get a couple information : - Number of procesor - ProcessorType - Low memory address -> MinimumApplicationAddress - High memory address -> MaximumApplicationAddress but i didn't know how to use this function. anyone know how to do this??? please help …

Software Development api visual-basic
Member Avatar for Jx_Man
0
589
Member Avatar for aminit

Hello All : I tried to write a simple program in C++ for encrypt a word using a keyword and a key depending on an alphabet ,for example keyword:HELO Key : D I want to genrate the cipher alphabet by puts the positions of letters of the keyword(HELO) in the …

Software Development c++
Member Avatar for Sky Diploma
0
299
Member Avatar for Neji

how i can get all drive in my computer? does anyone know how to get it?? Thanks.

Software Development visual-basic
Member Avatar for Neji
0
148
Member Avatar for Kaushalya

Hi all, i'm reading a file path from a serevr & going to read the contents in that file. i created a ifstream object.but the problem is if the file path is c:\txt.txt,it doesn't read it as a file path.it reads \t as the tab.Is there any way to avoid …

Software Development c++
Member Avatar for chiwawa10
0
89
Member Avatar for Nemoticchigga

I am filling a char array 2 bytes at a time. I want to now add an integer that can be up to 4 bytes. Is there an easy way to split this integer into 2, 2 byte chars? For example 2200 into 0x08 and 0x98? Thanks.

Software Development c++
Member Avatar for Ancient Dragon
0
104
Member Avatar for Sky Diploma

Hello Everyone , I am writing a code in which i search a char array and look at what is missing in the array i mean what letters are missing in the array. I worked out a small code but i seem to have some error in the answer though …

Software Development c++
Member Avatar for Sky Diploma
0
100
Member Avatar for Reg74

Hi .... i'm getting the following error " 'buildListForward undeclared' when trying to compile this program. Please help ! [code=cplusplus] //Linked lists //Pg.288 #include <iostream> using namespace std; nodeType* buildListForward(); int main() { buildListForward(); nodeType* buildListForward() { nodeType *first, *newnode, *last; int num; cout << "Enter a list of integers …

Software Development c++ linked-list
Member Avatar for Narue
0
1K
Member Avatar for theausum

What are the difference between C++ and Java??

Software Development c++
Member Avatar for Narue
0
89
Member Avatar for rje7

Loader error (0000): unrecognized error i get this error message when ever i start the Turbo C++ 4.0j IDE. What could be the problem? i tried reinstalling the software but in vain. it was working fine though before.

Software Development c++ ide
Member Avatar for rje7
0
52
Member Avatar for coolerli

[code=cplusplus] #include <iostream> #include <vector> using namespace std; class ctcChanID { public: void GetInfo(ctcChanID *m); int chanID; int type; string DN; int clientID; }; void ctcChanID::GetInfo(ctcChanID *m) { } int main() { vector<ctcChanID*> _ctc; for(int i = 0; i < 2 ; i++) { ctcChanID *a = new ctcChanID; cout …

Software Development c++
Member Avatar for Narue
0
75
Member Avatar for Maulth

I understand that title was rather vague, but it still holds true. Lurking these forums I have noticed how incomplete my 2 year education on C++ really is, and I am asking for your help in area's, maybe just pointing me to some resources, etc. First off i am using …

Software Development c++ gui
Member Avatar for Maulth
0
165
Member Avatar for Drake

When using functions in C, i cannot seem to make my table of options apprear on screen. I have put it in but it will not appear. The options i have put in work fine, for example press 1 to calculate voltage. This works fine and the answer is given …

Software Development c
Member Avatar for Narue
0
144
Member Avatar for GeddiGuy

If you could help I'll be very grateful! Someone suggested FtoC, but I duno...

Software Development c++
Member Avatar for Ancient Dragon
0
57
Member Avatar for nurulshidanoni

AYBODY KNOWS WHY THIS PROGRAM IS ABNORMAL? [code=C++] #include <iostream> // std::cout #include <fstream> #include <iomanip> #include <string> // std::string #include <vector> // std::vector<> #include <algorithm> //std::for each() using namespace std; // import "std" namespace into global namespace struct exam { string examid; vector <int> total; }; int myfile; int …

Software Development algorithm c++
Member Avatar for Ancient Dragon
0
119
Member Avatar for TMD

I can't seem to figure out why it keeps repeating level one anyone got a suggestion on how to fix it? [CODE=cplusplus]#include <iostream.h> #include <stdio.h> #include <windows.h> #include <stdlib.h> #include <conio.h> #include <ctype.h> int mx=14; int my=1; int i, j; char direction = ' '; char facing = 'S'; char …

Software Development c++
Member Avatar for ivailosp
0
345
Member Avatar for sonia sardana

In vb.net no form is MDI,any form can ve made MDI by setting IsmdiContainer property to true. But in Vb we add the MDI Form. In Vb.net Form1_click dim obj as new form1 obj.show() obj.mdiparent =me But in VB,i write dim obj as new form1 obj.show obj. but there is …

Software Development vb.net visual-basic
Member Avatar for sonia sardana
0
76
Member Avatar for alias_neo

Hey guys, I'm looking to make some pulsing LEDs and I believe PWM is the way to do it, I'm new to ASM and don't really know how it works. Datasheet is like reading chinese to me. Could anyone please help me out with how to get started?

Software Development assembly
Member Avatar for Colin Mac
0
116
Member Avatar for wsn

Hi, I'm trying to make a makefile but after i enter the command make makefile it says nothing to be made in the makefile, can someone please help me? Nd.c depends on Pd.h Pd.c depends on Pd.h Md.c depends on md.h md.h depends on Rd.h # Makefile CC = gcc …

Software Development c
Member Avatar for wsn
0
129
Member Avatar for natd

I've written a program to produce a random sentence. I'm having trouble converting the first letter of the first word into uppercase. Don't know where to go from here. Can anyone help? [CODE=cplusplus] #include <stdio.h> #include <string.h> #include <time.h> #include <stdlib.h> #include <ctype.h> void firstword( char *article[5], char *sentence[6]); void …

Software Development c++
Member Avatar for natd
0
95

The End.