20,277 Topics
![]() | |
I have the following problem. when i pres buttun printpreview (button 5) the the print preview fires up. and when i close the print preview without printing and minimize the form (after close the printpreview), and when i maximize the form again the image in the picturebox is turned 90 … | |
Hello All, I have experienced a very strange problem in my application. When I launch my WPF application, it loads fine with a window and button, upon clicking the button, it launches another form which is also fine but in this second form, when I click some button, it launches … | |
Ingreso una operación donde ingreso 0.25 pero me da por respuesta 25.0 , por lo tanto no puedo guardarlo en la base de datos Private Sub btningresar_Click(sender As Object, e As EventArgs) Handles btningresar.Click tara = CDbl(LblIndicador2.Text) PB = CDbl(lblindicador.Text) 'Calcular el peso: PN = Convert.ToDouble(PB - tara) | |
Hi, I am developing my own designer and got stuck at a point where I need to establish or implement some business logic whenever any UI Element is dragged and determine if that falls withing the boundaries of another parent control (specifically TabControl or GroupBox), so that the next time … | |
Hi I have a broblem with my label text. The code is Public Class Form5 Dim a As Integer Dim currentDate As DateTime = DateTime.Now Dim jaarnu As Integer = currentDate.Year Private timeLeft As Integer Dim WithEvents timer As New Timer Dim milliseconds As Integer Dim monthnumber As Integer Dim … | |
hello ! i want to develop the keycounter , i mean i want to get the total no. of key pressed by the user in the specific time , i have a code of keylogger , i can use it to get the text in that time period and after … | |
Hi, I have one doubt. I did creat a new software from vb 6.0. Database management system. I am using MS access database. that is saved and connectivity in my C drive. And I did out put the exe file. What i need na, i did install this software one … | |
Hello!! I am a Chemistry student. I am trying to make a simple database application. I am using DataGridView as database.Data is inserting in DataGridView.But I don't know how to store it. I want to store data from DataGridView to MS access file. I have five Columns. How can I … | |
Hi I Currently working on a project to schedule installers to do installations. When scheduling the user will select the day of intall and if the number of days the instalation will take or motning or afternoon if its only hafday and I want the application to search which installer … | |
Who can help me with the following For Each Con As Control In GroupBox1.Controls If Con.GetType Is GetType(Button) Then Con.BackColor = SystemColors.Control Con.UseVisualStyleBackColor = True End If Next Can someone help me to fix it with Con.UseVisualStyleBackColor = True or do i have to do the for all buttons separate … | |
i am using vb asp.net **error**: there is already an open DataReader associated with this Command which must be closed first. working on this issue for couple weeks now and i have no idea how to fix this. any help will be helpful i am using 2 reader on page … | |
Hi, Good day, Hope someone can help me on this. I want to display data from my Ms. Access Database. I already display values from my Combo Box from my DB1. DB1 - IDNO / PRODUCTCODE / PRODUCTNAME DB2 - IDNO / PRODUCTCODE / PRODUCTDESCRIPTION / EXPIRYDATE ComboBox - Displays … | |
my code is this: Me.Validate() Me.CFTINVENTORYBindingSource.EndEdit() Me.TableAdapterManager.UpdateAll(CFTDataSet) At first I can insert data into the cells and save it... but when i try to edit the same cell with data already saved in it I get this error... sqlcelexception was unhandled There was an error parsing the query. [ Token … | |
i want to update row after union conection code conect Dim cmd As OleDbCommand = New OleDbCommand("SELECT tb1_type ,tb1_price FROM tb1 UNION SELECT tb2_supp,tb2_debt FROM tb2 UNION SELECT tb3_name,tb3_price FROM tb3", con) con.Open() DataAdapter1 = New OleDbDataAdapter(cmd) Dim builder As OleDbCommandBuilder = New OleDbCommandBuilder(DataAdapter1) DataSet1 = New DataSet() DataAdapter1.Fill(DataSet1, "tb1,tb2,tb3") … | |
Hi can someone give me the code how i make the first and last word of a string to Propr case The folowing gives all words to proper case Dim plaats As String = Replace(TextBox1.Text, "'", "''") plaats = StrConv(plaats, VbStrConv.ProperCase) I want, shall we say: "ohe en laak" to … | |
i have 3 table i inner join with 3 table and add function but now getting error please help me how to solve the the problem please help me ERROR :Msg 8120, Level 16, State 1, Line 1 Column 'TBL_pur_inv.invno' is invalid in the select list because it is not … | |
can you help me in my program ? i want to connect my log in form to my database but i dont have any idea on how to connect it .pls help me . | |
Good day, I am newbie on programming and started to learn vb.net, What I would like to do is to create an attendance system that have a time in and time out , once the person successfully timed in it displays on form the … | |
Several people have asked how to export data to Excel. This code snippet shows how to export the data from a listview in details mode to a new Excel spreadsheet. Take note of the comments in the header to avoid having orphaned Excel.exe tasks eat up your system memory. | |
Hi everyone I want to develop an app with characteristics below: - open a picture in A4 or A5 size in a picturebox - insert text on the picture in certain places - printing the picture and the text inserted in A4 or A5 size. first I want to use … | |
I am new to vb.net trying to create one small project. I am getting the error "NO VALUE GIVEN FOR ONE OR MORE REQUIRED PARAMETERS" Please help me. | |
i tried a code which was already found here but it was showing cmbserver and cmbdatabase was not declared and was inaccessable due to its protection level so im troubled and dont know what to do can anyone help | |
![]() | I use below code to backup mySQL database. I want to save sql database by save file dialog. I use this, Sub CreateBackupc() Dim mysqldumpPath As String = "C:\Program Files (x86)\MySQL\MySQL Server 5.0\bin\mysqldump.exe" Dim host As String = "localhost" Dim user As String = "root" Dim pswd As String = … |
I am currently working on a program to track my mile for my monthly expense report for work. Everything is working great, however, I can not for the life of me find a code to write 8 lines from the text file back into the listview on my form. I … | |
![]() | |
I work in VB.net only. I cal read an entire file in one statement, sort it with another statement and write it bacl in another. Three statements to sort a csv file! This is aswome, but I wan to know how to sort the file on different columns. Here is … | |
sqlconnection = new SqlCeConnection(ConnectionString); sqlcommand = new SqlCeCommand(); sqlconnection.Open(); sqlcommand.Connection = sqlconnection; sqlcommand.CommandText = (@"UPDATE ItemStock_Info SET Quantity =@qun WHERE [Item_Number]='"+ textBox1.Text +"'"); sqlcommand.Parameters.Add("@qun", qun); | |
I have a vb based software which is very old running on sql server 2000. When I tried to take a report, it says "runtime error 9 Subscript is aout of range".where to find this subscript? Please help me out.Thanks in advance | |
At the beginning welcome all. I have a big problem and I can not deal with it. I would like to refresh dategridview after adding and editing data. I try to add ShowData() function on closing Form2 and that didn't work. Thanks for any help or advises :) and link … | |
Im working on a one huge project that is combination of many sub projects which is talking to eachothers and they all use apart from data base whice responsible to manage user's account i dont want to work with one database so i have to isolate each project's database and … |
The End.