Member Avatar

Hi! It's been a while since I last posted here. I've just gotten started with Windows Service, and have created a sort of 24/7 service to update a database. But because it's my very first project (besides the tutorial one) I feel that I could use some assistance in checking it over. The intent is to have it run a method from a class at about once every 24 hours. If anyone of you clever people could spare a moment to see if I've made mistakes. (Ignore the database connections. Those work) Imports System Imports System.Timers Imports System.Runtime.InteropServices Public Class …

Member Avatar
+0 forum 3
Member Avatar

Hi, Good Evening to everyone! I am preparing one application facing some challenges, the scenrio is to send email when a user enter a complaint in the system to the assigned user the assigned user have email address already in the system the email notification should go to assigned user alongwith Complaint ID and complaint detail. then if after 30 minutes no one updates the status the system should send another notification to next level after 1 hour if still status not updated the system should send email notification to final level. could you please help me with code sample …

Member Avatar
+0 forum 3
Member Avatar

I want to build a client applications for desktop with NET Framework and MySQL database. i can create new project with windows form control library or windows forms app. What is the difference between this to options? Which of the two do you recommend using and why? thank you in advance, André

Member Avatar
+0 forum 2
Member Avatar

So, I am a post grad student in the software development field, and I am not working at the moment, but I have some questions on Business Rules, User Stories, etc. So I was wondering if perhaps we could open up a discussion here on some of the common business problems that programmers typically run into in their fields, and what sorts of user stories could be useful for an entry level programmer to pursue in their development career. I have an example; Recently I rode in a cab. While in this cab we had to wait for a truant …

Member Avatar
+0 forum 3
Member Avatar

Hi, I'm new to vb When i try to retrieve edit time i get error using ( Data Grid View Cell Click) i do not have problem when i retrieve date.

+0 forum 0
Member Avatar

Hello, everyone! I hope someone can help me to solve this. Can anyone give me example of making polygon with linked-list without using the built-in linked-list. The programming language is Visual Basic.

Member Avatar
-1 forum 1
Member Avatar

Help i need to have 3 login attempts then the program will lock down but the message box shows up 3 times consecutively, it will close then pops out it will do this for 3 times then it closes ... help pleassseee :( Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click Dim un, pw As String Dim counter As Integer = 0 un = txtUsername.Text pw = txtPassword.Text Do If un = "student" And pw = "21217" Then Me.Hide() CourseStudy.Show() Else counter = counter + 1 MsgBox("Try again", MsgBoxStyle.Critical, "Acess Denied") txtPassword.Text = "" txtUsername.Text = …

Member Avatar
+0 forum 1
Member Avatar

Hello everybody I'm creating a Windows Desktop App using vb.net, I'm not very knowledgeble and I can say that I'm still a beginner. So I have this project where I'm trying to create a report form using ReportViewer where as after putting the ReportViewer control to my form and select the rdlc file and datasource this error suddenly pops up: *"Could not load file or assembly 'MySql.Data, Version=8.0.17.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"* This only shows whenever I try to add a reportviewer …

Member Avatar
+0 forum 1
Member Avatar

Hello i am new with this programming vb.net. i have simple problem loading the data. i have 1 datagridview and contains also a comboboxcolumn in that datagridview my problem is how do i populate the data in my first table and the second table would be populate in my combobox inside the datagridview

+0 forum 0
Member Avatar

I have 2 form there are form 1 and form 2 my program current situation is when user click delete it will pop up a login form. When user click cancel button from login form the data on the database will be delete ![login_form.PNG](/attachments/large/4/44621e202c33a0c03d1931bb384694fa.PNG) when user click cancel it will restart program and delete my data the program i would like to write on cancel button is when user click the cancel, form 2 will refresh and the data on the database will not be delete this is the my program running current situation ![A.PNG](/attachments/large/4/a86e1db60cebb2450ef5c573ef63e1db.PNG) ![InkedB_LI.jpg](/attachments/large/4/c5fa7a80e2be0600dfbd31349a6b18df.jpg) ![C.PNG](/attachments/large/4/c34e142048b1cb6a507db992fd043875.PNG) i am using …

+0 forum 0
Member Avatar

I need to put conditional formatting into an Excel sheet. When one cell has data entered, the entire row must have the font color changed. Any suggestions?

Member Avatar
+0 forum 7
Member Avatar

Help me , Search data with dataGuidViewer and print that searching result (vb.Net). I am try verious Code thous are found youtube, but it not work...... Please Help me VB.Net (2010, 2012,2013,)

Member Avatar
+0 forum 2
Member Avatar

![net.jpg](/attachments/large/4/7ba3189ab11bd153b391c468177113e9.jpg) Please help how to code this on vb.net with SQL server database

Member Avatar
+0 forum 1
Member Avatar

Hello. At work, I have to count about 5k in a day for products. When someone takes out or puts in products for example 450 I have to recount again. So I want to create a system that when someone puts some kind of product on the shelf they would enter the quantity they are putting on the stock. For example, TOM puts 150 pcs of -product1- in stock. Then Bill will take 50 pcs of the same product1. So the system would do the calculation: 150-50 = 100 pcs left in stock. When TOM will put again 110 pcs …

Member Avatar
+0 forum 2
Member Avatar

this is may code on adding or saving image in to mysql DB Private Sub SAVECATEGORY_Click(sender As Object, e As EventArgs) Handles SAVECATEGORY.Click If PictureBox1.Image Is Nothing Then MessageBox.Show("Please Insert image ") addcategoryclear() 'you call ddcategoryclear() to clear textbox and picturebox ElseIf TextBox1.Text = "" Then MessageBox.Show("Please Insert Image Name") addcategoryclear() 'you call ddcategoryclear() to clear textbox and picturebox Else Dim ms As New MemoryStream '...........need to Imports System.IO from general PictureBox1.Image.Save(ms, System.Drawing.Imaging.ImageFormat.Png) ' ........save IMAGE cn.Open() Dim command As New MySqlCommand("INSERT INTO `category`( `IMG`, `NAME`) VALUES (@IMG,@NAME)", cn) With command.Parameters .Add("@IMG", MySqlDbType.Blob).Value = ms.ToArray() .AddWithValue("NAME", TextBox1.Text) End With If …

Member Avatar
+0 forum 9
Member Avatar

Hello Everyone, I'm trying to create / edit a binary value within the windows registry so far I have this: Dim data As Byte() = New Byte() {&H48, 96} Microsoft.Win32.Registry.SetValue("hkey_local_machine\hardware\description\system\bios", "SystemProductName2", data, Microsoft.Win32.RegistryValueKind.Binary) However, I want to set a product name say "Acer Stuff" to the registry and what is happening it will not print the characters. I'm getting numbers. Any suggestions? I've searched for a few hours to get this done and I'm having a difficult time. Any help would be greatly appreciated. Thanks.

Member Avatar
+0 forum 1
Member Avatar

![help1.png](/attachments/large/4/f82a18611583d3d8a689ee71b5a6bc3b.png) it hard for me to explain what the problem, but the thing that i need your help is , how to retrieve the ID to listview, im trying to create a POS project like on restaurant or fastfood store, in the listview it will retrieve image ang name, but if listview is click the image will copy to picturebox, the name will copy to textbox1 and the ID will copy to textbox , use the ID the name and picture can be change to update, please help me how to get the ID

Member Avatar
+0 forum 8
Member Avatar

Hello guys , can you help me how to get the ID from mysql DB , if the listview is click the name and the ID well retrieve to textbox1 and textbox2, i dont know how to get the ID?, on the listview the ID wasnt retieve , can you help me how to retrieve the ID from db

Member Avatar
+0 forum 3
Member Avatar

Hello, help me When you apply the save, an error occurs Dim c As Integer Dim val As String If cmbfeuille.Text = "" Then Exit Sub xlApp.ScreenUpdating = False xlApp.DisplayAlerts = False xlWorkBook = xlApp.Workbooks.Open(chemin) xlWorkSheet = CType(xlWorkBook.Worksheets(cmbfeuille.Text), Excel.Worksheet) For l As Integer = 1 To DataGridView1.RowCount - 1 For c = 0 To DataGridView1.ColumnCount - 1 val = CStr(DataGridView1.Rows.Item(l).Cells(c).Value) xlWorkSheet.Cells(l + 2, c + 1) = val Next c Next l xlApp.ScreenUpdating = True xlApp.DisplayAlerts = True xlWorkBook.Close() xlApp.Quit() modif = False

Member Avatar
+0 forum 2
Member Avatar

i have a database at *mysql * and i already save image and use search button to retrieve image from mysql database to picture box, *vb.net *, i dont have a code how listview retrieve all image from mysql but the code is different funtion but the concet is the same. 'this code is retrieve all the image from file locatioin Private Sub open_image_from_file_location_Load(sender As Object, e As EventArgs) Handles MyBase.Load ListView1.Items.Clear() 'retrieve image from specific folder Dim dirFiles() As String = IO.Directory.GetFiles("D:\Perity Files\Komasan") Dim _imgList As New ImageList Dim imgSize As New Size 'setting up custom size imgSize.Width = …

Member Avatar
+0 forum 5
Member Avatar

hello, im going to create POS project, can you help me how to retrieve all image from mysql db to listview, so that i can view all image that i save to my db, i already save image and use sreach button on retrieve image from db to picturebox. thank you guys . the code below is not retrieving image from db to listview, but if you click listview it will retrieve image from db to picturebox Dim constr As String = "Data Source = localhost; User ID = root; Database = chamchamber" Dim cn As MySqlConnection Dim cmd As …

Member Avatar
+0 forum 8
Member Avatar

i use vb.net 2017 the problem is that in project => application => Enable Application Framework is greyed out. How can i fix this ![Enable_Application_Framework.PNG](/attachments/large/4/68d6df59e58c439a2f19c6f17d4178c7.PNG)

Member Avatar
+0 forum 1
Member Avatar

Hi! We are a 4 member group for our thesis and we already have submitted 5 topic proposals yet nothing was accepted...and here are the topics: enrollment system, gadgets on track, employment resource system, subdivision technical entry pass Now, I need a help for new ideas that can be developed through visual studio and it can be a web-based or window-based projects. Hope you can help me Thanks in advance!

Member Avatar
+0 forum 38
Member Avatar

Hi, I hv vb.net applivcation. I have following CODE1 to save data & to prevent duplicate data entry into table. The following code I put in button save event. However I want to put this CODE2 in perticluar textbox e.g. here SpecimenNoTextBox. so that when the user enter duplicate SpecimenNo.it says "Specimen No. already exist". How can i do this? **CODE1** If SpecimenNoTextBox.Text = "" Then MsgBox("Enter") Else Dim cmd As New OleDbCommand Dim con As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\data\Histopathology New.accdb") con.Open() Dim cmdlogin As New OleDbCommand(("SELECT SpecimenNo FROM HPReport"), con) Dim dalogin As New OleDbDataAdapter Dim dslogin As New DataSet …

Member Avatar
+0 forum 11
Member Avatar

Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click 'TextBox1.Text = Token() If Button1.Enabled = True Then Label1.Text = Label1.Text + " A1 " If Button1.BackColor = Color.Yellow Then Button1.BackColor = Color.Red Else Button1.BackColor = Color.Yellow End If Else Label2.Text = "" Label2.Text = True End If Button1.BackColor = Color.Yellow End Sub Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click If Button2.Enabled = True Then Label1.Text = Label1.Text + " b1 " If Button1.BackColor = Color.Yellow Then Button1.BackColor = Color.Red Else Button1.BackColor = Color.Yellow End If Else Label2.Text = "" Label2.Text = True End …

Member Avatar
+0 forum 3
Member Avatar

hello how can i insert multiple selected data from datagridview into database using checkbox..please help

Member Avatar
+0 forum 1
Member Avatar

Hello. I'm currently preparing a seating system in VB. May i know how can I change the booked seats into available by clicking "Reset" button? My database consists of "Booking" table that comprises the booking details and "Seating" table that comprises details including "Availability" whereby once the seats are booked, it will change the seats from available to booked under "Availability" column. As per my understanding, when i click the "Reset" button, it will delete the records in "Booking" table and update "Seating" table from booked to Available under "Availability" column. This action would lead my booked seats turn to …

Member Avatar
+0 forum 8
Member Avatar

How to put a price on the items in the combobox? Please help . really needed it .. Thank you

Member Avatar
+0 forum 1
Member Avatar

how to select an item in the combobox and then put item quantity in the textbox. and how to price the combobox items. Really need help .. Next week is my system defense.. Thank you

Member Avatar
+0 forum 1
Member Avatar

need help for factorila within range if you entered 3 in textbox, This will appeared in Listbox 1! = 1 2! = 2 3! = 6

Member Avatar
+0 forum 1

The End.