6,015 Topics
![]() | |
Hi All, I'm looking for some assitance in binding (or joining) Active Directory to an Open Directory Master.. We are a Mac based company with mostly all Mac OS servers, however our accounts server runs Windows. We are in the process of upgrading our accounting software onto a new WIndows … | |
I have created one GUI.java file inside it i have written a code of GUI,which includes filechooser and button. I also have created logic.java file, inside it i have write my logic for performing some operation. On the click event of button, i want to pass a path chosen by … | |
not able to upload more then 2 mb of file in php i m using post method | |
hi i want to create a project that accepts the image and save it into a database and retrieve 1.i created a table in mysql database with datatypes varchar and blob. 2.to save the file into a blob datatype the file is to be converted into a inputstream 3.i created … | |
Hi the problem I am faced with is after adding around 35 video files of both .avi and .mpg with a total file size of around half a gig to the resources of my project, I get an error message on debug telling me "Error 1 Unable to write to … | |
hi i wan to add my `.xml` files into `database` and into the directory `uploads` . i have following done into the `php` if(isset( $_FILES["f_name"]) { $path = ""; if(file_exists("uploads/" . $_FILES["f_name"]["name"])) { echo $_FILES["f_name"]["name"] . " already exists. "; } else if($_FILES["f_name"]["type"]!= "text/xml") { echo "invalid type is tried … | |
I have a small problem why is this code not writting information into the userdata.txt file? I am not getting any errors in code blocks it runs but the file does not get any data. While in visual c++ the code gives me "debug assertion failed...expression: str(!=NUll)". What am i … | |
on linux i have been using pwd to get the file owner, but how do i do for Windows in python 2.6 since pwd module is supported in linux only..? | |
How to convert C++ code to C. Write a program in C that asks a user for the name of a file. The program should display the first 10 lines of the file on the screen (the "head" of the file). If the file has fewer than 10 lines, the … | |
I want to read a datafile which consits of 5 coloums and 4 rows, which consists of numbers seperated by commas. The first line of the data file looks like this: 103343, 24, 55, 24,12. I have started my program by allowing to input the file in my program, however … | |
I am using codeigniter 2.1.2 and Bootstrap. I am opening a form in a modal window. The form is inside a div with id status. The form has a few input fields and an upload file field. I am trying to submit the form with ajaxForm. In my controller I … | |
When im using fstream.h its giving an error with using namespace std, how ever when i use simple fstream without .h , it is not giving error but not reading the file, How can i use fstream object using fstream.h header file along with using namespace std? Your urgent response … | |
Hello, I'm currently working on a homework problem that requires me to create a dictionary from a .txt file that contains some of the worst cars ever made. The file looks something like this: 1958 MGA Twin Cam 1958 Zunndapp Janus 1961 Amphicar 1961 Corvair 1966 Peel Trident 1970 AMC … | |
Hello guys, I want to create download file script, I used an **id** to refer to a file in my site here is the script get the id and search in database for filename then return it for download. <?php if ($_GET['file']) { $id = (int)$_GET['file']; $sql= "SELECT filename FROM … | |
Hello, I am trying to access a binary file with scanner functionality. I am trying to extract integer, long double value from the binary file. The binary file formation is as follows The binary file is in little Endian and is structured as follows: * * <ul> * <li>1 integer: … | |
I want to include an external php file in wordpress single.php file; conditional to existance of certain custom taxonomies. That file should only include if post is linked to specified custom taxonomies. If custom taxonomy terms do not exist for that post, then file should not appear. Thanks in advance; ![]() | |
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']) … | |
Can anyone help. I have the following code: Private Sub Worksheet_Change(ByVal Target As Range) If Target.Column = 7 Then MakeHyperLink Target, "Q:\" End If End Sub Option Explicit Private Files As Dictionary Private StrFile As String Dim StrFlePath As String, FleCollection, fle, f1, fs, f2, subfld Sub MakeHyperLink(InRange As Range, … | |
I have problem reading file form command line. I am trying to do " abcd: ./rev < numbers", but it gives me an error: ./rev < numbers Usage : ./rev FILENAME Here is the code: #include <stdio.h> #include <stdlib.h> void reverse(FILE * file) { int fscanf_return_value; char x; /* read … | |
The program i want to code is user will enter 2 ebook title,edition,year and pages.After that must write to binary file and read the binary file again to found the book with the highest pages.The first problem is why i cannot use this statement. printf("Enter ebook title: \n"); scanf("%s",mybook.title[i]); I … | |
##TASK Step One The DNA molecule is a double-helix. You can think of this double helix as two parallel sequences of DNA with nucleotides or bases (A,C,G,Ts) on one strand matched with their associated nucleotide on the other strand according to the following rules: A matched with T C matched … | |
Can anybody suggest me the android code for connecting two devices that are transmitting files using bluetooth or ad hoc ? Any kind of help will be appreciated. | |
You might not have heard about Dirt Jumper yet, but the bad guys have. In fact, the high-risk and highly-effective DDoS toolkit is probably the most aggressive of the malware tools being employed by DDoS attackers at the moment, and the situation is set to get much worse very quickly … ![]() | |
I'm trying to extract some metadata from a m4v file. I'm looking for the duration, height, width, etc. I do all my programming on a Raspberry Pi and was looking at gexiv2 but could not get it going. I got exiftool working though. My script looks like this: import exiftool … | |
i added file extesions to associate with my program from Puplish/Option/File Association But i dont know how to execute related codes when users open the file associated with my program? how can it perform a specific code associate file type and determine which file type it is after program loaded? | |
Hello guys, I'm making a website and i have a problem with the images from the css file. I'm using subfolders for the website (www.domain.com/category) and i'm using css sprites for the images and i'm having problems including the images. i don't want to use absolute paths. The path to … | |
hi. The file called test.txt contains names as John Smith Walter H. Kepler Gary Davies and so on.. I need to read only the lastnames from the file so that I can sort it in alphabetical order.For this I read the name as John Smith then go backwards as h,t,i,m,S … | |
Hi , I am trying to get a photo type base to work and have got stuck , I have 3 files , 1- the html - that takes the input called door.html 2- the connect.php to open the base. 3- the php to insert insert.php. 1= <FORM method=post action=insert.php><P> … | |
Hi Guys, I am attempting to write an application that copies any file from the user's local machine to another server on the same network. The Catch The server that will house the application is separate from the server that will receive the files from the local user's machine. In … | |
How to read a specific value from a text file and then save the value in another text file. Example: in data.txt file there is some values. Item Name : m-01 Item Brand : One Man Item size : XXL Item Price : 1000 Item vat : 15% these are … | |
Previously i've done it in VB6 in following ways: for lock database Sub lockDb(bPath As String) On Error GoTo Ermsg Dim iFreeFile As Integer Dim lLoop As Integer Dim sString As String iFreeFile = FreeFile() 'Get free file # Open bPath For Binary As #iFreeFile 'Open specified file for binary … | |
I'm trying to make website where user can upload a photo in a form. However somethings gone wrong in which keep telling me that I have a 'invalid file'. The information which the user typed in was actually uploaded to the database, but not the image. I've tried to saparate … ![]() | |
Hi all, Using my application I've found a file path anywhere on my machine and store the full path in a CString variable. That is full path, like this, [CODE]G:\Work On\CPP\001_002_003.txt[/CODE] What I want to do is, find the name of the file(without the extension), 001_002_003 according to my example. … | |
I would like to display a file that is hidden from the user (& the internet in general). It will be a pdf file but I can't figure out any way to keep it completely hidden. I had tried using .htaccess but either I didn't create it properly or it … | |
Dear all , i have an csv file . I wanna copy content particular column and paste in another csv file.where i am trying to calcultion and plot graph assume original csv file contain i.e column 4 contain time(hh.mm.ss) format continue by other columns i wanna copy these data to … | |
Hi, I just started learning python a few days ago...and I'm already stuck on something easy TT.TT I have a Tab-Separated-Values data.tsv file that contains 3 columns (country name, area, and population). here's a snippet of my current tsv file country area population MACAU 28.2 578025 MONACO 2 30510 SINGAPORE … | |
I am running Visual C++ 2010 Express on Windows 7 Ultimate SP1 32-bit. I have written a small program aimed at reading the contents of a given directory. However, while the program compiles correctly, it will not run as it says that opendir, readdir and closedir are unsatisfied externals. What … | |
I've decided to try my hand at programming neural networks since I'm in an adaptive critic course. The thing that I want to attempt is a solver for the game located here http://moh97.us/flow/. You basically have to connect like-colored circles together without crossing over any paths and while filling up … | |
Hello, I am trying to create a simple file browser like: [media manager](http://www.rustoleum-indonesia.com/media%20manager.jpg) how? | |
![]() | Hi Guys, I was trying to code in C for the following. You are given with 2 files, file1.txt and file2.txt. The contents of the file contain INTERGER values. Add the contents of the file and write them to another file file3.txt. My code is as follows #include <stdio.h> #include … ![]() |
IE download window keep opening can't do anything. Bought kaspersky but I can't load it. My computer just show multi windows of "view downloads" download showing is explore.exe most of the time but could be anything. Any help would be much appreciated. | |
Hello Community, I need help using the ftp_nlist command, what i'm trying to do is look in a directory but the directory is two separate string (eg. "New folder") and it is saying there is nothing in there but there is i'm sure the problem is because the two separate … | |
Hey guys, I have a silly issue that is bothering me. I am trying to read an unknown amount of lines from an input file and basically stop when I reach the EOF. I probably does'nt matter but the assignment is to create a simple lexical analyzer/scanner for a mini-subset … | |
#include "LVdefs.h" struct konfigDatei { char tableName[50]; char columnName[128]; char primary1[50]; char primary2[50]; char primary3[50]; char primary4[50]; char primary5[50]; char primary6[50]; }; main( int argc, char * argv[] ) { int loop = 0; int count = 0; struct konfigDatei kd[50]; char line[500]; char *ch; FILE *f = NULL; f … | |
Hi, I have a problem compiling the "pjproject.sln", and I have the following error appearing: "fatal error LNK1104: cannot open file 'dsound.lib'" Build log was saved at "file://c:\Users\SLF101\Desktop\PJ Project\pjproject-2.0.1\pjmedia\build\output\pjmedia_test-i386-Win32-vc8-Debug\BuildLog.htm". Could anyone help me solve that problem? It seems like it does not want to open the "dsound.lib" file everywhere. That … | |
Hy every body, i am a new people in here, so i am need all of your help, please.. i have the script ajax like this, <script type="text/javascript"> jQ(document).ready(function() { jQ().ajaxStart(function() { jQ('#loading').show(); jQ('#result').hide(); }).ajaxStop(function() { jQ('#loading').hide(); jQ('#result').fadeIn('slow'); }); jQ('#frm').submit(function() { var formData = new FormData($(this)[0]); jQ.ajax({ type: 'POST', url: … | |
I am using this [application example][1] and try to model it to fit my needs. I am modelling your index.html.erb to fit my needs. I want to get rid of "start" button in order to prevent single-file upload (I dont want it), but it seems that "start upload"(multiple upload)-button is … ![]() | |
This code creates XML File Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connetionString As String Dim connection As SqlConnection Dim adapter As SqlDataAdapter Dim ds As New DataSet Dim sql As String connetionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Danial\documents\visual studio 2010\Projects\ESI_PF_Payroll_V1\ESI_PF_Payroll_V1\Pay.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" connection = New … | |
I want to implement simple file upload with progress I like the services provides by [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload) I tested the example provided with script <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>jQuery File Upload Example</title> <style> .bar { height: 18px; background-image: url('img/progressbar.gif'); } </style> </head> <body> <input type="text" name="textfield" /> title <input … | |
![]() | I got this snippet of code from a larger program I've been writing and I'm stuck. All I'm trying to do is read from a file line by line but I keep picking up the new line character, at least that's what I think it is. #include <stdlib.h> #include <stdio.h> … ![]() |
The End.