20,285 Topics
![]() | |
I created a form with datagridview for a list of clients. Now, I want to add a Search funtionality for my list, so that the user can just type in the value he wants to see and the row with that value will get selected. Also, I want to add … | |
Hi All, I have a form with 4 listboxes on it connected up to a "books' database.The four boxes are: 1)Authors (this one is a list of authors names) 2)Publishers (A list of the publishers who have published the authors books) 3)YearPublished(A list of the years in which the book … | |
![]() | Hi. I am making a Anti-Virus (almost complete) however I would like to know how to make a custom 'Run As Administrator' dialog. Before you tell me this isn't possible, I do not mean I would like to replace the Windows 'Run As Administrator' dialog, I would just like to … |
I've trying to figure out how to do this, but errors didn't stop flooding me. The following code works fine: For i = 1 To 50 Me.Controls("CheckBox" & i).Visible = True Next i But when I modify it to: For i = 1 To 50 Me.Controls("CheckBox" & i).Checked = False … | |
I have a problem with my code in deleting of a record in datagridview and database(see attatchment)...for some reason I cant delete the data in my database...heres the code: private void btnDelete_Click(object sender, EventArgs e) { int selectedindex=dataGridView1.CurrentCell.RowIndex; string deleted; try { cnn.Open(); if (MessageBox.Show("Are you sure you want to … | |
Hello noob here. I'm doing a program where we are campground managers and in the third form do campground housing I'm stuck in the final part of the third form where we must take the inputs of both list and be able to add and remove occupancy. Cabins Occupants Cabin … | |
Hi I have a Help.doc file in my application. How can I open this file on a winform to page 2 (say)? How can I open it to page 2 using a WebBrowser control? 'Microsoft.Office.Interop.Word added Private Sub OpenMyWordDoc() Dim MyWordApp As Word.Application Dim MyDoc As Word.Document MyWordApp = CreateObject("Word.Application") … | |
Salam... I have SQl Database...And i am using visual basic 2010 i have a problem with Null values.When in my database data have some null values then data not showing in my crystal report ...crystal report showing blank..I want '0' when data is null..for example my table name is (meetings … | |
Is it possible to make a textbox format inputted text into currency form (with comma separators and two decimal places) during input? I have tried formatting currencies from textbox input (after typing the text or after clicking a button) but is this possible during input (I mean, while you are … | |
I have the table called cardstatus. It contains the following details. 1. SlNo - Number 2. Product - Text 3. SProduct - Text 4. JobNo - Text 5. Description - Text 6. SubAssemblyNo - Text 7. PlanNo - Text 8. PlanDate - Date/Time 9. WONo - Text 10. WODate - … | |
Hi I'm new to programming but have learned pretty fast and have most of my small application figured out. But the part that I'm working on now has got me. I have a form with some text boxes that after they are filled out get added as a new row … | |
Why does textbox text appear faded when 'enable' propery is set to false? | |
Hi Group! I'm curious to know, is it is possible to build a custom control in Visual Basic? Specifically, I want to build a control that would be similar that would be similar to a ListView (in the Detail "view"). However the difference would be in how it actually displays. … ![]() | |
Hi there. I am making an application in VB.Net. In which i am scanning some system folders and on the execution time it gives me the error; E.g, access to the path "C:\any system file" is denied. Is there any code you people have that is edited in to the … ![]() | |
i wrote a (visual basic.net-2008) desktop app that allows ham radio operators to enter a call, such as WA0H, and the program gives the ham's location (springfield, mo.). you can download the program free from my website .. www.wa0h.com i want the program to display the ham's location on a … ![]() | |
With reference to the databases I want to know the source code how to add, delete, update, save a ms access database in vb.net. | |
hi there I have made a connection to a database, and my problem is, when I try to add a new record to a table, it is fine for that time. Next time when I check the record is not there | |
I am checking a couple of textboxes in my datarows. If the first textbox (event association 1) is not blank and it does not contain the word business, but the date of birth mtb is empty, then the statement is true and a messagebox will be displayed. Right now, I … | |
I am a self-taught VB programmer and have found these forums invaluable. Usually the solution can be found here and I am happy - but this is causing me some trouble... I want to play a sound, using Media player, twice - one after the other. I have written a … | |
I have an identity (auto-increment) column in my mssql table, which is also my primary key. I want to use these numbers on my form, such that when I open that form, the auto-increment id will already be displayed on a textbox (so I wont have to type it in … | |
Guys I need your help again I use this code to copy values from excel spreadsheet to datagrid. Try 's = Clipboard.GetText() Dim tArr() As String Dim arT() As String Dim i, ii As Integer Dim c, cc, r As Integer tArr = Clipboard.GetText().Split(Environment.NewLine) r = Form1.DataGridView1.SelectedCells(0).RowIndex c = Form1.DataGridView1.SelectedCells(0).ColumnIndex … | |
Group, I've got a protected spreadsheet at work that prevents me from creating links or writing macro's to do some repetitive copying and pasting from one spreadsheet to another. I hope someone can help. I'd like to use VB (if possible) to copy from a specific range in Spreadsheet1.Sheet1 (let's … | |
When selecting from DataGridView as program line below: Diameter = DesignationsDataGridView.Rows(e.RowIndex).Cells(0).Value I get following exception message box:- System.ArgumentOutOfRangeException was unhandled Message="Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index" If I select 'continue' from message box then I return to … | |
How to save, delete and insert current cell value of datagridview from xml file in C#.net winforms. i am entering the data in current cell of datagridview, that data is comming from xml file. now how should i save this current cell data. | |
Hello all, It has been long since i am facing this problem. I want to convert my datagridview data to pdf format. I have searched a lot but couldnt find any. Need your help. Regards, Ajinkya | |
Hello all, I have an XML string that I need to tear down and process. Sorry for what may be a simple problem, but I'm new to XML processing. Here is a sample of the XML: <?xml version="1.0" encoding="UTF-8" ?> <CCSMessage Type="4" Name="CustomerFetchResponse" Source="CoremaContextServer" Destination="WSA0205" UserID="LoyaltyBatch" IncludeLoyaltySummary="true" LimitLoyaltyTransactions="0" > <Result> … | |
hy im very newbie with VB.net 2010 i want to search/filter my datagridview with textbox i use this to connect mysql and datagridview dbconn = New MySqlConnection("server=localhost ;database=login") Try dbconn.Open() Catch ex As Exception MsgBox("Connection Error") Close() End Try Dim table As New DataTable() dbdata = New MySqlDataAdapter("SELECT * FROM … | |
Hello everyone I have this XML file that has all the information for payroll, but we have a system where the employee goes and sees his payment for the week, so what i've been trying to get my head around this problem is that we need to extract some information … | |
every combobox selection is replaced with what a user has selected, I want it not to be replaced so that all seleced combobox can be printed |
The End.