143 Posted Topics

Member Avatar for gozo12

Is your audio file has those media info actually. Try to open the file in foobar and see. If the file contain media info then post it here.

Member Avatar for gozo12
0
206
Member Avatar for kingsonprisonic

I am using WebBrowser Control... When form is loading i set webbrowser to navigate a website. Now this website running too much popup ads.. So each time webbrowser navigate a new popup window open out of my application.. Is their any way to stop that.. Thanks in advance...........

Member Avatar for kingsonprisonic
0
132
Member Avatar for mrbungle
Member Avatar for ChrisPadgham
0
182
Member Avatar for reds8

please see this thread [URL="http://www.daniweb.com/software-development/vbnet/threads/414163"]http://www.daniweb.com/software-development/vbnet/threads/414163[/URL]

Member Avatar for ChrisPadgham
0
282
Member Avatar for Farhan_B

[QUOTE]The simplest way is to add a roles column to your database table (or create a separate table to hold this info) so when they log in you can extract which role they belong to.[/QUOTE] And after login you can store the role in a variable. Now you can control …

Member Avatar for kingsonprisonic
0
2K
Member Avatar for timothy0726

Please provide the table structure.. Like this.... [CODE]Field Name | Data Type ___________________________ Field1 | Varchar(50)[/CODE]

Member Avatar for kingsonprisonic
0
301
Member Avatar for artemix22

Ok i think you need this query [CODE]Dim CmdStr As String = "Select ticket_number from TableName where id="+Me.TextBox1.Text+" and name='"+Me.TextBox2.Text+"' and destination='"+Me.TextBox3.Text+"'"[/CODE] Assuming id, Numeric name, Varchar ticket_number, Varchar destination, Varchar And TextBox1 for id input TextBox2 for name input TextBox3 for destination input Hope this will help u...

Member Avatar for artemix22
0
165
Member Avatar for madao
Member Avatar for reds8

Ok try this..... [CODE] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load For i As Integer = 1 To 5 Dim myTextBox2 = New TextBox With myTextBox2 .Name = "txtNum" & i .Size = New Size(50, 26) .Location = New Point(5, 40 * i) .TextAlign = …

Member Avatar for kingsonprisonic
0
221
Member Avatar for Aleksej
Member Avatar for pfaleite

Please visit this link [URL="http://msdn.microsoft.com/en-us/library/aa389273(v=vs.85).aspx"]http://msdn.microsoft.com/en-us/library/aa389273(v=vs.85).aspx[/URL] You will find all your answers...

Member Avatar for kingsonprisonic
0
114
Member Avatar for angknown022

Yes you can use socket... But then you must install the application to each of those computer which u want to monitor...

Member Avatar for kingsonprisonic
0
126
Member Avatar for tenorjazz
Member Avatar for easygi

Yes you can try socket... Make a connection between two application(Two application means a application running on two different computer....).. Now when one application perform some task just send a command to refresh to other application, and in other application just refresh it...

Member Avatar for easygi
0
117
Member Avatar for jd2369
Member Avatar for selman555

Two types of event you can create. One is Client Side (Using Javascript) or Server Side Using (Any Server Side Language- Here VB.Net) So which one you want???

Member Avatar for selman555
0
310
Member Avatar for renzlo

In ComboBox1_SelectedIndexChanged use a SqlCommand to find the SPIDOM. Like "Select SPIDOM from table where EMP_ID='"+ComboBox1.Text.Trim+"'" Now Execute the Command As Scaler If you Execute it as Scaler you will get the SPIDOM of corresponding EMP_ID.. Now Display it in TextBox.. Simple...

Member Avatar for renzlo
0
162
Member Avatar for Timziski

Simple Try this [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim b As New Bitmap(600, 400) Dim g As Graphics = Graphics.FromImage(b) Dim x1, x2, x3, y1, y2, y3 As Integer Dim s1() As String = Me.TextBox1.Text.Split(",") Dim s2() As String = Me.TextBox2.Text.Split(",") Dim …

Member Avatar for kingsonprisonic
0
296
Member Avatar for rhone0809

What you want to do in database....??? I see the query you posted will not get executed. Because you miss some parts of the query... Like This is a complete sql query.. [CODE] Insert Into Table1 (Col1,Col2,Col2) Values(Val1,Val2,Val3) [/CODE] So i advice you to learn SQL first then try this....

Member Avatar for M.Waqas Aslam
0
149
Member Avatar for networkmancer

You misplace the quotes.. try this [CODE] Dim sql As String = "INSERT INTO CAGETYPE (CAGECOST, CAGENAME) VALUES(" & roomprice & ",'" & roomtitle & "')" [/CODE] as CAGENAME Varchar so quote required for roomtitle .

Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for jd2369

[QUOTE=jd2369;1764143][url]http://64.20.7.179:8080/Default?MAIN=ADMIN[/url] I tried: [CODE]WebBrowser1.Document.All.GetElementsByName("Login")(0).InvokeMember("click")[/CODE] still nothing please help Thanks[/QUOTE] The problem is the Admin page actually made of two or more HTML DOM Object that is. You used Frameset. So When you call WebBrowser.Document.All it only work with the first DOM so the problem... Use [URL="http://64.20.7.179:8080/TopAccess/Administrator/Login/Login.htm"]http://64.20.7.179:8080/TopAccess/Administrator/Login/Login.htm[/URL] Instead of older one.

Member Avatar for kingsonprisonic
0
125
Member Avatar for acepeda
Member Avatar for networkmancer

I think you should use to load the form before accessing any objects of that form.. So [CODE] Private Sub Paybox_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Paybox.Show() Call connectpaybox() Paybox.ComboBox2.SelectedIndex = 0 End Sub [/CODE] First Show the Paybox Form Try this if u get error …

Member Avatar for networkmancer
0
505
Member Avatar for choosechrist
Member Avatar for choosechrist
0
311
Member Avatar for vodkasoda

This part belongs to VB.Net so i use .Net code ok. On the keypress event [CODE] If e.KeyChar=Chr(13) Then Me.BtnOk_Click(Me.BtnOk,e) End If Private Sub BtnOk_Click(ByVal ....................) Handles BtnOk.Click 'BtnOk Code End Sub [/CODE]

Member Avatar for vodkasoda
0
179
Member Avatar for choosechrist

I think you can Use Try-Catch [CODE] Try thisConnection.Open() strnew2 = New SqlCommand("DELETE FROM loggedin WHERE usernam = '" & Me.LinkLabel1.Text & "' ", thisConnection) strnew2.ExecuteNonQuery() Catch(e As Exception) 'If error or crash occure catch will get executed . MsgBox("Error "+e.Message) Finally 'Error occur or not Finally execute both time. …

Member Avatar for choosechrist
0
188
Member Avatar for vivekanandaan

Ok But never ask for code again. Please .. I give u the code because i have it now opened. Post ur problem and we will solve this. [CODE] Public Class smail ''one static method for sending e-mails Public Sub SendMail(ByVal [From] As String, ByVal [To] As String, _ ByVal …

Member Avatar for thines01
0
3K
Member Avatar for niall86
Member Avatar for LearnVBnet

[QUOTE] Help me to format currency col(2) = 1.234.567 [/QUOTE] What that mean 1.234.567 ?

Member Avatar for LearnVBnet
0
1K
Member Avatar for gerchi152

[CODE] ListView1.Items.Count ' Its for count the element 'So check it if Listview1.Items.Count<1 then <statement> else <statement> end if [/CODE]

Member Avatar for gerchi152
0
149
Member Avatar for bwaha

Here is your problem.. [CODE] Dim sum As Double For x As Integer = 0 To ListBox1.Items.Count - 1 sum += CDbl(ListBox1.Items(x))'Here actually problem occurred Next TotalTextBox.Text = sum.ToString [/CODE] Problem occurred because u r trying to convert a collection into string.. Use this code [CODE] Dim sum As Double …

Member Avatar for bwaha
0
11K
Member Avatar for docgrid
Member Avatar for kishpopboy

declare two date type variables .. Now make 1st with textbox1's value. and 2nd with textbox2's value. now declare a timespan variable and simply. do.. ts=d1-d2 here ts is the timespan. in timespan you can get the total minutes....

Member Avatar for kishpopboy
0
164
Member Avatar for gerchi152

Use this [CODE] mystr = "{grading_teacherload.teacherid} = " & teacherLoadListView.teacherid.ToString & "" [/CODE] As teacherLoadListView.teacherid is an integer so u have to convert it to string...

Member Avatar for kingsonprisonic
0
870
Member Avatar for kingsonprisonic

I have something to say.. Is there any way to convert the [url]http://www.daniweb.com/software-development/vbnet/58[/url] page as live page... I mean like facebook. whenever i want to see who last reply a thread i must have to refresh the page. But it will be great if the form automatically refresh some parts …

Member Avatar for Dani
0
330
Member Avatar for Rakham
Member Avatar for jd2369

Dear, try this... [URL="http://www.daniweb.com/software-development/vbnet/threads/413194/1763038#post1763038"]http://www.daniweb.com/software-development/vbnet/threads/413194/1763038#post1763038[/URL]

Member Avatar for jd2369
1
246
Member Avatar for jd2369

just change click to submit [CODE] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim MyElementsWeb As HtmlElementCollection = WebBrowser1.Document.All For Each LogBtn As HtmlElement In MyElementsWeb If LogBtn.GetAttribute("name") = "Login" Then LogBtn.InvokeMember("submit") End If Next End Sub End Class [/CODE]

Member Avatar for jd2369
0
356
Member Avatar for dilse4sk

Assume two different form one for login and other for only Authorized entry.. So after login user navigated to Authorized form. Now... You can place a Loguot Button/Menu so that user will click for logout. Now when logout button pressed Just clear all Variables value which you used for storing …

Member Avatar for kingsonprisonic
0
6K
Member Avatar for VB 2012

First of all [CODE] Dim SETGETimeOut As Integer = " -t " & NumericSecondsValue.Value.ToString [/CODE] You declare SETGETimeOut As Integer but assign a string value to it... How can it be possible.. And yes you can do that. Just put some if else condition into your code and check for …

Member Avatar for kingsonprisonic
0
118
Member Avatar for dilse4sk

On Combobox SelectedIndexChanged event just create a sqlcommand where u can easyly insert the value of the combobox and the execute the command as nonquery... Thats all.

Member Avatar for kingsonprisonic
0
175
Member Avatar for eranga246

Here is the problem [CODE] printf("THE AREA OF THE CILINDER IS:%f",&Area); [/CODE] Why u use &Area ? Its a refrence type. Use only Area to solve this.... [CODE] printf("THE AREA OF THE CILINDER IS:%f",Area); [/CODE]

Member Avatar for gusano79
0
140
Member Avatar for zee93

I think goto Statement will solve your problem.. Like [CODE] here: printf("Enter a number"); scanf("%d",&num); if (num<10) // Checking whether the input is correct. In this case >=10 { printf("Sorry Wrong Input\nPress any key to input it again!"); getch(); clrscr(); goto here; } [/CODE]

Member Avatar for deceptikon
0
3K
Member Avatar for carmamir

Try this [URL="http://www.webicy.com/programming/6149-tutorial-create-captcha-vb-net.html"]http://www.webicy.com/programming/6149-tutorial-create-captcha-vb-net.html[/URL]

Member Avatar for carmamir
0
2K
Member Avatar for donatas

I found some buggy things on ur code.... [CODE]Public Class Teams Private MyADONetConnection As New OleDb.OleDbConnection Private MyDataAdapter As New OleDb.OleDbDataAdapter Private MyCommandBuilder = New OleDb.OleDbCommandBuilder Private MyDataTableTeam As New DataTable Private Sub Teams_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load MyADONetConnection.ConnectionString = _ "Provider=Microsoft.jet.OLEDB.4.0;Data Source=datab1.mdb" MyADONetConnection.Open() MyDataAdapter …

Member Avatar for donatas
0
693
Member Avatar for DNHK

[CODE] Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged Me.TextBox.Text = ComboBox1.SelectedValue End Sub [/CODE]

Member Avatar for M.Waqas Aslam
0
318
Member Avatar for prixxershackit
Member Avatar for toomutch

try this : [CODE] 'Load Engineer Names, and create one tab for each engineer Dim myEngineerCounter As Integer = 0 Dim myEngineerName(20) As String Dim myEngineerID(20) As Integer Dim myEngineerActive(20) As Boolean Dim dgvMonday(20) As DataGridView mySQLstring = "select idEngineers, EngineerName from engineers where engineeractive = 'y'" mySQLcmd.CommandText = mySQLstring …

Member Avatar for toomutch
0
147
Member Avatar for choosechrist

I think u need this See the image first... [URL="http://img812.imageshack.us/img812/9464/75001062.png"]http://img812.imageshack.us/img812/9464/75001062.png[/URL] [CODE] Dim wacko As String Dim li As Integer = 0 For i As Integer = 0 To DataGridView1.Rows.Count - 1 wacko = DataGridView1.Rows(i).Cells(1).Value li = i For m As Integer = i + 1 To DataGridView1.Rows.Count - 1 If …

Member Avatar for kingsonprisonic
0
161
Member Avatar for dilse4sk

yes. create two different table like Customer Table +---------------------+ | Customer | +---------------------+ | id (Primary) | | Name | | Bla bla bla | +---------------------+ Booking Table +-----------------------+ | Booking | +-----------------------+ | booking_id (Primary) | | customer_id (Forign) | | date | | Bla bla bla | +-----------------------+ …

Member Avatar for kingsonprisonic
0
314

The End.