creating

Dynamically creating a project in VS2005 using C#

Is it possible to progmatically or dynamically create a project in VS2005 using c#? If so could someone provide some ideas or links on how to accomplish this? ...

Creating multiple TextInput fields in for loop

HI, I need to loop through an array and for each element create a textfield. My problem is how to create a new identifier for each new TextInput this is my code; var count:Number = 0; for (var i:String in columnsData) { var myTI:TextInput = new TextInput(); myTI.width = 70; myTI.height = 25; myTI.text = columnsData[i]; myTI.name = "my...

Problem opening excel 2007 in new instance using VBA (using OLE and bound object frame)

Hi Guys, I have problem creating new instance of excel 2007 using VBA (from Access 2002). At first I misunderstood the problem and it is more complicated than I thought. Set myXL = CreateObject("Excel.Application") Creates new processes (I thought it didn't), but still strange thing is happening. I use OLE to store Excel files in SQ...

How to use Windows Forms in a C/C++ application?

I have an existing project created using C/C++ under a development environment. Currently we want to facelift the existing form using a Window Forms application but the problem is the existing project is using Common Runtime Library = No /CLR and Runtime Library = /MTd. But the a Windows Forms application is using Common Runtime Libr...

T-SQL - Creating a Local User On Windows OS

Hi, My requirement is that I need to create a local user on my System (On my Windows OS) using T-SQL. And I need to set this user under ‘Administrators’ group. Using this local user I should be able to login to my Windows OS (At System Startup). Is it possible? If so may I know how could we do this? Many Thanks, Regards. Anusha. ...

creating procedure/tables from java files

hi, i am having the script of tables in normal txt files also i have scripts for procedures and functions. Now, i want to just read that file from java and i want op fire that string (script) on DB.. is it possible.. i have written statements for all DML queries, but here i want to use DDL queries from Java.. can any one help me.. ...

Creating raw ISO image

How can I create raw ISO Image ? I mean I am programming simple system in assembler and I want to create an ISO which could put binary file (whole system is in one file) in BootSector. Could you help ? ...

creating addin setup project for all users VS 2008

I developed addin for VS 2008 which is used by many users. I have to deploy it this address "C:\Documents and Settings\All Users\Application Data\Microsoft\MSEnvShared\Addins". Although I changed parameters for setup properties, wizard deploy binaries to Program Files[Manufacturer][Product Name]. How can I do it? ...

Hi, I want to create new DOCX file by reading DOCX template (it's content is already replaced)

Up to now code is read the template and replace with new values and finally replace the docx file with new values. Can any one please tell me how to save the replaced docx file in diffrent name?. My code is bellow. using (WordprocessingDocument wordDoc = WordprocessingDocument.Open(document, true)) { string docTe...

creating large database 10gb for informix

creating large database 10gb for informix ...

COM IUnknown and do I need a pointer to it first before calling CoGetClassObject?

In COM, when you want to create an instance of some COM Server object, do you first need to get a pointer to it's IUnknown interface and only then create a class object using CoGetClassObject? As far as I understand it, IUnknown is used to manage object lifetimes, so from my understanding, whatever object the client wants to create, one...

Creating and using multi-dimensional array in php

$breakfast = array( 'rest_id' => $rest_id , 'type' => 'Breakfast' , 'value' => $bprice ); $lunch = array( 'rest_id' => $rest_id , ...

create 3 dimensional array with different lengths

hi, I am a beginner of R. I want to create a 3 dimensional array but I can not define the length of each dimension. I am analysing students' marks of a class. there are 10 classes but it has different number of students. And "Grade" will be 100-90, 89-80, 79-70... until there will be any student who got the relevant marks. I was going t...

Making a .ico file using gd and php

Does anyone know how to make a .ico file that will work in Intenet explorer? I can't seem to get anywhere here is my gd code $im = imagecreatefromjpeg(FAVICONDIR.'normal/'.$filename ); list($width, $height) = getimagesize(FAVICONDIR.'normal/'.$filename); // get the width and height of the jpg $image_p = imagecreatetrueco...

Using php to create a zip file

Hi Using the Create ZIP File PHP class I have the following line of code $createZip->get_files_from_folder('blog/wp-content/themes/', 'themes/'); Am I right in thinking that this code gets the files and sub directories from 'blog/wp-content/themes/' creates a new folder entitled 'themes', and then puts these files and sub directories...

Creating and writing files with php

Hi Is it possible to pass a variable to 'file_get_contents' in php? Am getting errors and wondered if it was my syntax. Am using the code below. $page=file_get_contents('http://localhost/home/form.php?id={$data['form_id']}'); $fp=fopen('form.html','w+'); fputs($fp,$page); fclose($fp); thanks rifki ...

Array of objects in Javascript - Struts Forms

This is for a web application using struts. I have an array of objects in my Form that gets listed in a table. A user can add/edit/delete from the table. How would I send the changed table back to the Action class? Will I need to create a string or array of strings, and parse that into an object? Is there a way that java/struts handles...

How to create a folder using a variable name in C#?

Hi, Directory.CreateDirectory(@"C:\test"); Works great. I'm able to create the folder. BUT code below doesn't work. using System; using System.IO; class iolar { public static void klasorOlustur() { Console.WriteLine("Oluşturmak istediğiniz BİRİNCİ klasörün adı?"); string a=Console.ReadLine(); Console.WriteLine("oluşturmak i...

Permission denied on creating a folder under wwwroot/vhosts/sitename/test using VBScript

Hello, I am trying to make my ASP page to create a folder on a directory path. I am getting an error: Microsoft VBScript runtime error '800a0046' Permission denied I now its somthing to do with IIS 7 IUSR permission for the folder. The code is below. <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% dim strUserName foldername= "myfol...

How to load a grid from XAML codes and add it to a stackpanel dynamically/at runtime?

I generate the XAML codes which actually describe a valid grid control - called the GridXAML. I want to create a grid object and add it to a stackpanel on my form. How can I 1) create an object from its XAML string value, and 2) add it dynamically to a panel? Please help! Giving a specific sample context as below. The generated grid's...