199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for iNach

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 …

Member Avatar for Salem
0
136
Member Avatar for heels

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 …

Member Avatar for peter_budo
0
98
Member Avatar for dinilkarun

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.

Member Avatar for kvprajapati
0
116
Member Avatar for react05

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 …

Member Avatar for react05
0
206
Member Avatar for akssps011

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 …

Member Avatar for akssps011
0
100
Member Avatar for AWLWales

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 …

Member Avatar for AWLWales
0
971
Member Avatar for 88omar

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.

Member Avatar for 88omar
0
140
Member Avatar for chern4ever

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 …

Member Avatar for jamesonh20
0
121
Member Avatar for manutm

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 …

Member Avatar for manutm
0
100
Member Avatar for komyg

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 …

Member Avatar for komyg
0
205
Member Avatar for mstone42

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 …

Member Avatar for Simon Tite
0
128
Member Avatar for daviddoria

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 …

Member Avatar for daviddoria
0
221
Member Avatar for Cyproz

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 …

Member Avatar for vegaseat
0
120
Member Avatar for student02

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 …

Member Avatar for student02
0
80
Member Avatar for lloydi12345

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 …

Member Avatar for student02
0
94
Member Avatar for xylude

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] …

Member Avatar for xylude
0
83
Member Avatar for phoenix911

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 …

Member Avatar for phoenix911
0
169
Member Avatar for Vasil54

___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 …

Member Avatar for Vasil54
0
236
Member Avatar for cane23

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 …

Member Avatar for rajabhaskar525
0
85
Member Avatar for Geodude0487

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 …

Member Avatar for Geodude0487
0
126
Member Avatar for aaegcm

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, …

Member Avatar for aaegcm
0
100
Member Avatar for moobaa

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, …

Member Avatar for NettSite
0
550
Member Avatar for anders10

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 …

Member Avatar for gangsta1903
0
119
Member Avatar for desperado85

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

Member Avatar for mitrmkar
0
97
Member Avatar for smilingeyes76

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 …

Member Avatar for smilingeyes76
0
145
Member Avatar for prem2

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 …

Member Avatar for prem2
0
2K
Member Avatar for karolik

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 …

Member Avatar for mitrmkar
0
110
Member Avatar for OffbeatPatriot

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 …

Member Avatar for OffbeatPatriot
0
110
Member Avatar for muralibobby2015

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

Member Avatar for urtrivedi
0
112
Member Avatar for rrocket

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 …

Member Avatar for LordOne
0
717
Member Avatar for footsouljaN

I need guidance on how to show live feeds on my website from a software...All ideas and solutions are highly welcomed....

Member Avatar for footsouljaN
0
68
Member Avatar for yassar

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 …

Member Avatar for yassar
0
4K
Member Avatar for aliase

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 …

Member Avatar for abhimanipal
0
77
Member Avatar for Waseem2010

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 …

Member Avatar for stultuske
0
86
Member Avatar for jmjones55

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 …

Member Avatar for Vineeth K
0
213
Member Avatar for eikal

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 …

Member Avatar for stultuske
0
144
Member Avatar for aparnesh

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 ?

Member Avatar for arvindreads
0
2K
Member Avatar for Ghost

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.

Member Avatar for stultuske
0
2K
Member Avatar for tayspen
Member Avatar for kanuri1

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

Member Avatar for kvprajapati
0
131
Member Avatar for DexterID

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, …

Member Avatar for kvprajapati
0
101
Member Avatar for lionaneesh

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 …

Member Avatar for lionaneesh
0
194
Member Avatar for realback

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 …

Member Avatar for realback
0
232
Member Avatar for justinmyoung

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

Member Avatar for audioholic
0
97
Member Avatar for Stev0

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 …

Member Avatar for Stev0
0
143
Member Avatar for Anarionist

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]

Member Avatar for Anarionist
0
105
Member Avatar for mahdouch5

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 …

Member Avatar for Jx_Man
0
224
Member Avatar for tnclark8012

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, …

Member Avatar for tnclark8012
0
172
Member Avatar for SamTheDevGuru

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 …

Member Avatar for SamTheDevGuru
0
133
Member Avatar for baseballfury

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.

Member Avatar for baseballfury
0
2K

The End.