import

Why is my code slower using #import "progid:typelib" than using "MFC Class From TypeLib"?

I am writing an automation client in Visual C++ with MFC. If I right-click on my solution » Add » Class, I have the option to select MFC Class From TypeLib. Selecting this option generates source/header files for all interfaces. This allows me to write code such as: #include "CApplication.h" #include "CDocument.h" // ... connect to ...

SharePoint import error - 'Access Denied'

I am trying to import a site collection and I get the following error: [9/22/2009 4:59:43 PM]: Start Time: 9/22/2009 4:59:43 PM. [9/22/2009 4:59:43 PM]: Progress: Initializing Import. [9/22/2009 5:00:11 PM]: Progress: Starting content import. [9/22/2009 5:00:11 PM]: Progress: De-Serializing Objects to Database. [9/22/2009 5:00:11 PM]: ...

WinForms Control for Textfile converting like in excel or open office?

Hi, for a Windows application I need to read in fixed block files which need to be splitted in fields. I would like to this like in excel or openoffice where I have a preview of the file and can graphically define where the line should be splitted. Does anyone know some control for .net which supports this, or any sample code where th...

Expression blend photoshop effects

Hi I'm new to using blend, I've discovered when I import my photoshop file blend takes my effects away. Can anyone tell me why blend doesn't recognize my effects? Thanks Judi ...

@import or <link> for importing stylesheets?

Which method is best for importing multiple stylesheets? I assume, as with most things regarding the web, the answer is 'it depends', but are there downsides of using one or the other? ...

Ruby Gem: Contacts for importing fails on ubuntu

I have the gem working nicely for gmail on my mac. I switch to production and the stuff stops working. Also, Blackbook doesn't work at all with gmail accounts. Any suggestions for a solid way too import contacts in Ruby on Rails? ** pls note that Ubuntu is running 1.8.6 vs 1.8.7 on my Mac. I wonder if that is causing different bahavior...

How do I import behaviors into Expression Blend?

I'm trying to import behaviors in to blend, can anyone help me? I'm a designer not a coder so would like to know the easy import rout for this in Blend? ...

SharePoint import error - 'Access Denied'

I'm trying to import data from another environment to a new server that we just setup. I was initially running into this error, but I eventually resolved it by using localhost instead of the server name. Now, the import completes but skips some items with the following error: [9/28/2009 6:34:30 PM]: Progress: Importing File _catalogs/ma...

Unable to import data into ArcSDE (9.3.1) and PostgreSQL (8.3.0)

I've just installed ArcGIS Server Enterprise Advanced with ArcSDE and PostgreSQL, on a virtual Windows Server 2008 box. After installing, I've been trying to import a feature class (stored in a shapefile) into the geodatabase. In order to do this I've created a connection to ArcSDE (not a direct database connection) using ArcCatalog -...

Python - importing package classes into console global namespace

Hello all, I'm having a spot of trouble getting my python classes to work within the python console. I want to automatically import all of my classes into the global namespace so I can use them without any prefix.module.names. Here's what I've got so far... projectname/ |-__init__.py | |-main_stuff/ |-__init__.py |-main1.py |-ma...

reading docx (Office Open XML) in PHP

Hi, I want to add an word import function to our CMS, the only problem I cannot seems to find a good library for reading docx files (Word 2007). Do anyone has some recommendations, the library should be able to extract content of the document and basic styling like italic, bold, superscript? Thanks for your help ...

Importing source files into Microsoft visual studio 2008?

Hi, I am pretty new to programming. I would like to download an open source project and build it in my Microsoft Visual Studio 2008. In fact, I tried to import and build the application “Winscp”: https://sourceforge.net/projects/winscp/ But I didn’t work. Please can somebody help me and tell me which files do I have to download (from so...

Problem importing LOB into Oracle using SQL Loader

I'm trying to export from SQL Server to Oracle a table that consists of an ID and a really long XML string stored as nvarchar(max). SQL Table -- CREATE TABLE MyStuff (MyID int, MyText nvarchar(max)) Oracle Table -- CREATE TABLE MyStuffImported (MyID int, MyText NCLOB) I'm using the SQL Server bcp utility to export to a text file (MyStu...

Jet Engine - 255 character truncation

Hi, I'm needing to import an Excel spreadsheet into my program and have the following code: string connectionString = String.Format(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties=""Excel 8.0;IMEX=1;HDR=NO;""", MyExcelFile.xls); command.CommandText = "SELECT * FROM [Sheet1$]"; (Note, code above isn't real cod...

ImportXmlWithProgress not updating result attribute of importjob

I tried to write some code to import a large customization containing 50+ entities. I used the microsoft article 'ImportXmlWithProgress Message (CrmService) as a bases, but was not getting the output I expected. The 'job.data' in the following code was not changing from the original parameterxml data. So this implies to me that the imp...

How to import data in SQL Compact Edition?

I don't seem to find a tool for it, nor an odbc driver. Thanks UPDATE : I'm aware of the sql scripting possibilities. But than again : how to script a sql 2k table? (not just ddl, but data also?) Of course you can write this all by yourself, but importing data into CE cannot be such a hassle, or can it ? UPDATE2 : I don't seem to...

OSGi: programmitically add imports to a bundle

How can I add packages to a bundle's import from within code? I need it since I use libraries which rely on reflection and require other packages and I don't want to need to manually add those packages to MANIFEST.MF for each bundle I develop ...

Objective-C Import

What is the difference between: #import "foo.h" and: #import <foo.h> ...

How to extract data from excel file into the database in Mysql at runtime in asp.net?

I am creating a website...and i want to give a liberty to users, to upload the data of excel file and then i want to save that excel data inside mysql database on runtime... kindly help me in performing this task... you can mail me at...."[email protected]" thank you Amitesh ...

Blog host with importing from dotnetnuke blog

I want to migrate my blog from my own dotnetnuke site to another host (like blogger, posterous etc). Do you know any such host that supports importing from dotnetnuke. Posterous supports importing using MetaWebLog API, which is supposed to be supported by dotnetnuke blog module. I tried it but it does not work. I always get 'We were not ...