create

How to Create PCL file from MS word

How to create new PCL file similar to existing MS doc. I have Ms doc tamplate and replacing it with actual data. I need to achieve same for PCL format (Create PCL file as tamplate and replacing it with actual value from database and send it to fax). ...

How do I create a jar file, which includes xml and html files?

Hi, I am trying to create a jar file which includes some class and java files needed, but I also would like to include some extra xml, xsl, html, txt (README) files. I am using Eclipse on Windows XP. Is there an easy way for me to set up a directory structure and package all my files into a jar? ...

How to create .odt files with C#.NET?

Note: I found this "Creating a Word Doc in C#.NET", but that is not what I want. Do you know how to create a .odt to create file from C# .NET? Is there a .NET component or wrapper for an OpenOffice.org library to do this? Thanks! ...

Should I drop and create indexes on my tables that SQL Server created?

In an effort to get rid of some fragmentation left from rebuilding and defraging we thought that we would drop and create indexes so I went to write a script. It identifies a clustered index that needs work and drops indexes and primary keys and rebuilds the indexes and primary keys for a table. Here is the problem I ran into: SQL Serv...

How to create forms in Microsoft Sharepoint?

Hi I want to create form on my site, which is run using Micrsoft Sharepoint. ...

C# Web reportviewer create link to page with id

Hi, I have a reportviewer and i want a field to act as a hyperlink. The hyperlink must look like: page.aspx?id=1 But how do i achieve this? I have entered in the properties window, navigation tab, radio "Jump to URL": page.aspx?id=sum(Field!field.value) This doens't work :( What do i have to do to get this work? Thnx in advance ...

Is there a way I can create Exchange folders and set permissions through .NET calls?

I'm looking to build a snippet of .NET code that will go into an Exchange server and create a Public folder. Along with this I'd like to be able to set the permissions on the folder. If it's easier to copy one folder to a new one and copy over the permissions that way, that's okay too. Has anyone done this before? ...

Delphi form creation without freezing main thread

Hello everyone. I am having trouble with something i wanna do. I have some big forms which take some time to create. To make the app load faster i thought of letting the forms be created in a thread which is created at main form's OnCreate event. The thread has a FApplication field of type TApplication which obviously is the Application...

How to create a WMI property dynamically?

Hey, I want to create properties dynamically, when the user retrieves the instances of my class. Implementation in c++, but Put can't create properties on the fly. Can someone point me to the function(s) I need to use to "fill" a empty class on the fly with properties and values. Ciao Ephraim ...

Tool to glue dozen of PNG into video

I have made nearly 20 PNG screen captures. I wish to glue them into video. Could you recommend a tool? Better if that would be smooth change from one picture to another, like tween motion in Flash. Using actual flash is not an option. Because tool must be free and run on linux. ...

Creating Table in SQL2005 through .net program

I need to create table on the fly in C#.net program. Task is to export excel file to SQL Database. How to write store procedure for creating table if column name and table name are passed as parameters? I tried to write following SP. ALTER PROCEDURE dbo.CreateTempTable @Param1 VarChar(50), @Param2 VarChar(50), @Param3 VarChar(50), @Par...

create mysql database from java

Is there any possability to create a database within mysql from java. I'm only aware of the String url="jdbc:mysql://localhost:3306/test"; Connection con = DriverManager.getConnection( url, "cb0", "xxx" ); syntax but here you have to specify a database name in the 'url'. But how do I create a mysql database when I only have a logi...

When creating an object in Ruby on Rails, which method of saving do you prefer, and why?

When writing the "create" method for an object in a Ruby on Rails app, I have used two methods. I would like to use one method for the sake of cleaner and more consistent code. I will list the two methods below. Does anyone know if one is better than the other? If so, why? Method 1: def create1 # is this unsecure? should we grab ...

How create file in C++ in a specific place in the PC

Hey all, I have a problem, I don't know how to create a file in C++ in a specific place in the PC. For example a file (.txt) in C:\file.txt. Can anybody help me? Thank you :) ...

How should I generate a random alphanumeric initial password for new users?

We have to automatically import a large list of users with some data into a running system. For an initial password I want to update the list (csv format at the moment) with a random alphanumeric key (8 digits). When inserting it with a special routine (which needs a csv file), the password (in this case the alphanumeric key) is stored ...

SQL CREATE LOGON - can't use @parameter as username

I'm a developer and I suck at SQL:) Please help me out here. I'd like to create my own Stored Procedure that creates a Tenant in my SaaS database. In order to do this I need to create a new SQL Login for the Tenant and then add it to a predefined SQL Role. I'm already stumped just trying to create the Login. Here is what I've tried....

Create Foreign Key SQL

How do I create a foreign key from table tGeoAnswers column 'locationId' to table tLocations column 'id'? ALTER TABLE tGeoAnswers ADD FK_Answer_Location FOREIGN KEY (locationId) REFERENCES tLocations(id) I am trying this code that I found but I get the following error: The definition for colu...

Running console application from C# but application can't create file

i have windows forms application wich runs another console application here is the part of code prog = new Process(); prog.StartInfo.FileName = exefile; the console application should create file but when running that application from C# it doesn't creates any file when im running console application with double click it works fine he...

Creating a SQL Server database from Python

I'm using Python with pywin32's adodbapi to write a script to create a SQL Server database and all its associated tables, views, and procedures. The problem is that Python's DBAPI requires that cursor.execute() be wrapped in a transaction that is only committed by cursor.commit(), and you can't execute a drop or create database statemen...

Mysql Create Table with dynamic database name

Hi All, I am creating database at runtime and I want to create the tables in that database at the same time. can anyone give me any thought on how to do that? For Example - I have created one database named 'mydb' and now in the same proess i am trying to create the table i am using the mysql stored procedure for the same. my proc inp...