20,285 Topics
![]() | |
http://code.daypilot.org/60174/timesheet-for-asp-net-c-vb-net-sql-server similar as this one but with windows forms | |
Greetings. I'm having a rough time solving this problem. this is my global dec Dim btns As Button() = New Button() {Button1, Button2} and this is my eventhandler Dim btnName As Button = DirectCast(sender, Button) Dim i As Integer btns(i) = New Button For i = 0 To btns.Length Step … | |
I'm trying to create a program, where a user can use the textbox to search for information, and as soon the user begins to type, any matching results will show autofill. I was able to do that, but I also want to make partial word match: words are found that … | |
Hello, i have 2 textbox. and i need to compare those 2 strings to get the number of same letters/characters. Example: Hack Cake Total same letters/characters = 3 [ C.K.A ] How can i do that? Thanks! :( | |
str1 = "select distinct [Sched_Code] as [No.], [Course], [Year], [Section], [Batch]," & _ " [Subject],[subject_desc],[units], [Time], [Day], [Room], [Instructor], [Schoolyr] as [S.Y.], [Semester] as [Sem] from tblSchedule, tblcurriculum where tblschedule.subject=tblcurriculum.subjects" Dim dt As New DataTable dt = ConnectDatabase(str1) rpt.SetDataSource(dt) CrystalReportViewer1.ReportSource = rpt help, i cant see content of my data … | |
hi!, guys I want to make a daily time record in crystal report but I did not know how to do?, can you help me please? | |
I have an interesting challenge and was hoping one of the gurus can assist. I have a program running on a client machine that I need to "trigger". The program is written in VB.NET. What is the easiest way I can generate a "trigger" to that client machine? Couple of … | |
Hello all, I seek assistance in this challenges I have at the moment. I have an application that currently connect to a SQL Database well on my PC and sure it will do same if I deploy it to a PC that has SQL server install on it. Now I … | |
Hi Dw I'm trying to copy a chosen file to a directory under 'C:\example' directory folder, I have a textbox to store the address (path) to the selected file, a OpenFileDialog to enable the user to browse to the file to copy and also a FolderBrowserDialog which let the user … | |
How could I change the column header of the Data Grid to center or right but not left as default? [Pls pay attention, We are talking 'bout Data Grid here, recently I always receive answers for Data Grid View instead :( ] I just want to re-align the header only, … | |
i've been working on a program and i want it to be accessed by multiple users. so i have an admin account and an other users account what i want to do is for the other users to be able to access the program and its database from another computer … | |
Hi Dw I have folder which has all the files and the folder can have as much files inside as possible so I have created the function which gets all the files inside this folder and populate it on a listbox so now the problem is that it shows with … | |
hi everyone my question is how to clear a datagrid view in vb.net 2010 i have tried DatGridView1.Clear() but it only works once and i would like to clear my datagrid every time i click the load button hers my code Private Sub Button15_Click(sender As System.Object, e As System.EventArgs) Handles … | |
I want to print data from XML in readable formate which is the last section of XML file .My code writes data from database to XML file . Here is a code i use to write XML Note: myread is a dll containing dataset,data adapter and connection string. ds As … | |
I have the following html code: <name>Username</name> <kills>1</kills> <ach_count>3</ach_count> And on and on..... I am looking for a code that extracts the value from <tag></tag> and puts them into variable. I don't want to use HTML Agility Pack, don't ask why.Also XML is not an option for me. I hope … | |
Private Sub btnsave_Click(sender As Object, e As EventArgs) Handles btnsave.Click 'to check if the records already exists... Dim sqlQRY As String = "SELECT COUNT(namee) AS namecount from staff WHERE namee='" & TextBox7.Text & "'" Dim queryResult As Integer Dim com As New OleDbCommand(sqlQRY, conn) queryResult = com.ExecuteScalar() If queryResult > … | |
Hi guys. I need help in copying selected row from DataGrid to another. What I want is if I click a row it will be copied to another DataGrid. I set my DataGrid Selection Mode to FullRowSelect. Is it possible for me to update my database using the copied rows. … | |
Hi All, How do i get user choice Radio button text from multiple radio button, When i save as word document. Below code is what i did: "Food :" & ComboBox1.Text & ", Quantity :" & txtCountFood & vbNewLine & But instead of using ComboBox (as above code) i want … | |
hi im trying to populate a datagrid view with the contents af a text file i used the following code: Private Sub Button15_Click(sender As System.Object, e As System.EventArgs) Handles Button15.Click Dim lines = (From line In IO.File.ReadAllLines(strPath) _'strPath is the location of text file Select line.Split(CChar(vbTab))).ToArray For x As Integer … | |
I'm right at the start of designing a small E:Mail control program for a friend, but would just like to ask some advice on best practice before I dive in at the deep end. I have a Form with 2 ComboBoxes and the data selected decides what to send, what … | |
So I put the database into the dubug folder in bin of my project, and in the data source configuration wizard i selected ms access and my file, then i copied my connection string, it was "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\bin\Debug\bookshop.mdb" and wrote some code for it to connect to it, to be … | |
i need to generate for example the January month from 1-1-2014 till 30-1-2014 in sql database using visual basic 2010 so the table will be like that Date Day Employename 1-1-2014 Wednesday elie 2-1-2014 Thursday elie 3-1-2014 Friday elie , , , , , , , , , , , … | |
In this code,while executing it does's show the result. For eg: Consider addition,in addition result it shows the second value to be added. How it can be corrected? Public Class calculator Dim add, subt, mul, res As Integer Dim div As Double Dim ch As String Private Sub Button1_Click(ByVal sender … | |
can some one give me a codes?im creating a time reservation system and every time a user input a data on the combo box and click the button SUBMIT, all the data will be recorded in the list view.and now?im having a problem with the codes for a conflict schedule.i … | |
Could i please have an example of using the equivalent of the obselete Scale method for picture box controls in vb.net? | |
lol Hi people its been 2 years im back :D I finshed high school but had too stop programming so im back to noob The problem is i cant seem to find SelectedIndex while using listview -__- I really dont want to use text to find a item :/ | |
Hello, I was trying to view all the data from a single from a database after the button "search" is clicked and the output will be inserted into corresponding textboxes for future editing. After I entered the ID(1) I get an "OleDbException was unhandled" " Data type mismatch in criteria … | |
I am new to vb and for an assignment i have to make a application that adds, deletes database records. I used an ms access database. If i run the file in another pc, it doesnt't work as the datbase file is not in that pc,i need it to work … | |
I just want to ask how to display points from text file which contains x,y coordinates using vb.net? | |
Hi Im just wondering if anyone can help me out? I have a text file that contains data that i want to load into a datagrid view I'm new to vb.net so i really have no idea on how iam supposed to start im using vb.net 2010 thanks in advance |
The End.