Jump to content

aymhenry

Active Members
  • Posts

    28
  • Joined

  • Last visited

About aymhenry

  • Birthday 01/01/1965

aymhenry's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. - Yes, you check the old revision of my PhoneBook Example. See - For _AccessSelectQuery, I think you can apply SQL statment like :- Select * from myTable Where myField=32; See the example file. please try and feedback. - you can read the data form a .mdb to a variable and put it back to listbox. as normal.
  2. you may check this link :- working UDF for Ms-Access
  3. if you will have ms-Access in your project use:- you may also use the same code for other DBs after fixing the string connection.
  4. Dear stealthf117jm Function _AccessRecordAdd is not supported, see the supported function before. I did not remove some code, so If I have not an enough time to complete, some else may do the job. Sorry, for the misunderstanding. I will consider your valuable modification in the following revision. It is better to create a group of functions, similar to SQLite.
  5. thanks, kindly feedback me, give proposal for improvement.
  6. see this, just add
  7. Starting create another Access UDF Thanks to GEOSoft. New Functions today 19 Mar. 2012 ; New in Rev 2.1 ; _AccessErrCode() ; _AccessErrMsg() ;_AccessSelectQuery() ;_AccessActionQuery() ;_AccessRecordMove() ;_AccessFetchData() Modifications ; Fix bug in _AccessRecordList, bad return value ; Bug in Error Tape for _AccessRecordsCount ; --- Rev 02.1-------------- ; Fix by (stealthf117jm) problem while using the function _AccessRecordAdd can not add NULL value. ;-------------------------- ; _AccessOpen() ; _AccessClose() ; _AccessTableExists() ; _AccessTablesCount() ; _AccessTablesList() ; _AccessFieldExists ; _AccessFieldsList ; _AccessFieldsCount() ; _AccessRecordsCount() ; _AccessRecordList () ; _AccessRecordAdd() ; _AccessRecordEdit() ; _AccessRecordDelete () Later ; _AccessCreateTable() ; _AccessUpdateTable($oNewDB, $oTable) ; _AccessTabelDelete() ; _AccessQueryLike() ; _AccessQueryStr() Modification on Access UDF Rev 01 - Fix bug in _AccessRecordList, bad return value. - Fix Bug in Error Tape for _AccessRecordsCount -Add another example, to show how to use UDF. PhoneBook Example. The old version of PhoneBook could be found in the link. PhoneBook_rev03.rar AutoIT_DB_Rev02.rar AccessUDF_rev2_1.rar PhoneBook_rev3_UDF2_1.rar the same example with UDF Rev2.1
  8. but it is a very good idea Python call Autoit.
  9. I know some about OOP. More examples are better, examples is better than a lot of words. Although, there is a lot of unclear command in documents. For example I could nit use, _AutoItObject_Create([$oParent = 0] ) I do not know how to pass the Parent. It maybe simple to you, but not for me. Here is some example, hope to be useful for other users Examples.rar
  10. A new version was add ProjFunc1_1.rar
  11. This is just a start for MS-Project UDF Using this small UDF, you can automate migrate date from/to MSP Microsoft Project to/From other formats e.g (Excel or Access) Modification was done to improve the code Function List _ProjTasksCount _ProjGetItem _ProjTaskPred _ProjSetItem New) _ProjGetItemUID _ProjSetItemUID _ProjTaskAdd _ProjTaskDelete the attached zip file has three files :- 1- Project_Example.au3 Example that extract a project file to Notepad 2- ProjectConstants.au3 UDF constant, N.B Other constants has to be add later like "Text1, Text2, ..." 3- ProjectFile2000.mpp Sample project file "MS Project 2000". 4- Project.au3 Functions file. 5- modErrorTrap.au3 Error trap modle In fact I' am using such a similar function from years. I do not know. Perhaps a small number of users will be interested in such function. Otherwise modification has to be introduced. ProjFunc1_1.rar
  12. Yes, there are ways to convert between the two
  13. Thank you for your support. I've read your idea, the problem is solved. The question now, why _GUICtrlToolbar_AddBitmap is not working? Is it a bug?
  14. I’ve made a lot of trails to load custom icons to toolbar.My aim is to include the icons in the same exe file. The result is blank square in icon place Here is the code:- #AutoIt3Wrapper_Res_Icon_Add=ICO_00.ICO #AutoIt3Wrapper_Res_Icon_Add=ICO_01.ICO #include <GuiConstantsEx.au3> #include <WindowsConstants.au3> #include <GuiToolBar.au3> Opt('MustDeclareVars', 1) _Main() Func _Main() Global Enum $idNew = 1000, $idOpen Local $hGUI, $hToolbar, $hNormal Local $hGUI = GUICreate("Toolbar", 400, 300) Local $hToolbar = _GUICtrlToolbar_Create($hGUI) _GUICtrlToolbar_AddBitmap($hGUI, 1, @ScriptFullPath, -5) _GUICtrlToolbar_AddButton($hToolbar, $idNew, 0) _GUICtrlToolbar_AddButton($hToolbar, $idOpen, 1) GUISetState() Do Until GUIGetMsg() = $GUI_EVENT_CLOSE EndFunc ;==>_Main Any idea for help
  15. I read this in help file but, this one works for all the tab control The program gives every item on the tab control a unique tool tip
×
×
  • Create New...