Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~6K People Reached
Favorite Forums
Member Avatar for gozo12

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]

Member Avatar for Xavier_5
0
3K
Member Avatar for gozo12

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 …

Member Avatar for ChrisPadgham
0
139
Member Avatar for gozo12

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 …

Member Avatar for Gé48
0
143
Member Avatar for gozo12

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 …

0
67
Member Avatar for gozo12

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]

Member Avatar for mitchfizz05
0
186
Member Avatar for gozo12

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

Member Avatar for Jx_Man
0
137
Member Avatar for gozo12

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 ?

Member Avatar for Jx_Man
0
117
Member Avatar for gozo12

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]

Member Avatar for MeSam0804
0
118
Member Avatar for gozo12

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 …

Member Avatar for Reverend Jim
0
202
Member Avatar for gozo12

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 …

Member Avatar for austinp1
0
230
Member Avatar for gozo12

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 …

0
59
Member Avatar for gozo12

[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 …

Member Avatar for codeorder
0
219
Member Avatar for gozo12

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 …

Member Avatar for Mitja Bonca
0
252
Member Avatar for gozo12

[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

Member Avatar for M.Waqas Aslam
0
445
Member Avatar for gozo12

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 …

Member Avatar for gozo12
0
175
Member Avatar for gozo12

[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) …

Member Avatar for M.Waqas Aslam
0
164
Member Avatar for gozo12

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 …

Member Avatar for gozo12
0
201
Member Avatar for gozo12

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:

Member Avatar for debasisdas
0
84
Member Avatar for gozo12

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

Member Avatar for imolorhe
0
83
Member Avatar for gozo12

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 …

Member Avatar for debasisdas
0
133