excel live sheet 3 . gif olarak kaydeder

 excel  live sheet 3 .  gif  olarak  kaydeder
 Not   dosya   c :\ range . gif   her   10   saniyede   kaydedecek .
 ilk  önce  excelde
 developer -> insert -> Button
 buttonun   ismini   kaydet  ve recorda bas ve ok bas ve a1e tıkla stop recording bas ve f11e bas aşağısı gibi yap. ( developer  mode yoksa  excel  toolbara sağ tıklas-> customise the ribbona bas  developeri  seç ve sağa koy…)

Sub  kaydet ()
Dim rng As  Excel . Range
Set rng =  Range (“A1:D38”)

If ExportRangeToPicture(rng, ” C :\ range . gif “) Then

Else

End If
ActiveWorkbook.RefreshAll
Application.OnTime Now + TimeValue(“00:0: 10 “), ” kaydet ”  ‘ 10   saniyede  bir  kaydeder
End Sub

ve daha sonra microsof  excel  objectse tıkla ve  insert  module bas ve içine aşağıdakileri yapıştır

Function ExportRangeToPicture(rng As  Excel . Range , img As String) As Boolean
‘ save a  range  from  Excel  as a picture
‘ rng =  Range  to export
‘ img = filename & path

‘ basic error checking
‘ check for valid filetypes
‘ from http://peltiertech.com/WordPress/export-chart-as-image-file/
Const FILE_EXT As String = ” gif ,png,jpg,jpe,jpeg”
If InStr(FILE_EXT, LCase$(Right$(img, 3))) = 0 Then
  GoTo ExitProc
End If

‘ check for valid path
Dim path As String
path = Left$(img, InStrRev(img, “\”))
If Dir(path, vbDirectory) = “” Then GoTo ExitProc

‘ check for valid  range
Dim rRng As  Excel . Range
On Error Resume Next
Set rRng = rng.CurrentRegion
On Error GoTo 0
If rRng Is Nothing Then GoTo ExitProc

‘ check for protected worksheet
If ActiveSheet.ProtectContents Then GoTo ExitProc

‘ copy  range  to picture, put into chart, export it
Application.ScreenUpdating = False
rRng.CopyPicture xlScreen, xlPicture

Dim cht As  Excel .ChartObject
Set cht = ActiveSheet.ChartObjects.Add(0, 0, rng.Width +  10 , rng.Height +  10 )

With cht
  .Chart.Paste
  .Chart.Export img
  .Delete
End With

‘ if we got this far, assume success
ExportRangeToPicture = True

ExitProc:
Application.ScreenUpdating = True
Set cht = Nothing
Set rRng = Nothing
End Function

Sub SaveMyBook()
‘Turn off  Excel  message alerts
Application.DisplayAlerts = False

‘Save this workbook.
ThisWorkbook.Save

‘Turn back on alerts
Application.DisplayAlerts = True

‘call this procedure again in another 15 mins
Application.OnTime Now + TimeValue(“00:00: 10 “), “SaveMyBook” ‘ 10   saniyede  bir  kaydeder
End Sub

——————————————–

   
       
            body
            {
                margin:   0;
                overflow: hidden;
            }

            #iframe1
            {
                height:   100%;
                left:     0px;
                position: absolute;
                top:      0px;
                width:    100%;
            }
.image{
 float:left;
 margin-top:250px;
 padding:12px;
 width:200px;
}
       
   

   
       

 

   

——————————————-

  Not  enson birtane daha  button  koy arasına end koy tüm kodları durdurur…

Excel Live sheet gif

once makro ozellikli excel dosyanı oluştur
sayfaya bir button yarat kaydet koy ismini

module 1
———————–
Sub kaydet()
Dim rng As Excel.Range
Set rng = Range(“A1:J19”)

If ExportRangeToPicture(rng, “C:\MSDS500\1\RAPORGUNLUKAYLIKTV\tv2.gif”) Then

Else

End If

If ExportRangeToPicture(rng, “\\DIGIKEY-PC\htmltvwebvesms\tv2.gif”) Then

Else

End If

ActiveWorkbook.RefreshAll
Application.OnTime Now + TimeValue(“00:00:30”), “kaydet”  ’10 saniyede bir kaydeder
End Sub
Sub durdur()
End
End Sub

———————–

module2
Function ExportRangeToPicture(rng As Excel.Range, img As String) As Boolean
‘ save a range from Excel as a picture
‘ rng = Range to export
‘ img = filename & path

‘ basic error checking
‘ check for valid filetypes
‘ from http://peltiertech.com/WordPress/export-chart-as-image-file/
Const FILE_EXT As String = “gif,png,jpg,jpe,jpeg”
If InStr(FILE_EXT, LCase$(Right$(img, 3))) = 0 Then
  GoTo ExitProc
End If

‘ check for valid path
Dim path As String
path = Left$(img, InStrRev(img, “\”))
If Dir(path, vbDirectory) = “” Then GoTo ExitProc

‘ check for valid range
Dim rRng As Excel.Range
On Error Resume Next
Set rRng = rng.CurrentRegion
On Error GoTo 0
If rRng Is Nothing Then GoTo ExitProc

‘ check for protected worksheet
If ActiveSheet.ProtectContents Then GoTo ExitProc

‘ copy range to picture, put into chart, export it
Application.ScreenUpdating = False
On Error Resume Next
rRng.CopyPicture xlScreen, xlPicture
On Error GoTo 0

Dim cht As Excel.ChartObject
Set cht = ActiveSheet.ChartObjects.Add(0, 0, rng.Width + 10, rng.Height + 10)

With cht
  .Chart.Paste
  .Chart.Export img
  .Delete
End With

‘ if we got this far, assume success
ExportRangeToPicture = True

ExitProc:
Application.ScreenUpdating = True
Set cht = Nothing
Set rRng = Nothing
End Function

Sub SaveMyBook()
‘Turn off Excel message alerts
Application.DisplayAlerts = False

‘Save this workbook.
ThisWorkbook.Save

‘Turn back on alerts
Application.DisplayAlerts = True

‘call this procedure again in another 15 mins
Application.OnTime Now + TimeValue(“00:00:30”), “SaveMyBook” ’10 saniyede bir kaydeder
End Sub

——————————-

html yarat

   
       
            body
            {
                margin:   0;
                overflow: hidden;
            }

            #iframe1
            {
                height:   100%;
                left:     0px;
                position: absolute;
                top:      0px;
                width:    100%;
            }
.image{
float:left;
margin-top:250px;
padding:12px;
width:200px;
}
       
   

   
       

   

android ios spy

download from http://www.zealspy.com/
register to get mails about what u want
set administrator
hide with password 4 stepped
when u exit it hides and if u wanna open spy app back;
goto setting->general->security->device administator and uncheck com.adnroid.service

location detail.csv
LatLong,(35.1234567)(33.2222222)LatLong,(35.1234567)(33.2222222)

http://www.latlong.net/c/?lat=35.1234567&long=33.2222222

yada google map aramaya
LatLong,(35.1234567)(33.2222222)
yerine
35.1234567,33.2222222

yaz

DELPHI TIME

procedure TForm1.Timer1Timer(Sender: TObject);
var
DateTime : TDateTime;
Timestr,Timestr2 : string;
Datestr : string;

begin
DateTime := Time; // store the current date and time
Timestr2 := TimeToStr(DateTime); // convert the time into a string
Caption := Timestr2; // display the time on the form's caption
{Note This could have been done with the following line of code:
Caption := TimeToStr(Time); }

Timestr := formatDateTime('hh:mm', StrToDateTime(Timestr2));//format the time }
Label1.caption := DateToStr(Date);
Label2.caption := Timestr;
Form1.Caption := Caption; //puts time on Form Bar
// Label2.caption := TimeToStr(Time); //alternative method

end;

excel dbf “the query did not run or the database table could not be opened”

excel dbf açmaya çalışırken bazı dosyalarda hata verirse “the query did not run or the database table could not be opened”

excelde önce
data- from other sources – from data connection – micorosft jet4- klasörü yaz -all git extended properties dBASE IV yaz
o dbfyi seç hatayı verdikten sonra tekrar
data – from other sources-from data connection-odbc dsn- dbf file-next-connect specicif tikini kaldır-next bas-browsea bas ve C:\Users\usernama\Documents\My Data Sources deki o dbfyi seç.