Recent Posts

Pages: 1 [2] 3 4 ... 10
11
.NET / Check if Nested or Not
« Last post by Area51Visitor on August 14, 2017, 10:27:15 pm »
Want people to select an entity (polylines/lines/arcs) whether it's in an xref or not.  I can't think of any other way except prompting for a point "near" then testing to see if it's nested if it returns a valid object ID. Is there a better way? 
12
.NET / Re: Load Combobox from DataSet using VB.Net MVVM (WPF)
« Last post by mindofcat on August 14, 2017, 10:22:43 pm »
You're right. Taking the constructor of the view model out of the XAML and moving it to code behind helped tremendously. I was able to handle my observable collections initialization there; a lot cleaner too! Thanks.
13
VB(A) / Re: VBScript for ArcPad
« Last post by CHulse on August 14, 2017, 06:23:25 pm »
As mentioned in one of the comments in my suggestion: you do not have to use the CInt function. But If you do, wouldn't it then make sense to also use CStr?

Interesting point. I don't really know. I've used something similar for excel and the type conversion was needed, so I assumed I'd need it here. I believe I've read that JOIN returns a string regardless of input, so I donít think the CStr is needed. I'll need to test it without the Cint to see.
14
AutoLISP (Vanilla / Visual) / Re: dos_touch
« Last post by David Bethel on August 14, 2017, 04:51:22 pm »
I found 1 that is pretty straight forward  nircmd

in a batch file

Code: [Select]
c:\download\nircmd.exe setfiletime "z:\web\zoiba\index.htm" "10-05-2008 01:34:22" "30-03-2001 01:34:22"

A little picky on the exact format
  • no backslashes
  • "-"  delimiter in dates
  • ":" delimiter in time


1,785 calls in a single bat file for 1 client.  No crashes


So far so good.   thanks  -David
15
CAD General / Re: identify parallel lines
« Last post by MSTG007 on August 14, 2017, 04:14:55 pm »
lol. Not sure how to respond to that one. That is one LARGE ninja.
16
CAD General / Re: identify parallel lines
« Last post by ronjonp on August 14, 2017, 04:11:27 pm »
17
CAD General / Re: identify parallel lines
« Last post by MSTG007 on August 14, 2017, 04:07:03 pm »


BTW how's your day job going?
18
CAD General / Re: identify parallel lines
« Last post by ronjonp on August 14, 2017, 04:02:06 pm »
saving the day once again! I didn't even think slope. Thank you  :whistling:
Glad to help :)
19
CAD General / Re: identify parallel lines
« Last post by MSTG007 on August 14, 2017, 03:37:25 pm »
saving the day once again! I didn't even think slope. Thank you  :whistling:
20
AutoLISP (Vanilla / Visual) / Re: dos_touch
« Last post by John Kaul (Se7en) on August 14, 2017, 03:29:48 pm »
Mark, I don't think touch (gnu) alone will do what the OP wants.  You'd have to use grep or find along with touch I imagine.

touch --help
Code: [Select]
Usage: touch [OPTION]... FILE...
Update the access and modification times of each FILE to the current time.

A FILE argument that does not exist is created empty, unless -c or -h
is supplied.

A FILE argument string of - is handled specially and causes touch to
change the times of the file associated with standard output.

Mandatory arguments to long options are mandatory for short options too.
  -a                     change only the access time
  -c, --no-create        do not create any files
  -d, --date=STRING      parse STRING and use it instead of current time
  -f                     (ignored)
  -h, --no-dereference   affect each symbolic link instead of any referenced
                         file (useful only on systems that can change the
                         timestamps of a symlink)
  -m                     change only the modification time
  -r, --reference=FILE   use this file's times instead of current time
  -t STAMP               use [[CC]YY]MMDDhhmm[.ss] instead of current time
      --time=WORD        change the specified time:
                           WORD is access, atime, or use: equivalent to -a
                           WORD is modify or mtime: equivalent to -m
      --help     display this help and exit
      --version  output version information and exit

Note that the -d and -t options accept different time-date formats.

GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Report touch translation bugs to <http://translationproject.org/team/>
Full documentation at: <http://www.gnu.org/software/coreutils/touch>
or available locally via: info '(coreutils) touch invocation'
Pages: 1 [2] 3 4 ... 10