355 Posted Topics

Member Avatar for fable1380

Hi, Looks like the .Net MultiMediaControl isn't for free, look [URL="http://www.componentsource.com/products/net-multimedia-control/index.html"]here.[/URL] What you can do is add the Windows mediaplayer control.

Member Avatar for huslayer
0
352
Member Avatar for Dr-Delta
Member Avatar for Luc001
0
300
Member Avatar for lulusweety

Hi, You can show only the date like this: [CODE] Dim Custom As String Custom = Now.ToString("MM/dd/yyyy") ' only date TextBox5.Text = Custom[/CODE]

Member Avatar for lulusweety
0
113
Member Avatar for needanswer

Hi, You can't do web apps with Visual Basic 2008 Express, only desktop apps, but you can download Visual Web Developer Express to do web apps. Web Developer Express is also free. You can find some information and download Wb Developer Express, [URL="http://www.asp.net/vwd/"]here.[/URL]

Member Avatar for needanswer
0
152
Member Avatar for Ellitivity

Hi, You need a mousebutton click for some raison? If you only want the position of your cursor then you don't need to perform a mouseclick. I've added a testbox to show you the coordinates of the cursor. [code]Public Class Form1 Public Declare Auto Function GetCursorPos Lib "User32.dll" (ByRef lpPoint …

Member Avatar for Luc001
0
217
Member Avatar for faceandname

Hi, You need to change them like this: [code]Public Class Form1 Public Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Form2.AdjOne.Text = txtONE.Text Form2.NounOne = txtTWO Form2.verbPTone=txtTHREE Form2.AdvOne=txtFOUR Form2.AdjTwo=txtFIVE Form2.NounTwo=txtSIX Form2.NounThree= txtSEVEN Form2.AdjThree=txtEIGHT Form2.verbOne=txtNINE Form2.AdvTwo=txtTEN Form2.verbPTtwo=txtELEVEN Form2.AdjFour=txtTWELVE [/code]

Member Avatar for Luc001
0
133
Member Avatar for landb

Hi, You can find more tutorials about Tic Tac Toe games on Google. But this is another one, [URL="http://www.xtremevbtalk.com/showthread.php?t=305065"]here.[/URL]

Member Avatar for Luc001
0
99
Member Avatar for Anigmalee

Hi, You can try this: [code]Label1.Text = ListView1.Items.Count()Label1.Text = ListView1.Items.Count()[/code]

Member Avatar for Anigmalee
0
208
Member Avatar for Agent-of-Chaos

Hi, I've made some changes and values to test your function. Here's the result: [code]Public Class Form1 Dim x As Integer = 50 Dim i As Integer = 4 Dim y As Integer Dim j As Integer = 10 Sub DrawScreen() Dim gr As System.Drawing.Graphics = Me.CreateGraphics Dim myPen As …

Member Avatar for Luc001
0
141
Member Avatar for VIPER5646

Hi, Try something like this: [code]Dim theConnection As New OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0;data source=book1.xls;Extended Properties=""Excel 8.0;HDR=NO;IMEX=1;""") theConnection.Open() Dim theDataAdapter As New OleDbDataAdapter("SELECT * FROM [Sheet1$]", theConnection) Dim theDS As New DataSet() Dim dt As New DataTable() theDataAdapter.Fill(dt) Me.dataGridView1.DataSource = dt.DefaultView [/code]

Member Avatar for Luc001
0
271
Member Avatar for robson

Hi, You can find some information in [URL="http://www.daniweb.com/forums/thread99345.html"]this[/URL] thread.

Member Avatar for Luc001
0
70
Member Avatar for Anigmalee

Hi, You can work around and use enabled and set backcolor to white. Here's an example: [code]For Each ctrl As Control In Me.Controls If TypeOf ctrl Is TextBox Then ctrl.Enabled = False ctrl.BackColor = Color.White End If Next[/code]

Member Avatar for crazyhorse09
1
1K
Member Avatar for mototrucker

Hi, In the button event start the timer and switch the relay on. In the timer event create a counter to count the seconds the relay is on and switch then the relay off.

Member Avatar for Luc001
0
78
Member Avatar for Ebisu

Hi, You need to add those images into the resources files like this: [code]PictureBox1.Image = My.Resources.imagename[/code] You can find the whole explanation, [URL="http://msdn.microsoft.com/en-us/library/ytt371w5(v=VS.80).aspx"]here.[/URL]

Member Avatar for Luc001
0
97
Member Avatar for Anigmalee

Hi, You should read [URL="http://www.daniweb.com/forums/thread72305.html"]this[/URL] thread.

Member Avatar for Anigmalee
0
122
Member Avatar for b89smith

Hi, I think you can find some information, [URL="http://blogs.techrepublic.com.com/window-on-windows/?p=745"]here.[/URL]

Member Avatar for Luc001
0
153
Member Avatar for PDB1982

Hi, Here's how I did it to draw a circle with a timer. [code]Public Class Form1 Dim count As Integer = 0 ' start count of counter Private Sub Form1_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub TestButton_Click(ByVal sender As System.Object, _ ByVal …

Member Avatar for Luc001
0
181
Member Avatar for Big-D2xL

Hi, You can use an Imagelist to do so, and then show the images into your panel. You can find some explanation, [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.imagelist.aspx"]here.[/URL]

Member Avatar for Big-D2xL
0
92
Member Avatar for Sailor_Jerry

Hi, What you can try is to enable the add rows button until the row is added. This is just a suggestion, bacause without code is it very difficult to answer.

Member Avatar for kouroshnik
0
686
Member Avatar for tanvirahmad

Hi, You can try this: [code]Private Function AlphabeticSort(ByVal dtTable As DataTable, ByVal sortOrder As Integer) As DataTable Dim dsSorted As New DataSet Dim columnKey As String = "TabName" Dim sortDirection As String = "" Dim sortFormat As String = "{0} {1}" Select Case sortOrder Case 0 sortDirection = "ASC" Case …

Member Avatar for kvprajapati
0
109
Member Avatar for ukshir

Hi, I think you can find some information, [URL="http://www.c-sharpcorner.com/UploadFile/mahesh/EnumToString10212005144136PM/EnumToString.aspx"]here.[/URL]

Member Avatar for ukshir
0
129
Member Avatar for marawangy

Hi, You can find some information about how to create a Phonebook with VB.Net, [URL="http://www.sourcecodester.com/visual-basic-net/simple-phone-book-database.html"]here.[/URL]

Member Avatar for Luc001
0
171
Member Avatar for Anigmalee

Hi, I don't know of an easy way to do it using a ListBox control. I would use a ListView control instead. This typically gives you more features anyway, not to mention. From what I have discovered using the ListBox control, you can only set the ForeColor for the entire …

Member Avatar for Anigmalee
0
219
Member Avatar for Agent-of-Chaos

Hi, You mentioned: [QUOTE]the problem is that RGB has three cordinates like RGB(0, 0 , 0), as Point can have only two cordinates poit(x,y) so i have force my self to make it RGB(0,0)... does it effect my code???? [/QUOTE] Yes, It will affect your code with this error: [QUOTE]Value …

Member Avatar for Luc001
0
294
Member Avatar for doomkid

Hi, You could use something like this: [CODE] Dim x As Integer Dim y As Integer Cursor.Position = New Point(x + 2, y) Cursor.Position = New POint(X, Y +2)[/CODE]

Member Avatar for Luc001
0
216
Member Avatar for Cardboard Box

Hi, Here's an example how to create an Ellipse and show the same color as the pixel color. [CODE]Public Class Form1 Public MyColor As Color Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub PictureBox1_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles …

Member Avatar for Cardboard Box
0
211
Member Avatar for johnny.g

Hi, A Windows Services is a new name for a NT Services you used to develop in previous versions of Visual Studio. This Service writes some text to a text file when stop and start the service. [QUOTE]i can see the service name in the services option in administrative tools[/QUOTE] …

Member Avatar for Luc001
0
162
Member Avatar for bninja

Hi, Here's an example how to do this. [CODE]Public Class SplitTest Public Shared Sub Main() Dim words As String = "This is a list of words, with: a bit of punctuation" + _ vbTab + "and a tab character." Dim split As String() = words.Split(New [Char]() {" "c, ","c, "."c, …

Member Avatar for Luc001
0
89
Member Avatar for needanswer
Member Avatar for needanswer

Hi, You can find an example [URL="http://reydacoco.blogspot.com/2009/10/search-record-value-in-microsoft-visual.html"]here.[/URL]

Member Avatar for pritesh2010
0
672
Member Avatar for aalto

Hi, You have to change the data (access database) from a byte format into a bitmap format. You can do that with the MemoryStreamClass. [CODE]Public Function GetImageFromDB(ByRef imageName As String) As Bitmap Try Dim conn As New OleDb.OleDbConnection Dim cmd As OleDb.OleDbCommand Dim reader As OleDb.OleDbDataReader conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\YourDBFile.mdb;" …

Member Avatar for Luc001
0
113
Member Avatar for ankurtandon

Hi, I think you can some good information about, how to use Crystal Reports with VB.Net, [URL="http://vb.net-informations.com/crystal-report/vb.net_crystal_reports_tutorials.htm"]here.[/URL]

Member Avatar for Luc001
0
129
Member Avatar for pardeep3dec

Hi, You can use a low- level keyboard hook. [CODE]Private Declare Function SetWindowsHookEx _ Lib "user32" Alias "SetWindowsHookExA" ( _ ByVal idHook As Long, _ ByVal lpfn As Long, _ ByVal hmod As Long, _ ByVal dwThreadId As Long) As Long Private Declare Function CallNextHookEx Lib "user32" ( _ ByVal …

Member Avatar for Luc001
0
314
Member Avatar for kerek2

[QUOTE=kerek2;1205487]Hi All.... I need to detect when no moving of cursor or keyboard then my form will automatic closing...how to do that..tq[/QUOTE] Hi, You need a timer event to detect when a form is idle for a certain time, then close the form automaticly after the form is idle in …

Member Avatar for Luc001
0
64
Member Avatar for Learner7

[QUOTE=Learner7;1203185]Hi, What is the code to write in txtCaps text box event which can change the whole text entered in as capital letters? Thanks.[/QUOTE] Hi, You need the CharacterCasing property to do so. Here's an example: [CODE]TextBox1.CharacterCasing = CharacterCasing.Upper[/CODE]

Member Avatar for Learner7
0
102
Member Avatar for shanef1981

Hi, You can find an example [URL="http://support.adobe.com/devsup/devsup.nsf/docs/51533.htm"]here.[/URL]

Member Avatar for Luc001
0
81
Member Avatar for Lee21

Hi, Declare your form2 inside the Button event, like this: [CODE]Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim frm2 As New Form2 frm2.MdiParent = Me frm2.Show() End Sub End Class[/CODE]

Member Avatar for Luc001
0
144
Member Avatar for emaduddeen

Hi, In addition Adatapost has written: You need to create a parentform, to do so you can use Form1 and rename it parentform.vb. Then you need to set the property IsMDIContainer = true. When you add a new form to your application you'll see that it will create a Form1 …

Member Avatar for emaduddeen
0
174
Member Avatar for tashiDuks

Hi, You can sort your datagrid in decending or ascending order. You can find an example, [URL="http://msdn.microsoft.com/en-us/library/0868ft3z.aspx"]here.[/URL]

Member Avatar for tashiDuks
0
115
Member Avatar for Learner7

Hi, You can try something like this: [CODE]TextBox1.Text = ListView1.SelectedItems(0).ToString[/CODE]

Member Avatar for Learner7
0
151
Member Avatar for kedakai

[QUOTE=kedakai;1200954]I want to create a program that will close itself when the user was idle(not touching/moving the mouse and keyboard) for about 5 minutes...but I have a problem in how to track a user's idle time so that I could set the closing action. Could anyone give me a simple …

Member Avatar for kedakai
0
184
Member Avatar for se_aatif

[QUOTE=se_aatif;1199857]i have comleted the project i want to make a taskbar in the MDI Parent. that behaves same like taskbar, whenever a new form is opened there will be a link for the form, and also having RightClick Menu from which i can close maximize and minimize the form............ is …

Member Avatar for Luc001
0
221
Member Avatar for kerek2

Hi, Here's just an example to show you how you can change the datestring. [CODE]Dim current As Date = Date.Now TextBox1.Text = current TextBox2.Text = current.ToShortDateString[/CODE]

Member Avatar for Luc001
0
100
Member Avatar for kerek2

Hi, I'm a little confused about your question, so I think that you want to see the times running. Here's an example how to do it. All you need is to add a timer. [CODE]Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick TextBox1.Text = Now.ToString("G") Label1.Text …

Member Avatar for kerek2
0
108
Member Avatar for thanlin

[QUOTE=thanlin;1200055]I am vb.net application developer. I like to intstall vb.net software.[/QUOTE] Hi, You find some explanation [URL="http://www.startvbdotnet.com/extras/deploy.aspx"]here.[/URL]

Member Avatar for Luc001
0
78
Member Avatar for jitendrad

Hi, The error 0xc000007b is telling you do not have the correct drivers for your hard drive controller for the installation. That error could be possible caused by a Virus. Do a Antivirus scan and see what happens.

Member Avatar for Luc001
0
64
Member Avatar for djinn1971

Hi, Try this: [CODE]Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If (e.KeyChar < Chr(48) Or e.KeyChar > Chr(57)) And e.KeyChar <> Chr(8) Then e.Handled = True End If End Sub[/CODE] Or this: [CODE]Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e as System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If …

Member Avatar for kvprajapati
-2
1K
Member Avatar for emaduddeen

Hi, Also [B]Visual Basic 2008 How to Program[/B] by Deitel. Look [URL="http://www.deitel.com/Books/VisualBasic/VisualBasic2008HowtoProgram4e/tabid/2932/Default.aspx/"] here.[/URL]

Member Avatar for emaduddeen
0
153
Member Avatar for ecrockers

Hi, I think you can find some explanation [URL="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.sort.aspx"]here.[/URL]

Member Avatar for Luc001
0
107
Member Avatar for Lee21

Hi, Change this part of code: [CODE]Private Sub frmMain_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress If Keys.Escape Then Me.Close() Else End If End Sub[/CODE]

Member Avatar for Luc001
0
7K

The End.