199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lewashby

How could I get the file name and the permissions to a file as a string? This is on a Linux system.

Member Avatar for james.lu.75491856
0
225
Member Avatar for lewashby

Any ideas on some good beginner projects for PHP? I'd like to at, some point in the future, get into front end development and although I have a little self taught programming knowledge I don't have any real work experience in I.T. or programming at all, just the programs you …

Member Avatar for diafol
0
179
Member Avatar for castajiz_2

Hy guys, haven t been here for a while, If anyone can give me a idea or a way or a link on how to retrieve data from a website and store it in my application for further usage. The thing is that this data is being updated every month …

Member Avatar for Momerath
0
197
Member Avatar for asaidi

Hi in my form i have an option that i can attach a file to my database and i can see the filename in my database and in my view..but i m trying to make a link on it in view that i can read it please check my code: …

Member Avatar for cereal
0
488
Member Avatar for ram619

Hello, I am not able to understand whats happening behind "ptr-p", "*ptr-arr". Please explain #include<stdio.h> int main() { static int arr[]={0,1,2,3,4}; int *p[]={arr,arr+1,arr+2,arr+3,arr+4}; int **ptr=p; ptr++; printf("\n %d %d %d \n",ptr-p,*ptr-arr,**ptr); *ptr++; printf("\n %d %d %d \n",ptr-p,*ptr-arr,**ptr); *++ptr; printf("\n %d %d %d \n",ptr-p,*ptr-arr,**ptr); ++*ptr; printf("\n %d %d %d \n",ptr-p,*ptr-arr,**ptr); return …

Member Avatar for ram619
0
206
Member Avatar for shaifali ranyal

i want to add scroll bar to scroll this page..this page is user log-in form... to add more fields i have to add scroll bar how can i do so ..pls help package user; import java.awt.Color; import java.awt.Container; import java.awt.Font; import javax.swing.*; public class form extends JFrame package user; import …

Member Avatar for shaifali ranyal
0
343
Member Avatar for RascelleGrepo

I am creating a simple area calculator that exhibit overloading. I already finished the overloading function, my concern is, I want to key trap the pressed letters/characters by the user. I want to allow only numbers (int & float data type) input. How will I do that? Thanks. I am …

Member Avatar for deceptikon
0
1K
Member Avatar for msamir

i have creted this code for login control: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Login1_Authenticate(object sender, AuthenticateEventArgs e) { …

Member Avatar for de Source
0
577
Member Avatar for h2k

<html> <body> <h2>Search</h2> <form name="search" method="post" action="<?=$PHP_SELF?>"> Search for: <input type="text" name="find" /> <input type="hidden" name="searching" value="yes" /> <input type="submit" name="search" value="Search" /> </form> <? //This is only displayed if they have submitted the form $find = $_POST['find']; $searching = $_POST['searching'] ; if ($searching =="yes") { echo "<h2>Results</h2><p>"; //If they …

Member Avatar for h2k
0
201
Member Avatar for game06

is there a function for: ex1: String = "2+2.3/34" output: double = 34.0 ex2: String = "45/4+3-0.4" output: double = 0.4 so, find the last operator and take the next number into double. note there are no spaces.

Member Avatar for JamesCherrill
0
241
Member Avatar for Malymieczek

Hi All, So i have recently started developing an application in XCode for a project that I am working on. The application uses php scripts to connect to a mysql server. The problem I am facing is that when I coded textfields to send the information to the server when …

Member Avatar for davidkroj
0
200
Member Avatar for rony001

hello friends I have three tables with similer structure and same column name id,sname,ssno,grade. I want to copy rows from table1 to table2 and table3 based on column grade . I am getting an error No value given for one or more required parameters. can someone kindly tell me how …

Member Avatar for 1stDAN
0
201
Member Avatar for abhinavashish

What is reasion of popularity of SAP SOFTWARES can we compatite with our asp.net projects.

Member Avatar for Yoselin
0
139
Member Avatar for Peter_5

$query= "SELECT * FROM games where games.league='".$receivedleague."' AND games.gamedate >='".$todaydate."' AND '".$elnowla."' <= games.eldatetime AND (Not EXISTS(SELECT gameplayed.gameid,gameplayed.userid FROM gameplayed WHERE games.id=gameplayed.gameid AND gameplayed.userid='".$Userid."')) order by games.eldatetime asc limit 0,2" or die(mysql_error()) ; Hello gurus ! Can anyone help me to improve this query below ? I am no experty …

Member Avatar for Peter_5
0
230
Member Avatar for hg_fs2002

I have this code: typedef struct { int a } array[1]; int main (array var) { if ((var->a) == 0) return 0; } and I want to copy var to a new variable. It seems it should be something like typedef struct { int a } array[1]; int main (array …

Member Avatar for rubberman
0
247
Member Avatar for JacobAbrham

Hello, I am taking Java fundamental course and I've came up with a confused character i.e # on assigning variable name on Java lately. I have surfed the internet a lot but all I could find is only oprerators, keyword and reserved words are not allowed. so why is # …

Member Avatar for Banderson
0
203
Member Avatar for GlenRogers

I have a for with 2 dropdowns, 'category' and 'subcategory' I'm trying to make my page that it shows records(products) in the table based on dropdown selection of the subcategoy dropdown. So for example all records beloning to the subcat wheels have a subcat_id of 4. Sunbcategory table and products …

Member Avatar for GlenRogers
0
323
Member Avatar for cmsc

Hi! I have to upload a file to a separate server and I was given access to its ftp. But to be able to access the ftp, I need ftp over ssl explicit. I tried to use curl to connect to ftp. I was able to pass through the 220 …

Member Avatar for cmsc
0
2K
Member Avatar for kiLLer.zoh_1

Hi all this is my index page it works fine but the only porblem is that when user close the tab without logging out then login.php page displayed with menu obove.i want to expire the session if user close the tab help me out please <?php session_start(); if(!isset($_SESSION['_LOGIN'])) { $_SESSION['_LOGIN'] …

Member Avatar for Atli
0
236
Member Avatar for sathya88

How to parse a string data " B. Prakash 98400 51038 B.M. LAL BROS., TYRjijbEALERS 3 Whites Road, Royapettoh,thennai r 600 014. Ph: 2852 4560 Fax: +91-44-2858 8306 Email: bmlalbros@etn.iiet'" conisder this is my string data and i need to fetch name, address, phone , email seperately is there any …

Member Avatar for somjit{}
0
295
Member Avatar for bansarisavaliya

I want that when txt file data save in database that time progress display that "Processing nth of n records …" I trying with following code but not success CurrentFileName = myFile.FileName; string CurrentPath = Server.MapPath("~/Uploadfile/"); CurrentPath += CurrentFileName; myFile.SaveAs(CurrentPath); fname = CurrentFileName; DataTable dt = new DataTable(); StreamReader sw …

Member Avatar for JorgeM
0
215
Member Avatar for salesman91

Okay,First of all let me introduce myself as newbee to this language. this is my third day with program,I usually Practice at college where Visual studio 2010 is installed. I have VS2012 ultimate. If I sound silly forgive me,but I am really desperate here. 1st Problem,I couldnt create New SQL …

Member Avatar for salesman91
0
315
Member Avatar for ahmad.albab.87

hi, seems mysql_escape_string was deprecated ([http://php.net/manual/en/function.mysql-escape-string.php](http://php.net/manual/en/function.mysql-escape-string.php)) is there any alternative method? hope php developers can share with me. tq

Member Avatar for ahmad.albab.87
0
249
Member Avatar for BadManSam

Hi, I tried to convert timestamp into the actual date and time. <?php $connectmysql = mysql_connect("localhost", "********_login", "********"); mysql_select_db("********_login", $connectmysql); $timestamp = mysql_query("SELECT timestamp FROM blog_users WHERE username = '<?php session->username ?>', $connectmysql); $datetime = date("Y-m-d H:i:s", $timestamp); ?> This gets the user's username: $session->username But, then I get an …

Member Avatar for chrishea
0
197
Member Avatar for wmhintz

Hello geniuses, I have inherited a ColdFusion application which uses four lines of AJAX in order to populate a drop-down based upon the selection made in a previous drop-down. The first drop-down is a list of car "makes", for example: Ford, Chevrolet, etc. The second drop-down is to be populated …

Member Avatar for paulkd
0
311
Member Avatar for Vish0203

Hi, I am using gcc compiler to compile the program and build an exe I used this command to compile gcc program.cpp -g -o program (generates program.exe and runs fine) But, if i write the same thing in system("gcc program.cpp -g -o program"); programmatically, then the exe is generated but, …

Member Avatar for Vish0203
0
177
Member Avatar for dgrblr

I have an existing Access database that works well using Access. However, the HR department has convinced management to change to Java as the programming language of choice. I have done very little programming in Java, and have NO CLUE how connect to an Access database (2003), how to read, …

Member Avatar for peter_budo
0
427
Member Avatar for cool_zephyr

I was trying to send an email using javaMail API using my own smtp server to gmail/hotmail/etc..I put the following code to specify smtp server's settings Properties props = new Properties(); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.host", "my smtp host"); props.put("mail.smtp.port", "my smtp host's port"); Session session = Session.getInstance(props, new javax.mail.Authenticator() { protected …

Member Avatar for cool_zephyr
0
280
Member Avatar for Stuugie

Hi All, I am creating a simple query with a not so simple twist, at least it's not simple to me. First, the query: select distinct b.Bank_Mnemonic as [Bank],bd.Demo_Name as [Demography],ei.BEFI_Description[Economic Indicator],bsd.BSD_Year as [Year],bsd.BSD_Data_Value as [Value] from dbo.tblBank_Source_Data as bsd inner join dbo.tblBankDemographics as bd on bsd.Demo_ID=bd.Demo_ID inner join dbo.tblBanks …

Member Avatar for Stuugie
0
159
Member Avatar for Krefie

Hey boys and girls, I need help, I am working on a project that requires me to build a business tier (.dll) for a c# program, I've only ever used SQL server. The problem comes in as follows, at university I was tuaght how to import a datasource via the …

Member Avatar for C#Jaap
0
210
Member Avatar for kram54

Hi everyone i have to one probem i have to 2 class 1 Class clsKullaniciIslemleri = using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data; namespace GorevTakip.KullaniciIslemleri { class clsKullaniciIslemleri { string first; string second; public string userName; public string userId; public string Yetki; GorevTakip.Gecisler Gec = …

Member Avatar for kram54
0
268
Member Avatar for mgold

I was just wondering if anyone other than me thought that it would be incredibly usefull to have a language that was both dynamic AND statically typed. **Using Java as a example, it could do the following:** **1)** Define a special dot operator that auto type casted something of type …

Member Avatar for ~s.o.s~
0
214
Member Avatar for dandeliondream

Hi, I am trying to create a menu like the one on http://www.momentumww.com/ When you scroll to section 'About', the menu 'About' button will be highlighted in white instead of black. Anyone has any idea how to do this?

Member Avatar for theHop
0
111
Member Avatar for jnewing

Hey all, so I'm looking for a way to call a method in an application externally from a dll. (see example below) This is what I'm trying however it's a) not working and b) if it was working i have a feeling that calling DynamicInvoke is going to be painfully …

Member Avatar for Ketsuekiame
0
188
Member Avatar for avinash7

According to the Gregorian calendar it was monday on the date 01/01/01. if any year is input through the keyboard write a program to find out what is the day on 1st January of this year?

Member Avatar for deceptikon
0
164
Member Avatar for leon.lashway

I have learned a few programming languages and am now in the beginning stages of teaching myself C with "C Programming, Second Edition for the absolute beginner". I'm enjoying the book but have run into some difficulties in the second chapter exercies. The exercise states as follows: Create a program …

Member Avatar for deceptikon
0
438
Member Avatar for dev90

int arr[]={12,17}; printf("\n arr = %d , &arr= %d",arr,&arr); printf("\n arr+1 = %d , &arr + 1= %d",arr+1,&arr+1); getch(); } ans : arr=400 &arr=400 arr+1=402 &arr+1=404 Please tell me how &arr and &arr+ 1 works?

Member Avatar for sepp2k
0
155
Member Avatar for venus pacia

hi!!! guyz i want to know if asp.net is easy to use?because i want to make a web application, and i want o use asp.net and i want to learn the basic codes of asp.net thanks!!!..plz help^_^

Member Avatar for Yoselin
0
231
Member Avatar for faisal.ghulam.9

i really need a quick help with my code. when i debug the program no matter what the numbers in milage and Rate are the result is always 0 and here is my code: Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click Dim …

Member Avatar for C#Jaap
0
128
Member Avatar for ronaldpaul

Hi, I'm facing a problem with one of the wordpress website I've developed. I activated "Cloudflare" from the cpanel for the domain http://www.kovaidonbosco.com/. After that, all the pages in the website are pointing to the home page. Please try to select different pages from the menu and see. I de-activated …

Member Avatar for cereal
0
284
Member Avatar for sidyusuf

hi frnds, i have a window based datagridview with examdate as one the editable datetime column .Now i want user to update or change the date to a fully valid format(dd:mm:yyyy) just on pressing enter key within the datagridview. A popup message must appear when user enter wrong date. Any …

Member Avatar for Edah66
0
576
Member Avatar for joshl_1995

Hello Community, I was wondering if someone could give me any ideas on how to get my company out there?

Member Avatar for joshl_1995
0
207
Member Avatar for bibiki

hey there, I am looking at a maven project that makes use of another maven project. say project A and project B. In context.xml in project A, I see these two lines <value>classpath:oneFile</value> <value>classpath:otherFile</value> I have been trying to figure out what is the actual value of classpath, so what …

Member Avatar for bibiki
0
187
Member Avatar for sonyeo

When i run my program there's an error in conn.open() and tells "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done." Please help me to solve this problem... Here's my code: Dim ds As New DataSet Dim dbSource As String Dim …

Member Avatar for ss125
0
145
Member Avatar for game06

hey, can some one help me with two things? first getting a error on "Animation animationObj" error:Animation cannot be resolved to a type 2nd i am trying to make a templet for making android games. this is what i have so far. two classes. one does the animation and other …

Member Avatar for game06
0
137
Member Avatar for Morley93

Hi all, I have recently been give a project to create an invoicing system for a small business. The system needs to be able to easily add new customers and store them for usage within invoices. There also needs to be a form to enter invoice data and invoices need …

Member Avatar for 1stDAN
0
262
Member Avatar for Shodow

how to perform click on listview? when button is click listview will perform a click on first record of a listview

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Angelrawzz

Hi, I'm working on a Generic Dictionary in C# and have came across a little problem with my add function. My add function at the moment will take two inputs: Name and Age and then add them to the listBox associated with them. What I'm trying to do is make …

Member Avatar for Angelrawzz
0
156
Member Avatar for lewashby

(Linux) In the following program when the command python permissions.ph is issued I simply get another prompt, but when python3 permissions.py is issued I get the error below. Why does python2 see tkinter but python 3 doesn't? garrett@bedroom ~/Projects/TestArea $ python permissions.py garrett@bedroom ~/Projects/TestArea $ python3 permissions.py Traceback (most recent …

Member Avatar for vegaseat
0
1K
Member Avatar for pythonforlife

Sorry guys, how do you print a message dialog box if a file doesn't exists in python? I am currently using a program to do segmentation of video file and assembling it the files that I need and excluding those I don't. I have completed the tasks but if I …

Member Avatar for vegaseat
0
226

The End.