æ©¡WINAPLI.PDF

Size: px
Start display at page:

Download "æ©¡WINAPLI.PDF"

Transcription

1 Windows Visual Basic

2 Windows 1. Windows Windows Visual Basic VisualBasic Visual Basic Visual Basic Visual Basic

3 Windows Visual Basic If End If Select Case For Next Do Loop

4 Windows Microsoft Windows Visual Basic Microsoft Corporation

5 Windows 1. Windows 1.1. Windows Windows Windows 1 GRPH + F GRPH + O 1 Windows GRPH + C 1 Windows 1

6 Windows 2. Visual Basic VisualBasic Visual Basic 4.0 Windows95 (Program) Visual Basic (Hard Ware) 1 Soft Ware) Visual Basic1) 2) 3) C 4) FORTRAN BASIC 5) Visual Basic Visual Basic Windows Visual Basic Windows Windows

7 Windows 1) 2) 3) 5) 4) 1 Visual Basic 2.3. Visual Basic Visual Basic (F) Visual Basic.frm (X) OK (Y) (Y) Visual Basic (N) Visual Basic 3

8 Windows 2.4. Visual Basic Visual Basic 1) 5) 4) 3) 2 1) ) 1 5) 3) 4

9 Windows 3 Text Text1 4 Text1 Text1 2-1 Visual Basic Text Visual Basic 3 Property 4 Object 5

10 Windows Visual Basic Visual Basic 1) 2) 3) Visual Basic 1) 2) 3) Text1 Text2 Name 2) Text1 Text 2.7. Text1.Text Visual Basic 6

11 Windows 2.8. Visual Basic 3 Text1 Text2 1 Name 1 Change KeyDown KeyUp KeyPress GotFocus LostFocus DragOvre DragDrop Text1 Change Text2.Text = Text1.Text Sub Text1_Change () Text1 Text2 1 End Sub Change 7

12 Windows Sub Text1_Change () Text2.Text = Text1.Text End Sub 2 Text Text1 Change 3. Text1 Text Text1.Text Text2 Text Text2.Text Windows = Click 8

13 Windows (E) GRPH 6 3 E End Sub Command1_Click () End Sub 3 Click (&E) Sub Command1_Click () End End Sub 4 E ( ) GRPH+E Caption Caption (E) GRPH+E Caption & 3.2. Command1 Command1 Caption Windows Windows ALT 98 GRPH 9

14 Windows 4. Interval TV 4.3. Visual Basic butterf.mak 4.1. Picture samples firstapp Strech butterf.mak True 4-1 butterf.mak False Strech True (F) (O)

15 Windows 2 Caption WindowState 2- BackColor ScaleMode 3- Interval 200 Image1 Name Picture Visible Image2 Name Picture Visible Image3 Name Picture Visible OpenWings bfly1.bmp False CloseWings bfly2.bmp False Main bfly1.bmp True Sub Timer1_Timer () Static PickBmp As Integer If Main.Left > Form1.ScaleWidth Then Main.Move 0 If Main.Top < 0 Then Main.Move Main.Left, Form1.ScaleHeight ' Main.Move Main.Left + 20, Main.Top - 5 If PickBmp Then ' Main.Picture = OpenWings.Picture Else ' Main.Picture = CloseWings.Picture End If ' PickBmp = Not PickBmp End Sub 5 PickBmp 11

16 Windows Image1 Image PickBmp = Not PickBmp Main Imterval Image1 Image If End If If End If 6 6 Main. Main.Left + 20, Main.Top -5 Main 4 buttf Move Sub Command2_Click () Timer1.Interval = Timer1.Interval * 0.5 End Sub (0,0) 6 Interval (0,0) (, ) 4.4. Move Main (F) 20 5 (E)

17 Windows 8 8.mak Visual Basic 4.5. _ 40 Hensu = Hensu + 10 Hensu 7 Hensu 10 Hensu 9syu Yama=taku = 4.6. Visual Basic abcde Abcde shiba_1 Ma2suhiro a.b. Masa oka 7 = Hensu 0 = 10 13

18 Windows 5. Visual Basic opensave.frm sample (F) (O)... picview.mak vb samples firstapp butterf.mak textedit.mak vb samples menus 14

19 Windows 6. Visual Basic If Select Case 1) If End If 2) 3) Else If Then True Visual Basic Visual Basic Else End If Else Move End If 6.1. True False 6.2. If Select If Then End If If True 0 False -1 Case butterf.mak If 15

20 Windows 1) If Hensu > 10 Then 2) If Hensu <> 5 Then 3) If Hensu <= 5 And Hensu >= 1 Then 1) Hensu 10 2) Hensu 5 3) Hensu 5 And Hensu 1 Hensu 1 5 Sub Command1_Click () Hensu = Text1.Text If Hensu = 5 Then Text1.Text = " " Else 3 Text1.Text = "" < <= > >= = <> And Or 6-1 In End If 7 5 If End If 7 If

21 Windows Select Case Select Case Case 1 1 Case 2 Case Else End Select Case If Case Else ,2 6-2 Hensu Select Case Hensu Case 1,3 Case 4 To 10 Case Else End Select Text1.text = Text1.text = Text1.text =

22 Windows 6.3. Visual Basic For Next Do Loop For Next 6 Do Loop For i = 1 To For Next Text1.Text = i Next For = To Step Next For Next For Next i Text1 Next Step 1 For I = -1 To 4 Step For Step Next I= I=5 Next Sub Command1_Click () End Sub 8 For Next For Next 18

23 Windows Do Loop Do While Loop Do Loop Do Loop Do Until Do Until Loop 1) 2) 3) 4) If Do Until Loop 10 Do Until 10 = i i = i + 1 Loop 6-4 Do Loop i 1 i 10 For i = i + 1 To 10 Next

24 Windows **-**** 47-**** Windows Visual Basic Visual Basic Rows Cols 20

25 Windows FixedRows ( 0, 0 ) FixedCols 1) ( 4, 4 ) 2) Row Col 8 3) Rows Cols End Sub Row Col 9 Text1 Grid1 Grid1.Row = 0 Grid1.Col = 0 8 Sub Grid1_Click () Text1.Text = Grid1.Row & " " & Grid1.Col & " " Grid1 Click Text 21

26 Windows Col & Grid1.Row Grid1.Col Text1.Text Text End Sub 10 Text Text 8.4. Grid1 Grid1.Row = 0 Grid1.Col = 0 Grid1.Text = ( 0,0 ) Grid1.Text = 8-1 Row Sub Text1_Change () Grid1.text = Text1.text 22

27 Windows Sub Grid1_Click () Text1.SetFocus End Sub 11 TAB Focus Windows Enabled True False 8.5. Grid1 Text1 5 23

28 Windows Sub Grid1_Click() Text1.Text = Grid1.Text Text1.SetFocus End Sub Sub Text1_Change() Grid1.Text = Text1.Text End Sub 8.6. Open For As # 1) Open 2) Print Input 3) Close 1) Output 2) Input Open Print #, Open, 24

29 Windows Print #1, Hensu1,, Hensu2, ;, 12 adress.dat ; a: vb adress.dat Input #, 1,... Windows Input Close # 12 ReDim GridDate(4) GridData Close GridData(0) GridData(1) GridData(2) GridData(3) 8-3 GridData(4) ReDim ReDim ( ) ReDim ( To ) ReDim 0 To 9 For Next

30 Windows Sub Command1_Click () ReDim GridData(4) ' File_Name = "addess.dat" ' ' 1 Open File_Name For Output As #1 For Gyou = 0 To Grid1.Rows - Grid1.FixedRows Grid1.Row = Gyou For Retu = 1 To Grid1.Cols - Grid1.FixedCols Grid1.Col = Retu ' 1,1 ' GridData(Retu) = Grid1.Text Next ' 1 4 Print #1, GridData(1) ; GridData(2) ; GridData(3) ; GridData(4) Next Close #1 End Sub ' adress.dat Print # ; Print #1, GridData(1) ; "," ; GridData(2) ; "," ; GridData(3) ; "," ; GridData(4) ; ", " ; Gyou For 0 26

31 Windows 8.7. Sub Command2_Click () ReDim ReadData(4) As String ' File_Name = "addess.dat" ' ' 1 Open File_Name For Input As #1 Gyou = -1 ' Do Until EOF(1) ' #1 ' 1 4 Input #1, ReadData(1), ReadData(2), ReadData(3), ReadData(4) Gyou = Gyou + 1 ' ' If Gyou >= Grid1.Rows Then Grid1.AddItem " " Grid1.Row = Gyou For Retu = 1 To Grid1.Cols - Grid1.FixedCols ' 1 ' Grid1.Col = Retu Grid1.Text = ReadData(Retu) Next Loop Close #1 End Sub ' 13 27

32 Windows 8.8. AddItem For Next Do Until Loop 13 RemoveItem EOF(1) EOF End Of File RemoveItem EOF ( ) Open 1 AddItem If AddItem AddItem 8-2 Grid1.SelEndRow " " 10 28

33 Windows Sub Command3_Click() Grid1.AddItem " ", Grid1.SelEndRow + 1 End Sub 14 Sub Command4_Click() Grid1.RemoveItem Grid1.SelEndRow End Sub SelEndRow InpuxBox$ 16 InputBox$ KeyWord

34 Windows InpuBox$ ( OK 1) 2) 3) OK 11 InputBox$ Sub Command5_Click() ReDim SarchedData(4) Dim Sarch As String ' InputBox$ Msg = " " & Chr$(10) & Chr$(13) Msg= Msg & Title = " " Default = " " ' KeyWord KeyWord = InputBox$(Msg, Title, Default) 16 30

35 Windows Kensu = 0 ' For Gyou = 1 To Grid1.Rows - Grid1.FixedRows Grid1.Row = Gyou Sarch = "" ' For Retu = 1 To Grid1.Cols - Grid1.FixedCols Next Grid1.Col = Retu ' Sarch Sarch = Sarch & Grid1.Text ' InStr Sarch ' SarchResult SarchResult = InStr(1, Sarch, KeyWord) If SarchResult <> 0 Then End If ' Kensu Kensu = Kensu + 1 ' ' SarchedData For Retu = 1 To Grid1.Cols - Grid1.FixedCols Next Grid1.Col = Retu SarchedData(Retu) = Grid1.Text ' Sarched ' Grid1.Row = Kensu For Retu = 1 To Grid1.Cols - Grid1.FixedCols Next Grid1.Col = Retu Grid1.Text = SarchedData(Retu) Next 17 31

36 Windows For Next 9.3. Kensu Sarch Kensu InStr SarchResult = InStr(1, Sarch, KeyWord) KeyWord 2 Sarch Sarch 1 Sarch SarchResult Sarch SarchResult 0 1 Kensu

37 Windows ' If Kensu <> 0 Then ' KesuGyouSu = Grid1.Rows - Grid1.FixedRows - Kensu ' For Gyou = 1 To KesuGyouSu Grid1.RemoveItem Kensu + 1 Next Else End If ' Msg = " " If KeyWord <> "" Then MsgBox Msg, 0, " " End Sub MsgBox RemoveItem 18 Kensu MsgBox Rows FilexdRows Kensuu RemoveItem For Next OK 33

38 Windows Command_Click 10. Windows (P)

39 Windows (X) (M) mnufile mnu 1 2 mnu 0 mnu 1 mnu 2 OK OK Select Case (I) mnufile 0 35

40 Windows Sub mnufile_click( Index As Integer ) Select Case Index ' Index = 0 Command1_Click Case 0 Command1_Click ' Index = 1 Command1_Click Case 1 Command2_Click ' Index = 2 Case 2 End End End Select End Sub mnurow mnufile_click 10-1 Integer Command1_Click Index Select Case 0 Index 0 mnufile_click Sub mnu_click(index As Integer) Case 0 Select Case Index Case 2 Command5_Click End Select Comman1 End Sub 36

41 Windows OK Command5_Click Visual Basic EXE Windows Visual VBRJP200.DLL Basic VER.DLL EXE (K)... Icom Icon EXE Windows Visual Basic EXE 14 EXE 8 8.EXE 37

42 Windows 13. Windows Visual Basic

BASICずVisual Basic

BASICずVisual Basic Visual Basic BASIC Visual Basic BASICBeginner's All purpose Symbolic Instruction Code Visual Basic Windows BASIC BASIC Visual Basic Visual Basic End Sub .Visual Basic Visual Basic VB 1-1.Visual Basic

More information

コンピュヌタ抂論

コンピュヌタ抂論 4.1 For Check Point 1. For 2. 4.1.1 For (For) For = To Step (Next) 4.1.1 Next 4.1.1 4.1.2 1 i 10 For Next Cells(i,1) Cells(1, 1) Cells(2, 1) Cells(10, 1) 4.1.2 50 1. 2 1 10 3. 0 360 10 sin() 4.1.2 For

More information

untitled

untitled ST0001-1- -2- -3- -4- BorderStyle ControlBox, MinButton, MaxButton True False True False Top Left Height,Width Caption Icon True/False -5- Basic Command1 Click MsgBox " " Command1 Click Command1 Click

More information

コンピュヌタ抂論

コンピュヌタ抂論 5.1 VBA VBA Check Point 1. 2. 5.1.1 ( bug : ) (debug) On Error On Error On Error GoTo line < line > 5.1.1 < line > Cells(i, j) i, j 5.1.1 MsgBox Err.Description Err1: GoTo 0 74 Visual Basic VBA VBA Project

More information

卒業論文.PDF

卒業論文.PDF 234 1 1 1.1 1 1.2 4 1.3 4 2 5 2.1 5 2.2 6 2.3 7 2.3.1 7 2.3.2 8 2.3.3 9 2.3.4 9 2.3.5 9 2.3.6 9 3 1 3.1 3.2 3.3 11 3.4 14 3.4.1 14 3.4.2 15 3.5 16 3.6 17 i 4 2 18 4.1 18 4.2 19 4.2.1 2m/sec 2 4.2.2 3m/sec

More information

B 5 (2) VBA R / B 5 ( ) / 34

B 5 (2) VBA R / B 5 ( ) / 34 B 5 (2) VBAR / B 5 (2014 11 17 ) / 34 VBA VBA (Visual Basic for Applications) Visual Basic VBAVisual Basic Visual BasicC B 5 (2014 11 17 ) 1 / 34 VBA 2 Excel.xlsm 01 Sub test() 02 Dim tmp As Double 03

More information

45 VBA Fortran, Pascal, C Windows OS Excel VBA Visual Basic Excel VBA VBA Visual Basic For Application Microsoft Office Office Excel VBA VBA Excel Acc

45 VBA Fortran, Pascal, C Windows OS Excel VBA Visual Basic Excel VBA VBA Visual Basic For Application Microsoft Office Office Excel VBA VBA Excel Acc \n Title 文 ç³» å­Š 生 のための VBA プログラミング 教 育 に぀いおの 考 察 Author(s) 五 月 女, 仁 子 ; Soutome, Hiroko Citation 商 経 論 叢, 46(1): 45-60 Date 2010-10-31 Type Departmental Bulletin Paper Rights publisher KANAGAWA University

More information

関数の䜜成挔習問題集

関数の䜜成挔習問題集 Excel Sum,Average,Max 330 BMI Excel My Excel VBA Visual BASIC Editor AltF11 Visual BASIC Editor My Function Function -1- Function ( As Single, As Single) As Double Function Funciton Funciton As Single

More information

<4D6963726F736F667420576F7264202D208DEC90AC837D836A83858341838B81698F4390B394C5816A2E646F63>

<4D6963726F736F667420576F7264202D208DEC90AC837D836A83858341838B81698F4390B394C5816A2E646F63> + = 付 録 Ⅰ マクロのフロヌチャヌト 開 始 キヌワヌド 数 ず 文 ç«  数 をカりントする Yes å…š おの 文 ç«  番 号 (1 0) を 照 合 したか No å…š おの 文 ç«  番 号 (data) を 照 合 したか Yes No 文 ç«  番 号 (1 0) が 文 ç«  番 号 (data) ず 等 しいか Yes No 倀 を 侀 行 å…š お 0にする 倀 を 侀

More information

AccessVBA−‹ŠpŁÒ-flO“Z

AccessVBA−‹ŠpŁÒ-flO“Z Microsoft Access 1 2 Private Sub After5days_Click( ) msg = Date + 5 MsgBox mag End Sub 3 Me.Filter = " =' " & Me! & "'" 4 5 Private Sub _Click() If IsNull(Me!) Then MsgBox " " Me!.SetFocus Me!.Dropdown

More information

csv csv

csv csv 2009 1 9 2 1. 1 2. 2 2.1......................................... 2 2.2 csv.................................... 3 2.3 csv.................................. 3 3. 4 3.1.........................................

More information

Excel Excel Excel = Excel ( ) 1

Excel Excel Excel = Excel ( ) 1 10 VBA / 10 (2016 06 21 ) Excel Excel Excel 20132 20 = 1048576 Excel 201316 100 10 (2016 06 21 ) 1 Excel VBA Excel Excel 2 20 Excel QR Excel R QR QR BLASLAPACK 10 (2016 06 21 ) 2 VBA VBA (Visual Basic

More information

PowerPoint プレれンテヌション

PowerPoint プレれンテヌション ルヌプ ルヌプずは? ある条件を満たすたで 指定の呜什を繰り返す Do... Loop For Next For Each Next While WEnd ルヌプの皮類 Do Loop Do While 条件 ステヌトメント Loop Do ステヌトメント Loop While 条件 Do Until 条件 ステヌトメント Loop Do ステヌトメント Until Loop 条件 Do Loop

More information

untitled

untitled Visual Basic.NET 1 ... P.3 Visual Studio.NET... P.4 2-1 Visual Studio.NET... P.4 2-2... P.5 2-3... P.6 2-4 VS.NET(VB.NET)... P.9 2-5.NET... P.9 2-6 MSDN... P.11 Visual Basic.NET... P.12 3-1 Visual Basic.NET...

More information

ブロック パニック

ブロック パニック ブロックパニック VB 2005 9 プログラムの抂芁 壁が迫り来る䞍思議な空間のオリゞナルゲヌム ブロックパニック を䜜成する スタヌトボタンをクリックし䞊䞋巊右の矢印キヌで癜猿を移動させる スペヌスキヌを抌すず 向いお居る方向の壁が埌退する 巊右の壁が合わさるず ゲヌムは終了する 䞀般的に 実甚プログラムに比范するずゲヌムプログラムは 高床なテクニックを芁求される事が倚い 歀凊では ゲヌムプログラムを䜜成する事に䟝り

More information

Microsoft Word - VBA基瀎(3).docx

Microsoft Word - VBA基瀎(3).docx 䞊に䞭和滎定のフロヌチャヌトを瀺したした この䞭で溶液の色を刀断する郚分がありたす このような刀断はプログラムではどのように行うのでしょうか 刀断に䜿う呜什は IF 文を䜿いたす IF は英語で もし䜕々なら ずいう意味になりたす 条件刀断条件刀断には次の呜什を䜿いたす If 条件匏 1 Then ElseIf 条件匏 2 Then ElseIf 条件匏 3 Then 実行文矀 1 実行文矀 2 実行文矀

More information

Excel ではじめる数倀解析 サンプルペヌゞ この本の定䟡 刀型などは, 以䞋の URL からご芧いただけたす. このサンプルペヌゞの内容は, 初版 1 刷発行時のものです.

Excel ではじめる数倀解析 サンプルペヌゞ この本の定䟡 刀型などは, 以䞋の URL からご芧いただけたす.   このサンプルペヌゞの内容は, 初版 1 刷発行時のものです. Excel ではじめる数倀解析 サンプルペヌゞ この本の定䟡 刀型などは, 以䞋の URL からご芧いただけたす. http://www.morikita.co.jp/books/mid/009631 このサンプルペヌゞの内容は, 初版 1 刷発行時のものです. Excel URL http://www.morikita.co.jp/books/mid/009631 i Microsoft Windows

More information

CommandMatrix_8230E

CommandMatrix_8230E 4. USB 4. USB 4.1 USB2.0 Full Speed USB (Universal Serial Bus) USB 4.2 USB : USB2.0 Full Speed : USB B : A112010 USB(A) -USB B 1 m ID: MYID 1 127 : : ASCII : ASCII : ADC USB 4.3 USB 4.3.1 ADC USB ADC USB

More information

D0020.PDF

D0020.PDF n 3 X n Y n = Z n 17 1995 300 n n 2 3 2 a b c c 2 a 2 b 2 600 2000 322 3 15 2 3 580 3 1 5 4 3 2 1 300 2 1 2 1 1 ExcelVBA 2 VBA 1 VBA 2 API Sleep ExcelVBA 2 100 60 80 50 ExcelVBA API Sleep 3 100 60 (80

More information

Microsoft Word 緎習問題の解答.doc

Microsoft Word 緎習問題の解答.doc 挔習問題解答 ç·Žç¿’ 1.1 Label1.Text = Val(Label1.Text) + 2 ç·Žç¿’ 1.2 コントロヌルの远加 Private Sub Button2_Click( 省略 ) Handles Button2.Click Label1.Text = Val(Label1.Text) - 2 ç·Žç¿’ 2.1 TextBox3.Text = Val(TextBox1.Text) * Val(TextBox2.Text)

More information

syspro-0405.ppt

syspro-0405.ppt 3 4, 5 1 UNIX csh 2.1 bash X Window 2 grep l POSIX * more POSIX 3 UNIX. 4 first.sh #!bin/sh #first.sh #This file looks through all the files in the current #directory for the string yamada, and then prints

More information

Lesson 1 1 EXVBA2000 Lesson01 Lesson01.xls 2

Lesson 1 1 EXVBA2000 Lesson01 Lesson01.xls 2 Excel2000VBA L e a r n i n g S c h o o l 1 Lesson 1 1 EXVBA2000 Lesson01 Lesson01.xls 2 3 Module1:(General)- Public Sub () Dim WS As Object Dim DiffDate As Integer Dim MaxRows As Integer, CopyRows As Integer

More information

D0120.PDF

D0120.PDF 12? 1940 Stanislaw Ulam John von Neumann Cellular Automaton 2 Cellular Automata 1 0 1 2 0 1 A 3 B 1 2 3 C 10 A B C 1 ExcelVBA 1 1 1 1 0 1 1 B7 BD7 road1 B8 BD31 board 0 Road1 50 board 0 1 0 1 Excel 2 2

More information

sinfI2005_VBA.doc

sinfI2005_VBA.doc sinfi2005_vba.doc MS-ExcelVBA 基瀎 (Visual Basic for Application). 䞻な仕様䞀芧 () デヌタ型 䞻なもの 型 型名 型宣蚀文字 長さ 内容 敎数型 Integer % 2 バむト -32,768 32,767 長敎数型 Long & 4 バむト -2,47,483,648 2,47,483,647 単粟床浮動小数点数 Single 型!

More information

Appendix A BASIC BASIC Beginner s All-purpose Symbolic Instruction Code FORTRAN COBOL C JAVA PASCAL (NEC N88-BASIC Windows BASIC (1) (2) ( ) BASIC BAS

Appendix A BASIC BASIC Beginner s All-purpose Symbolic Instruction Code FORTRAN COBOL C JAVA PASCAL (NEC N88-BASIC Windows BASIC (1) (2) ( ) BASIC BAS Appendix A BASIC BASIC Beginner s All-purpose Symbolic Instruction Code FORTRAN COBOL C JAVA PASCAL (NEC N88-BASIC Windows BASIC (1 (2 ( BASIC BASIC download TUTORIAL.PDF http://hp.vector.co.jp/authors/va008683/

More information

の包絡線を求めるこずになる 包絡線は䞀次匏で衚せるのでこのずきの係数 ( 切片 ) を求 めればよいこずになる この係数 ( 切片 ) が粘着力ずなる 包絡線はモヌルの応力円に倖 接する盎線であるため 包絡線の匏は䞋蚘䞉匏を解くこずにより求めるこずができる 包絡線の匏 Y=A1 X + B1 ---

の包絡線を求めるこずになる 包絡線は䞀次匏で衚せるのでこのずきの係数 ( 切片 ) を求 めればよいこずになる この係数 ( 切片 ) が粘着力ずなる 包絡線はモヌルの応力円に倖 接する盎線であるため 包絡線の匏は䞋蚘䞉匏を解くこずにより求めるこずができる 包絡線の匏 Y=A1 X + B1 --- モヌルの応力円から内郚摩擊角 粘着力を求めるためのプログラム 益氞八尋 Ⅰ. プログラムの考え方土質詊隓結果からモヌルの応力円を描き 内郚摩擊角ず粘着力を求めるプログラムの開発をおこなった このプログラムを䜜成するに圓っお どのような考え方をしおいるかを以䞋に技術資料ずしお䜜成する モヌルの応力円を䜜成するプログラム蚀語は VB ずした これは Excel の VBA では描画機胜がなく Excel

More information

橡実践Oracle Objects for OLE

橡実践Oracle Objects for OLE THE Database FOR Network Computing 2 1. 2 1-1. PL/SQL 2 1-2. 9 1-3. PL/SQL 11 2. 14 3. 16 3-1. NUMBER 16 3-2. CHAR/VARCHAR2 18 3-3. DATE 18 4. 23 4-1. 23 4-2. / 24 26 1. COPYTOCLIPBOARD 26 III. 28 1.

More information

J蚀語研究䌚 2007幎2月14日

J蚀語研究䌚 2007幎2月14日 (J 蚀語研究䌚 2007 幎 2 月 24 日 ) 鳥邊錬倪郎 VB で J-DLL Server を䜿う 1 はじめに J 蚀語ぞの郷愁は昔 APL 蚀語を少し霧った経隓があったが圓時はメむンフレヌムの専甚 TSS 端末からの利甚であったこずが原因である しかし 䞀般䌁業では TSS 利甚環境がそれほど裕犏ではないこず メモリサむズ CPU の凊理速床などの問題などから 実甚には䜿い勝手が良くなかったため

More information

C++ ++ Wago_io.dll DLLDynamicLinkLibrary Microsoft VisualBasic Visual C Wago_io.dll Wago_io.dll Wago_io.dll WAGO_OpenCommPort WAGO_CloseCommPort WAGO_

C++ ++ Wago_io.dll DLLDynamicLinkLibrary Microsoft VisualBasic Visual C Wago_io.dll Wago_io.dll Wago_io.dll WAGO_OpenCommPort WAGO_CloseCommPort WAGO_ Ethernet, CDROM DLL Setupexe Setup.exe WAGOIO Wago_io wago2002 WAGO_IO DLL WAGO_IO.DLL Windows Windows System32 Wago_io.dll Program Files Wago_io Wago_io Readme.txt C Sample.exe Wago_dll.h C Config.def

More information

Microsoft PowerPoint - Visualプログラミング

Microsoft PowerPoint - Visualプログラミング 流れの制埡構造 倚方向分岐 プログラムの制埡構造は䞋蚘の 6 ぀ (1) 連接 ( 連なり ) (2) 所定回数反埩 ( 䞀定回数の繰り返し ) (3) 刀断 ( 分かれ ) (4) 倚方向分岐 (5) 前刀定反埩 (6) 埌刀定反埩 䞊蚘以倖は䜿っおはいけない. 141 if 文による倚方向に分岐する凊理 (1) Sub elseif2() Dim a As Integer a = Range("A1").Value

More information

Excel Excel Excel 20132 20 = 1048576 Excel 201316 100 III 7 (2014 11 18 ) 1

Excel Excel Excel 20132 20 = 1048576 Excel 201316 100 III 7 (2014 11 18 ) 1 III 7 VBA / III 7 (2014 11 18 ) Excel Excel Excel 20132 20 = 1048576 Excel 201316 100 III 7 (2014 11 18 ) 1 Excel VBA Excel Excel 2 20 Excel QR Excel R QR QR BLASLAPACK III 7 (2014 11 18 ) 2 VBA VBA (Visual

More information

(Microsoft Word \203v\203\215\203O\203\211\203~\203\223\203O)

(Microsoft Word \203v\203\215\203O\203\211\203~\203\223\203O) 21113 Visual Basic を利甚したフリヌ゜フト開発 芁旚 各自でフリヌ゜フトを䜜成 むンタヌネット䞊に公開するこずを目的ずし Visual Basic2008 2010 を䜿い簡単なアプリの䜜成に成功した 1. 目的情報化が進んだ珟代においお 瀟䌚に出おいくためにはパ゜コンの䞀぀や二぀ 軜く扱えなければならない さらに 資源の乏しい日本においおは今埌 情報技術の発展するこずが望たしいず考える

More information

.NETプログラマヌ早期育成ドリル VBç·š 付録 文法早芋衚

.NETプログラマヌ早期育成ドリル VBç·š 付録 文法早芋衚 .NET プログラマヌ早期育成ドリル VB ç·š 付録文法早芋衚 本資料は UUM01W:.NET プログラマヌ早期育成ドリル VB 線コヌドリヌディング もしくは UUM02W:.NET プログラマヌ早期育成ドリル VB 線コヌドラむティング を ご賌入頂いた方にのみ提䟛される資料です 資料内容の転茉はご遠慮䞋さい VB プログラミング文法早芋衚 < 基本文法 > 名前空間の定矩 Namespace

More information

PowerCOBOL ナヌザヌズガむド

PowerCOBOL ナヌザヌズガむド Microsoft Windows 2000 B1WW-7001-02Z0(00) Microsoft Windows XP Microsoft Windows Server 2003 PowerCOBOL V9.0 ナヌザヌズガむド Click ( Change ( ENVIRONMENT DATA WORKING-STORAGE PROCEDURE DIVISION.

More information

KL-V450 Printer Driver

KL-V450 Printer Driver Windows J 1 2 3 4 5 1 2 1 6 2 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 7 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 1 2 3 4 1 2 3 5 6 4 5 6 9 10 1 2 3 1 2 3 11 1 2 3 4 5 6 7 1 2 3 4 ABCDE ABCDE 5 6 7 12 1 2 3 4 1 2 1 3

More information

PR300 電力モニタ 通信むンタフェヌス (RS-485通信Ethernet通信)

PR300 電力モニタ 通信むンタフェヌス (RS-485通信Ethernet通信) User s Manual 1 2 3 1 2 3 Ethernet 1 2 3 4 Ethernet (ST-NO) (PCLK1) (PCLK2) (COMM) (M ASC) (M RTU) (M TCP) (RS-485) (B-RT) (PR201) (NONE) (PRI) (EVEN) (ODD) (STP) (DLN) (RS-485) (Ethernet) (IP-1)

More information

K227 Java 2

K227 Java 2 1 K227 Java 2 3 4 5 6 Java 7 class Sample1 { public static void main (String args[]) { System.out.println( Java! ); } } 8 > javac Sample1.java 9 10 > java Sample1 Java 11 12 13 http://java.sun.com/j2se/1.5.0/ja/download.html

More information

PowerPoint プレれンテヌション

PowerPoint プレれンテヌション 党コヌス Web フォロヌ付!! Excel VBA 初心者の方から始められる入門コヌスから 基本文法が孊べるベヌシックや 高床なプログラミングが孊べるスタンダヌドたでしっかりず孊習できたす!! 孊習の流れ Excel VBA 入門 VBA 初心者の方 Excel の基本知識をお持ちの方 Excel VBA ベヌシック 基本文法を理解し 読解 ( 線集 ) 胜力を身に぀けたい方 Exce lvba

More information

ルヌレットプログラム

ルヌレットプログラム ルヌレットプログラム VB 2005 4 プログラムの抂芁 カゞノの代衚的なゲヌム ルヌレット を䜜成する 先ず GO! ボタンをクリックするず ルヌレット盀䞊をボヌルが回転し 䞀定時間経過するず ボヌルが止たり 出目を衚瀺するプログラムを䜜成する 出目を 1~16 倧小 偶数奇数の内から予想しお 予め蚭定した持ち点の範囲内で賭け点を決め 賭け点ず出目に䟝り 1 点賭けの堎合は 16 倍 其他は 2

More information

情報資源組織挔習B:

情報資源組織挔習B: 情報資源組織挔習 A( 曞誌の䜜成 ) 第 13 回曞誌デヌタ管理 怜玢システムの構築 第 14 回ネットワヌク情報資源のメタデヌタ䜜成の実際 第 15 回たずめ 2013 幎床跡芋孊園女子倧孊文孊郚准教授犏田博同 怜玢システムの構築 ( 静的デヌタベヌス ) 第 12 回で HTML ファむルに Google 怜玢窓を埋め蟌む方法は理解した 今回 :Excel の VBA を䜿い デヌタベヌス的怜玢凊理を行う

More information



 第 4 曞デヌタベヌス操䜜 i 4.1 デヌタベヌスぞの接続 (1) デヌタベヌスチェックポむントの远加 デヌタベヌスチェックポむントを远加したす (2)ODBC による接続 ODBC を䜿甚しおデヌタベヌスぞ接続したす SQL 文を手䜜業で指定する堎合 最倧フェッチ行数を指定する堎合はここで最倧行数を指定したす ii 接続文字列を䜜成したす 䜜成ボタンクリック > デヌタ゜ヌス遞択 > デヌタベヌス接続

More information

2 1,384,000 2,000,000 1,296,211 1,793,925 38,000 54,500 27,804 43,187 41,000 60,000 31,776 49,017 8,781 18,663 25,000 35,300 3 4 5 6 1,296,211 1,793,925 27,804 43,187 1,275,648 1,753,306 29,387 43,025

More information

第10回 コヌディングず統合WWW甚.PDF

第10回 コヌディングず統合WWW甚.PDF 10 January 8, 2004 algorithm algorithm algorithm (unit testing) (integrated testing) (acceptance testing) Big-Bang (incremental development) (goto goto DO 50 I=1,COUNT IF (ERROR1) GO TO 60 IF (ERROR2)

More information

Microsoft PowerPoint - vp挔習課題

Microsoft PowerPoint - vp挔習課題 挔習課題 (1) 27 Nov., '18 katakan2hiragana.xlsm は, 䞋図のように 4~8 行目の B 列に挢字で衚蚘した氏名,C 列にカタカナで衚蚘したペミガナ,D 列にひらがなで衚蚘したよみがなを衚瀺させるこずを意図しおいる. このシヌトは, セル範囲 "B4:B8"( 図の赀枠内 ) に, キヌボヌドから挢字で氏名を入力するず C 列にカタカナのペミガナが自動的に衚瀺されるようになっおいる.

More information

N88 BASIC 0.3 C: My Documents 0.6: 0.3: (R) (G) : enterreturn : (F) BA- SIC.bas 0.8: (V) 0.9: 0.5:

N88 BASIC 0.3 C: My Documents 0.6: 0.3: (R) (G) : enterreturn : (F) BA- SIC.bas 0.8: (V) 0.9: 0.5: BASIC 20 4 10 0 N88 Basic 1 0.0 N88 Basic..................................... 1 0.1............................................... 3 1 4 2 5 3 6 4 7 5 10 6 13 7 14 0 N88 Basic 0.0 N88 Basic 0.1: N88Basic

More information

PowerCOBOL ナヌザヌズガむド

PowerCOBOL ナヌザヌズガむド PowerCOBOL V10.0 ナヌザヌズガむド B1WD-1671-01Z0(00) 2008 幎 6 月 Click ( Change ( ENVIRONMENT DATA WORKING-STORAGE PROCEDURE DIVISION. DIVISION. SECTION. DIVISION. ENVIRONMENT DATA WORKING-STORAGE

More information

スラむド 1

スラむド 1 埅ったなし VB 6.0 から VB2005 ぞの移行ノりハり 2008/02/23 by mxb Q1 Q2 Q3 埅ったなし VB 6.0 から VB2005 ぞの移行ノりハり 珟圚 VB6.0 で開発したシステムおよびアプリケヌションを䜿甚しおいる方 珟圚 VB6.0 でシステムおよびアプリケヌションを開発しおいる方 珟圚の VB6.0 で開発したシステムおよびアプリケヌションをこれからも䜿い続ける方

More information

94 expression True False expression FalseMSDN IsNumber WorksheetFunctionIsNumberexpression expression True Office support.office.com/ja-jp/ S

94 expression True False expression FalseMSDN IsNumber WorksheetFunctionIsNumberexpression expression True Office   support.office.com/ja-jp/ S Excel VBA a Excel VBA VBA IsNumeric IsNumber SpecialCells SpecialCells MSDNMicrosoft Developer NetworkIsNumeric IsNumber SpecialCells IsNumeric VBA IsNumericexpression SpecialCells 94 expression True False

More information

目次 曎新履歎... 1 はじめに... 3 レコヌドセット?... 3 準備... 5 SQL でデヌタを取埗する... 6 デヌタのルヌプ凊理... 7 列の倀を取埗する... 7 察象行を倉曎する (MoveFirst, MoveNext, MovePrevious, MoveLast)...

目次 曎新履歎... 1 はじめに... 3 レコヌドセット?... 3 準備... 5 SQL でデヌタを取埗する... 6 デヌタのルヌプ凊理... 7 列の倀を取埗する... 7 察象行を倉曎する (MoveFirst, MoveNext, MovePrevious, MoveLast)... レコヌドセット (ADODB.Recordset) の䜿い方 䜜成日 : 2018/02/05 䜜成者 : 西村 曎新履歎 曎新日 曎新抂芁 䜜業者 2018/02/05 新芏䜜成 西村 1 目次 曎新履歎... 1 はじめに... 3 レコヌドセット?... 3 準備... 5 SQL でデヌタを取埗する... 6 デヌタのルヌプ凊理... 7 列の倀を取埗する... 7 察象行を倉曎する (MoveFirst,

More information

工倫した゚クセルの䜿い方

工倫した゚クセルの䜿い方 Excel95 Excel97 Excel97 VisualBasic6 Excel2000 VBA Excel VBA VisualBasic6 Excel2000 OK Delete W AutoSize True Caption Enabled True False Sheet W Delete Sheet1( ) Cmd Click frm.show Sheet2 C ( ) Caption

More information

Pascal Pascal Free Pascal CPad for Pascal Microsoft Windows OS Pascal

Pascal Pascal Free Pascal CPad for Pascal Microsoft Windows OS Pascal Pascal Pascal Pascal Free Pascal CPad for Pascal Microsoft Windows OS 2010 10 1 Pascal 2 1.1.......................... 2 1.2.................. 2 1.3........................ 3 2 4 2.1................................

More information

最初に VBA が䜿甚できるように マクロ ず呌ばれる゚クセル䞊のアプリ ( のようなもの ) を準備したす Excel メニュヌの ファむル オプション を遞択 衚瀺される Excel のオプション から リボンのナヌザヌ蚭定 を遞択 メむンタブ 内の 開発 にチェックを付けお OK をクリック

最初に VBA が䜿甚できるように マクロ ず呌ばれる゚クセル䞊のアプリ ( のようなもの ) を準備したす Excel メニュヌの ファむル オプション を遞択 衚瀺される Excel のオプション から リボンのナヌザヌ蚭定 を遞択 メむンタブ 内の 開発 にチェックを付けお OK をクリック ブログ自動投皿ツヌルの䜜り方 (Excel 2013 版 ) さずうちはる さんの無料レポヌト 超簡単! 誰にでも出来る ブログ蚘事自動投皿ツヌルを䜜成する方法をご玹介 アフィリ゚むトにはめんどくさい䜜業や退屈な䜜業がたくさんありたす やりたくない䜜業はツヌルを䜿っお自動化しよう 文末にはツヌルの無料プレれントありたす http://mailzou.com/get.php?r=82982&m=15301

More information

Public Class Class4SingleCall Inherits MarshalByRefObject Public Sub New() End Sub Public Function OneProc(ByVal The As A SC) As A SC Dim The As New A SC The.answer = The.index * 2 + 1000 Return The End

More information

74 No.3 0999500 999500 ACCESS

74 No.3 0999500 999500 ACCESS Mar.2003 73 ACCESS ACCESS EXCEL EXCEL 74 No.3 0999500 999500 ACCESS Mar.2003 75 76 No.3 Mar.2003 77 temp EXCEL EXCEL No.3 78 seikika.txt Mar.2003 79 EXCEL Personal.xls Visual Basic Editor VBA Project(PERSONAL.XLS)

More information

 シミュレヌションずは䜕か

 シミュレヌションずは䜕か Delphi P.1/16 Delphi Delphi Object Pascal Delphi Delphi Delphi (Borland) Windows Turbo Pascal Pascal Delphi Turbo Pascal Windows Pascal FORTRAN BASIC Java Algol Algol Pascal Pascal Pascal Pascal Delphi

More information

JavaずVisual Basicを䜿ったWebサヌビスの実装

JavaずVisual Basicを䜿ったWebサヌビスの実装 JavaVisual Basic Web [email protected] http://www.hitachi-sk.co.jp/ Web? Web Web Web Web Web Web SOAP Web Web Web SOAP MicrosoftIBM Web Web SOAP, UDDI, WSDL EJB Java Java Java Assam Commerce Server

More information

D0090.PDF

D0090.PDF 400. 1 1 1 3 500g 180cm A A 0g 500g 500g 500g 0.2 0.3 cm 500g 1kg 12 2 4 2 1 2 1 500g 500g 500g 2 A FreeFall 2 VBEditor 1 1 Option Explicit Declare Sub Sleep Lib "kernel32" (ByVal dwmilliseconds As Long)

More information

ExcelVBA Excel VBA Microsoft Excel VBA Visual Basic for Applications Excel Excel VBA ExcelVBA Excel ExcelVBA Excel VBA Excel ExcelVBA ExcelVBA VBA Ran

ExcelVBA Excel VBA Microsoft Excel VBA Visual Basic for Applications Excel Excel VBA ExcelVBA Excel ExcelVBA Excel VBA Excel ExcelVBA ExcelVBA VBA Ran Excel VBA Microsoft Excel VBA Visual Basic for ApplicationsExcel Excel VBA Excel ExcelVBA Excel VBA Excel ExcelVBA VBA Range Excel 174 VBA VisualBasicforApplications Microsoft ExcelWordAccessPowerPoint

More information

8 if switch for while do while 2

8 if switch for while do while 2 (Basic Theory of Information Processing) ( ) if for while break continue 1 8 if switch for while do while 2 8.1 if (p.52) 8.1.1 if 1 if ( ) 2; 3 1 true 2 3 false 2 3 3 8.1.2 if-else (p.54) if ( ) 1; else

More information

MS-ExcelVBA 基瀎 (Visual Basic for Application)

MS-ExcelVBA 基瀎 (Visual Basic for Application) MS-ExcelVBA 基瀎 (Visual Basic for Application). 䞻な仕様䞀芧 () デヌタ型 ( 䞻なもの ) 型型名型宣蚀文字長さ内容敎数型 Integer % バむト -, ~, 長敎数型 Long & バむト -,,, ~,,, 単粟床浮動小数点数型倍粟床浮動小数点数型 Single! バむト負倀 : -.0E ~ -.0E- 正倀 :.0E- ~.0E Double

More information

デヌタを TreeView コントロヌルで衚瀺 VisualStudio2017 の Web サむトプロゞェクトで bootstrap, 及び script フォルダの js ファむルが䜿甚できるマスタヌペヌゞを芪ずする TestTreeView.aspx ペヌゞを䜜成したす 䞋蚘の html コヌ

デヌタを TreeView コントロヌルで衚瀺 VisualStudio2017 の Web サむトプロゞェクトで bootstrap, 及び script フォルダの js ファむルが䜿甚できるマスタヌペヌゞを芪ずする TestTreeView.aspx ペヌゞを䜜成したす 䞋蚘の html コヌ デヌタを TreeView コントロヌルで衚瀺 VisualStudio2017 の Web サむトプロゞェクトで bootstrap, 及び script フォルダの js ファむルが䜿甚できるマスタヌペヌゞを芪ずする TestTreeView.aspx ペヌゞを䜜成したす 䞋蚘の html コヌドのスタむルを䜜成したす html コヌド 1

More information

プログラミング挔習

プログラミング挔習 プログラミング入門 Ⅰ (No.11) Ⅰ11-1 [1] プログラムを修正する (1-1) 既にあるプログラムを開く 前回䜜ったプログラム prog1-10.xlsm を開いおみよう 既に保存しおある VBA プログラムを開くには 以䞋のようにする ドキュメントから開く 1 Excel VBA のプログラムは Excel ファむルの䞭に入っおいるので Excel ファむルをダブルクリックする 2

More information

ドラむブは安党運転で in 滋賀♪

ドラむブは安党運転で in 滋賀♪ 烏賊セヌバヌ VB 2005 71 プログラムの抂芁 可愛い烏賊が 画面を泳ぐスクリヌンセヌバヌで有る 烏賊の数 背景 ( 黒䞀色かデスクトップ画面 ) を蚭定する事が出来る 背景が 黒䞀色の堎合は 単に烏賊が 巊右から珟れおは 反察偎に泳いで行く䞈だが デスクトップ画面の堎合は 埐々に背景が烏賊の圢に塗り朰されお行く スクリヌンセヌバヌの本来の目的は ディスプレむの焌き付きを防止する事で有るが 珟圚では

More information

Microsoft Word - Win-Outlook.docx

Microsoft Word - Win-Outlook.docx Microsoft Office Outlook での蚭定方法 (IMAP および POP ç·š ) How to set up with Microsoft Office Outlook (IMAP and POP) 0. 事前に https://office365.iii.kyushu-u.ac.jp/login からサむンむンし 以䞋の手順で自分の基本アドレスをメモしおおいおください Sign

More information

技術ノヌト KGTN

技術ノヌト KGTN 技術ノヌト KGTN 2010092203 珟象プリンタドラむバを倚数の GG サヌバにむンストヌルしたい. 説明このようなケヌスでは, プリンタドラむバを含む マスタずなる GG サヌバのむメヌゞを䜜成し, それを展開するのが最善の方法です. プリンタドラむバが远加された堎合は, 各 GG サヌバ䞊で暙準的な手順でむンストヌルするか, たたは 新しいプリンタドラむバを含む マスタずなる GG サヌバのむメヌゞを䜜成し,

More information

untitled

untitled StiLL StiLL Excel VBA IT Excel2000 2003 StiLL StiLL! Excel2007 StiLL -- -- Excel!!!! DB CSV VBA VBA ' VBA Public Sub SampleProgramDAO1() Dim SheetName As String Dim strname As String SheetName = "Sheet2"

More information

netcdf

netcdf 1. Anetcdf.rb netcdf C ruby open new create NetCDF C filename String NetCDF NetCDF_open mode r r, w share false true or false open open netcdf filename String NetCDF NetCDF_create noclobber false true

More information

Oracle Lite Tutorial

Oracle Lite Tutorial GrapeCity -.NET with GrapeCity - FlexGrid Creation Date: Nov. 30, 2005 Last Update: Nov. 30, 2005 Version: 1.0 Document Control Internal Use Only Author Hiroshi Ota Change Logs Date Author Version Change

More information

1.dll の配眮堎所配垃時はプログラムの実行フォルダヌぞ配眮 2. 開発環境での䜿甚 プロゞェクトのプロパティヌで [USBPIO.dll] を参照远加しおください 開発環境 dll ファむルの堎所 VB.Net Express Edition 境プロゞェクトのフォルダ \bin\release VB.Netebugビルドの堎合プロゞェクトのフォルダ \bin\debug VB.Net Releaseビルドの堎合プロゞェクトのフォルダ

More information

Oracle Lite Tutorial

Oracle Lite Tutorial GrapeCity -.NET with GrapeCity - InputMan Creation Date: Nov. 30, 2005 Last Update: Nov. 30, 2005 Version: 1.0 GrapeCity Microsoft Visual Studio.NET VB.NET Oracle Tips InputMan InputMan Oracle.NET Oracle

More information

倉庫番

倉庫番 倉庫番 VB 2005 63 プログラムの抂芁 其の昔 䞀䞖を颚靡し䞖界䞭に愛奜家の居るパズルゲヌム 倉庫番 で有る 荷物 ( 蛞 ) を抌しお ( 匕く事は出来ない ) 所定の堎所 ( 壺 ) に玍める単玔明快な物で有る 猶 䞀床クリアした面は 自由に再床プレむする事が出来るが 新たな面には 前の面をクリアしないず進む事は出来ない 䞀般的に 実甚プログラムに比范するずゲヌムプログラムは 高床なテクニックを芁求される事が倚い

More information

NotifyIconコントロヌル

NotifyIconコントロヌル NotifyIcon コントロヌル システムトレむ ( タスクトレむ ) にアむコンを衚瀺する.NET Framework 2.0 以降の堎合は 埌述の 2 を芳お欲しい Outlook や MSN Messenger 等の様に Windows アプリケヌションではシステムトレむ ( タスクトレむ ステヌタス領域等ずも呌ばれる ) にアむコンを衚瀺しお アプリケヌションの状態を瀺したり アプリケヌションのフォヌムを衚瀺したりする為のショヌトカットずしお利甚する事が出来る.NET

More information