132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Johns3

So I have successfully implemented a search feature into my tiny program but when I click the button to sort, it works fine but the images don't display. In the columns called "A" and "B", images are supposed to show up but they don't. http://i46.tinypic.com/2mx3og8.jpg . import java.awt.Color; import java.awt.Component; …

Software Development apple java java-swing
Member Avatar for Johns3
0
239
Member Avatar for Reverend Jim

I need to get the value of one field out of a web page. I've never done web programming and I've never used the VB Web controls. I have no desire to learn all of the details because I doubt I'll ever have to do this again. I have a …

Software Development dns vb.net web-server
Member Avatar for DeanMSands3
0
432
Member Avatar for dancks

I originally asked this question at cplusplus.com but got no responses. In my program I have the main player and enemy tanks. When using the shotgun weapon it works fine for the main player but it kills the bad guy when they use the weapon. I don't understand how this …

Software Development c++
0
143
Member Avatar for Nickquane

Plain Text : ABCDEFGHIJKLMNOPQRSTUVWXYZ Cipher Text : HETJWOPSQYAZIVMBDUKNRGLCXF Turns the plain text "BOY" into the cipher text "EMX". Note the substitution is a permutation of the 26 letters of the alphabet, so we can uniquely decipher a cipher text by reading the substitution backwards; that is, cipher text "A" is …

Software Development algorithm java
Member Avatar for NormR1
0
518
Member Avatar for AnkitGuru

Hi Guys!! I am creating an addin in Excel using VB.Net. I want to access the current worksheet using a ribbon designer. I have tried all sorts but to no avail. Also all the resources that I have checked are providing solutions by adding or opening new workbook. What I …

Member Avatar for G_Waddell
0
1K
Member Avatar for rutuja8

how to link vb.net with already created website???? i want to fetch the data from sql server and put them in the textboxes which are already created in the website

Software Development vb.net
Member Avatar for G_Waddell
0
171
Member Avatar for opman234

Please I need help, I am currently working with vb.net and access database. But now I want to use mysql, because I want the database to be online, so that a remote user can still connect to the company software using internet since the user has the software on his …

Software Development vb.net
Member Avatar for G_Waddell
0
167
Member Avatar for Perry31

Hi, Which are useful algorithms i implement for simple project??

Software Development c
Member Avatar for rithish
0
76
Member Avatar for mullangi13

Hi Friends, I am developing one application using Struts1.3+Spring2.5+Hibernate3.6 to do practice. In this application I am using Spring AOP transactions, but transaction is not working for me. Please check my code snippets and help me. web.xml ======= in addition to general entries, I have added the following code as …

Software Development java session spring-framework
0
147
Member Avatar for czxzxcXZ

Hi, I had to do the quiz for XML and I am not quite sure whether I've got all the question right. Please tell me whether I've got each question right or wrong. Thank you very much. 1. What kind of component in an XML file is written like this: …

Software Development legal xml
Member Avatar for Mike Askew
0
215
Member Avatar for toyotajon93

Hey guys I hope you can give some help, I have read alot and cannot come up with a solution. Here is what I'm trying to do, I return a set of values from a web request [[1, 0, 1], [2, 0, 1], [3, 0, 1], [4, 0, 1], [5, …

Software Development python
Member Avatar for Gribouillis
0
173
Member Avatar for kelechi96

Basically I have created a sprite sheet/tileset with dimentions of 320 x 2048, the tiles are each 32 x 32. I've been able to load individual files with textures in them but I don't seem to be able to load textures from a sprite sheet. Any help ? Here is …

Software Development c++ opengl
0
107
Member Avatar for amass

help friends, i am very new to vb.net and this is my first application. i create the setup project but after installing on another machine, the program cannot read from the sql2005 dbase. What files do i need to add during the compilation? i am sure that is where the …

Software Development vb.net
Member Avatar for amass
0
98
Member Avatar for phorce

Hello, I'm wondering if anyone knows if there is a specific way or a library that allows me to read in an audio file in which I can then manipulate and get the different frequencies? I'm basically trying to make an application that uses an FFT for the audio signals …

Software Development audio c++
Member Avatar for Banfa
0
302
Member Avatar for george8

Hi everyone .... I have problem with printing the invoice as follows and I hope you can help .... I have a table selling wholesale (material constant), such as ::: PC - Laptops - Router .... Etc. When the arrival of a customer the invoice will be as : **Laptop …

Software Development vb.net
Member Avatar for george8
0
128
Member Avatar for thak123

I want to create a full html5 file with the fields fetchg from my database. I cant get to create a file directly . Can anyone help me.

Software Development asp.net c# html-css
Member Avatar for Mike Askew
0
303
Member Avatar for tendaimare

I am using this code to compare two datatables(myTable and Dtable) and when I find two rows with common data I delete the rows in my other datatable(dtable) so that dtable comes up with data that is not already in myTable. However the code is not doing that at all. …

Software Development vb.net
Member Avatar for Pgmer
0
1K
Member Avatar for pclarkeo

Hi there, I have been working in a company for the last 4 years that develop a large vb6 app. For 3 of those years, we have been expierencing "Out of Memory" issues. This manifests itself as an Out of Memory error when compiling. As I said it is a …

Software Development visual-basic
Member Avatar for WickyVb
0
4K
Member Avatar for sachintha81

In my C++ Win32 program I want to set the current Display Settings to "Extend" mode. I Googled and found out that SetDisplayConfig() is the way to go forward in Windows 7 (I'm on Windows 7) but now I am kind of stuck how to proceed as the MSDN explanation …

Software Development c++ display windows-vista-7-8
Member Avatar for sriv
0
2K
Member Avatar for dinohead

Basically how can I do it? The values I want to read (going to be writing to file later) are hex pairs meaning the values are stored across more than one address location. The first value is stored at pointer address 12feac, the next pointer is at 12feb0 So reading …

Software Development c
Member Avatar for dinohead
0
130
Member Avatar for Marcusflint

Hello, I just cant figure out why i get this output. When i run this program, i get the output as 11 11 11, how ? shouldn't it be 11 10 10 ?? Please explain... #include<stdio.h> #define MAX(x,y) (x)>(y)?(x):(y) int main() { int i=10,j=9,k=0; k=MAX(i++,++j); printf("%d %d %d",i,j,k); } Thanks!! …

Software Development c
Member Avatar for rithish
0
173
Member Avatar for frnds2vivek

Hi, The code is executing perfectly on the dev pc. When after completing the setup, the exe file is executed on test console, I am getting this error : "**Run-time error '20532' cannot find database DLL**" I believe this is a general crystal report error as it comes when I …

Software Development visual-basic
Member Avatar for frnds2vivek
0
218
Member Avatar for RonKevin

okay so im kind of confused now. . . . . i didn't even have a code to show you cause I know its wrong..I've been absent 2 days on my Programming so its really hard to cope up...i tried researching for ifstream.h and ofstream.h....and so far ifstream.h is for …

Software Development c++
Member Avatar for RonKevin
0
570
Member Avatar for marky101

is there a function that allows for auto sizing of report column widths ? How to auto size a textbox in report viewer based on the length of data from a database? Any help is much appreciated. Tnx.

Software Development vb.net
Member Avatar for marky101
0
154
Member Avatar for babbu

hie m using visual studio 2005 and sql 2005 i want to export my sql database to excel..

Software Development sql visual-studio
Member Avatar for Cameronsmith63
0
190
Member Avatar for sridevi boya

The folders contains different images in them and the file names may match from those 2 folders and we should be able to display those images in 2 picture box having the same file names randomly. Using C# visual studio 2010. Please help me out with this code....!

Software Development c c# c++ visual-studio
Member Avatar for Cameronsmith63
0
209
Member Avatar for hubber92

Hi guys, I'm trying to create an array with the length according to the number of rows in my database. So here is my code. I getting "array out of bound". import java.sql.*; import javax.swing.*; public class prg extends javax.swing.JFrame(){ String nameC = "HDB"; String nameCC = ""; int count=0; …

Software Development java java-swing sql
Member Avatar for hubber92
0
144
Member Avatar for ZeQuia

I have a question, how can i use two different sets else if statements that will work properly? i tried it normally but the second set of else if statements dont work at all. please help. thanks

Software Development c
Member Avatar for teachMyself
0
131
Member Avatar for khallebal

hi all all the deps were met,and autotools & ./configure run smooth,but make fails with the following error,tried with gcc2 & gcc4 environement,the same error, i hope to find some help here. here it is: In file included from xine.c:33:0: /boot/develop/headers/bsd/string.h:16:7: error: expected declaration specifiers or '...' before '(' token …

Software Development bsd c++
Member Avatar for rubberman
0
177
Member Avatar for mochiboo5

hello everyone, I am having a major problem with this assignment that asks to create a function whose input is a reference to an input file, which asks user to enter a file name to open for input, then checks to see where the file opened successfully. the function returns …

Software Development c++ file-system
Member Avatar for Karkalash
0
277
Member Avatar for aquagirl20

Hi! I have a huge problem with my PERT program. I've been trying to figure out how to display all of the data in jTable with one click and how to delete all them as well, like if I click on "reset" or "clear". What I've done is just the …

Software Development gui java java-netbeans
Member Avatar for aquagirl20
0
264
Member Avatar for akkbkht

Hello everyone. I would like to know that I wan to make a destop application. I would like that when program executes, the output screen (form1) should cover all the screen, means its a full screen application. It should cover the start menu behind it. and also that should be …

Software Development display
Member Avatar for akkbkht
0
491
Member Avatar for teachMyself

I am trying to learn C and have written a simple program that accepts the string from user and prints it. Would you loke to suggest me anything on my practices? I need to learn it very well. so please help me improving myself. Here goes my code: //Dynamic Array …

Software Development c
Member Avatar for WaltP
0
271
Member Avatar for nickslick

![Hi Daniweb forum, I've come across a problem in my panel_mousedown event. Now I initially have 3 pictureboxes Painted on panel1, and each picturebox Control is set to Visible = false; and only become visible again when using this code: private void panel1_MouseDown(object sender, MouseEventArgs e) { if (picturebox1.Bounds.Contains(e.Location) && …

Software Development
0
136
Member Avatar for cwarn23

Hi, I am starting to learn Pascal as a personal project but need an IDE/compiler. Does anybody know of a good IDE+compiler in one that they use which has the usual features like line numbers and decent debuggers. Also I need a compiler which is not written in C or …

Software Development ide pascal
Member Avatar for finalist
0
1K
Member Avatar for mochiboo5

Hi everyone, this is my first post and I am new to C++. I am trying to figure out how to do this project. Newton’s method is an algorithm that can be used to solve an equation of the form f(x) = 0 using a sequence of approximations. Here’s how …

Software Development algorithm c++ mathematics
Member Avatar for DavidB
0
3K
Member Avatar for cisumma

I am in the process of learning how I could use a JListDataListener to change JList elements at runtime: I am goggling this right now to collect examples: I would like to see some code on the subject if anyone has some examples -thanks Here is some code to create …

Software Development java java-swing
Member Avatar for NormR1
0
217
Member Avatar for macla

Hi, I have 2 GB file with 10 million lines. Is anyway to sort the file content without loading the full file content into memory

Software Development c++
Member Avatar for WaltP
0
474
Member Avatar for Mahesh57

Hi,I have a PYTHON Task http://www.jjoseph.org/misc_projects/meter_reading_with_a_webcam and i need to chnage it to C# the Python code is available in the above mentioned task link or http://www.jjoseph.org/files/gasmeter/meterparser.py please help me as soon as possible i am begginer to C# code please responde as soon as possible.Thanks in Advance

Software Development c# python
Member Avatar for Gribouillis
0
397
Member Avatar for pooh1234qwerty

char str[]="qwerty"; char *p="qwerty"; str++; \\error *str='a'; \\works p++; \\works *p='k'; \\error whereas, char str[]="hello"; char *p="hello"; str="tell";\\ error p="tell"; \\works strings point to themselves like arrays then why is str="tell"; \\error an error?? is the case same for arrays?? please explain the reason for every line. also, why can't …

Software Development c
Member Avatar for deceptikon
0
125
Member Avatar for faezshingeri

Hi, I am trying to search for a line in a file, comment that line using a " * " and finally append the range of corresponding lines extracted from the same file. The corresponding extracted range of lines maybe present before or after the line (which is to be …

Software Development perl
Member Avatar for 2teez
0
216
Member Avatar for dre-logics

>I use MySQL database Two tables: Table 1 articles Field: article nb article description supplier cell 100 nails company 1 no 200 screws company 2 yes >Table 1 stock Field: article nb. barcode nb. barcodedescription instock 100 10011 nails 2 inch 5000 100 10012 nails 5 inch 0 200 20012 …

Software Development mysql vb.net
Member Avatar for dre-logics
0
278
Member Avatar for dwinn

Hi everyone, I have developed a site using VB.Net and Visual Studio 2010, that allows users to upload and download multiple files to an FTP server. I have recently been given a request to change this so that SFTP is used instead of FTP. I have downloaded WinSCP but am …

Software Development file-stream vb.net visual-studio
0
603
Member Avatar for peterparker

I have written the following code for Towers of Hanoi problem using non recursive approach. I guess it is not correct as the number of moves are not 2*n - 1, for eg, for 3 disks to be moved, it has to generate 7 moves. Thanks in advance. ###################### # …

Software Development objective-c python
Member Avatar for peterparker
0
2K
Member Avatar for Tjandra

Hi guys, I have setup a form (frmParent) that contains 1 TableLayoutPanel with 1 col & 2 rows. In the first row i put a DataGridView and on second row i put a Button. I set all controls' modifiers to Public. Then add a form (frmChild) that inherit from frmMaster. …

Software Development ide vb.net
Member Avatar for s_prata
0
113
Member Avatar for shanki himanshu

#include<iostream> #include<conio.h> using namespace std; struct node { int info; node *left,*right; }; int main() { struct node *root; root=NULL; //root->info=NULL; //root = (struct node*)malloc(sizeof(struct node)); if(root==NULL) //cout<<root->info; cout<<root->info<< " "<<root->left<<" "<<root->right<<"\n"; getch(); return 0; } why it is giving an error?

Software Development c linked-list
Member Avatar for MonsieurPointer
0
92
Member Avatar for trishtren

Hello, I am trying to recreate a data type in java used by adobe, it is an unsigned integer 30 bits long or U30 by the specification. Anyway i am having problems understanding the binary output, the definition states: "The variable-length encoding for u30 uses one to five bytes, depending …

Software Development actionscript data-structure java
Member Avatar for trishtren
0
193
Member Avatar for babyhadem

i'm having problem in coding for my project i.e Hospital Management System ... plz refer me few sites which provide codes of vb.net i'v done only the code for the login form ...

Software Development vb.net
Member Avatar for Mike Askew
0
114
Member Avatar for benscomputers

The following is the code from an assignment I am struggling with. I am supposed to change the GetGallons function procedure to a sub procedure in a class that i created in another project.. Here is the code from the original class: Public Class RectangularPool Private _decLength As Decimal Private …

Software Development vb.net
Member Avatar for benscomputers
0
155
Member Avatar for gem.gonzales.9

think a program that you can combine decision ,looping,recursion,array and function i find it hard to think a program that you can incoperate it all.

Software Development c
Member Avatar for deceptikon
0
105

The End.