199,114 Archived Topics
Remove Filter ![]() | |
How could I get the file name and the permissions to a file as a string? This is on a Linux system. | |
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 … ![]() | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … | |
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) { … | |
<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 … | |
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. | |
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 … | |
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 … ![]() | |
What is reasion of popularity of SAP SOFTWARES can we compatite with our asp.net projects. | |
$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 … | |
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 … | |
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 # … | |
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 … | |
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 … | |
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'] … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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, … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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? | |
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 … | |
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? | |
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 … | |
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? | |
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^_^ | |
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 … | |
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 … | |
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 … | |
Hello Community, I was wondering if someone could give me any ideas on how to get my company out there? | |
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 … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
how to perform click on listview? when button is click listview will perform a click on first record of a listview | |
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 … | |
(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 … | |
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 … |
The End.