199,113 Archived Topics

Remove Filter
Member Avatar for
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 …

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 …

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 …

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 …

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 …

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 …

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 …

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 …

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 …

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 …

Member Avatar for valtikz
0
127
Member Avatar for cubixguy77

I'm attempting a reduction from the vertex cover problem to the guard cover problem guard cover: [B]instance[/B]: a graph G and a bound k [B]question[/B]: is there a subset S of at most k vertices such that every vertex of G is separated from a vertex of S by a …

0
75
Member Avatar for xeo

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

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 …

Member Avatar for VernonDozier
0
198
Member Avatar for tanha

Hi. I want to know how it is possible to export data through php to an already available template excel and word, and then how to read from those template? regards,

Member Avatar for ikinothman
0
92
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 …

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 …

Member Avatar for mittelgeek
0
138
Member Avatar for Tonkz

For example you want two tables that have a column that has an identical id and that id you want to print out in another table. how will you code it?

Member Avatar for Stylish
0
111
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 …

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 …

Member Avatar for tux4life
0
56
Member Avatar for genieuk

Hi, I got two files a php file to process and record data to a text file Now when a visitor visits a page on my website.... it records some information about them and it is sent to process.php and then process.php then records the data in a .txt file. …

Member Avatar for Josh Connerty
0
215
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 …

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!

Member Avatar for Acedia
0
222
Member Avatar for cakamaya

could anyone help me how to use a date function for reservation on ASP.NET.... thanx

Member Avatar for cakamaya
0
159
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 …

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 …

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........

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]

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.

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 …

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?

Member Avatar for asilbek
0
117
Member Avatar for littleson

hi, my front end is flex and back end is C# in .NET. How can i get the value from flex(eg: name) to a variable in .NET ?

Member Avatar for lucasmatos
0
90
Member Avatar for rpetras

I am having trouble running some test code using SOAP::Lite for perl. The code (listed below) simply hits a prime number generator that is freely available that I found through xmethods.net. It should be relatively simple test code, the only complication being the internal proxy server, but that seems to …

Member Avatar for rpetras
0
161
Member Avatar for redhotspike

I'm supposed to switch the themes of the "headline" and the "text", but I can't seem to get it. Here's what I have so far...anyone have any ideas why it doesn't work? Thanks :) [code=javascript] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> …

Member Avatar for redhotspike
0
104
Member Avatar for RaniThomas

Hi all, I need a help from u... Please help me... Is it possible to have more than 1 servlet for an J2EE application... I have 2 JSP's (index & display page) 1 Servlet (myServlet) - Db Connectivity(insertion & selection) In index.jsp, i have 2 fields and a button, while …

Member Avatar for RaniThomas
0
2K
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 …

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 …

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 …

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 …

Member Avatar for vmanes
0
113
Member Avatar for bad_roo

Wondering if anybody could help with what seems a very simple problem but is taxing for this noob. I set myself the task of creating a button which, when pressed, switches the background color randomly. It seems to work well enough but the random number it works from only generates …

Member Avatar for bad_roo
0
96
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 …

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 …

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 …

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 …

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 …

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 …

Member Avatar for javaAddict
0
136
Member Avatar for mcakirankumar

Hai, I want to print only the content of datagrid from php web page. Anyone help me from this problem. Please send me the code to resolve it. thanks,

Member Avatar for HITMANOF44th
0
272
Member Avatar for totalnoob

I have a file with a table with movie titles. When I wish to edit I click on a link which is represented in this following code: [code=PHP]<a href="edit.php?autoid='.$row['autoid'].'"> edit</a> [/code] This redirects me to an edit file where I can change the name, year and category. After updating it …

Member Avatar for totalnoob
0
108
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 …

Member Avatar for alias120
0
1K

The End.