64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for naziatarannum

Hi all, I have a simple question as it appears. But am unable to get the solution. Question is -how do I get the access time of a file in unix. please advise on the command. Thanks

Member Avatar for Aia
0
109
Member Avatar for Stefano Mtangoo

When you add a page in CMS (Like Wordpress' admin) what does it actually do? Add predefined table? Or what? Thanks!

Member Avatar for Atli
2
100
Member Avatar for Lukezzz

I have a code that is running like this and calling an event. The event is writing some lines to a textfile. But after each loop, the event is writing one more line each time. It seems that the += is filling the left side up. Is there a way …

Member Avatar for Nick Evan
0
86
Member Avatar for kjelle392

Hello all. I try to learn some Ajax, but find it some difficult. The task I'm trying to do, is to use Ajax to register a new user for my application. The problem is that the request don't seem to pass the POST-variables to the php-script on the server side, …

Member Avatar for Thirusha
0
163
Member Avatar for gabec94

Hi, I am trying to write a binary search. The main method randomly makes an array of 1 mil int's, and the binary search returns if an entered int is in the array, but I seem to be having trouble getting it to work, I've been working on it for …

Member Avatar for gabec94
0
116
Member Avatar for sathya8819

Hi. I am implementing the Kuwahara Filter in c#. The code for this is given below. [CODE] unsafe { Bitmap bmps = (Bitmap)pictureBox1.Image; Bitmap bmpd = (Bitmap)pictureBox1.Image.Clone(); BitmapData bms = bmps.LockBits(new Rectangle(0, 0, bmps.Width, bmps.Height), ImageLockMode.ReadWrite, PixelFormat.Format24bppRgb); BitmapData bmd = bmpd.LockBits(new Rectangle(0, 0, bmpd.Width, bmpd.Height), ImageLockMode.ReadWrite, PixelFormat.Format24bppRgb); byte* b1 = …

Member Avatar for Geekitygeek
0
306
Member Avatar for sathya8819

I am implementing an image processing related code in C#. It works almost fine, but I find a problem that I am anable to solve. When I run the project, I get the output perfectly. But when I minimize the screen and expand it, the originial image appears distorted. I …

Member Avatar for sathya8819
0
703
Member Avatar for Ulukay

Im trying to make 400 textlabels at runtime but i dont see them , Why not ? [CODE]Private orderArray(41, 10) As Label for x=1 to 40 For u = 1 To 10 orderArray(x, u) = New Label orderArray(x, u).BorderStyle = BorderStyle.Fixed3D orderArray(x, u).Text = "----klhjk--" orderArray(x, u).Height = 20 orderArray(x, …

Member Avatar for Ulukay
0
98
Member Avatar for jtok

I am using Visual Studio 2008 SP1, ASP.NET, and VB.NET. I am using a wizard, and in order to affect the controls inside it, I have to declare them in each method like so: [CODE] Dim txtbox1 As TextBox = wizard.ContentTemplateContainer.FindControl("textbox1") [/CODE] Which works fine, but sometimes I need to …

Member Avatar for jtok
0
128
Member Avatar for muralibobby2015

hello, i want to display names of upcoming birthdays whose between "today" to "end of every month". how to do this

Member Avatar for venkat0904
-1
89
Member Avatar for darkagn

Hi all, I have seen code of the form: [code=php] if(file_exists("foo.php") include("foo.php"); else include("blah.php"); [/code] As far as I know, this is perfectly legal in php. What I was wondering was is it possible to do the following in in-line code in PHP? [code=php] if(file_exists("foo.php") // contains a specialised version …

Member Avatar for darkagn
0
224
Member Avatar for Jalwes

Could anyone tell me why, in the following code, getline doesn't allow the user to enter any input? Thanks in advance. [CODE] #include <cstdlib> #include <iostream> #include <vector> #include <string> using namespace std; int main(int argc, char *argv[]) { char answer = 'n'; int selection; vector <string> strings; do { …

Member Avatar for jonsca
0
97
Member Avatar for yaragalla_mural

Hi i am new to ajax and i am little bit confused with the word asynchronous. why is the word asynchronous used for ajax? what is it not in sync with? somebody pls expalin me why the word asynchronous? and how is it justified in ajax? Thanking you in advance.

Member Avatar for yaragalla_mural
0
336
Member Avatar for klackey19

Hey everyone, I'm coding a program in C and have a pointer called pRoot. I need to do (2 * pRoot) .. but the compiler says I cannot. Is there some legal way of implementing this pointer arithmetic? Thanks in advance for your help!

Member Avatar for Narue
0
142
Member Avatar for sexyzebra19

I've put so much effort into making this program and it keeps crashing! I previously had the two functions in separate files which were working fine, but I combined them into 2 - the poly function is still working fine, but the bisection function crashes at the line: "Enter the …

Member Avatar for jonsca
0
126
Member Avatar for levsha

I have two HTML pages, each has a form. The user is supposed to fill out the input fields in one, then click a submit button that will send him to the next page, where he would fill out the rest of the fields of his questionaire, click a submit …

Member Avatar for levsha
0
127
Member Avatar for Jaydenn

Well, I have a main form (Form1) and a second form (Form2) which is a preference box. Anyways, I made a combobox and a button on the second form, and a button on the first form which opens up the new one. Everything works well until you try to use …

Member Avatar for Jaydenn
0
97
Member Avatar for Archenemie

Just like in the title, instead of renaming the files in the "target folder" it just renames all possible files in the python directory, and im not sure how to fix it, although this is my best attempt. [CODE] #!usr/local/bin/python import re, os from os.path import join as pjoin targetfolder …

Member Avatar for Archenemie
0
197
Member Avatar for Stefano Mtangoo

Hello, is there any other site that is dedicated on python exercises from standard Library to external? I plan to start doing exercise to measure my muscles in python and enrich my understanding! I have seen here some exercises which I'll do them (on stickies) Thanks all Steve

Member Avatar for elasolova
0
184
Member Avatar for Mitja Bonca

This is the code I have: [CODE] public class BusinessLayer { public Employee[] GetAllEmployees() { Employee[] employees; DataSet myDataSet = DataBaseLayer.GetAllEmployees(); /// How can I convert the myDataSet to Employee List return employees; } }[/CODE]

Member Avatar for DdoubleD
0
2K
Member Avatar for HITMANOF44th

ok i can post the script if you guys want its kinda on the large side mostly i just need to bounce some ideas off you i made a event calendar and now i am making a script to email users of the current months events i have this working …

Member Avatar for HITMANOF44th
0
94
Member Avatar for CanYouHandstand

Hey All I'm trying to write a simple write .csv file function that can take multiple arrays of objects and write to a specified file. I understand that I can use params to pass an unspecified number of variables, but is it possible to use it to pass an unspecified …

Member Avatar for CanYouHandstand
0
1K
Member Avatar for neel_patric

hello, i am a little confused with something. im reading values from a text file which only contains 1's and 0's. here is the code. [CODE] char y; ifstream inFile2; inFile2.open("c:\\binary.txt"); ofstream fileout2; while (inFile2 >> y) { //cout<<y<<" "; this would print either a 1 or 0 // based …

Member Avatar for J.Turnbull
0
85
Member Avatar for jimmiller96

I'm not really sure which forum this belongs in, but please bear with me as I try to explain what I am looking to do. I have a PHP web site designed to display status updates from several dozen computers around the world. Up until now an administrator updates a …

Member Avatar for kireol
0
169
Member Avatar for python.noob

Hi friends, I've recently changed to ubuntu 9.04.. I've not had any problem with the installation of pyqt as it is available from the ubuntu repositories with umpteen number of packages.. Thanks to ubuntu for making my job easier.. Anyhow i've to download tarball file for python 3.1 and installed …

Member Avatar for woooee
0
378
Member Avatar for murid

I need help... I have a datagrid that show an online status. the Status column have 2 status, OnLine n OffLine. I want to make any record that Status = Online into bold style. is that possible ?? all I know is to make all datagrid into bold.. please help.

Member Avatar for murid
0
84
Member Avatar for jaison2

The function has to show the population for year 1, 2 and so on until the population reaches 1 million. The population increases by 8% every year? [code] def population(): current=input("please enter the current population of the city: ") increase=current/100*8+current year 1=increase while increase>1000000? [/code]

Member Avatar for leegeorg07
0
112
Member Avatar for Yeen

While learning Python I've come across this several times, but I've never been able to get it to work, so I always work around it. No more I say! I'm using 3.1, so I'm assuming that string.split doesn't work in 3.0 and later. Say I want to split [I]"Why does …

Member Avatar for vegaseat
0
3K
Member Avatar for lewashby

In the following program, at what point does my program call the _str__ method/constructor? I don't see it specifically being called at any point. I know it happens with this line print [CODE]"Printing crit1:" print crit1[/CODE] but I still don't see how or when this happens. Thanks for any and …

Member Avatar for mn_kthompson
0
203
Member Avatar for brandonmofiki

I have developed an RSS Feed in php. (can be found at [url]http://www.mofikiworldwide.com[/url] by clicking the rss icon in the top right) My reason for using php to develop the feed was so that I wouldn't have to manually update a feed in an xml file everytime I needed to …

Member Avatar for Atli
0
238
Member Avatar for ffs82defxp

What is the command for starting files? Something like this im guessing [CODE] start.file(C:\test.txt)[/CODE]

Member Avatar for vegaseat
0
131
Member Avatar for epicasian

Ok...i know a little bit of C++ (basics, like cout, cin, a little bit of classes ect) and realized something after watching a video from Chris Pirrilo... I dived into C++ without researching other languages first. My question to you is...should i stay w/ C++ or switch to C#? Can …

Member Avatar for RoyMicro
0
176
Member Avatar for ffs82defxp

All I need is a frame, and a panel. On the panel I have to display 3 pictures 1 at a time, separated by a pause of custom length. I need the panel to be 773x632 pixels for my png image. What I need is the function for displaying an …

Member Avatar for vegaseat
0
122
Member Avatar for pytup
Member Avatar for AndreRet
0
1K
Member Avatar for imolorhe

Please, is there anyway to make the forms in vb6 transparent? I need urgent assistance. Thanks.

Member Avatar for AndreRet
0
972
Member Avatar for sexyzebra19

Hi, My program takes any polynomial and calculates the first and second derivatives and evaluates them at a given x. The coefficients of the polynomial are stored in a vector A. I now want to do something else to this polynomial, however my calculations for the derivatives mean that the …

Member Avatar for sexyzebra19
0
116
Member Avatar for bigjoke

Hi everyone, I am tasked to alter the front-end of the database and have been given the whole wad of PHP files and also an .SQL file. My question is, Why i cant see any changes to the database front-end when i change the .sql file. (I tried creating a …

Member Avatar for pritaeas
0
143
Member Avatar for SimonLeefe

I have an arbitrary number of files whose names I will know and I want to open them for reading. The important point is that I do not want to open them sequentially using a single file pointer. I need to have them all open at the same time. This …

Member Avatar for SimonLeefe
0
200
Member Avatar for mmeclimate

Hi everyone, I am new to java and I wrote a program that does the following (using Scanner): Name: Last Name: Age: (More? Y/N): When the user presses Y, he/she can add more information. Then in the end, I want to print something like: The participants are: Soni Smith (30), …

Member Avatar for mmeclimate
0
151
Member Avatar for love_dude1984

hi... im using a word editor in my app..i want to save all the data in the word editor to be saved in microsoft's word. does anybody have a code to create and save the data into the word doc. automatically? like when i click a button, it should automatically …

Member Avatar for chandru7
0
121
Member Avatar for Stefano Mtangoo

Hi all, I want to do simple query to do the Join Here is illustartion of my query which gives error [CODE=SQL]"SELECT * FROM table1, INNER JOIN table2 ON table1.colx = table2.colx LIMIT 30"[/CODE] What goes wrong here?

Member Avatar for Stefano Mtangoo
0
126
Member Avatar for neogy

Okay I have an issue....I have two things I want to happen on the same page....I have a slide in menu (Jquery contact form) where people can write me an email and a FancyBox gallery.. But these two javascripts wont play nice...if both are enable as they are now, The …

Member Avatar for Airshow
0
153
Member Avatar for P00dle

I have to split a line that has been stored in a String[], and then place the parts in an ArrayList. Currently I am doing the following: (vehicles is the origional String[], details is the String, detail_split is the ArrayList) [CODE]for (int y = 0; y < vehicles.size(); y++) { …

Member Avatar for P00dle
0
639
Member Avatar for jimmiller96

Hi All, This should be an easy one. I am using a single OnChange event with several <Select> statements, and need to identify the specific <Select> control that fired off the onchange event. I'm certain there must be a way to grab the ID or Name from the specific control …

Member Avatar for jimmiller96
0
91
Member Avatar for pyboii

hey ill get straight to the point i need to create a python script to read each record from a .txt file and output each record in the same format to the cmd line, 4 lines including (name,address,ph no and email) 3 records. it needs to utilize the basic logical …

Member Avatar for lllllIllIlllI
0
166
Member Avatar for LizzyJo

Hi there everyone. I have a problem with the JavaScript code for my aggregates workings for my course. I have worked out with some help how to input a number, click a button and get the number to appear in a listbox. I also had to get the Reset button …

Member Avatar for LizzyJo
0
120
Member Avatar for lifeworks

Hi Im new to OO PHP, been reading through my book and in one example they are using a class structure in a shopping cart. I have used session variables in the past for shopping carts, can I assume that if I create a class, which has a cart_contents array …

Member Avatar for lifeworks
0
88
Member Avatar for Mr.Magic

New guy here and I'm stuck on this code I cant get to work right. I want to input any amount of numbers and I want the output to be the largest number along with how many times the largest number was input. I'm just off a bit but I …

Member Avatar for DaBunBun
0
299
Member Avatar for centurion 5

Hi, I am building a cinema booking system in ASP/VbScript with MS Access. I would like to display the records from the recordset in form of: [-----STAGE-----] [B] [x] [x] [x] [x] [x] [x] [B] [x] [x] [x] [B] [x] [x] [x] [x] [x] [x] [x] [x] [x] [x] [x] …

Member Avatar for closetosane
0
96
Member Avatar for AngryOne

Hello I'm begining to learn Java and I'm trying to convert from a While loop into a for loop. Sadly I'm just not quite grasping it... I understand the loop is here [CODE]while (n * n > Math.pow(2,i)) { i++; } [/CODE] but it's not quite as simple as changing …

Member Avatar for cms271828
0
111

The End.