Aslam o Alikum to all, here is my code to get and change the attributes of a txt file. I want to change the hidden attribute of file. In this code, when i get attribute of file, the number 20 (100000) is returned in cx. I changed this number to 22(100010) ie i have set the hidden attribute. But when I run the program, the no changes are applied. please help me.
[org 0x0100] mov ax, 4300h ; get file attributes mov dx, filename int 21h mov [attribute], cx ; save file attribute in variable mov ax, 4301 ; set file attributes mov dx, filename mov cx, 0020h int 21h mov ax,0x4c00 int 0x21 filename dw 'D:\link.txt' attribute dw 0
in the line # 11 ,you are moving 20 h except 22h which will not set hidden attribute .
now use this code in line # 11
I want to write out a DXF file with line arc and maybe spline.
My issue is documentation; While I have looked at AutoCAD's site I feel that there isnt ...
How to connect device scanner with visual basic, its analogy I made button scan in vb and typing button scan in press scanner live and walk .. how? Help ...
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then For Each subCtrl As Control In ctrl.Controls If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then MsgBox(subCtrl.Text) End If If subCtrl.GetType Is ...