6,015 Topics

Member Avatar for
Member Avatar for gn0m3

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 …

Member Avatar for gn0m3
0
257
Member Avatar for jalpesh_007

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 …

Member Avatar for stultuske
0
169
Member Avatar for ajay09payal
Member Avatar for IIM
0
181
Member Avatar for bdheeraj

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 …

Member Avatar for bdheeraj
0
201
Member Avatar for jakewebb

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 …

Member Avatar for tinstaafl
0
1K
Member Avatar for shahai.ali

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 …

Member Avatar for Daniel Claff
0
276
Member Avatar for Stpdoug

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 …

Member Avatar for Stpdoug
0
210
Member Avatar for krystosan

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..?

Member Avatar for krystosan
0
116
Member Avatar for mical700

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 …

Member Avatar for deceptikon
0
1K
Member Avatar for BWASS

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 …

Member Avatar for deceptikon
0
106
Member Avatar for cgull

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 …

Member Avatar for cgull
0
1K
Member Avatar for AmerJamil

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 …

Member Avatar for deceptikon
0
982
Member Avatar for dirtydit27

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 …

Member Avatar for snippsat
0
380
Member Avatar for OsaMasw

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 …

Member Avatar for OsaMasw
0
398
Member Avatar for mdfaisalamin

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: …

Member Avatar for ~s.o.s~
0
244
Member Avatar for ehmud

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;

Member Avatar for LastMitch
0
558
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
166
Member Avatar for Divinedar

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, …

Member Avatar for Divinedar
0
352
Member Avatar for mical700

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 …

Member Avatar for mical700
0
369
Member Avatar for cupin06

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 …

Member Avatar for Ancient Dragon
0
206
Member Avatar for poopoowei

##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 …

Member Avatar for poopoowei
0
340
Member Avatar for maurya10

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.

0
80
Member Avatar for happygeek

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 …

Member Avatar for LastMitch
1
512
Member Avatar for 4evrmrepylrning

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 …

Member Avatar for 4evrmrepylrning
0
3K
Member Avatar for ulasoc

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?

Member Avatar for TnTinMN
0
207
Member Avatar for dalilice

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 …

Member Avatar for pixelsoul
0
264
Member Avatar for gkaran487

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 …

Member Avatar for JamesCherrill
0
179
Member Avatar for Kniggles

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> …

Member Avatar for Kniggles
0
481
Member Avatar for GTTravis

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 …

Member Avatar for GTTravis
0
809
Member Avatar for paku_dnj

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 …

Member Avatar for paku_dnj
0
486
Member Avatar for rajendradhakal

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 …

0
65
Member Avatar for icehiro

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 …

Member Avatar for diafol
0
146
Member Avatar for eranga262154

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. …

Member Avatar for Gorf
0
2K
Member Avatar for hlamster

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 …

Member Avatar for cereal
0
651
Member Avatar for ajit.nayak3

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 …

Member Avatar for bumsfeld
0
318
Member Avatar for jellyworms

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 …

Member Avatar for bumsfeld
2
287
Member Avatar for normanallen

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 …

Member Avatar for normanallen
0
258
Member Avatar for leeroldy

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 …

0
183
Member Avatar for davy_yg

Hello, I am trying to create a simple file browser like: [media manager](http://www.rustoleum-indonesia.com/media%20manager.jpg) how?

Member Avatar for mattster
0
63
Member Avatar for SoreComet

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 …

Member Avatar for SoreComet
0
366
Member Avatar for mudma1999

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.

Member Avatar for Rik_
0
272
Member Avatar for joshl_1995

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 …

Member Avatar for joshl_1995
0
582
Member Avatar for alex910TN

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 …

Member Avatar for deceptikon
0
6K
Member Avatar for syedalisajjad

#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 …

Member Avatar for syedalisajjad
0
195
Member Avatar for cargito

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 …

Member Avatar for Ancient Dragon
0
984
Member Avatar for cokerz_written

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: …

Member Avatar for pixelsoul
0
270
Member Avatar for akvarel1

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 …

Member Avatar for LastMitch
0
399
Member Avatar for chdboy

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 …

Member Avatar for chdboy
0
250
Member Avatar for OsaMasw

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 …

Member Avatar for OsaMasw
0
673
Member Avatar for die_raupe2

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> …

Member Avatar for die_raupe2
0
305

The End.