132,726 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
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++ | |
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 | |
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 | |
`Which book i have to refer to learn basic fundementals of Vb.net 2005? Kindly help me out Software Development vb.net | |
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++ | |
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 … | |
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 … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
Hi there, I need to know how to get the hard disk serial number, in windows. Thank you in advance. Software Development python | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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++ | |
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 | |
[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 … Software Development client-server file-stream windows-server | |
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 | |
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 … | |
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++ | |
Could anybody help me to create a QReport in Delphi. I use My Sql as my database. | |
[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 | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
[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 |
The End.