20,284 Topics
| |
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 … | |
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. | |
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! | |
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 … | |
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 … | |
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... | |
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. … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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. ?? | |
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? … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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.. | |
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. … | |
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 … | |
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 | |
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 … | |
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 = … | |
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 … | |
[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) … | |
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 … |
The End.