본문 바로가기

분류 전체보기63

[VB.net] 현재 폴더의 모든 파일 및 폴더 이름 불러오기 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click ListBox1.Items.Clear() Dim dir As New IO.DirectoryInfo(TextBox1.Text) Dim fname As IO.FileInfo Dim fname2 As IO.DirectoryInfo For Each fname In dir.GetFiles() ListBox1.Items.Add(fname) Next For Each fname2 In dir.GetDirectories() ListBox1.Items.Add(fna.. 2020. 3. 4.
[VB.net] html 소스 불러오기 컨트롤러 이름 텍스트 메모 TextBox TextBox1 Button Button1 Button1 Panel Panel1 AutoScroll 속성값 True Label Label1 Label1 Imports System.IO Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim winHttp As New WinHttp.WinHttpRequest Dim strUrl As String = TextBox1.Text winHttp.Open("GET", strUrl) winHttp.Send() Label1.Text = winHttp.ResponseText End Sub End Cl.. 2020. 2. 29.
[Android] 동적으로 레이아웃 추가하기 - HorizontalScrollView, Glide 평소처럼 ArrayList Adapter ListView 모양으로 구현하려다가 RecyclerView 라이브러리 사용을 피하고 싶어서 레이아웃을 추가하는 방식으로 가로 형태의 스크롤 뷰를 만들어봤습니다. 먼저, build.gradle (Module: app) 파일의 dependencies 블록 안에 glide 라이브러리 추가한 뒤 Sync now 클릭 // Glide 라이브러리 implementation 'com.github.bumptech.glide:glide:4.10.0' 1. MainActivity.java public class MainActivity extends AppCompatActivity { ArrayList arrayList; @Override protected void onCreate.. 2020. 2. 27.
온라인 IDE 모음 Code sandbox : https://codesandbox.io/CodeSandbox: Online IDE for Rapid Web DevelopmentCodeSandbox is an online code editor and prototyping tool that makes creating and sharing web apps fastercodesandbox.io 구름IDE : https://ide.goorm.io/구름IDE - 설치가 필요없는 통합개발환경 서비스구름IDE는 언제 어디서나 사용 가능한 클라우드 통합개발환경(Integrated Development Environment IDE)을 제공합니다. 웹브라우저만 있으면 코딩, 디버그, 컴파일, 배포 등 개발에 관련된 모든 작업을 클라우드에서 할.. 2020. 2. 25.
[VB.net] 리소스 이미지 저장 및 로드 Dim Path As String = "C:\TEST\" ' 리소스의 이미지를 Path 경로에 파일로 저장 My.Resources.test_image1.Save(Path & "test.jpg") ' 리소스의 이미지를 로드 PictureBox1.Image = My.Resources.test_image1 Dim Path As String = "C:\TEST\" ' 다른 형식의 파일 저장하기 Dim b1() As Byte = My.Resources.resource1 System.IO.File.WriteAllBytes(Path & "resource1", b1) 리소스에 있는 이미지를 원하는 경로에 저장 및 로드 2020. 2. 23.
[VB.net] 레지스트리 생성, 수정, 읽기 * 레지스트리란?윈도우 레지스트리(Windows Registry)는 마이크로소프트 윈도우 32/64비트 버전과 윈도우 모바일 운영 체제의 설정과 선택 항목을 담고 있는 데이터베이스로, 모든 하드웨어, 운영 체제 소프트웨어, 대부분의 비운영 체제 소프트웨어, 사용자 PC 선호도 등에 대한 정보와 설정이 들어 있다. 사용자가 제어판 설정, 파일 연결, 시스템 정책, 또는 설치된 소프트웨어를 변경하면, 이에 따른 변경 사항들이 레지스트리에 반영되어 저장된다.출처: https://ko.wikipedia.org/wiki/%EC%9C%88%EB%8F%84%EC%9A%B0_%EB%A0%88%EC%A7%80%EC%8A%A4%ED%8A%B8%EB%A6%AC Public Class Form1 Dim Path As Stri.. 2020. 2. 22.