Jump to content

sanchopanza

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by sanchopanza

  1. Hi I want to get the linenumber where an error occurs when the xml file is parsed and it has errors. I tried $objDoc.parseError.line but it returns always 0. Has anyone an idea how I can get the linenumber ? thanks sanchopanza
  2. Hi, I´m trying to code a little script for searching values in an excel sheet. I have a excel sheet and in the Range D2:D40 is the string "821940" I want to search. #include <ExcelCOM_UDF.au3> #include <Array.au3> $Excel = _ExcelBookOpen(@ScriptDir & "\L27.xls", 1,False) $array = _ExcelFindInRange($Excel, "821940", "D2:D40",1,1,1,0,2,False,False) _ArrayDisplay($array,"RESULT") _ExcelBookClose($Excel) It opens the excel sheet but I get always an error F:\TEMP PLATTE\AutoIt\excel\ExcelCOM_UDF.au3 (1096) : ==> The requested action with this object has failed.: $oFound = $oExcel.Selection.Find($sFindWhat, $oExcel.ActiveCell, Default, $iWholeOrPart, Default, Default, $fMatchCase, Default, $fMatchFormat) $oFound = $oExcel.Selection.Find($sFindWhat, $oExcel.ActiveCell, Default, $iWholeOrPart, Default, Default, $fMatchCase, Default, $fMatchFormat)^ ERROR I don´t know where the problem is - can anyone help me ?
  3. Lazycat, don´t you have any idea ? Could you please help me a little bit ? :"> Thanks in advance
  4. Sorry, but I don´t get it work :"> I´m not a very good programmer - I learned a little bit of C+ 10 years ago and now I use this knowledge to make some scripts. But your UDF seems to be a little bit to much for me. I tried changing some values in the function _ReadTag but it doesn´t work - how I said - that´s to high for me :"> Can you please help me if you have a little bit of time ? Thanks
  5. I also found this tag but don´t get the right info out of this tag. I put the following into your UDF and get a number of 131073 but the multitiff only has 158 pages ! Func _ImageGetInfoTIFF($hFile, $nByteOrder) Local $anSize[2], $pos = 2, $sInfo = "", $aTag[1][2] ... _AddPair($aTag, 0x0129, "PageNumber") ... Perhaps I make a mistake
  6. So, I played now a little bit around with your UDF and after reading tiff specification I got the Tags I needed. But my next problem is, I want to extract these Tags from a Multitiff and I don´t know exactly how to get the Number of pages of this multitiff and how to extract all the information. Do you know how to do this and probably help me a little bit ?
  7. OK, I will try it
  8. Hello Lazycat, I saw you made an UDF for getting info out of an TIFF File. I working on a script, that makes me possible to extract all the Tags out from a Tiff or a Multitiff. Is this possible with your UDF ? SanchoPanza
  9. Thanks for your answer. I also got it work when installed with the setup tool - only wondered why mscomm32.ocx got installed. But ok - I asked the developper and he wrote So long SP
  10. Did you install the package downloaded from hardansoftware (NetCommOCX.zip) with it´s setup on the system or only the ocx file ? Because the first time I only took the ocx and it came up with the error, that mscomm32.ocx was not registered. Then I installed it with the setup.exe and it worked fine. I took a look at the system32 folder and saw, that now there was a mscomm32.ocx - so this package contains a mscomm32.ocx. The question is , if it is the original ocx or only a "pseudo" ocx for make the netcomm.ocx work - without licence problem . I will try to get an answer from the developper.
  11. Has nobody an idea about this ?
  12. No, I downloaded it from http://www.hardandsoftware.net/ because I read about it here in the forum and I thought I wouldn´t need mscomm32.ocx. Now I made a test and istalled the package from this site again on my other PC instead of only copying the netcomm.ocx. Now O saw, that it also installes the mscomm32.ocx on this system I´m really confused
  13. Hi, I wrote a litte tool for logging data via RS232 on the comport. I am using NETComm.ocx for this. I developped this on a PC that had MSCOMM32.OCX installed on it and ad no problems with the tool. Now I installed the tool on another PC, registered NETComm.ocx and when I start the tool I get an Runtime error 339 - that says that MSCOMM32.ocx is not registered. Why do I get this error ? I thougt that using NETComm.ocx I wouldn´t need the microsoft ocx ! Can someone help me ? SanchoPanza
×
×
  • Create New...