20,277 Topics

Member Avatar for
Member Avatar for johndohmen1963

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 …

Member Avatar for johndohmen1963
0
1K
Member Avatar for KushMishra

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 …

Member Avatar for Cody_6
0
4K
Member Avatar for Arnold_7

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)

Member Avatar for happygeek
0
232
Member Avatar for KushMishra

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 …

Member Avatar for KushMishra
0
509
Member Avatar for johndohmen1963

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 …

Member Avatar for johndohmen1963
0
582
Member Avatar for M.Waqas Aslam

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 …

Member Avatar for Shyam_7
1
2K
Member Avatar for sajeev_1

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 …

Member Avatar for Schol-R-LEA
0
441
Member Avatar for Rashid_5

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 …

Member Avatar for Santanu.Das
0
508
Member Avatar for VIPER5646

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 …

Member Avatar for VIPER5646
0
555
Member Avatar for johndohmen1963

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 …

Member Avatar for Reverend Jim
0
642
Member Avatar for Link_1

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 …

Member Avatar for Santanu.Das
0
2K
Member Avatar for Ja_1

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 …

Member Avatar for tinstaafl
0
247
Member Avatar for renegade082208

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 …

Member Avatar for Abhishek_36
0
2K
Member Avatar for Ahmed_99

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

Member Avatar for adam_k
0
296
Member Avatar for johndohmen1963

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 …

Member Avatar for johndohmen1963
0
389
Member Avatar for JModak

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 …

Member Avatar for Santanu.Das
0
393
Member Avatar for Bim_2

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 .

Member Avatar for rproffitt
0
956
Member Avatar for JEOFREY

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 …

Member Avatar for rproffitt
0
270
Member Avatar for Reverend Jim

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.

Member Avatar for Reverend Jim
7
9K
Member Avatar for Mohammad_42

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 …

Member Avatar for ddanbe
0
216
Member Avatar for Padmaja_1

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.

Member Avatar for ddanbe
0
95
Member Avatar for Adwaith

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

Member Avatar for hnrindani
0
115
Member Avatar for සශික

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

Member Avatar for Adwaith
0
2K
Member Avatar for kberrianjr

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 …

Member Avatar for Reverend Jim
0
670
Member Avatar for Munyaradzi_1
Member Avatar for paul_61

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 …

Member Avatar for paul_61
0
363
Member Avatar for Maheshwaran

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);

Member Avatar for Santanu.Das
0
415
Member Avatar for Gokul_4

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

Member Avatar for rproffitt
0
182
Member Avatar for Catherine_5

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 …

Member Avatar for xrjf
0
369
Member Avatar for man.chester.581

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 …

Member Avatar for misabah
0
378

The End.