create

ASP.NET C#: Create sub-folder in another website on same server

I am in the need to create sub-folders within another website on the same server as the requesting website. How do I go about doing this? I have tried Server.MapPath(path) but it is creating the folder within the current website. I.E.: websiteA on server 123 needs to create a directory within websiteB on server123. Please help ...

iPhone create folder inside documents folder

Hello, i just want to create new folders in the documents folder of my iPhone app does anybody know how to do that ? appreciate your help! ...

PostgreSQL create table if not exists

In a MySQL script you can write: CREATE TABLE IF NOT EXISTS foo ...; ... other stuff ... and then you can run the script many times without re-creating the table. How do you do this in PostgreSQL? ...

Creating a hotmail account from C#

Does anybody know how I would go about creating a new hotmail account from C# ? Screenscraping and POSTing ? or is there a simpler way ? ...

How do I create and read an xml file with jquery

I know there is alot of information to do this in the internet, but I got very confused. I want to create an xml file and send it with Ajax to the server. I will need to reseve and xml file back. This is an example of the XML file I will need to create. <?xml version="1.0" encoding="UTF-8"?> <data> <item>dkfjgn</item> <item>sd...

Creating an XCode project from the command line?

I get a new project coming across my desk on an hourly basis. They all adhere to a very strict format, so it isn't terribly difficult to create a new project from scratch every time, but it is something that I should be able to do from a script that just constructs and builds the entire project. It would save me a helluva lot of time t...

Create Sub-directories based on the file names in the folder & move each file into the corresponding sub-folder

Hi, I have about 600 files in a single directory and to meet the requirement of a cataloging application I use - the files need to be in separate folders named after them. For example: filename1.jpg filename2.zip filename3.png ..............and so on...(files have various file exts - folders can have this info or not - doesn't matter if...

How do I create series of div and make them accessible for jquery to modify them after a while?

I want to create some DIV from javascript. I don't know how many I will need to create, but I will need to change the back-color of it after a while. I'm using jQuery in my project. So if it's easier the solution can use jQuery. ...

Can I use Eclipse JDT to create new 'working copies' of source files in memory only?

I'm using Eclipse JDT to build a Java refactoring platform, for exploring different refactorings in memory before choosing one and saving it. I can create collections of working copies of the source files, edit them in memory, and commit the changes to disk using the JDT framework. However, I also want to generate new 'working copy' sou...

excel workbook isolated storage

can we create an excel workbook at isolated storage area using data from server side..in silverlight.? ...

Insert two rows on one create action in controller

I have a form that is used to record a transaction. Liquid is moved from one tank to another. My form takes the from tank and the to tank and the number of gallons transferred. i would like this to be entered into the database as two rows. The first would be the from Tank ID and a negative number and the second row would be the to Ta...

Creating a database remotely using C#

I'm trying to create a database by remote connecting to a SQL Server Express using Visual Studio 2008. I log onto SQL Server using SQL Authentication. I can do that remotely using SQL Server Management Studio Express no problem by using the following command: CREATE DATABASE dbname ON (NAME='dbname_dat', FILENAME='C:\folder\dbn...

Create table and fill with test data provided as text

What is your way of creating and populating test tables in MySQL when looking into SO questions where tables (but not CREATEs) and test data (but not INSERTs) are provided? And what client do you use? EDIT: Here's a simply example of what I mean on SO. ...

Create directories using make file

Hi all, I'm a very new to makefiles and i want to create directories using makefile. My project directory is like this +--Project +--output +--source +Testfile.cpp +Makefile I want to put all the objects and output into the respective output folder. I want to create folder structure which would be like this afte...

Add toolbar Dialogbox with Win32 API

Hi; I have a dialog box on which controls are added with resource editor. But I am trying to create a toolbar on the fly in WM_INITGDIALOG message but the toolbar is not visible. Is there something else to do make it visible(I dont think so but...). If this is not possible how can add a toolbar in resource editor. As you guessed I use ...

Visual Web Developer - ASP.NET Web Application Administration PROBLEM.

Hi All, Was wondering if somebody could please help me solve this. I've follwed all steps correctly, but when I go to create a new user, it keeps saying "Password length minimum: 7. Non-alphanumeric characters required: 1." I have tried about 20 different combinations of passwords and it just keeps saying the exact same thing and won'...

How to export an error when entering the value in Qty column in the table Sales greater value in the column in the table QOH Item_Detail (Use trigger)

I HAVE TWO TABLES: Sales and Item_Details Sales Sl_No, Item_No, Price, Qty, Date_of_sale Item_Details Item_No, Item_Name, Price, QOH I have two questions : 1/How to export an error when entering the value in Qty column in the table Sales greater value in the column in the table QOH Item_Detail (Use trigger) ...

NSIS- Error handling

I have written an installer and uninstaller in NSIS which creates and drops an sql database, which is working fine. I have written some .bat and .sql files to create and drop the database and then just call these files from NSIS script. My problem is if I keep this database open in SQL Server Management Studio and run the uninstaller ide...

Manually Generate URL for Rails App (for the create action)

I'm working on an iPhone app and I need to figure out how to properly nest the information in the URL (really a POST body) in order for rails to recognize it as an object hash such as: Parameters: {:student => {:name => "Bob", :age => "13"}, :user_credentials=>"..."} I've tried the following two ways and neither work for me: /studen...

Why would I want an Oracle user without 'create session' privilege?

I just learned that by default, Oracle does not grant the 'create session' privilege to new users. No problem, I can do that myself. Anyway, I'm curious: why would I want an Oracle user without 'create session' privilege? What can it be used for? There must be some non-obvious use. My first thought was running database jobs, but AFAIK t...