20,285 Topics

Member Avatar for
Member Avatar for elie.karkafy

http://code.daypilot.org/60174/timesheet-for-asp-net-c-vb-net-sql-server similar as this one but with windows forms

0
96
Member Avatar for christan

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 …

Member Avatar for hainguyen81
0
235
Member Avatar for Start4me

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 …

Member Avatar for Start4me
0
3K
Member Avatar for ignnniter

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! :(

Member Avatar for kRod
0
198
Member Avatar for decoder.mira

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 …

Member Avatar for jared.geli
0
371
Member Avatar for Sratu

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?

0
53
Member Avatar for olegb

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 …

Member Avatar for pritaeas
0
302
Member Avatar for ibpet11

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 …

Member Avatar for ibpet11
0
152
Member Avatar for Mr.M

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 …

Member Avatar for Mr.M
0
3K
Member Avatar for Eternal Newbie

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, …

Member Avatar for kRod
0
2K
Member Avatar for kjklls

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 …

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

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 …

Member Avatar for Mr.M
0
2K
Member Avatar for Jeline_1

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 …

Member Avatar for G_Waddell
0
176
Member Avatar for satti

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 …

Member Avatar for G_Waddell
0
1K
Member Avatar for notacop

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 …

Member Avatar for notacop
0
213
Member Avatar for sushilsth

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 > …

Member Avatar for tareywolf
0
197
Member Avatar for jared.geli

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. …

Member Avatar for jared.geli
0
4K
Member Avatar for missy_mi

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 …

Member Avatar for missy_mi
0
286
Member Avatar for Jeline_1

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 …

Member Avatar for tinstaafl
0
173
Member Avatar for vodkasoda

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 …

Member Avatar for G_Waddell
0
348
Member Avatar for kingofspades

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 …

Member Avatar for kingofspades
0
148
Member Avatar for elie.karkafy

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 , , , , , , , , , , , …

0
71
Member Avatar for Iamateur

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 …

Member Avatar for Minimalist
0
309
Member Avatar for gelmi

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 …

Member Avatar for bokies
0
162
Member Avatar for ambi108

Could i please have an example of using the equivalent of the obselete Scale method for picture box controls in vb.net?

Member Avatar for Reverend Jim
0
104
Member Avatar for VB 2012

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 :/

Member Avatar for Minimalist
0
195
Member Avatar for Pickletronic

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 …

Member Avatar for G_Waddell
0
2K
Member Avatar for kingofspades

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 …

Member Avatar for kingofspades
0
192
Member Avatar for mradhie2

I just want to ask how to display points from text file which contains x,y coordinates using vb.net?

Member Avatar for ddanbe
0
53
Member Avatar for Jeline_1

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

0
95

The End.