20,285 Topics

Member Avatar for
Member Avatar for johmolan

In my program I hav a datagridview who is showing som data based on a table call it table_1. I have a table_01 witch has a Primary-key called OrdreID. The Binding navigator is connected to this table. The table called table_1 has a forreign key called OrdreId and are related …

0
87
Member Avatar for adam.wolnikowski.9

I'm writing a program where the settings of a spreadsheet-like field of textboxes are changed using two for loops, and I can't for the life of me figure out why it's not working.I have tried declaring the txt variable and name variable in different orders using different methods, but nothing …

Member Avatar for adam.wolnikowski.9
0
255
Member Avatar for Tobyjug2222

I'm looking for some help with an issue I am having. I have multiple text files in a folder. The folder can have an "unlimited" amount of text files in it, although typically 2-150 files. http://gyazo.com/5f314d1ca374abf9f813914609dd931d (images for this + below) Each file then contains an "unlimited" (although typically 0-20 …

Member Avatar for Tobyjug2222
0
359
Member Avatar for Satyam_1

i have a vb.net form linked to database access-Table1 In the form three checkbox as HB,TC and 2 textbox-ID,Age I am using following code but is its not working. If Hbtxt.Checked Then cmd = New OleDbCommand("insert into Table1(ID,Age,Hb) values ('" & IDtxt.Text & "','" & Agetxt.Text & "','" & Hbtxt.Text …

Member Avatar for Reverend Jim
0
7K
Member Avatar for dragonerph

Sorry i'm new in visual studio 2008. I have a database (MSaccess 2007) wherein the ole object is shown in a picturebox when i click a file on the list view. What is the code to preview the picturebox in a new form inside another picturebox when I click it? …

0
104
Member Avatar for omojolinho

Hello..please, i want to pass a dictionary from a class to a datagridview on a form.. but each time i try to reference this class from the form, it keeps recreating new objects of my dictionary, thereby setting my dictionary to null. Please, what do i do?

Member Avatar for Momerath
0
99
Member Avatar for johnsheehan

I am working on a project to create a front end in vb 2010 for an access database. It is adding the records in vb but not saving them in the database; this is the code i have so far: `Inline Code Example Here`Public Class Form2 Private Sub Button1_Click(ByVal sender …

Member Avatar for oussama_1
0
255
Member Avatar for omojolinho

Hello... Please i need urgent help on how to pouplate a datagridview row with values from a dictionary using c#.net.Thanks

Member Avatar for ddanbe
0
99
Member Avatar for hendersonl

Hey guys! I'm making a program requires a listbox with numbers from 0.02-7. That's a lot of numbers to add one at a time. I tried to figure out a different way other than rateListBox.Items.Add("") but I can't really figure it out. Does anyone know now to do that?

Member Avatar for Firstgamefreak
0
139
Member Avatar for Gen_2

hi, i'm wondering how can i make my project running in to another computer without changing the connectionstring. i am using this connectionstring("Server=GEN-PC;Data Source=GEN-PC/SQLEXPRESS;Initial Catalog=Brgy;Persist Security Info=True;")

Member Avatar for Reverend Jim
0
778
Member Avatar for Mr.M

Hi Dw I want to read a text file line by line and refer to those lines, meaning the text file will have 1 word per line and these words are the names which will be used by a scanner to check if there are any files named as these …

Member Avatar for Reverend Jim
0
202
Member Avatar for Mr.M

Hi Dw There is a program that I'm doing and what it does is move a chosen file/folder to a folder on drive "C:\test" and I have a list box that only display the files name inside the Test folder and when the user click the file name on a …

Member Avatar for Mr.M
0
474
Member Avatar for Joshitta

[Click Here](null)Friends... Good Evening... I am final year student of UG Computer Science.. I am creating my College Admin Project using Vb.net 2010 with SQL server 2005. When i am trying to complete my project , i have to connect all my different modules (Admission, Fee Management, Students Profile, Attendance …

Member Avatar for Joshitta
0
516
Member Avatar for ktolso03

So I am not getting the data from text1 to load properly(I would assume text2 is the same). If I step through it the variables load and then once it reaches Dim A() etc. it gives the "path's format is not supported" error. I have changed up how i'm getting …

Member Avatar for ktolso03
0
193
Member Avatar for pbarks1

At first this was ok when the image was tight to the left of the form, but when i changed the image and decided to move it towards the centre of the form it looks off with the text. For instance, in VB the label at the top of the …

Member Avatar for pbarks1
0
109
Member Avatar for KushMishra

Hi All, I am facing some issues when writing a xaml and my code goes as follows :- <Grid> <Grid.Resources> <!-- Shared Storyboard across the system --> <!-- This storyboard will make the image (button) grow to double its size in 0.2 seconds --> <Storyboard x:Key="expandStoryboard"> <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" To="2.5" Duration="0:0:0.2" …

0
258
Member Avatar for midnite11

Anybody out there having an issue with the alignment of the CheckBoxes associated with the TreeView Nodes? All of my checkboxes are aligned at the bottom of the Node Text as opposed to the center like the Icon. This does not seem to happen on windows 7 op systems but …

0
70
Member Avatar for DeepKiran
Member Avatar for DeepKiran
0
323
Member Avatar for pbarks1

I have managed to successfully add two counters, on which counters from 00:00 and the other from 00:45. The problem i have though is that the counter resets to 00:00 when the counter reaches 60:00 minutes. I need the counter so that it goes to 100:00 or more. Dim starttime …

Member Avatar for pbarks1
0
187
Member Avatar for claretakum

Hie guys! I'm a new user of SQL. I'm kindly asking you on how to create a database and then link it with VB.Net forms? Thanks to you all guys in advance

Member Avatar for ddanbe
0
48
Member Avatar for caello

Hi..all I'm newbie in VB.net Please Help me.. How to search data by textbox and datetimepicker access 2003 database in VB.net Exp : I want to search for data based on the Part name and two datetimepicker I try with code like this but the results are not in line …

Member Avatar for jared.geli
0
2K
Member Avatar for pbarks1

I'm using a timer which counts up on a button click when i press it, and when it reaches the time i desire, usually around the 45 minute mark i click my other button which stops the timer and the time remains static, so if i click my button to …

Member Avatar for oussama_1
0
252
Member Avatar for uDevv

Hey guys, what am i missing here: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Using sqlConn As New SqlClient.SqlConnection(sqlConnString) sqlConn.Open() sqlConn.Close() End Using End Sub Public Property ServerName() As String = "myip" Public Property DatabaseName() As String = "mytable" Public Property Login() As String = "sa" Public …

Member Avatar for oussama_1
0
179
Member Avatar for fugio

hi all, I have a piece of code, I can delete the first value but fails and give notice InvalidArgument=Value of '0' is not valid for 'index'. Parameter name: index Private Sub ComboBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ComboBox1.KeyDown If ComboBox1.Items.Count > 0 Then If e.KeyCode = …

Member Avatar for oussama_1
0
1K
Member Avatar for Nebil

Hi guys, I was wondering if it was possible to create a temporary table. I have a bunch of records to be added to the database.But before doing that i wanted to first put these records on a temporary table,same struture as the main table of course then after that …

Member Avatar for oussama_1
0
159
Member Avatar for Satyam_1

I have a textbox that select system time. and second textbox. In the second textbox i want to add time which is 2 hrs late from first textbox. How can i do it?

Member Avatar for ddanbe
0
97
Member Avatar for rody9

Hello,I am Vanen,from Mauritius Island,new to c# and vs. I am getting difficulties while saving values from my datagrid to database. If possible,option for selecting all the rows and option for selecting which rows to save to database from the datagrid. Can someone guide me?please! Thanks in advance.

Member Avatar for rody9
0
216
Member Avatar for pbarks1

I'm quite a newbie when it comes to coding, but i feel like i have done everything as it should be. I believe to get a transparent label i need to use the code - Label1.Parent = PictureBox1 Label1.BackColor = Color.Transparent I double clicked my picture box and inserted the …

Member Avatar for Reverend Jim
0
2K
Member Avatar for pbarks1

This is what i have so far. Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click Timer2.Start() Button7.Enabled = True Label8.Text = "Match Begins" End Sub Private Sub Timer2_Tick(sender As Object, e As EventArgs) Handles Timer2.Tick ProgressBar1.Increment(1) If ProgressBar1.Value = 3 Then Label8.Text = "1st Half" End If ProgressBar1.Increment(1) …

Member Avatar for oussama_1
0
1K
Member Avatar for Satyam_1

I have table-accessonbook and second table as report register I want to fetch data from one table as name,age,sex with unique id from 2nd table i want fetch Hb with same id so that when i enter peticular id it should fetch data from both tables linked to that id. …

Member Avatar for oussama_1
0
470

The End.