20,285 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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? … | |
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? | |
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 … | |
Hello... Please i need urgent help on how to pouplate a datagridview row with values from a dictionary using c#.net.Thanks | |
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? | |
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;") | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
HOW TO ADD DATETIMEPICKER CONTROL IN THE COLUMN OF DATAGRID.........TO PICK THE DATE AT RUN TIME | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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? | |
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. | |
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 … | |
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) … | |
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. … |
The End.