86 Topics

Member Avatar for
Member Avatar for imti321

I want to make it create the upload folder by itself.right now it creates the thumbs and so but I want the script to create the folder automatically <?php function createThumbs($pathToImages, $pathToThumbs, $thumbWidth) { $dir = opendir($pathToImages); while(false !== ($fname = readdir($dir))) { $info = pathinfo($pathToImages . $fname); if( strtolower($info['extension']) …

Member Avatar for pixelsoul
0
164
Member Avatar for Aditya_4

package display; import java.io.File; class display { int file=0, directory=0; void list(String path) { File root = new File(path); File[] f1 = root.listFiles(); for (File S : f1) //error { if(S.isDirectory()) { list(S.getAbsolutePath());//error directory++; } else if(S.isFile()) { file++; } } } } package display; public class displaymain { public …

Member Avatar for IIM
0
264
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to delete a folder and everything in the folder in ftp.

Member Avatar for cereal
0
383
Member Avatar for yvrej17

I'm trying to search on how to store the image in a local folder and save its path and filename in ms access using vb.net but a lot of topic makes it more confusing for me. I'm just a student and working on my baby thesis. I'm currently building an …

Member Avatar for TnTinMN
0
785
Member Avatar for wendyj

I'm running Win XP (SP3) and I've noticed an irritating glitch in the last few months which I've finally solved, so I thought I would pass it on. It's pretty trivial, which is probably why I could find nothing for it. I've always set Explorer to open a folder in …

Member Avatar for kazicomputer
0
320
Member Avatar for robinotje

Hello everyone, I'm new to C ++, and I want to know how to delete a whole folder. I've tried to do this, but it doesn't work. Can anyone help me? [CODE]#include <iostream> #include <stdio.h> using namespace std; int main() { remove ("c:\\users\\asus\\new"); return 0; }[/CODE] I'm running Vista, and …

Member Avatar for Ancient Dragon
0
15K
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to restrict sub directories from accessing the parent directory (the main directory where all my website file are stored) and from having any interaction with the previous folders (so once there in the child folder they can't leave it eg. …

Member Avatar for pritaeas
0
289
Member Avatar for shazstar

Gone back to using old laptop with wireless mouse and keyboard and had to update numerous programs. Now the mouse or cursor has movement issues. In win explorer can only select last file in directory - ie 'zebra' and unable to scroll down web pages, pdf files etc. Tried system …

Member Avatar for extr3mex
0
339
Member Avatar for navi18

I have a folder which consists of .doc and .xls files..i want to search a particular file from a folder and display the contents using php code.how to do it?i am new to php

Member Avatar for navi18
0
2K
Member Avatar for lebo.bytes

Imports System Imports System.Data Imports MySql.Data.MySqlClient Imports System.IO Imports System.Diagnostics Module Module1 Dim myConnection As MySqlConnection Dim MySQLConnectionString As String Dim CommandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String) = My.Application.CommandLineArgs Dim FILE_NAME As String = Nothing Dim dir As String = "C:\Mytest\" Dim strDate As String = Nothing Dim serv_type As String = …

Member Avatar for G_Waddell
-1
665
Member Avatar for eesha.ebaad

my images are stored on server in folder "Albums".To access images the path is "/Albums/". I have tried this code but its not working.boxes for images appear on page load but after that immediately disappear. <asp:ListView runat="server" ID="listView"> <ItemTemplate> <asp:Image ID="img" ImageUrl= '<%# "/" + Eval("PictureLink")%>' width ="44" height ="45" …

Member Avatar for prashantchalise
0
108
Member Avatar for mmcdonald

Hey all, I have a folder called 'templates' in my root dir (../templates/). When a PHP form is submitted I want to copy a folder out of 'templates' called 'template1' (../templates/template1) and paste it into the root directory but with the new name of 'username123'. How can I copy, rename …

Member Avatar for mmcdonald
0
410
Member Avatar for Qyla21

hi!i need your help.Here are my question. i need to create a folder for that particular user and store the .pdf file inside, means different user for different folders.and inside the folder.i really need full coding.please help me!! :'(

Member Avatar for nuraqilah.ahmadkhairi.7
-1
189
Member Avatar for easterbunny

Hi, I'm a beginner in android and i want a simple activity/class that acts as a folder chooser, i found some on the web but they are really hard to implement with my current knowledge and want a simple startActivityForResult() kind of a class. Best regards

0
129
Member Avatar for sai.ande

I have used treeview to display a local folder. There are few pictures in the hierarchy of folders. I want them to display thumbnails and when I clicked on them it should display bigger view. How is it possible. I wish to use jQuery with Asp.Net and C#

0
173
Member Avatar for Mike Askew

I'm after some advice really. I wish to create an application for myself and a friend using DropBox as a means to store and sync a CSV with data in. Is it possible to programatically search through a computers directory to locate folder called 'Dropbox' without hardcoding its location? If …

Member Avatar for Cap'nKirk
0
144
Member Avatar for Chuckleluck

Hello, I have a simple question. Say I have two files in a folder "Cpp Projects". One file is called "main.h", and the other is inside another folder, say, "Cpp Files", and it is called "main.cpp". Thus, their filenames would be: "...\Cpp Projects\main.h" "...\Cpp Projects\Cpp Files\\main.cpp" Is there a way …

Member Avatar for mike_2000_17
0
15K
Member Avatar for maha kamal

hello, i want the code in c#, working on a project. i have code in which i click on the button named OPEN FOLDER, next step is, it open window for browsing, then user select the folder containing images. after selecting folder, the upper half of same folder that was …

Member Avatar for smengr
0
180
Member Avatar for DAZL

Hey Guys, I'm struggeling with an idea of mine and hope there's someone here who can help me. **My idea:** A small gallery package, consisting of as few files as possible (html, css, javascript) that can read the /images folder in the same folder, and output those files to the …

Member Avatar for DAZL
1
245
Member Avatar for Patiodude

I want to include a .php file, containing a menu bar, in all my pages. Thing is, some of these pages are at different levels: for example, on might be in the root directory, another might be in root/news, another in root/news/2012, and so on. What can I do to …

Member Avatar for glycerine
0
200
Member Avatar for nikki05

Hi, I am able to delete the data from database. My Problem is how to delete a file from the folder that is linked to the database using c#, asp.net. Below is my code snippet for your reference. I would greatly appreciate your help/suggestion. Thank you. protected void lnkdelete_Click(object sender, …

Member Avatar for Mitja Bonca
0
298
Member Avatar for OrangeTree

Hi :). I use this code to create a file: #include <cstdlib> #include <fstream> using namespace std; int main () { ofstream file("main/articles/giraffe/article.txt", ios::out); file.close (); return 0; } How can I simplify **create path of folders** (on **unix system**) "main/articles/giraffe/" - if folder "main" doesn't exist? With using standard …

Member Avatar for OrangeTree
0
238
Member Avatar for maharjun

The doubt which i currently have is regarding the functioning of defragmenting software. i.e. when you defragment a disk. does a defragmenter defragment only files or also folders. e.g. lets say i have a directory "folder\" in it are some 200 files. if i run the defragmenter then each of …

Member Avatar for breactiv
0
160
Member Avatar for athulram

I have a website which holds articles. So right now theres a page called viewarticle.php and i use GET to send the article id so that it will be retrieved by MySQL database (for eg. viewarticle.php?id=2 loads article no. 2) But instead of that is there a way of refering …

Member Avatar for vibhaJ
0
183
Member Avatar for atomdaya

idk much abt tech n all but i need help asap! my frn installed some software today (i really dont knw it was) n now m unable to open Computers or any of the files/folders and also unable to uninstall. wen i click on control panel only a blank window …

Member Avatar for JorgeM
0
169
Member Avatar for razamughal67

Hello every one i think all is fine i want to open a folder with a file path Example: i have a file path c:\testfile.txt now we want to open folder of this file where save my testfile.txt file using a command botton i mean {open containing folder} please help …

Member Avatar for razamughal67
0
10K
Member Avatar for Sawamura
Member Avatar for NathanXimenez

We are delighted to unveil our all new Mac App "Appinator"..... App Store URL; [URL="http://itunes.apple.com/us/app/appinator/id492515875?mt=12"]http://itunes.apple.com/us/app/appinator/id492515875?mt=12[/URL] Appinator gives you the simplest, most intuitive way to change your icons, change your wallpaper and to create your own icons and wallpaper from your own great images in one click! To get you started …

0
216
Member Avatar for NetJunkie

Hello DaniWeb, it has been a while since I have asked a question here so I thought now would be a great time to do so. I am creating an application that loops through the file names of a specific directory, in this case, the System32 folder. I want the …

Member Avatar for Reverend Jim
0
195
Member Avatar for asuprem

On my computer, I have Ubuntu 11.1 and Kubuntu 11.1 installed as dual-boot. When I started, I specified completely separate partitions for both of them, but I now realize I want them to share the same home folder, i.e. the same desktop (I keep everything on my desktop). Any way …

Member Avatar for khajvah
0
295

The End.