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.

~4K People Reached
Favorite Forums
Favorite Tags
Member Avatar for choosechrist

I've been trying to use different methods to insert buttons into a treeview control. But I couldn't figure it out. Someone told me it was not worth the hassle. Im new to vb and im trying yo figure out how to prepare a collapsible listview which shows links to different …

Member Avatar for lolafuertes
0
188
Member Avatar for choosechrist

I am using a tab control on my mdi parent forms. when i open a child window i hide the tab control. but i want the tabcontrol to show itself on child close event. but i cant figure out the code. any help will be great

Member Avatar for choosechrist
0
143
Member Avatar for choosechrist

Im really new to vb..and i've been using treeviews recently as a menu system in my project. What i want to know is, can i create buttons, or say labels within the treeview for the root nodes.so when i click on them and child nodes will appear below. Also is …

Member Avatar for Reverend Jim
0
123
Member Avatar for choosechrist

i've been all over the internet to solve this problem, but i've found no solution to my problem.my concept is this. Based on selected value within a combo box, the datagridview will populate with values from the database. For test = 0 To containerdetaildatatable.Rows.Count - 1 DataGridView1.Rows.Add() DataGridView1.Rows(test).Cells(0).Value = containerdetaildatatable.Rows(test).Item("Roundtrip") …

Member Avatar for adam_k
0
980
Member Avatar for choosechrist

i open a child form from within a parent form Private Sub TextBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress Dim custmast As New CustomerMaster custmast.MdiParent = Me.MdiParent custmast.Show() End Sub now the form customer master has values within a listview. when i doubleclick on a value within …

Member Avatar for LearnVBnet
0
219
Member Avatar for choosechrist

I create an xml file on startup in my application which contains the connection string of the database. [CODE] Dim contactDoc As XDocument = <?xml version="1.0"?> <database server=<%= TextBox1.Text %> name=<%= TextBox4.Text %> userid=<%= TextBox2.Text %> password=<%= TextBox3.Text %>> </database> Dim str1 As String str1 = Application.StartupPath contactDoc.Save((str1 + "\data.xml")) …

0
98
Member Avatar for choosechrist

i am using a listview on my admin form to see those who are logged in. so i have a table which captures users logging in and logging out. this table data is reflected onto this listview. but i want the listview to refresh itself as soon as the user …

Member Avatar for M.Waqas Aslam
0
280
Member Avatar for choosechrist

In my project all, my forms are accessed through my MDI form, [CODE]Private Sub DocumentCollectionToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DocumentCollectionToolStripMenuItem.Click Dim capture1 As Boolean = False capture1 = noduplicatemdi("DOCUMENT_COLLECTION") If capture1 = False Then Dim mdiForm As New DOCUMENT_COLLECTION mdiForm.MdiParent = Me mdiForm.Show() End If End …

Member Avatar for choosechrist
0
170
Member Avatar for choosechrist

I want to create an xml file to disk on button click of a form.it takes in data from within the form and adds it to the respective fields in the xml file. my XML file contains the foll code [CODE]<?xml version="1.0"?> <database server="WELLFLOWGULF;" name="TRA" userid="sa" password="sdsds"> </database>[/CODE] on button …

Member Avatar for Pgmer
0
205
Member Avatar for choosechrist

i'm a relative newbie in vb.net and at an earlier thread i got the code as to how to add a datetimepicker to datagridview. it's just i dont know how to access this with my datagridview. [CODE]Public Class CalendarColumn Inherits DataGridViewColumn Public Sub New() MyBase.New(New CalendarCell()) End Sub Public Overrides …

0
79
Member Avatar for choosechrist

I had started a similar thread earlier, but i did not get any explanations. I hope i am not crossing any line by repeating. My problem is this. every form in my application accesses the database through a connection string within the startup(Login) form. the login inturn gets the user …

0
82
Member Avatar for choosechrist

i've come across many methods online to create a datetime picker within a datagrid view, but i haven't got a proper solution. i have a DGV which takes in truck no and date of arrival. i want the second column to appear as a datetime picker so the users can …

Member Avatar for choosechrist
0
172
Member Avatar for choosechrist

In my application, i have put a question on form closing if the user wants to save the changes?. But right now, i have just put it in default whether they make changes or not. I thought of prompting it on text change.. but the text automatically changes on load …

Member Avatar for pROKO
0
354
Member Avatar for choosechrist

I know how to set the tab order on the forms on VB.net. but i want to set such that when i press enter while on the form, the cursor will go to the next textbox based on the tab order set.

Member Avatar for M.Waqas Aslam
0
107
Member Avatar for choosechrist

In my project, all my forms access the connection string from the login form which takes data from an XML file [CODE]Dim thisConnection As New SqlConnection(LoginForm1.cnString)[/CODE] now when i create crystal reports. i first select a viewer which calls the report via code [CODE]cmd.Connection = thisConnection cmd.CommandType = CommandType.Text cmd.CommandText …

Member Avatar for choosechrist
0
298
Member Avatar for choosechrist

As I am new to Vb, I am not sure if this is even possible. i have created a program and now we are testing the maximum clients possible for the server.the thing is since, we are at the beggining stage, we come across numerous errors and so the person …

Member Avatar for choosechrist
0
186
Member Avatar for choosechrist

Hi, I did checkout many solutions on daniweb but couldn't get anything positive. i am new to vb.my idea to is to cycle through the cell values of particular column in a datagridview. and if duplicates are found, display them in a message box. Dim wacko As String wacko = …

Member Avatar for kingsonprisonic
0
159