20,284 Topics

Member Avatar for
Member Avatar for x38class

The child nodes are there when first populated but when drives are changed or re loaded a second time, that is when they are missing, so how do I reset the nodes to show child nodes every time This is my code, can anybody see a problem, any help much …

Member Avatar for x38class
0
229
Member Avatar for casey_sunako

Hi. I would just like to know if there is a way to embed a VLC media player inside windows form in visual basic 2010? Thanks.

Member Avatar for casey_sunako
0
209
Member Avatar for [Prototype]

I'm interested in learning about memorystreams, streaming of bytes , byte arrays, buffers, ftp and how network streaming works, where can I learn this? Things like dim buffer as byte(3000) or dim fs as filelstream = file.read if fs > 0 then I think you understand what I mean, thanks!

Member Avatar for Teme64
0
117
Member Avatar for sidyusuf

hi...i m again here... i have a datagridview on a form which contains studentname (in alphabetical order) and a blank rollno field according to the particular class.Now what i m suppose to do is to assign roll no on button click, starting from first student to last student. Roll no …

Member Avatar for sidyusuf
0
242
Member Avatar for Smalls

I know i'm probably goin about this bassackwards. But, window is loaded, binded textboxes get filled, user edits textboxes and clicks a save button it works, all except crashing with a "vb.net 2010 Concurrency violation: the UpdateCommand affected 0 of the expected 1 records." most of the time but the …

Member Avatar for Smalls
0
186
Member Avatar for deepanbecse

Hi friends...can any one suggest me a solution for accessing the Excel work books using the Microsoft Excel API in VB.net?I have to parse through the excel work sheets and find the position of a particular column in the sheet...

Member Avatar for Reverend Jim
0
1K
Member Avatar for Ruchi224

Hello.. I have a form and i have used a combobox along with datagridview and textbox.. I have various values in combobox namely Mechanical, Electrical, Etectronics etc.. When I select the option Mechanics, I wish only few fields of the table be updated in the gridview, with the type mechanics. …

Member Avatar for Mitja Bonca
0
187
Member Avatar for Raja Pandiyan

Hi, this will work in Edit button click,Getting values from combobox and given input to query.Oprdgv is my Datagrid. I got the error Like, "unable to cast the type 'system.int32' to type 'system.data.datatable" [CODE] Private Sub EditButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EditButton.Click Dim mcode As String …

Member Avatar for peter_budo
0
295
Member Avatar for diyez treze

can you help me to fix this code?? i made that one but there's a problem in searching once you enter the form it just paste all the reservation. but i need to be categorize by name, address, roomtype and email [CODE]Imports MySql.Data.MySqlClient Public Class search Public conn As New …

Member Avatar for Teme64
0
163
Member Avatar for JRCharlie

Hi all I have been trying to to create some reports using report wizard in VS2010, but the report viewer takes to long to render. Does any one know the best way to create a report I'm Using Access 2010 Thanks

0
47
Member Avatar for casey_sunako

I have this problem.. I keep getting this error: Cross-thread operation not valid: Control 'ListView1' accessed from a thread other than the thread it was created on. Here is my code: [CODE]Imports System.IO.Directory Imports System.IO Public Class Video_to_Mp3 Public folderopen As String Dim ofd As New OpenFileDialog Dim sizetext As …

Member Avatar for Unhnd_Exception
0
289
Member Avatar for mike_cao

dear all, i got a problem about the arraylist function.now i want to create and return an arraylist with each student ID for populating listboxes. [CODE] Public Function StudentIDs() As ArrayList End Function [/CODE] To display the student ID in the listbox by calling this function. (i need to read …

Member Avatar for lolafuertes
0
452
Member Avatar for mike_cao

hey all, i got problem about count method. for example, there are three students(a,b,c), and there are two courses(coure1,course2), then student a and b enrol course1, and student c enrol course 2. i need to count how many students enrolled course1. [CODE] Public Function numStudents() As Integer 'return number of …

Member Avatar for Netcode
0
269
Member Avatar for nanologic

hello, i have a problem with combobox to stored in sql database this is my code cmbDept.Items.Add("" & dtUser.Rows(i).Item(0) & "/" & dtUser.Rows(i).Item(1) & "") how to take the first item from combobox "dtUser.Rows(i).Item(0)" and stored in sql database. ??

Member Avatar for nanologic
0
114
Member Avatar for rahman86

Hello everyone here. I am new to vb.net database programming yet i want to create a point of sale software using it. So far I have created a local database, POSSdatabase.sdf , and I have 2 tables, Inventory and Transactions. My problem is how do I relate these 2 tables? …

Member Avatar for Netcode
0
162
Member Avatar for tebogop

I'm trying to save data from textboxes in visual studio using vb.net to sql server 2008. the coonectiong is working perfectly but is not displaying the data output in data grid. This is the part of the code. [CODE] Imports Microsoft.VisualBasic Imports System.Collections.Generic Imports System.Data Imports System.Data.SqlClient Imports System.Text Dim …

Member Avatar for tebogop
0
1K
Member Avatar for casey_sunako

Hi. Guys, I need some help. Does anyone know how to Call cross threads in vb.net while accessing the backgroundworker as well? I keep getting error everytime I run my program... Here is my code: [CODE]Imports System.IO.Directory Imports System.IO Public Class Video_to_Mp3 Public folderopen As String Dim ofd As New …

Member Avatar for GeekByChoiCe
0
356
Member Avatar for bluehangook629

I have a function for a dialog which returns the dialog result back. However, the value of the dialogresult changes from ok to cancel after the value is returned. How can i fix this? this is the part where the dialog is called and the value from the dialog is …

Member Avatar for Unhnd_Exception
0
829
Member Avatar for rinoa0424

Good evening guys :) I had made an RPG game in Visual basic 2008 windows application form. I was already done in the movement of character with the map. Now I am making the quests. The problem is, In the battle mode (like in the ninja saga), I want to …

Member Avatar for nick.crane
0
115
Member Avatar for Ruchi224

Hello... I have form having a button and a gridview. The gridview is ok and generates data. But now, i want to populate only the data when i click on the button specified. Can anybody please help me with this ?? Here is my code : Private Sub button1_Click(ByVal sender …

Member Avatar for Ruchi224
0
131
Member Avatar for raaif

I want to write an XML file in the following format [ICODE]<?xml version="1.0" encoding="utf-8" ?> <trans> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from …

Member Avatar for raaif
0
181
Member Avatar for aldeene

I created a barcode and displayed it in a picture box and i want to print it. i can't figure how to do it..

Member Avatar for aldeene
0
10K
Member Avatar for rinoa0424

Guys.. I need help in my RPG game project.. I used visual basic 2008, windows form applications. I used panel and its background is the map, and I used picture box as the character and with transparent gif pictures in every keyevents, I already can move the picturebox with keyevents. …

Member Avatar for nick.crane
0
213
Member Avatar for sidyusuf

hi frnds.... i am working on a window based student registration project using vs2008 and ms access database.what i have to do is to register students for main or comptt. exam according to the course they are in. The students are shown in a datagridview as per the course generated …

Member Avatar for sidyusuf
0
161
Member Avatar for EliteCandyX

hey daniweb :) I need to click this button in vb. like click a button in webbrowser1 [CODE]<input type="submit" name="ok" value="send" class="btn sbold slarger">[/CODE] I've scoured through the internet, but alas, i failed to look for a helpful one :\ how would i go about this? Thanks a lot

Member Avatar for codeorder
0
140
Member Avatar for Ruchi224

Hello !! I am making a simple windows application. In one of the forms, I have buttons with various names and datagrid that displays the table. Now, what i would like to do is if I click on a button titled "softwares", i want only those elements from my table …

Member Avatar for Ruchi224
0
153
Member Avatar for Ole Raptor

I am getting this message: value of type "System.data.datacolumn" cannot be converted to "System.windows.forms.datagridviewcolumn" when I am trying to add a column to the dgv [code=vb.net] Dim dtcCheck As New DataColumn("Select") dtcCheck.DataType = System.Type.GetType("System.Boolean") dtcCheck.DefaultValue = False Dim sa As New SqlDataAdapter("SELECT * FROM therapy", myconnection1) sa.Fill(ds, "Therapy") dgvther.DataSource = …

Member Avatar for concepcionmark
0
5K
Member Avatar for khentz

Hi, Here's the code of my listview,.It's already working well. It have a search box in my form, then if the use type in the search box, the result will display at the listbox. Now, what I want to do is when I choose an item in the listview, the …

0
77
Member Avatar for vasim jada

[CODE] Imports System.IO Imports System.Data.OleDb.OleDbException Public Class Form2 Inherits System.Windows.Forms.Form Dim inc As Integer Dim MaxRows As Integer Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim sql As String Dim username As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) …

Member Avatar for Netcode
0
113
Member Avatar for khentz

hi, Please help me with my listview. The listview did'nt show any list items. here's my code: [CODE] Private Sub txtSearch_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtSearch.TextChanged Dim strSearch As String strSearch = "SELECT * FROM tblMobileTracking WHERE accountNumber LIKE '" & txtSearch.Text & "%'" myConnection.Open() Dim …

Member Avatar for khentz
0
180

The End.