importing

How to import Eclipse syntax highlighting profile in Netbeans for Java projects?

Hello I have to use both IDEs and I would like to use the Eclipse style of syntax highlighting in Netbeans. Does any one know how to import it (or change any configuration file)? I've already set Netbeans to use the Eclipse key bindings. Is there any better way than manually changing the colors of every keyword for the Java editor? Th...

Excel, OleDb, and Leading zeros

I have a process that using OleDb reads data from an excel file into a DataSet. Everything was working well until I started to see data with leading 0's in it. The text is formatted as General or Text. I have set IMEX=1 in the OleDb connection, yet I still get a null value in the dataset for each entry with a leading 0. Does anyone k...

'import module' or 'from module import'

I've tried to find a comprehensive guide on whether it is best to use 'import module' or 'from module import'. I've just started with Python, with the intention for developing web applications with Django, and I'm trying to start off with best practices in mind. Basically, I was hoping if anyone could share their experiences, what prefe...

Importing In Python

Is it possible to import modules based on location? (eg. do all modules i import have to be in /usr/lib64/python2.5/ or a similar dir?) I'd like to import a module that's local to the current script. ...

How do I move diagrams between SQL Server databases?

I'm trying to move a database from a hosted server to my own SQLExpress instance. I used the Database Publishing Wizard to create the script... but the diagrams were not transferred. Then, I found and followed the advice of another answer on this site that had me import/export the data to the sysdiagrams table. When I do that, I see...

How can I get uploaded file full path in C# 3.0?

Hi everyone! In my ASP.NET MVC website, I have to read a txt file with some names and emails separeted by ';'. After that, I have to save each line of this txt file to database. Googling around, I've found some snippets, but in all of them I have to use the txt file path. But, how can I get this path? This file could be anywhere in a ...

How should I escaping quotes and line breaks for Oracle SQLLoader (sqlldr) importing?

Hello. FIRST: Yes, I know about CONCATENATE and CONTINUEIF, but I might not be smart enough to understand the documentation. I don't "get" how they solve my problem. Thank you... I am in the position of having to create a file for importing into an Oracle DB by way of sqlldr. The columns are required to be delimited by "~" (Don't ask....

Loading all modules in a folder in Python

Could someone provide me with a good way of importing a whole directory of modules? I have a structure like this: /Foo bar.py spam.py eggs.py I tried just converting it to a package by adding __init__.py and doing from Foo import * but it didn't work the way I had hoped. ...

importing contacts from outlook and plaxo

Hi im writing a script fo a pop up window that will fetch all the users outlook/plaxo contacts. So a window is displayed on a website, user then can choose between outlook or plaxo for their contacts to be fetched. Once fetched these contacts will be displayed in a list and the user can then send an invitation. Here is a reference, htt...

Import Flash CS4 Project to Flex Builder 3

I'm fairly deep with Flash CS4 project. I've got Flex Builder now, and I want to use it. I have .fla file and couple of Classes. .fla file is actually one ActionScript Frame document with Library items with linkages. I want to do .fla file skinning in Flash later, but develop with Flex. Can you help me with importing. I've never used Fl...

How do you check whether a cell is readonly in EXCEL using C#

Hi, I am importing data to Excel sheets from a database. For this, I am using datareader. The excel sheet template has some macros and few formulae calculated and its not the normal excel worksheet. so I have to write the data into the excel sheet only if the particular cell is allowed to write. If not, the data shouldn't be imported. ...

using activex dll in vc++ win32 project

hi i have got a ScreenCameraSDK and it comes with a 11kb dll file, it has a documentation too which lists the functions which can be used. It says ScreenCamera SDK ActiveX Reference Documentation ActiveX Reference The ActiveX ID on the system is: ScreenCameraSDK.RemoteControl Every method on the interface returns FAIL or SUCCES...

importing .png image into flash CS3

While importing a .png file in Flash CS3, i noticed that it automatically gets resized. It gets imported smaller than its original size. Im importing it to the stage and not inside any symbol. Can anyone explain why this happens? Do i have to change any settings to get the original size as it is? ...

[Python] 'import feedparser' works via SSH, but fails when in browser

I installed feedparser via SSH, using $ python setup.py install --home=~/httpdocs/python-libraries/feedparser-4.1/ I did that because I don't seem to have permission to properly run 'python setup.py install' I am running the following python code in 'test.py'. print "Content-type: text/html\n\n" try: import feedparser except: ...

How to create dmp file of Oracle database?

I have database reside in my Oracle 10g, I need to carry it to another PC. What should i do to import and export it to another pc? ...

Importing projects with Eclipse so new stuff I add will go to the source directory as well.

When I do File -> Import, General (from the pop-up window)->Existing Projects into Workspace, I can browse to where all my projects are and import them so my Eclipse workspace folder with its .metadata is in a separate location from my source directory. The problem is, if I add a new project or even add a new file within an existent pro...

importing content into drupal.

I have a wordpress site with 5k post and each post has average 25 comments. so 125k total nodes have to be added. I need import those posts and comments into drupal 6 . I have written a script to import those post/comments into drupal by drupal's cron service. but the cron service keeps time out. because import 125k nodes one by one i...

Efficient data importing?

We work with a lot of real estate, and while rearchitecting how the data is imported, I came across an interesting issue. Firstly, the way our system works (loosely speaking) is we run a Coldfusion process once a day that retrieves data provided from an IDX vendor via FTP. They push the data to us. Whatever they send us is what we get. ...

Old Sony Digital Tape Handycam, imported Video is sped up?

Friend gave me their OLD handycam and a bunch of tapes asking me to put them on a DVD. The model is Sony DCR-TVR103 and it records onto Hi8 Digital tapes. It has a firewire port also. I am trying to use import function in iMovie on OS X 10.6. Every import though the video is super fast, like playing in fast forward. Ever seen anything ...

how do i edit a running python program?

scenario: a modular app that loads .py modules on the fly as it works. programmer (me) wishes to edit the code of a module and and then re-load it into the program without halting execution. can this be done? i have tried running import a second time on an updated module.py, but the changes are not picked up ...