open

open a tab using a text link on the same page

I have a series of tabs with content and want one of the tab/contents to open when a user clicks on a link on a sidebar. How do I do this please in simple terms and instructions. I've managed to set up the tabs using jquery but not really al that js savie!! ...

C fopen vs open

Is there any reason (other than syntactic ones) that you'd want to use FILE *fdopen(int fd, const char *mode); or FILE *fopen(const char *path, const char *mode); instead of int open(const char *pathname, int flags, mode_t mode); when using C in a Linux environment? ...

Internet Explorer calling window.onbeforeunload on window.open and AJAX calls

Ok, I have spent a while on this problem and this is what I have gathered: If you make an AJAX call in IE7 and you have a window.onbeforeunload function specified, it calls the onbeforeunload function. If you try to open a new window with window.open WITHOUT disturbing the current window, the onbeforeunload gets called. Does anyone k...

javascript jquery file opener

Hi all, i was wondering if anyone knew a quick solution to my problem. I want to be able to open a folder on users screen pretty much the same as but just opening up the my computer folder so a user can drag a file onto the browser screen. anyone know how? ...

Should I Open Source my MonoTouch .NET iPhone application?

It's a small application, named Simon Basic Edition, and it is in the Apple Apps Store top 100 in Games > Kids. The first version is pretty basic, but I made a bunch of improvements in 1.1. which was submitted a week ago to iTunes Connect. Based on the same source, I have written another Simon Cards Edition which is also waiting for th...

Read a file into dynamic memory array using malloc and POSIX file operations

Possible Duplicate: reading a text file into an array in c Hi, I'm trying to read a file into a dynamic array. Firstly I open the file using open() so I get the file descriptor But then I don't know how can I allocate the memory using malloc to a dynamic array in order to do some data modification in the file from memory. Than...

Is it possible to use opendir repeatedly in C?

I am trying to debug right now in C and am curious if it is alright to call opendir() repeatedly without having to first call closedir() because I am trying to run a loop to open sub-directories when the while-loop that calls readdir() encounters them. And I assume that closing the current directory would cause me to lose the ability to ...

maven open source project

Please, I want to test CVS and Maven tools within an existing project so: is there any open source project that I can check out from its "CVS" and build it with "Maven"? thanx in advance ...

Email control in .NET environment

I am using .NET and I wonder if there is some free program (or .NET open source) that can help to queue and control email outflow: Every time an email supposed to be sent, put it in the queue (database) Queue database will have these information: Timestamp, Email Address, Time in Queue, Time Sent, Success, Number of Retry Email must be...

Open form before windows login c#

I have a c# computer locking system and I am trying to make it so that it shows my unlock form before you log into the computer. I know this is possible because I have seen it before on another program. Thanks. ...

How to run function of parent window when child window closes?

I am calling the javascript window.open() function to load another url in a pop up. Once the users is finished it takes them to the last page that has a link that says close window that calls the window.close() function. Now when that page closes I need to update something in the original page that opened the window. Is there any way to ...

How to reuse existing connection in Open Session In view pattern implementation of Hibernate?

I am using Hibernate by implementing "Open Session in view" pattern?It opens a new connection per request. Is there any way to use the existing connection? Is my understanding correct? May be i miss something during implementation which cause opening of new connection? ...

Build system for a highly modular portable open source project

We have an Open Source software project in the very beginning. The program is thought to be highly modular: for example, the underlying database can be either sqlite, postgre, or berkley, depending on the preferences of the end-user. Only one systematic approach I'm confident with, is to use Autotools (GNU build system). I would like to...

To open pdf and chek the Spelling mistakes in it

Imports System.Runtime.InteropServices Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim proc As New Process() With proc.StartInfo .Arguments = " Acrobe Reader" .UseShellExecute = True .WindowStyle = ProcessWindowStyle.Maxi...

Open File Instead of Save File in Silverlight SaveFileDialog

In Silverlight, there is the SaveFileDialog which allows you to save a file to the user's local machine. The dialog opens only allowing you to save the file. What I'm looking for is a way to open the file similar to the dialog you get when downloading a file through the browser. Aside from round-tripping the file to a server, or havin...

Interface for Open Cascade in Delphi

I am trying to find a way to use Open Cascade(www.opencascade.org) - 3D Modeling Technology in one of our software which is written in Delphi. I did manage top find an ActiveX which supports Open Cascade, but on trying it I did not like the visual quality of rendered images. The ActiveX lib can be found here (www.ewcad.com). I am not ...

How to associate a URL to an application using Cocoa

From the command prompt it's possible to run for example "open http://www.example.com" and have that homepage displayed in the default browser. Similarly you can run "open callto:xyz123" to open up a skype-call to user xyz123. I'd like to do the same with a customized web browser without replacing the default web browser. My idea is t...

How can I reset a file handle receiving standard input in Perl?

When I issue a Perl script some standard input, e.g. $ awk '{print $1"\t"$2}' foo.txt | myScript.pl I have a script which contains a bug. It reads the first line of standard input, gets something from that first line, and then only parses lines 2 through n of standard input on subsequent read: open (FH, "< $input") or die $?; my $fir...

WPF: Open source of xaml control examples

I'm teaching myself WPF and xaml by replicating existing controls and UI from AutoCAD 2010 and Excel 2010. Once the various controls are polished, I would be happy to share any code. Is there sites or communities that are open source and WPF or xaml based? ...

How to open a file and search for a word [Ruby]?

How can I open a file and search for a word inside it using Ruby? ...