View Issue Details

IDProjectCategoryView StatusLast Update
0001824JEDI VCL00 JVCL Componentspublic2004-06-03 01:06
ReporterNanotonneAssigned Touser72 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001824: TJvComputerInfoEx: don't have comments property member for network,and not PathDelimiter property for TJvComputerInfoEx.folders
Description- TJvComputerInfoEx don't have comment property member for network computer info: computerName=ok, Workgroups=ok, and comments ??? (description of computer for network)
The old version of TJvComputerInfo was TJvComputerInfo.Comment

- other feature : TJvComputerInfoEx need IncludeTrailingPathDelimiter choice for TJvComputerInfoEx.folders, for example ForceDelimiter property (=type boolean=true by default) force Include or Exclude TrailingPathDelimiter and IncludedDelimiter (=type boolean= true by default) for include or exclude force delimiter if ForceDelimiter=true

If everyone can do that for pathdelimiters choice ..... it's cool !!!
TagsNo tags attached.

Activities

Nanotonne

2004-06-01 07:52

reporter   ~0004425

Last edited: 2004-06-01 07:57

For Precision :
ForceDelimiter property is for forcing Include or Exclude TrailingPathDelimiter
ncludedDelimiter property is dependent of ForceDelimiter :

ForceDelimiter | IncludedDelimiter | Action result to do
-------------------------------------------------------------------------------
False | False | none to do
False | TRUE | none to do
 True | False | Force Exclude Delimiter (i'm paranoiak !??)
 True | TRUE | Force Include Delimiter
-------------------------------------------------------------------------------

This feature exclude easy to write, write and rewrite 1000x "includetrailingbackslash(JvComputerInfoEx1.Folders.Windows)+'myfile.ext'"

modifié le : 06-01-04 07:53

modifié le : 06-01-04 07:53

modifié le : 06-01-04 07:54

modifié le : 06-01-04 07:55

modifié le : 06-01-04 07:56

modifié le : 06-01-04 07:57

user72

2004-06-01 14:09

  ~0004427

There doesn't seem to be any way to get the comment value under NT (maybe there isn't one).

I'll look into the trailing path delimiter issue

Nanotonne

2004-06-02 00:02

reporter   ~0004430

Last edited: 2004-06-02 14:21

I'm sure the comment property exist for NT because we can change thas in win98 and winXP, but for win2000 and win2003 i don't know (for win95 = win98 i think).
- win98 : Network property -> identification (pagecontrol) -> description of computer
- winXP (pro) : My computer (rigth menu of mouse) -> property (system property) -> computer name (pagecontrol) -> description of computer

I have found in windows registry regedit with 'descrpc' for comment set for testing :
-> in Win98 :
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP]
"Comment"="descrpc"

-> in WinXP (pro) :
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\lanmanserver\parameters]
"srvcomment"="descrpc"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]
"srvcomment"="descrpc"

i have tested changing registry key (i have create string key 'srvcomment' because not exist) in win2000 (pro) and i have look in network (my win2000pro computer information) after restarting too, but it doesn't work, the description is void :-(

we can set the comment property for win2000 as void in TJvComputerInfoEx for possible implementation, yes? no? what sugestion? if everyone can help (for full implementation independent of OS if possible) ....

I can't to test with win2003 because i don't have this OS for testing.

thank for all help ...
and thank for peter3 for trailing path delimiter issue ! :-)

modifié le : 06-02-04 00:03

modifié le : 06-02-04 02:04

modifié le : 06-02-04 14:21

user72

2004-06-03 00:35

  ~0004443

There is nowhere (AFAICS) to enter a description in w2k, so I suspect that it isn't available.

user72

2004-06-03 01:06

  ~0004444

OK, I've implemented the Comment property such that it raises an error when trying to write it when the OS is not Win95, 98 or WinXP. If we later can determine it is supported on more OS's, we can change the code

I've also added a TrailingPathDelimiter property to TJvSystemFolders. If true, a trailing delimiter is always added (if needed), if false, a trailing path delimiter is always removed (if present).

NB: if you are using D5, you also need to update JvJCLUtils since it contains a fix used by the TrailingPathDelimiter implementation.

Issue History

Date Modified Username Field Change
2004-06-01 07:32 Nanotonne New Issue
2004-06-01 07:52 Nanotonne Note Added: 0004425
2004-06-01 07:53 Nanotonne Note Edited: 0004425
2004-06-01 07:53 Nanotonne Note Edited: 0004425
2004-06-01 07:54 Nanotonne Note Edited: 0004425
2004-06-01 07:55 Nanotonne Note Edited: 0004425
2004-06-01 07:55 Nanotonne Note Edited: 0004425
2004-06-01 07:56 Nanotonne Note Edited: 0004425
2004-06-01 07:57 Nanotonne Note Edited: 0004425
2004-06-01 14:09 user72 Note Added: 0004427
2004-06-01 14:09 user72 Status new => assigned
2004-06-01 14:09 user72 Assigned To => user72
2004-06-02 00:02 Nanotonne Note Added: 0004430
2004-06-02 00:03 Nanotonne Note Edited: 0004430
2004-06-02 02:04 Nanotonne Note Edited: 0004430
2004-06-02 14:21 Nanotonne Note Edited: 0004430
2004-06-03 00:35 user72 Note Added: 0004443
2004-06-03 01:06 user72 Status assigned => resolved
2004-06-03 01:06 user72 Resolution open => fixed
2004-06-03 01:06 user72 Note Added: 0004444