132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for javaAddict

Just a quick question. No rush to answer, it is not important, I might discover it later myself, but just in case someone knows it: I have been trying to create a [URL="http://java.sun.com/javase/6/docs/api/java/lang/reflect/Method.html"]Method[/URL] object using this method: [URL="http://java.sun.com/javase/6/docs/api/java/lang/Class.html#getMethod(java.lang.String,%20java.lang.Class...)"]Class.getMethod(String name, Class<?>... parameterTypes)[/URL] like this: [CODE] obj.getClass().getMethod(methodName, Class.forName(methodType)) [/CODE] My problem is …

Software Development api java
Member Avatar for javaAddict
0
148
Member Avatar for zahidprog

hi, I faced this problem when I tried to insert data into the database. public CustomMessage SaveIssue(Issue issue) { if (issue.Id == 0) return InsertIssue(issue); else return UpdateIssue(issue); } public CustomMessage InsertIssue(Issue issue) { string fieldNames = "(Sl_no,Date,NamePrdOrRep,NameOfDepartment,TitleOfProduction,TapeType,PurposeShooting,PurposePreview,QuantityOfTape,BoxNo,BoxName,TapeNo,IssueOrReturn)"; the error message is shown this line execution string fieldValues = "Values( …

Software Development
Member Avatar for neeks
0
109
Member Avatar for vddmanikanta

Hai everyone I need a clarification on the following issue Why does C++ compiler doesn't allow, to initialize static member function inside a class And please do tell me about what is meant by initializing a function (member function) Please help me in getting it clear thank you Have a …

Software Development c++
Member Avatar for vddmanikanta
0
127
Member Avatar for Cardboard Box

Hi I spent several hours yesterday trying to fix an error with one of my classes. I have a clas which handles all the resources of a game, and they are all declared as public. When a function of the same rseource class is called by another class, its meant …

Software Development vb.net
Member Avatar for nexocentric
0
92
Member Avatar for stevebush

I have just made a small application in VB6 and would like to implement data validation for a few fields. Like the user can only enter a number in the Telephone number field. How can this be implemented ? Thanks.

Software Development visual-basic
Member Avatar for rm_daniweb
0
91
Member Avatar for prabu.r

`Which book i have to refer to learn basic fundementals of Vb.net 2005? Kindly help me out

Software Development vb.net
Member Avatar for jbennet
0
156
Member Avatar for RaghuBV

Hi folks, Can I insert multiple entries into a single bucket in a hashtable. It ll look somethin like this Key Hash value Bucket Browser B Browser->Search Brawn->F1 Car Bread->Wheat dish . . Cat C Cat->Animal C++->Language Please help me

Software Development c++
Member Avatar for RaghuBV
0
65
Member Avatar for jct3u

I have to write a program that does this Write a complete C++ program to solve the following problem. PROGRAM DESCRIPTION: An unknown number of integers, but no more than 25, are to be read from the file exam.dat. (Yes, this means you have to open that file.) Calculate and …

Software Development c++
Member Avatar for DemonGal711
0
224
Member Avatar for Will Gresham

I am building a program that will 'integrate' with a website I have built, the user wants a client based app that can be used to upload text from a .doc file to the website. The website uses a database to store the text in HTML format. The HTML produced …

Software Development app-store html-css vb.net
Member Avatar for Teme64
0
95
Member Avatar for ScienceNerd

I’m trying to code a program that displays letters in alphabetical order. It complies but the problem is that when it compiles, the letters [characters] don’t show up. The only thing the text file has is some random letters {A E C B D O). [code=cplusplus] int count(char input_filename[]); void …

Software Development c++ display ios
Member Avatar for WaltP
0
128
Member Avatar for premanjanadas

Hi. I am making a project on student attendance register in vb.net2005 with sql2000 server as backend. I am getting the data at runtime from database in data grid viewer. But if a user wants to edit a record, i want to give rights that he is able to edit …

Software Development vb.net
Member Avatar for guest11
0
116
Member Avatar for booker

Hello is this normal that the application I am running crashes when I try to instantiate e initialize a int matrix[512][512] where for smaller values doesn't? I just can't understand why. I could create I vector of vector but I want to use a pointer pointing to Aoo. Thank you

Software Development c++
Member Avatar for tux4life
0
225
Member Avatar for xyster

Hello again, got myself stuck again with my lack of time between coding c. Gotten myself lost with pointers this time i'm pretty sure. Declaration in header file [code=c] extern DiskRequest proc_new_disk_request(int procnum, int sectornum, ReadOrWrite rw); [/code] Where i'm calling it from and some code around it to make …

Software Development c
Member Avatar for xyster
0
147
Member Avatar for arvin2006

good day everyone! how can i distribute the exe application w/o using package and deployment wizard? i just made it executable. the problem is the the database path changes because i did not use the App.Path. I know how to use App.Path using ADODB, but with ADO Data Control, you …

Software Development database-design visual-basic
Member Avatar for vb5prgrmr
0
153
Member Avatar for goodluck4287

Hi everyone, working on a class project where we spider some patents from the USPTO (Patent office) and eventually map out our findings. Our teacher provided a script and expected us to hardwire directly to a modem, not a router. That is asking a lot since I need to provide …

Software Development os-x perl puzzle windows-server
Member Avatar for Fest3er
0
197
Member Avatar for ghost305

I need major help, I'm trying to create three functions to search through a list container: one is to search, one is to flip and the other is to modify. It's an information manager which has card that contains information such as first name, last name, address, occupation and phone …

Software Development c++
Member Avatar for ghost305
0
94
Member Avatar for zoner7

If you look at the end, i try to store some values in a few arrays. When i try to print these out, I receive complete junk. any thoughts? [CODE=C++] #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #define MAX 122 #define MIN 48 char GetRand(); void RC4(char *realpw, char …

Software Development algorithm c
Member Avatar for Aia
0
102
Member Avatar for DaveD3

I am working on an application in Visual C++. I needed to generate a message box so I went to the help files and found the C++ example to do this task. I copied and pasted it into my code. When I built the application this code from the help …

Software Development c++
Member Avatar for DaveD3
0
106
Member Avatar for oNice

I'm trying to create a cipher that eventually will read an entire .dat file then re-write it encrypted and as of now I am using code blocks. Right now I’m just working on being able to do it one word at a time, but I get a really big error …

Software Development c
Member Avatar for oNice
0
97
Member Avatar for bunnyboy

Hello! So, I have a problem with the following code... I'd like to know, why the variables pid and ppid are not initialized? Inside the if scope, if I print them out, they are initialized to getpid() and getppid() value, but when I want to print them out in else …

Software Development c
Member Avatar for bunnyboy
0
115
Member Avatar for BestJewSinceJC

How can I check if an event is user generated? When the user clicks on a combo box and changes the displayed/selected content, I want the code in the itemStateChanged method to be executed. But I only want this code to be executed if the method call was due to …

Software Development java
Member Avatar for BestJewSinceJC
0
96
Member Avatar for valtikz

for example you have a: string test; [CODE] void ExampleWindow::on_clicked(){ ofstream myfile; string test; myfile.open ("/home/ws14/Desktop/trunk/minisip/minisip/share/test.txt"); mydialfile << test; mydialfile.close(); } [/CODE] how can I just add or insert a value on the file(test.txt). not just overwrite the file(test.txt) when the function(on_clicked) is being called. All I need is if …

Software Development c++
Member Avatar for valtikz
0
127
Member Avatar for xeo

Hi there, I need to know how to get the hard disk serial number, in windows. Thank you in advance.

Software Development python
Member Avatar for EAnder
0
6K
Member Avatar for aunahal2

Hi, I have been spending several weeks figuring this out but couldn`t find way to it. Here is what I am planning to do, I have a text file with several data in it, and I have to extract part of the data into a 2 dimensional array. Here is …

Software Development java
Member Avatar for VernonDozier
0
198
Member Avatar for tag234

Hello, ive got a quick question about changing characters within a .asciiz. Here is a snippet from the code im working with: [code] ## This is 300004D2 ## la $a0,value # Initialize the value lw $a0,0($a0) ## This is equal to 8## la $a1,count # Initialize the loop counter lw …

Software Development assembly
0
55
Member Avatar for siul0_0

Hi there!! My first Post :) My problem is as follows: I have multiple text files in a folder, and I need to automatically format these text files to an CSV format. At the same time I need to add different Data to accommodate it to the MySQL database. so …

Software Development flash shell-scripting
Member Avatar for mittelgeek
0
138
Member Avatar for Skainstein

Hi all. Could anyone please put comments on each command that Ancient Dragon posted? It's just to be sure what each of them means. I'm having trouble compiling this (it's not what Ancient Dragon wrote!!): [code=c++] //blabla char OutFile[100]; FILE* fp; sprintf(OutFile,"wind%d", date); fp = fopen(OutFile,"w"); OutFile << "Longitude\tLatitude\tDirection\tVelocity\n";//here appears …

Software Development c++
Member Avatar for William Hemsworth
0
150
Member Avatar for kashmir323

So I'm trying to create an easy Trig-Functions calculator where you plug in an angle and a sig and it'll give you the other sides and angles back. In c++ is there a way to use sin, cosin, and tangent? I havent started this project yet but i was wondering …

Software Development c++
Member Avatar for tux4life
0
56
Member Avatar for skisky

ok....so i have code that will return whether or not the string im searching for is found. Which is fine and dandy, but i also need the array index, for where the match was found. (names are read from a txt into an array, then the array is searched with …

Software Development c++
Member Avatar for skisky
0
93
Member Avatar for swartskaap777

Hi, Can someone please help me!I just want to setup a chat between me and my friends over the internet.I found this project but can only get it to work over a network,but need it to work over the internet.please help: [URL="http://www.geekpedia.com/tutorial239_Csharp-Chat-Part-1---Building-the-Chat-Client.html"]http://www.geekpedia.com/tutorial239_Csharp-Chat-Part-1---Building-the-Chat-Client.html[/URL] thank!

Software Development
Member Avatar for Acedia
0
222
Member Avatar for Moe

[I][/I]Hi Everybody I am writing a socket program on a smart device. What I am trying to write is when client connect wit server, server send the file name that cllent can download. Then client must choose one file name and send that file name to server. Then the server …

Member Avatar for Acedia
0
133
Member Avatar for BruenorBH

I am using GetWindowText to take user entered data, then seperate it out into variables, then finally use the one variable I need. .The only problem is that when debugging, I am seeing 2:00 pm listed as "2:00 pm", '\0' <repeats 17 times> it should just be 2:00 pm or …

Software Development c
Member Avatar for nucleon
0
145
Member Avatar for DaveD3

I am new to .Net and I am having some problems. I have read the Kate Gregory book for visual C++ .net and successfully implemented her application to look up employees in a database table. I followed the same format to write an application I am working on. The adapter …

Software Development c++ dataset
0
72
Member Avatar for Siaa

hello every1..... i need ur help........im looking 4 a program which uploads a picture of the galaxy....then detects and counts the total number of stars in it.......can any 1 help me with this........ its really urgent.......its my assignment n i need to submitt it very soon........ waiting 4 ur replies........

Software Development c++
Member Avatar for nucleon
0
383
Member Avatar for skisky

I am having trouble converting a string, stored as input, to all lower case.....and save the lower case in a string, search. perhaps my idea is flawed? [code] search = tolower(input); [/code]

Software Development c++
Member Avatar for Narue
0
317
Member Avatar for Naziakanwal
Member Avatar for smbusa

Could anybody help me to create a QReport in Delphi. I use My Sql as my database.

Software Development delphi pascal
Member Avatar for FlamingClaw
0
67
Member Avatar for BestJewSinceJC

[CODE=Java]java.util.Vector<EmergencyContacts.ContactInfo> contacts = Application.getPatient().readEmergencyContacts().readContactInfos(); for (int i = 0; i < contacts.size(); i++){ EmergencyContacts.ContactInfo info = contacts.get(i); } public Vector<ContactInfo> readContactInfos(){ return contacts; } private Vector<ContactInfo> contacts = new Vector<ContactInfo>(); [/CODE] As you can see, it returns a Vector of ContactInfo. Why would I be getting an error saying, "Exception …

Software Development java
Member Avatar for quuba
0
132
Member Avatar for asilbek

public class QRYExecuter: SqlDataReader { } class is defined as above while building this, i get exception below: The type 'System.Data.SqlClient.SqlDataReader' has no constructors defined pls, can u solve it?

Software Development
Member Avatar for asilbek
0
117
Member Avatar for mem81

Hi guys, I am trying to create an windows application. What I need to do at this stage is I am trying to read a tab delimited file and the that same tab delimited file to go to another text file on my C drive. I have written some code …

Software Development file-system vb.net
Member Avatar for mem81
0
117
Member Avatar for nexocentric

This i the background to my problem, which is stated in bold text. I am currently working with a SAFEARRAY. I've declared a two dimensional array in VB6 and I'm trying to store data from a C++ dll in it. I have used the resources listed below to learn how …

Software Development c++
Member Avatar for nexocentric
0
418
Member Avatar for KingsKidy

Hi All. Please I need your help. I have just started work as a Software Engr. I have a project at hand which includes placing different image icons on a JLabel component depending on which element of a JList is selected. I used single selection model. I tried using if-else …

Software Development java
Member Avatar for Ezzaral
0
116
Member Avatar for dinamit875

Hi there ever1. I have written a bracket checker program using stack, seems to me its working ok, but still I have one problem with it.Well, it compiles ok,but when you are entering value, it just doesn't show you any results, but it supposed to give you the results.Any help …

Software Development c++
Member Avatar for vmanes
0
113
Member Avatar for stevebush

I have made an application with access database using Adodc and it works fine. However, I have set the ConnectionString and RecordSource in the Properties window in VB6. But now I want to write it in the Code. I need some help. I have written the code and need someone …

Software Development microsoft-access visual-basic
Member Avatar for stevebush
0
95
Member Avatar for booker

Hello I think this is easy for experienced C++ users. I want to define and initialize a [512][512] matrix. The problem is that when I do int matrix[512][512] I get an error and the program it shuts down. I think this has to do with max reserve memory. What can …

Software Development c++
Member Avatar for booker
0
190
Member Avatar for larpar

I am in a beginners programming class for visual basic and i have to build a game, a simple hangman game... but the only problem is i don't know how too... My teacher hasn't taught us anything, he simply gives us the book and says go.. so i don't know …

Software Development vb.net visual-basic
Member Avatar for crazyhorse09
0
67
Member Avatar for sanstepsan

I have aseries of textboxes namely txtAlpha1, txtAlpha2, txtAlpha3 etc and txtBravo1, txtBravo2, txtBravo3 etc. I am trying to loop thro these by doing the following but of course it does not work. [code] For i = 1 To 25 If txtAlpha & i & .Text = txtBravo & i …

Software Development vb.net
Member Avatar for sanstepsan
0
164
Member Avatar for ryan311

hi to all my fellow programmers, i'm creating now an attendance system. how to create a count down timer that will minus in the system time? it is possible and how? i have a 3 textbox 1 is for the hour, minutes and seconds. and 3 label for the count …

Software Development visual-basic
Member Avatar for debasisdas
0
115
Member Avatar for mielcita

I'm reading in a file and I need to skip any lines of length zero or starting with '#'. But I keep getting null pointer exceptions later in the code because it can never tokenize. What am I doing wrong? Thanks in advance. Below is the relevant method: [code] static …

Software Development java
Member Avatar for javaAddict
0
136
Member Avatar for ellas

[TEX]I[B] am having a problem with my code it seems to endlessly loop with user input of two temps never ending. As I am a newbie at this could someone take a look at what I've got so far and fix what's wrong here are my two classes This is …

Software Development java
Member Avatar for alias120
0
1K

The End.