199,114 Archived Topics
Remove Filter ![]() | |
I just tested because i'll need soon the fopen function... Im using Visual C++ and i made a txt file in the root (didn't work so also tried to put in the source folder.. didn't work either) the text file's name is: Keywords.txt I tried this: [CODE]fopen("Keywords", "r");[/CODE] didn't work … | |
Hi, I am currently using xampp with all the preloaded add ons, such as tomcat, mysql and apache. When i try to connect to the database through my computer with windows xp, it works perfectly fine. But when i changed it to another OS, windows vista. It keeps giving me … | |
Can somebody help me with the code to read file names from a folder? curretnly i'm using the below code. Dim files() As String files = System.IO.Directory.GetFiles("c:\myfolder") this is not working please help me. | |
I need some help with postfix expression please. I've only been able to find examples about changing from infix to postfix. With the code provided below, I want it to the following: 1. if the token is an operator (it is a +, -, *, or /) a. two items … | |
I have written the following code for VB6 The application uses MS Access and used Microsoft Jet 4.0 OLEDM Provider [CODE] Private Sub cmdSubmit_Click() On Error GoTo Handler Eval_Env.Insert txtEvalCode.Text, txtEvalName.Text, txtEvalPhone.Text, 0 ClearControls Label4.Caption = "Data Submitted Successfully" Label4.Visible = True Handler: MsgBox "An error occurred" Label4.Visible = False … | |
I use VB .NET 2002 (academic version) I have created an MS Access database to be populated with vaules extracted from dBase files. Some numerical values can be null - ie where no data was recorded in the dBase file. Relevant field properties in MS Access mdb table are set … | |
Hey does any one knows how to solve an expression as follows: (a+b)' (a+b') I am suppose to draw a circuit diagram for the original expression Simplify the expression with Boolean algebra to a minimum number of gates Draw a circuit diagram for the simplified expression. Thsnks in advance. | |
i have 2 applets each in separate files. lets say i wan to click a button in applet1, and it will show applet2, hide applet1 and vice versa. how can i achieve tat? [CODE]/** * @(#)ATM.java * * * @author * @version 1.00 2010/3/1 */ import java.awt.*; import java.awt.event.*; import … | |
![]() | Hi everybody, I'm looking for a way of getting a machine-specific string on windows, something like cpu or hard drive or bios serial #. It has to be implemented in c, not c++. I've already browsed the api quite a lot but I'm not sure (and I don't know windows … ![]() |
Hi, I've created a Web Service application inside Jboss 4.2.2-GA and I want to set up the jboss log4j configuration so that my Web Service logs inside a custom log file (not inside the server.xml). To do this I've altered the jboss-log4j.xml file to create another appender. This file is … | |
Hi All, I am trying to execute a [icode]find[/icode] command to retrieve all files of a specific type, e.g. images. Rather than using an OR'd list of suffixes with ~every~ image type, I wrote a small script that returns the mime-type (image, application, executable, etc). The problem is getting it … | |
I am trying to compile some old code a colleague gave me. I have MyClass.h [code] class MyClass { public: static int UseIndex; .... }; #include "MyClass.inl" [/code] MyClass.inl [code] ... int TreeNodeData::UseIndex=1; ... [/code] I am getting: [code] multiple definition of `MyClass::UseIndex' first defined here [/code] I got several … | |
Ok so i need to make a program that you put in an email address and it checks for the @ symbol and then makes sure its not the first digit or the last digit. Now i know that there is " like s.islower( for lowercase) and s.isupper but i … | |
I used autonumber for my id. i attach the screen shot.. [ATTACH]13899[/ATTACH] and i dont know how to make a code for compute command.. It should compute all the payments on that day, but i really dont have an idea how to make it.. ill attach my vb and access … | |
Hi, i am having a problem on my program [CODE]Private Sub Command1_Click() If text1.Text = "" Then MsgBox ("You have no content on your 1st Textbox") Else End If . . . Bunch of codes that will result to an error if there is no value for text1.text[/CODE] When the … | |
I am making a little forum and while trying to add the quote post functionality have come across a problem that has me stumped. Here is my js: [CODE] function addQuote(text) { var tArea = document.getElementById('forumReply_message'); tArea.value = text; } [/CODE] Here is sample HTML (one that doesn't work): [CODE] … | |
i got a site that is hosted by google, i have to write a program that creates/updates pages on the site... i got the google site API... but i have no idea where to go to.... so far my app logs in to the site, and access my documents, which … | |
___Theme: PGF - the improved formatting; AUTOMATIC localisation / CORRECTION of structural ERRORS in initial codes Pascal and Delphi. ___ Keywords: debugging, formatting, support, reliability, visualisation, documenting, Pascal, Delphi, FreeWare. ___ Dear programmers. ___ Formatter of the programs initial codes, used in modern practice of programming, are based basically on … | |
i have a multiple select drop down menu where i select some courses however my problem is that i was to store the selected courses in an array for further use. i have tried creating an array but is is coming up empty. Can someone help me out here here … | |
I'm trying to write an external log-in class for my Adv Java class in school. It's an online section and the teacher is very hard to reach thus why I'm asking for help here :). But my problem is right now I have my log-in form and I have it … | |
Hi, I have an input like this: gene1 pos1 description1 gene2 pos2 description2a gene2 pos2 description2b gene2 pos2 description2c gene3 pos3 description3 gene4 pos4 description4a gene4 pos4 description4b and I would like an output like this: gene1 pos1 description1 gene2 pos2 description2a, description2b, description2c gene3 pos3 description3 gene4 pos4 description4a, … | |
Hi all.... Ok, so I've got 3 components, all working independently: 1) Simple HTML page 2) PHP Script (which produces 3 arrays) 3) Javascript (which processes 3 arrays) Now, I need to hook them all together through the HTML. The PHP should be called on the loading of the page, … | |
Hi! I have a problem with an unintentionally exiting of a while loop. I'm trying to do a simple tic tac toe program. When one player has won the game, for example three X:s in a row, the program says "X wins!". So far OK. And thereafter I want the … | |
I have a CString : CString data; data.Format = ("!64.8 Px.1= 1200"); I would like to copy the number 1200 from data to another CString data2. Anyone can help? Thanks in advance | |
Good morning, I've searched the web for a week to find a solution to a problem, but I can't figure it out, so now I'll try to post directly what the problem is and hope that someone could explain me how to go ahead. I'm new to Asp.Net, and some … | |
Hi, I am new to php.I want to read a word by word from a file.When I use fgets it read line by line.When i use fread then it read full contents from a file.File_get_contents read a full contents from a file. I need to read a each single word … | |
So i have Class Parser and in this class is constructor [CODE]Parser(string s){ // constructor tokens = s.c_str(); // convert to a C string opStack.push(END); // initialize opStack }[/CODE] tokens was defined as const char *tokens in private ; That is in the parser.h file However when i try to … | |
I don't have ambitions of making a Turing complete language but I thought it might be cool to look into, at this moment my goal is pretty much to just do integer math, maybe functions. I've got the Antlr IDE plugin for Eclipse and I wondered if it would be … | |
hai... i want to dispaly table like this. actually i am fetching data from database. i am displaying data in tables. but i want to display like column wise after row wise. [CODE] A F K B G L C H M D I N E J [/CODE] like this. … | |
Is it possible to find a record in a datagrid by typing characters into the grid? Bascially if I have the following records: Anne Bob Bill Bud Carl Carlos Curt And type "C" it will got to the records that start with "C". If I type "Ca" it will go … | |
I need guidance on how to show live feeds on my website from a software...All ideas and solutions are highly welcomed.... | |
I cannot find the mistake in the below code, I receive "statement ignored error" at the last line of the first select clause part of the code:[CODE]SELECT * BULK COLLECT INTO l_employees FROM employees;[/CODE] But I am not sure if thats the real problem. Here is my full code [CODE]declare … | |
Hi, I'm having a problem creating two child and manipulating signals. My problem with forking is that when I do: [code=c] int main() { pid = fork(); pid2 = fork(); } [/code] This create more than two forks, so how do i create exactly two forks? And for each child … | |
Guys I need a good career advice. I am currently working in a IT consulting firm as a junior java developer. My firm wants to upgrade my skills. Since its a consulting firm they want to add extra skills in me to make me more productive. They have given me … | |
Using VB.NET write a program that can calculate the grade of a student based on his or her marks in five subjects as input according to the following rules: •Grade A: For average between 100 and 80 (inclusive) •Grade B: For average between 79 and 65 (inclusive) •Grade C: For … | |
hi i'm working on a program using all if else statements. I think i've lost myself in all ifs and elses and i need your guys help! It was working fine until i added some new if elses in the middle of the code heres what it looks like [code=java]import … | |
How can I remove the URL information that is printed at the bottom of the page when a Web page is being printed ? Can this be done by Javascript or any programming method ? | |
Hi, I'm trying to run my program in command prompt, but i get this error: [CODE] Exception in thread "main" java.lang.NoClassDefFoundError: Invaders [/CODE] Can anybody tell me what this error means? Thanx. | |
| |
hi anyone please give me the dll code for converting date format mm/dd/yyyy into dd/mm/yyyy. here iam using asp.net with vb.net... hi it was very urgent please help me..... | |
Hi, I tried so much working with this to get distinct Words and their count. I'm using ASP.NET 2.0. And i also googled so much. I need HELP from anyone to get the required output. 1)Ex(String): The DOTNET is Very Cool! The Best. 2) Capture all the sequences like Spaces, … | |
i m a newbie in The pool of C plz tell me about these functions from absoulute basic.. I was studing C tutor and found these functions but cannot understand them.. plz tell me their exact functions breifly.. or u can also suggest me some ebooks.. free only.. Thnx in … | |
Sir, I am using 3 textbox and one listbox. I am successfully retrieve the data into listbox i want that item selected in a listbox enter the data by textbox once the value input into through text box that the selected item of a listbox will change the back color … | |
This is a dumb question, but I used MAMP and I don't know how to access my phpmyadmin. I used to have it on my localhost server, until I had to reinstall it with MAMP. Now I don't know how to access it? Thanks ![]() | |
Hello all, I'm an information security professional who's decided to teach myself python, so for my first project I wanted to make something that I could actually find useful, so I've developed a small program for log file parsing and amazingly after some trial and error, it works :) However … | |
im having trouble understanding why this won't work. I'm extremely new to php (my primary language is c++) [CODE]<html> <body> <?php if(strpos($_GET['codev'], 'ddd') !==FALSE){ if(strlen($_GET['codev'] ==3) { echo "<p>Welcome</p>"; } ] ?> </body> </html>[/CODE] | |
please help me in [B][I][U]Private Sub bt1_Click() [/U][/I][/B] please pleaaaaaaaaaaaaaaaaaaase [COLOR="Red"][B][I]compile error: Method or data member not found[/I][/B][/COLOR] Private Sub balance_Click() Dim sc As Single Dim sd As Single sc = 0 sd = 0 For i = 0 To listcr.ListCount - 1 sc = sc + CSng(List.List(i)) Next i … | |
Hey everyone, I'm having an issue with the simplest vector functions. I'm trying to add a Piece object to a vector, but it's data members are being changed when I do... am I missing something? [CODE] /* Piece.h */ #ifndef _PIECE_H #define _PIECE_H class Piece { public: Piece(); Piece(int r, … | |
Hi All, I have a dataGridView control ,which I attach with a data source,this datasource can change over the time. Now ,the problem is ,after assigning the data source ,I add one more static column and trying to add image to the cells [ I've used DataGridViewImageCell and DataGridViewImageColumn,the images … | |
Hello, I'm returning results from a database but they are showing as yyyy/mm/dd I would like them to display as dd/mm/yyyy is there a simple way to format $newrow5['StartDate'] to do this. while ($newrow5 = mysql_fetch_array($result5)) { echo "Starts on the: {$newrow5['StartDate']}"; } thanks in advance, Tom. |
The End.