132,726 Archived Topics
Remove Filter ![]() | |
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. | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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# | |
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 | |
How to create a property file in java Software Development java | |
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 | |
is there anyway that i can place an object in a specific coordinates in vb? | |
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 | |
![]() | 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 |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
[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++ | |
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 … | |
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 | |
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 | |
![]() | 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++ ![]() |
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++ | |
please, someone please help me understand polymorphism. I need help. Thank you. Pam Software Development c++ | |
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 | |
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++ | |
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++ | |
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++ | |
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 | |
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 … | |
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? … | |
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++ | |
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 … | |
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] | |
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 |
The End.