Can't 'Edit in UltraEdit'

This forum is user-to-user based and not regularly monitored by IDM.
Please see the note at the top of this page on how to contact IDM.

Can't 'Edit in UltraEdit'

Postby mattice06082 » Fri May 11, 2007 2:15 pm

Selecting the 'Edit in UltraEdit' or right-clicking and selecting 'Open in UltraEdit' from UltraCompare Pro v4.20a don't open UltraEdit-32 v13.00+1 under Win XP Pro SP2.

When performing starting the comparison from within UltraEdit, everything works fine.
User avatar
mattice06082
Newbie
 
Posts: 2
Joined: Thu May 10, 2007 11:00 pm

Re: Can't 'Edit in UltraEdit'

Postby Mofi » Sat May 12, 2007 8:03 am

First update to latest version of UltraEdit.

Second I found the problem. The installers of UltraEdit v13 do not set anymore one registry key required for UltraCompare Professional to launch uedit32.exe when it is not already running. I will report this to IDM support.

In the mean time fix that missing registry key manually.

Open in UltraEdit a new, blank ASCII text file and paste following text:

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\uedit32.exe]
@="
C:\\Program Files\\IDM Computer Solutions\\UltraEdit-32\\uedit32.exe"
"Path"="
C:\\Program Files\\IDM Computer Solutions\\UltraEdit-32"

Adapt the path to uedit32.exe to your installation if necessary. Note: You must write 2 backslashes instead of only 1 as shown above for every directory.

Save the text file with extension reg, for example UE_App_Path.reg.

Double click on this registry file to import it's content into your registry. You must have administrator privileges to import this file.

Then UltraCompare Professional can find uedit32.exe and run it.

This registry key with it's 2 string values could be missing for all users who installed UltraEdit-32 v13 without having installed a previous version before.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 3937
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Can't 'Edit in UltraEdit'

Postby mattice06082 » Wed May 16, 2007 11:14 am

Worked like a champ! Thanks!

I've used UltraEdit for years, but recently got a new machine and installed v13 since it was the latest version at the time.

Thanks again,

Jeff
User avatar
mattice06082
Newbie
 
Posts: 2
Joined: Thu May 10, 2007 11:00 pm

Re: Can't 'Edit in UltraEdit'

Postby islfan01 » Thu May 15, 2008 10:32 am

Any help would be appreciated......

I created the registry entry successfully and UltraEdit now opens, but it always opens without loading a file.

Thanks.... Bob
islfan01
Newbie
 
Posts: 3
Joined: Thu May 15, 2008 10:27 am

Re: Can't 'Edit in UltraEdit'

Postby Mofi » Thu May 15, 2008 11:08 am

Can you be more specific? Which version of UltraEdit do you use and which version of UltraCompare Professional?
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 3937
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Can't 'Edit in UltraEdit'

Postby islfan01 » Thu May 15, 2008 12:09 pm

Sorry about that!

UltraCompare Professional 5.10a
UltraEdit 14.00a+1

A little more info:
After re-booting, what I find is that double clicking one of the files opens up UltraComapare comparing the 2 files.

From there, double clicking on one of the files opens the files that were being compared in UltraEdit :)

What doesn't work is selecting one file in the folder compare window and clicking on the ultraedit icon on the menu bar.

It actually attempts to open the files, but the path is wrong.

Its a "java" directory structure (things are in packages) and the package name (directory names ) are not included in the path.
islfan01
Newbie
 
Posts: 3
Joined: Thu May 15, 2008 10:27 am

Re: Can't 'Edit in UltraEdit'

Postby Mofi » Fri May 16, 2008 2:26 am

Have I understand your right? Do you compare two Java packages (ZIP archives) and try to open one of the files in the archives with UltraEdit?

I think, UltraCompare Professional is not designed to do that. That would require unpacking the file to a temp folder, then start UltraEdit with the file in the temp folder and when UltraEdit modifies the file, UltraCompare Professional must detect that change and repack the updated file into the archive. Contact IDM support by email if you want clarification if UC supports it or not. Well, if UC does not support it, then the "Open in UltraEdit" toolbar and menu items should be disabled when comparing files in archives.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 3937
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Can't 'Edit in UltraEdit'

Postby islfan01 » Fri May 16, 2008 7:53 am

No, they are not zipped files.

I was refering to a directory structure ( C:\a\b\c\d\e\f\g\h\i\j\k\ejb\session\stateless\fileName.java, for example).

When I click on the UltraEdit icon, it attempts to open C:\a\b\c\d\e\f\fileName.java

Since the file doesn't exist, it opens blank.......
islfan01
Newbie
 
Posts: 3
Joined: Thu May 15, 2008 10:27 am

Re: Can't 'Edit in UltraEdit'

Postby Mofi » Wed May 21, 2008 8:11 am

I have tried it yet with 2 files:

C:\a\b\c\d\e\f\g\h\i\j\k\ejb\session\stateless\test.txt
F:\Temp\Test.txt

When I double click into one of the 2 files displayed in UC, UltraEdit v14.00b is started and it opens both files.

Have you really tested it with that directory names or is your full file name MUCH, MUCH longer, maybe longer than 259 characters which is the maximum length of an ANSI file name as defined by Microsoft. (MAX_PATH is 260 but includes the terminating NULL character of ANSI strings.) Also short names (FAT16) supports only up to 8 levels - root directory (which is for Windows file systems not a directory - crazy!), 6 subdirectories and the file name. It looks like the short name is passed from UC to UE in your case. This happens normally by Windows automatically if either the full file name is longer than 259 characters or the full file name contains 1 or more Unicode characters which cannot be correct handled in ANSI strings.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 3937
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to UltraCompare General Discussion