199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for itisnot_me

is it possible to do some kind of str_replace and replace the thing with a php string. ex: [CODE]{name}[/CODE] to [CODE] <? myrow['name']; ?> [/CODE]

Member Avatar for ShawnCplus
0
119
Member Avatar for bas_brain

Hi all, I am new to ajax, meaning I know nothing what so ever of programing ajax. I want to do a simple login interface with email and password (with php), but i also want that when I press submit button it show a box with "please wait..." message (this …

Member Avatar for Alxandr
0
88
Member Avatar for mostermand

I have been testing a C++ based SDK and now i have a few questions for you that i hope you will answer . 1. When passing objects between each other is it preffered to use references if not what then? 2. Is it good or bad to make a …

Member Avatar for mostermand
0
145
Member Avatar for tehbrozor

Hello, I am trying to label the axes of an array of subplots. The units of each plot are the same so I would like to just label each axis once. The array is of in determinate size. For odd numbered rows/cols I just use ylabel/xlabel on the middle row …

Member Avatar for tehbrozor
0
81
Member Avatar for dmanw100

Hello, I am having problems using an ObjectInputStream to read from a file. My program uses a File to check whether or not a specific file exists. If it exists my program will attempt to create a FileInputStream for the file and associate an ObjectInputStream with it. It should first …

Member Avatar for dmanw100
0
121
Member Avatar for hunterm

So I am trying to add a graphical element to my game. And it draws a circle for white or black pegs. However, the list that contains "Black" and "White" isn't acting quite like I want. The list prints like this: B l a c k B l a c …

Member Avatar for scru
0
184
Member Avatar for f.damati

HI I am working on a java application using netbeans, I face a porblem. I want to display the output of my program, on jtextarea (i have designed a jtextarea,) just I want to display the output namely the content of an array. plz can anyone help?

Member Avatar for javaAddict
0
178
Member Avatar for FaMu

Hi I have the following function which read ASCII characters(separated by space) from a file and I want to print it out to the screen contents of the data.txt file are like this 70 97 104 97 100 [code=c++] void decode() { string str; string instr; ifstream inFile; cout<<endl; inFile.open("data.txt"); …

Member Avatar for FaMu
0
167
Member Avatar for phoenix_dwarf

The question: Get an integer value from the user to draw a cheassboard on the screen of that specified size. The black squares must be * and with any other chessboard there must always be a *(black square) in the bottom left corner. PLEASE NOTE: I'm very new to c++ …

Member Avatar for phoenix_dwarf
0
136
Member Avatar for mindis

Firstly I don't understand english very well, so there may be a lot of mistakes. I use python-2.6.2, wxPython2.8-win32-unicode-2.8.10.1-py26 and numpy-1.3.0-win32-superpack-python2.6 in this example. So I would like to hnow, how to get variable elements form one class into another. I use wxPython, and i don't hnow how get value …

Member Avatar for Ene Uran
0
227
Member Avatar for wnrqkflwnrqkfl

Hello all, I am trying to read in the text file but it seems my code cannot read the text file which has tab space eg Mine only reads Sydney NewYork 1300 but It should read Sydney New York 1300 ( and the space between city name or number can …

Member Avatar for Dave Sinkula
0
3K
Member Avatar for b1k1m1

I am using following method to convert string to calendar date '2007-05-10T08:10:21-8:00' . The code is as under public Calendar dateStringCalendar(String s){ Calendar cal=Calendar.getInstance(); try{ SimpleDateFormat df=new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ"); Date d1=df.parse(s); cal.setTime(d1); return cal; }catch(Exception e){ } return cal; } when I get response back to my jsp page it shows …

Member Avatar for b1k1m1
0
121
Member Avatar for kylcrow

Here is some code that I am trying to use. Why wouldn't this work the way I am assuming it should? here is a sample of vector<string> mine: *** *2* *1* so mine[1][1] = 2. [CODE=C++] // In a function that has passed in vector<string> &mine int dist[2000][100]; cout << …

Member Avatar for kylcrow
0
137
Member Avatar for gunman

Guys, I am stuck , where I am not able to find out the way to display the ArrayList of ArrayList in jsp page. So if possible Please help me. My code in DAO class is as under [code] //DAO class name:StdprdSetCatViewDAOImpl.java public ArrayList getF(String[] pg) throws Exception { //pg …

Member Avatar for gunman
0
2K
Member Avatar for greg_mystikal

Hi, I am reasonably new to C# and Visual Studio, so any help with this problem will be much appreciated! At the moment I have a C# Windows Application which runs various vb scripts which are included within the project. This works without any problems, however, I would like the …

Member Avatar for serkan sendur
0
117
Member Avatar for crazyluigi

greatings to all of you!! I start learning c++ and i getting a problem with the [B]ENTER[/B] key... i want to ignore it and i just know how. [code] do{ printf("\n"); printf(" A : Quadrado\n "); printf("B : Rectangulo \n"); printf(" C : Circulo\n"); printf(" D : Triangulo\n"); printf(" E …

Member Avatar for crazyluigi
0
1K
Member Avatar for bhanu1225

Hello All. [COLOR="Red"]I created a login form and an application form in a single system. For that navigation, i imported application form's file name in login form. Then, we can easily execute it. If we enter "user id" and "password" in login form, then it navigates to application form.[/COLOR] This …

Member Avatar for jlm699
0
94
Member Avatar for wnrqkflwnrqkfl

Hello all, I was building a program which needs to output in alphabetical order and i got stuck. (Program reads in text file and then do dijkstra's shortest path) My output is fine except that it is not in alphabetical order.... can anyone help me with this??? here is my …

Member Avatar for tux4life
0
278
Member Avatar for TBotNik

All, Have a set of nested forms/subforms in this order: frmMain => sfmMain => ifmTABset => sfmUSR => sfmSETcfg where sfmMain & sfmUSR are the control fields containing the subforms being called and the TAB control TabCtl0 resides in the TABBED form of ifmTABset. I am trying to open the …

Member Avatar for TBotNik
0
144
Member Avatar for alsoumhi

Hi all , My question is that I want to know if possible I use C language dealing with windows such as I create a folder ,file, and show for example a pop up message says hi when windows starts to operate . I mean can I do these kind …

Member Avatar for Narue
0
110
Member Avatar for Saravanan07

Hello, I'm currently creating an application in VB.Net. I have used the IsNumeric function for registering the name but the function only work if I enter only Numeric. If I enter Char + Numeric it doesn't provide any error message. For example if I key in James007, the data are …

Member Avatar for kvprajapati
0
220
Member Avatar for kevin wood

is it possible to change the max file upload and the memory limit allowed for file uploads in php with a .htaccess file. the server my website is held on will not give me access to the php.ini file and is running php 4.4.9

Member Avatar for BzzBee
0
116
Member Avatar for dep.new

hello, please tell me a function which can transform the first 100 consecutive number into a string? i kept looking but i could'nt find one thank you all the best dep:)

Member Avatar for javaAddict
0
76
Member Avatar for unclepauly

im developing an http proxy in C#. my problem is reproducable outside of this language so if you can tell me of a better forum then that would be good, as i am stumped. to cut a long story short: sometimes, the response i get back from the server is …

Member Avatar for unclepauly
0
223
Member Avatar for pxndx

well i´m taking some classes on C++, but i have no idea what namespacing std means or why i use getch(); an to return 0 how do i know which libary is which like the iostream or conio and how do you make your program finish and restart agian i …

Member Avatar for ArkM
0
147
Member Avatar for rtwister

does anyone know how to make a c++ program that types what you tell it to in to a text field on a website. for example: cout << "Hello"; how do you get this to print in to a text field on a website?

Member Avatar for William Hemsworth
0
563
Member Avatar for jch02140

Hi, I am new here and have been playing around c# for awhile. I am wondering if there is a way to change the control so that they resize to the panel or windows accoundingly... You can see the image here: [URL="http://img29.imageshack.us/img29/1317/screenshotg.jpg"]Screenshot[/URL]

Member Avatar for jch02140
0
104
Member Avatar for joshmo

Iam using an AWT component. Did a little research but cannot find anyway I can make my player return a JComponent..tried this casting but Iam getting an exception at the line. [code=java]((com = (JComponent)p.getVisualComponent()) != null)[/code] I also got to see something about mixing SWING with AWT so I decided …

Member Avatar for joshmo
0
125
Member Avatar for Rakesh Nagekar

Hello friends, Good Afternoon, I done the search process in PHP but when it comes to advance search the problem is comming can anyone help me in programming advance search and the search has to be performed on more than one table i require as in [url]http://www.naukri.com/[/url] Thank u

Member Avatar for kvprajapati
0
137
Member Avatar for n3r3d

[CODE]void slova(string datoteka){ ifstream coban; coban.open(datoteka.c_str()); string polje[200]; string linija; int brojac=0; while(!coban.eof()){ getline(coban,linija); polje[brojac]=linija; brojac++; } string rec=polje[1]; int brojac2=0; for(int i=0;i<rec.length();i++){brojac2++;} cout<<brojac2<<endl; if(rec[0]==rec[brojac2]){cout<<"same letters"<<endl;} else{cout<<"letters are not same"<<endl;} }[/CODE] This is my code, it should test if 1st and last letter in string are same, but i can't …

Member Avatar for n3r3d
0
96
Member Avatar for Apexa Dhongde

I have a parent form. I am calling child form from parent form. Can i inherit child from parent at runtime?

Member Avatar for Teme64
0
98
Member Avatar for TrippyGrape

Help please... pretty please: I am trying to extract from the Description, please see bold. PLEASE someone, help me :) Thanks. TG [CODE]Objectgroup Object ( [_properties] => Array ( ) [_is_datasource] => IS [_is_driver] => mysql [obj] => IS_Objectgroup Object ( [ObjectgrpID] => Array ( [0] => 14 ) [Objectgrpparent] …

Member Avatar for TrippyGrape
0
79
Member Avatar for dev_kc

I am trying to create a logfile for my project,whenever an err occurs,i want to store that info in my logfile,with a prefix of [COLOR="Red"]err[/COLOR] while reading the file,i want to check for this err prefix,and change that message color to red,only the err msg should come in red while …

Member Avatar for ddanbe
0
277
Member Avatar for Diamonddrake

I have written a flashy custom context menu using a new form with layeredwindows for my application, I want the context menu form to close when the mouse leaves the form, or when its deactivated. But I can't seem to get it to happen. I have tried the Close() method …

Member Avatar for ddanbe
0
275
Member Avatar for m-hrt

i want a alert that alert when press submit button if the date user have inserted is expired as today is 19 may 2009 if a user puts 18 may 2009 it alerts that card expired. here is the code:- PHP CODE: [CODE=language]<?php $connection = mysql_connect("localhost","root","autodeskmaya") or die("error connect"); mysql_select_db("online_bus_project"); …

Member Avatar for m-hrt
0
2K
Member Avatar for imbasant

Hi friends, Actually i have to read RSS feeds from Google news URL.I am able to read the feeds. But i am reading the feeds from a for loop which runs for atleast 2000 times. Now the problem is that Google blocks my IP address after 500 iterations, means after …

Member Avatar for mail2saion
0
92
Member Avatar for re-volter

I have this code: [CODE=javascript] function getLocation() { var siteurl = document.location.href; document.write(siteurl); } [/CODE] I want to extract from string etc. "http://site.examle.com/page1/page2" this part:"/page1/page2". How I can do it?

Member Avatar for mail2saion
0
108
Member Avatar for sivak

Now i want to check whether the windows user entering the correct password or not . for example: in textbox1=username in textbox2=password onclicking the ok button if it is the right password to that user or not,if it is valid user means in messagebox("valid user") else invalid user.how to i …

Member Avatar for kvprajapati
0
63
Member Avatar for mysong

Programming in c and we must use Miracle c for this course. I had my USD * MXN working prior to adding a numbers only validation. Now the code works as I want it to except for the correct calculation. Any suggestions would be appreciated. [code] #include<stdio.h> #include<ctype.h> #include <math.h> …

Member Avatar for mysong
0
393
Member Avatar for asuni449

Hi all, I want to create DLL in VB 6.0 with vc++ coding. How to create ? Any help please. Thanks :)

Member Avatar for asuni449
0
68
Member Avatar for SKANK!!!!!

its for showing a users folders. (for private messages) how can i select one of each folder name because i know that there will be more than 1 folder name that is the same. i have a mysql column called folder and there is a folder name in each row. …

Member Avatar for OmniX
0
113
Member Avatar for Brandon515

hey guys umm this might seem really stupid but for reasons i would rather leave unsaid i want to make an encryption program and by this i mean a program that will turn a string into numbers and funnel into a file then when selected take the contents of the …

Member Avatar for Brandon515
0
115
Member Avatar for shuda009

In my previous posts, I asked about how to transform a part of a string into an integer. Narue kindly gave me the answer and I've implemented it into my code. Here is my code: [CODE] int main() { string line; string cmd; while (cmd!="quit") { cout << "Command: " …

Member Avatar for tux4life
0
178
Member Avatar for TheSeraph

Ok, searched a bit and found a few relevant posts, but they didn't directly address my problem, so here I am... Basically, I'm trying to write a program that will, hopefully, do the following things in sequential order: 1) Accept certain login credentials (user test, password 1234) and auto-login to …

Member Avatar for TheSeraph
0
80
Member Avatar for jdbarry

Hi, I was in an online class where I had a teacher that was difficult to get hold of. So I posted here for clarification and help topics. Others are copying my postings and turning it in as their own. I am asking that you delete all of my postings. …

Member Avatar for ~s.o.s~
0
84
Member Avatar for real_castilla

hi all, I have a binary file, then I try to read them and show the value to the screen, but what I got is always -13108. I don't know why. Here is my code [code] #include <iostream> #include <fstream> using namespace std; void main() { std::fstream f_in, f_out; short …

Member Avatar for real_castilla
0
135
Member Avatar for Romil797

Well, I want to make a browser in vb or c++ with a gecko engine without using that IE embedding thing - a real browser. I have been told to use the Mozzila browser object, but I have not figured out how to use it. I created the object, but …

Member Avatar for Teme64
0
95
Member Avatar for SKANK!!!!!

last activity. the ultimate goal is to have an active user list. and a script to be run on every page that updates the users activity. and then have the inactive users logged out and removed from the active users table in mysql automatically. my problem is that i dont …

Member Avatar for leviathan185
0
175
Member Avatar for dinilkarun

Hi All, I have two frames.viz., frm1 and frm2. On click of a button on frm1, I want frm2 to pop up and frm1 to hide. Presently I am using the following code: [TEX]self.Hide() self.frm2=frm2.clsFrame2(self) self.frm2.Show()[/TEX] clsFrame2 is the class present in frm2. The above code if written on the …

Member Avatar for woooee
0
144
Member Avatar for ihatehippies

I've googled this quite a bit and can't find a way to tell if a file is currently being accessed or at least written to. Anyone dealt with this before? If one app if writing to a file another can be reading it before the first is finished writing..

Member Avatar for woooee
0
78

The End.