No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hello what is the code of if scroll bar of listbox move i somethins like this ? [CODE] if listbox1.scrollmove then textbox.text="" end if [/CODE] |
|
hi sir smilpy i want is to make a simple action of Brwoser Bookmark (but not menu i want it in listbox) like when i bookmark a websit it has the name and its URL , so when you click on the name it opens itsURL how to save data … |
|
Imports System.IO Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load System.IO.File.WriteAllBytes("e:\", My.Resources.file.exe) End Sub End Class but alwys i get thie error access to the path e:\ is denied but the hard drive is accessable , so how i copy a fil from … |
|
hi i found this and they its fixed by usein mycontrolname.ControlAdd(); [Link Anchor Text](http://social.msdn.microsoft.com/forums/en-US/winforms/thread/a10ef6b5-981f-455d-be84-bbbe41798efd/) but when i use this method it will still crash my app D: what is the problem D: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 { public … |
|
hello in form1 it has swf object how can vb.net play this script into that swf object [CODE]<script type="text/javascript" src="http://Radioonline.ir/RadioonlinePlayer.Js"></script>[/CODE] |
|
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged If ListBox1.SelectedItem IsNot Nothing Then Timer1.Enabled = False Else Timer1.Enabled = True End If End Sub |
|
hello in DataGridView1 control there is 3 items i want when you for etc select item , "number 1" then do something like when i use listbox selected item [CODE] If ListBox1.SelectedItem = "1" Then textbox1.text="hello" end if[/CODE] if like if DataGridView1.selected item ? |
|
hi how can i make list view like this ? [URL="http://myup.ir/images/64139266311095345064.jpg"]http://myup.ir/images/64139266311095345064.jpg[/URL] [CODE] ListView1.Items(1).BackColor = Color.LightGray[/CODE] |
|
in resources there is a text file with items like number 1 2 number 3 three when i use code [CODE] For Each i As String In My.Resources.TextFile1 If i.ToString().Trim.Length = 0 Then ListBox1.Items.Remove(i.ToString()) Else ListBox1.Items.Add(i.ToString()) End If Next[/CODE] then in listbox1 its looks like this [URL="http://myup.ir/images/61057050895672070364.jpg"]http://myup.ir/images/61057050895672070364.jpg[/URL] n u m … |
|
in form1 there is a checkbox witch when you click , it will save checked value in xml file in splash screen its has a label1.text = "welcome " what i want is ,when splashscreen loading up check if settings of form1.checkbox1.checked if true then do [splashscreen] me.text ="your not … |
|
i found this code but it record mic device only . [CODE]Imports System.Runtime.InteropServices Imports System.Text Public Class recordvb <DllImport("winmm.dll")> _ Private Shared Function mciSendString(ByVal command As String, ByVal buffer As StringBuilder, ByVal bufferSize As Integer, ByVal hwndCallback As IntPtr) As Integer End Function Private Sub Button1_Click(ByVal sender As System.Object, ByVal … |
|
[CODE] Dim wri As New IO.StreamWriter("e:\test.txt", True) wri.WriteLine(ListBox1.SelectedItem, true) wri.Close())[/CODE] etc in llistbox1 items , "1" "f1" "f2" when i click for example f1 that code will save it and when i want you save the same item it wit will save it in other line and in test.text file … |
|
in form1 i have two listboxs listbox1 listbox2 loadbutton and savebutton this code will write listbox1.selecteditem into a txt file and loadbutton will load info in listbox2 but i want when i click loadbutton it check if that item is already exist in listbox2 , if not so write selected … |
|
[URL="http://www.daniweb.com/software-development/vbnet/threads/360388"]http://www.daniweb.com/software-development/vbnet/threads/360388[/URL] how to make a filter that only show the items that checked and unchecked don't show in checklistbox |
|
in form it have 2 listbox and in listbox1 and listbox2 items have "s1" , "s2" "s3" [CODE] Select Case ListBox1.Text And listBox2.Text Case "s1" p1.visible=tre Case "s2" p2.visible=tre Case "s3" p3.visible=tre End Select[/CODE] i want that the code check it item in listbox1 or 2 then do the same … |
|
[CODE] Private Sub save_Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim i As Integer w = New IO.StreamWriter("e:\test.txt") For i = 0 To ListBox1.Items.Count - 1 w.WriteLine(ListBox1.Items.Item(i)) Next w.Close() End Sub[/CODE] this code will save all items in listbox but i want when u click an item(selecteditem) … |
|
i use this code under the CurrentMediaItemAvailable for windows media player but it will not show the title or the name , but it will show some media name , but some media file will not ! [CODE] Private Sub AxWindowsMediaPlayer1_CurrentMediaItemAvailable(ByVal sender As Object, ByVal e As AxWMPLib._WMPOCXEvents_CurrentMediaItemAvailableEvent) Handles AxWindowsMediaPlayer1.CurrentMediaItemAvailable … |
|
i have windows media player then its for etc open an mp3 file i want that when its playing mp3 the song name showing up into a label like Label1.Caption = w1.currentMedia.Name but its not work D: |
|
is there a way to add command1 onto form's boderstyle ? like there is close and maximize and minimize can i add a new one nearby them |
|
hello , etc , i have form1 and form2 , form2 have a WindowsMediaPlayer1 and in form1 it have a button and its code is like : [CODE]Form2.Show WindowsMediaPlayer1.URL = "c:\Users\lapi\Desktop\DOWNLOADED\365.wmv"[/CODE] but its gave me error that thhis object its not in form1 is there a way to controll it … |