132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shruwin

Hi, I have to insert data into a database table using jsp and jdbc, query the table data and convert it into an xml file. I am using NetBeans IDE. I'm really stuck and i have a project due. Please do help:'(. Thanks in advance.

Software Development java java-jsp xml
Member Avatar for Dean_Grobler
0
266
Member Avatar for jogieglenmait

hey. i had a question regarding activating and making command buttons control visible in a form by manipulating it from another form. ex. form 2 command button will be activated by manipulating it in form 1. i had this syntax for form 1 cmdActivate [CODE] form2.cmdAdd.Enabled=false [/CODE] will form 2's …

Software Development gui visual-basic
Member Avatar for jogieglenmait
0
105
Member Avatar for cyberbemon

hey guys i came across a tutorial online that shows how to make a java media player using JMF..the problem is when i run the program and open the file i get the following error..i googled this and found no help can anyone please tell me whats wrong ? T_T …

Software Development java java-swing
Member Avatar for cyberbemon
0
950
Member Avatar for SWEngineer

0 down vote favorite I'm new to Qt, and trying to compile and run this Qt program I typed from the [I]Programming with Qt[/I] book: [CODE]#include <qapplication.h> #include <qlabel.h> int main(int argc, char *argv[]) { QApplication myapp(argc, argv); QLabel *mylabel = new QLabel("Hello",0); mylabel->resize(120,30); myapp.setMainWidget(mylabel); mylabel->show(); return myapp.exec(); }[/CODE] When …

Software Development c++ qt
Member Avatar for jonsca
0
280
Member Avatar for turt2live

Hello, I was wondering if there is some sort of Java code that can get information from a webite ONLY when it needs to. To better explain (by using an example) let's say I have a slow webpage (minimal traffic) where a user clicks a button and Java opens my …

Software Development java
Member Avatar for turt2live
0
249
Member Avatar for fuaki

Hey, I made this code with the bits and pieces of knowledge i have, but i don't know how to convert it into a while loop. it is currently in a for loop. the program counts how many certain letters there are in a sentence/ word. String word; String letter; …

Software Development java programming-construct
Member Avatar for turt2live
0
182
Member Avatar for josephbeluan

HI, I'm new to VB6 programming and i need some help of anyone to please help with my problem. I want to know what do I need to do or know before to create a code that connect VB6 to my SQL. and if you desire please give a sample …

Software Development mysql visual-basic
Member Avatar for Jx_Man
0
122
Member Avatar for ReaperUser101

Hi everyone I'm trying to connect and display data in a TDBGrid (component) from an .mdf (made in sql) and connect it to a Delphi application. the .mdf is on the desktop and my databases name is Attach. If anyone has any clues or advice please let me know! Many …

Software Development delphi pascal
Member Avatar for Wolfgan
0
136
Member Avatar for manutd4life

Hello, i hav no idea abt MySQL, but i have a program with access database. Is it possible to convert it to MySQL database?? Any HELP please.. and i wanted to know also that all the code also will need to be change?? any way how should i start..?? thanks

Software Development mysql vb.net
Member Avatar for debasisdas
0
92
Member Avatar for mrnobody

Hey, I was just testing/learning with classes and i'm stuck at how to instantiate the class. I've spent few days trying get myself out of this mess but i don't think i'm getting anywhere. The picture below shows where I'm stuck at. The sln file is attached below for reference …

Software Development
Member Avatar for mrnobody
0
146
Member Avatar for riahc3

Hey How can I send mail thru C#? It seems that it can be sent only thru Smtp (from Googling) but there has to be a way to do it thru POP3 as Windows Live Hotmail supports it and AFAIK VB.NET also supports it. If someone can give me a …

Software Development c#
Member Avatar for riahc3
0
86
Member Avatar for StephNicolaou

Morning all, Unfortunately I am currently working with Access VBA. I have a simple method; moving an object on a form: [code] button.Top = button.Top - 20 [/code] However on click, I receive the 'Invalid Outside Procedure' message, including: *The exression may not result in the name of the macro, …

Software Development visual-basic
Member Avatar for StephNicolaou
0
169
Member Avatar for bharath54321
Member Avatar for JamesCherrill
0
138
Member Avatar for e-papa

Please I just want to start VB.NET what are the tools I need, are there any open source tools that can be used, which books can I use, And other things I need to know as a beginner. Thanks in advance

Software Development open-source vb.net
Member Avatar for e-papa
0
150
Member Avatar for kazekagerandy

is there anyway that i can place an object in a specific coordinates in vb?

Software Development image vb.net
Member Avatar for kazekagerandy
0
81
Member Avatar for cse.avinash

Sir, here is the qustion:- Nestor was doing the work of his math class about three days but he is tired of make operations a lot and he should deliver his task tomorrow. His math’s teacher gives two numbers a and b. The problem consist in find the last digit …

Software Development c
Member Avatar for mitrmkar
0
1K
Member Avatar for khaos64

I had recently made a .bat file that read a couple lines from file.txt and assigned them as variables then went through the execution of the bat which ended up deleting the original file.txt and writing the new values to a new file.txt. Now I want to convert this to …

Software Development file-system python
0
121
Member Avatar for Deto4ka

In the method below trying to calculate average age in each category('o','u','n'). Ages are stored in a separate class. Code: public double averageAge() // calculating average age in each BMI group { double numbers[]=new double[this.list.length]; double result=0; char[] cat={'O','U','N'}; for (int i=0;i<this.list.length;i++){ int b=this.list[i].age; for(int j=0;j<3;j++){//loop runs three times, as …

Software Development java
Member Avatar for thekashyap
0
162
Member Avatar for kukuruku

HI I have method object appointment ,and inside this object I have another object time and I want to get startHour method(inside the time object) (method startHour(inside TIME(object)inside Appointemt(object)) How can I do that :@ Thanks

Software Development java
Member Avatar for thekashyap
0
78
Member Avatar for miss_indie

I'm having a hard time looking for a tutorial over the net on how to store sound files to access database. I'm planning to make a playlist on my application where in the user will just select the filename on a listbox and will click the play button. is this …

Software Development vb.net
Member Avatar for debasisdas
0
162
Member Avatar for Casper3912

I have a assignment which requires the use of multiple files. I don't believe I am linking them together correctly. I'm using visual basic 2008 at the moment. Ofter I get the program working I'll create a make file and test that. I'm also not too familiar with the string.h …

Software Development c++ data-structure ios visual-basic
Member Avatar for thekashyap
0
189
Member Avatar for CrazyPixel

Hey guys, Can anyone tell me what I missed in the following code? I've tried everything that came up to my mind, but I can't pass this error. Let me give you some context. My friend and I are making this program that is supposed to send message through command …

Software Development ide java java-netbeans windows-vista
Member Avatar for JamesCherrill
0
294
Member Avatar for Nerathas

Hello, I am trying to write a algoritm that calculates the second largest divisor of a number. But i have absolutely no idea what calculations are required for this. [CODE] for (ulong i = 1; i < Number; i++) { Number = .....? }[/CODE] Already know the largest common diviser …

Software Development mathematics
Member Avatar for ddanbe
0
2K
Member Avatar for shyla

i made this UI it works fine , but i cant make it with the OUT parameter in the arrayMath method [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ArrayManagementGUI { public partial class Form1 : Form { public Form1() { …

Software Development
Member Avatar for ddanbe
0
112
Member Avatar for Dexxta27

Well I have made separate programs for testing and debugging purposes and now I want to put them together. Is it possible to use one .cpp as some sort of a header file, and call it later on? I saw it done before but I think it was a makefile(which …

Software Development c++ ide
Member Avatar for Dexxta27
0
121
Member Avatar for Doughnuts

My assignment is to make a program that can resize a dynamically allocated array. But when I delete a value, the program crashes (memory leak?). Here's my code. [CODE]#include <iostream> #include <cstdlib> #include <cstring> #include <limits> using namespace std; typedef char* charPtr; typedef charPtr* strPtr; strPtr delEntry(strPtr a, int &size, …

Software Development c++
Member Avatar for Ancient Dragon
0
169
Member Avatar for lianpiau

Who can help me?? [B]Microsoft Visual Studio 2008 Window Form Application C#[/B] I'm want store some data and picture in access database and display the data and picture in datagridview. when the user double click the record in datagridview. it will display data and picture into above textbox for update …

Software Development c c# c++ microsoft-access visual-studio
Member Avatar for lianpiau
0
320
Member Avatar for ashley11

I have 2 sortedList. The 2 sortedList code are shown below. May i know how to compare these 2 sortedList? public void Display() { foreach (String sort in lbCombinations.Items) { if (!(sortList.ContainsKey(sort))) { sortList.Add(sort, 1); } else { int Count = (int)sortList[sort]; sortList[sort] = Count + 1; } } IDictionaryEnumerator …

Software Development
Member Avatar for ashley11
0
95
Member Avatar for NOVICE3

I am writing a program that steps through a number of testing steps in one of three modes. Mode 1 is simply "run as fast as the processor can go". Mode 2 is a manual "click to advance the step". Mode three is suppossed to be a "step slowly by …

Software Development
Member Avatar for NOVICE3
0
113
Member Avatar for thecodepixie

So, here is the thing. I am dissecting some code to try and better understand how to finish my project (I'm a student. Made it to the final project without getting too lost!) and I am a little stuck. This part of the code randomly fills a 32x32 2D array …

Software Development c++
Member Avatar for Arbus
0
164
Member Avatar for arun srinivaas

I tried out this sample program [CODE]int main() { int *i=new int; return 0; } [/CODE] The return type of new is a void pointer . Pasted below [iCODE]void* operator new(std::size_t);[/iCODE] [iCODE]int *i=new int;[/iCODE] new int in the above statement should return void pointer . How can a void pointer …

Software Development c++
Member Avatar for rubberman
0
213
Member Avatar for da10x

Hi, I have to make a linked-node based priority queue for an assignment. For some reason, however, the enqueue and dequeue just won't work. I have honestly no idea why, because I think the algorithm should work. Can anyone point out the problem? It would be greatly appreciated. [CODE] public …

Software Development algorithm java linked-list queue
Member Avatar for da10x
0
86
Member Avatar for arun srinivaas

[CODE]#include<iostream> #include<stdio.h> using namespace std; int main() { for(int i=0;i<10;i++) { char *a=new char[10]; printf("%u\n",a); } return 0; }[/CODE] This is the output that i got 5377864 5377888 5377912 5377936 5377960 5377984 5378008 5378032 5378056 5378080 why the memory is increased in size of 24?

Software Development c++
Member Avatar for rubberman
0
140
Member Avatar for sj5536

hi can any one suggests me how to read barcode from pdf file in java is there any library . thanks in advance actully i serached on net for that i found some library such as apose barcode reader but it is not freeware and i also found JBarcode library …

Software Development java pdf
0
71
Member Avatar for ben25x

Hello everyone. I am looking to see if there is any possible way Visual Basic 6.0 code can run in Visual C++ 2008 Express. Any help would be very appreciated.

Software Development c++ visual-basic
Member Avatar for Ancient Dragon
0
433
Member Avatar for sj5536

hi i want to read barcode from pdf file. that pdf file has more than one barcode i have to read second barcode then what i do for that

Software Development java pdf
Member Avatar for sj5536
0
221
Member Avatar for Smartflight

Yes, I did a search, and I understand time() better than before, but I would appreciate personal help. Initially, I wanted to make a program/function that would randomly generate a number. Next, I wanted to limit it between two defined numbers. I came across rand() yesterday, and I couldn't get …

Software Development c++
Member Avatar for Smartflight
0
267
Member Avatar for nunopedrosilva

Hi, I'm trying to convert a string to an enum data type, and am having a bit of a hard time to do it. Basically I have [CODE] enum MyType{ Saw, Saw2, Saw3 }; [/CODE] more over I try to read from the console: [CODE] MyType m; cout << "What's …

Software Development c++
Member Avatar for rubberman
0
6K
Member Avatar for Pamalicious

please, someone please help me understand polymorphism. I need help. Thank you. Pam

Software Development c++
Member Avatar for frogboy77
0
80
Member Avatar for JerieLsky

Hi.. another post from me on how to retrieve a picture of a certain person from MS Access Database using the OLE Object.. Any one who can show me some samples how? Thanks for the time.

Software Development visual-basic
Member Avatar for doremon89
0
194
Member Avatar for diedie

hello all. I'm relatively new here. and very much a newbie in c++, string manipulation. I couldn't solve this. it has taken me soooo long. I did search the entire forum and google but those solutions seem a bit advance for my string problem. I know this is just basic, …

Software Development c++
Member Avatar for WaltP
0
186
Member Avatar for Dexxta27

The line "getline(cin,get_password);" doesn't repeat if the user chooses to re-enter the password. It pauses for a short while when it should run that line, refuses to accept any data, and then continues as normal. [CODE]#include<iostream> #include<string> #include<windows.h> using namespace std; int main() { string get_password; string password="abc4"; char repeat1; …

Software Development c++
Member Avatar for Dexxta27
0
151
Member Avatar for lochnessmonster

Could anyone please explain what memory mapped files are and why this method is better then reading a file with I/O operations when needed? i've read msdn...wiki...and im still confused at why i cant understand how this works/ what it is doing exactly -thx

Software Development c++
Member Avatar for rubberman
0
163
Member Avatar for codeyy

Element.h:15: error: using typedef-name ‘Element’ after ‘struct’ TrainToList.cc:6: error: ‘Element’ has a previous declaration here I understand that Element is getting defined twice but I do not know how to fix this. I must use Element as Car (or vice-versa??:confused:). Please suggest a fix to this problem. Now here are …

Software Development c++ data-structure
Member Avatar for rubberman
0
2K
Member Avatar for CrazyProgrammer

Hi all, i was wandering if someone good explain to me about clr? what are some advantages or disadvantages of programming c++ with clr, what are the main differences if there are any? If I understand it right clr programming is using the .NET framework, but could someone please give …

Software Development asp.net c c# c++
Member Avatar for CrazyProgrammer
0
157
Member Avatar for sha11e

1. Are memory adresses a certain size? I've seen some that have 6 characters after the 0x and some that have 8 after the 0x 2. A pointer like this: int *pointern does what exactly? Selects a location in the memory? Randomly? Or maybe like the first availible memory adress? …

Software Development c c# c++
Member Avatar for rubberman
0
215
Member Avatar for alex1050

What im trying is to input 'yes' to continue and reset all values or 'no' to exit the program but i have tried to figure it out but im having trouble please help.thanks [CODE]#include <stdio.h> #include <stdlib.h> #include <math.h> int main() { float num1,result; char sym; printf("Calculator Is ON\n"); do{ …

Software Development c++
Member Avatar for alex1050
0
221
Member Avatar for negneg

Hi I wrote a code for Galerkin Finite Element .The program runs with no error but have some problem breaking the loop also the results are all wrong .Can anyone please help me? This is my first time writting aprogram and I am so confused. #include<stdio.h> #include<stdlib.h> #include<math.h> #define Limit …

Software Development algorithm c++
Member Avatar for frogboy77
0
179
Member Avatar for bLuEmEzzy

ei guys, i am stuck in getting unchecked in listview... pls help me... thank u :) this is my code... [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For Each item As ListViewItem In ListView1.Items If CheckState.Unchecked Then MsgBox(ListView1.Items.Item(0).SubItems(1).Text) End If Next End Sub [/CODE]

Software Development listview vb.net
Member Avatar for bLuEmEzzy
0
158
Member Avatar for sarifah n

hi i want to ask about how to disable the button when the datagrid have 9 rows? i want to control the button.after the datagrid have 9 rows, then the button.enabled=false. tq.

Software Development vb.net
Member Avatar for sarifah n
0
135

The End.