20,279 Topics

Member Avatar for
Member Avatar for toomutch

Hi all, Having problems with null dates in a mysql table. Have eventually found out that I can store a 'null' date in mysql as "0000-00-00" and I can run the 'insert' command to add a record to the mysql table. When I check on mysql workbench I can see …

Member Avatar for toomutch
0
832
Member Avatar for masmith25

I'm hoping someone can help me out with this. I have a datatable populated from an SQL Server 2008 database table. I created a DataAdapter with a commandbuilder to manage the updating, inserting, and deleting of records. The Updating and Inserting work as expected. However, Delete does not. The code …

Member Avatar for masmith25
0
742
Member Avatar for mikeybware

I have the following code which creates a nice little instant messenger for my program. I am running into trouble when I try to send a message to a user that is not logged into their chat window. It waits about 20 seconds, then throws the error message. In the …

Member Avatar for mikeybware
0
355
Member Avatar for aristosv

I have a form with a textbox and I want that textbox to read from http.conf on line 162. Line 162 reads ServerAdmin [email]you@yourdomain.com[/email] Shouldn’t this code work? [CODE]Public Class Form1 Dim apacheconf = "c:\httpd.conf" Dim line() As String = IO.File.ReadAllLines(apacheconf) Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles …

Member Avatar for kingsonprisonic
0
171
Member Avatar for HEMAMBUJAVALLY

Hi everyone, i need some tutorial to implement BLS (Boneh-Lynn-Shacham) signature algorithm to create private key and public key to encrypt a message. Can anyone please help me? I need tutorial to implement this in VB.NET. Thanks in advance. Regards, V. Hemambujavally, B.Tech

Member Avatar for tungnk1993
0
76
Member Avatar for pipelian

My form has a TextBox with values like(e.g: P011112, C0212102) those are products lot numbers that the user enters. Then, what i want is that a DateTimePicker takes the first 4 digits as "MM-yyyy" and add 3 years to that date. Example: TextBox.text = P011112 DateTimePicker = January, 2014 Thanks …

Member Avatar for pipelian
0
319
Member Avatar for skp03

Hello !! how to copy the text of textbox from application1 to application2

Member Avatar for kingsonprisonic
1
126
Member Avatar for amf101

Guys, I need again your help. I have to generate automatically a unique schedule for each subjects with only one click of a button. I'm having trouble with it. Please suggest....here's my codes: [CODE]Do Until conflict = False For y As Integer = 0 To DataGridClass.RowCount - 1 If txtbxClassID.Text …

Member Avatar for amf101
0
202
Member Avatar for dilse4sk

hi every 1. i am trying to bind the combo box through details view in vb.net but unable. i am making a login form and i want to display two values e.g usertype admin , employee in combobox but when i run the form it doesnot show me anything in …

Member Avatar for pritesh2010
0
180
Member Avatar for aristosv

Hi, I have a form with a button which is disabled by default, and a CheckedListBox with 68 items in it. What is the simplest way of enabling the button, when an item in the CheckedListBox is selected or unselected? I’m looking for something like If CheckedListBox1…any of the items …

Member Avatar for aristosv
0
644
Member Avatar for easygi

I have this code [CODE] sqlcon.Close() sqlcon.Open() cmd.CommandText = "SELECT item_category FROM tbl_item_code where item_category = '" & lbl_category.Text & "'" cmd.Connection = sqlcon dr = cmd.ExecuteReader dr.Read() If dr.HasRows() Then sqlcon.Close() sqlcon.Open() Dim cmd2 As New MySqlCommand Dim dr2 As MySqlDataReader cmd2.CommandText = "SELECT * FROM tbl_item_code WHERE item_code='" …

0
47
Member Avatar for LearnVBnet

[code]Form Payment DGV.Columns.Add("FullName", "Customer") ' DGV.Columns.Add("InvNomer", "Invoice No.") DGV.Columns.Add("BalanceDue", "Total") DGV.Columns.Add("Paid", "Paid") Private Sub cmdPayList_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdPayList.Click ' where = " AND InvNomer NOT IN(" ' where = where & "'" & row(2).Value & "', " ' where = where & ")" PayList.show() …

Member Avatar for LearnVBnet
0
153
Member Avatar for markdean.expres

Guys, how do I search for records using keywords from a textbox in all fields within my table (within my database). I am only aware of filtering rows based on a single column value only Thanks...

Member Avatar for M.Waqas Aslam
0
104
Member Avatar for ryklon

Hello! I'm making a fading splash screen for a software but I can't seem to make the splash screen fade in and then fade out. It only fades in, fades out a bit then stop. Here's my code. Thanks in advance! [CODE=VB.NET]Private Sub frmSplashScreen_Load(sender As Object, e As System.EventArgs) Handles …

Member Avatar for ryklon
0
1K
Member Avatar for jcgldr

hi i'm in middle of building an application and something got corupted and the solution has 2 errors and i don't know how to fix it when i run the app it comes up the msg that there is errors and i can run the last successful build i'm interested …

Member Avatar for hericles
0
239
Member Avatar for easygi

I have this code which saves the dump file in a static path or destination [CODE] Process.Start("C:\xampp\mysql\bin\mysqldump.exe", "-u root ipoint -r C:\Backup\ipoint.sql") MsgBox("Backup Database Created")[/CODE] I want to choose the path by using the folder browser dialog which will put the path on a textbox but this code below doesn't …

Member Avatar for easygi
0
211
Member Avatar for amf101

Hi, Guys, please help me, I need your help. I wanted to identify the conflicted schedule of each of the section. If there’s conflict then the two or more subjects that are conflict will be colored to make then noticeable. They are in datagridview. I don’t know what’s wrong but …

Member Avatar for codeorder
0
245
Member Avatar for HardWorker2

I have Sql query consists of multiple tables in ms Access database(has Join Right/inner join) and I would like to insert and Update data on it using ADO.NET. I would be most grateful if someone could provide me with a clear example. Thanx

Member Avatar for HardWorker2
0
257
Member Avatar for discovery-power

Hi All, I have written my-self a file encryption application, but I am getting the following error from on this peice of code the eroor is : NAME 'it' is not declared Please see my code below Imports System.IO Imports System.Text Imports System.Security.Cryptography Public Class Form1 Inherits System.Windows.Forms.Form 'creates an …

Member Avatar for discovery-power
0
219
Member Avatar for markdean.expres

Guys is it possible to get the details of an mp3 file like the Contributing Artist, Artist, Album, Year etc. and display it into a form? I am using the IO namespace and I have almost tried all the methods and properties under my variable. Does anyone know?

Member Avatar for Reverend Jim
0
236
Member Avatar for Purrenhage

I tried to take a class on VB.net about a year about but do to issues I could not complete it. So I am trying to teach myself what I missed. I am trying to create a program for a deli. It will take delivery and carryout orders. On one …

0
89
Member Avatar for Quinncunx

Hi, I was wondering if anybody who is a more experienced VB developer than I would mind casting an eye over my source code and offering any advice on how it could be improved. The application is timer that runs for 7 minutes, the first minute is phase 1 and …

Member Avatar for jlego
0
236
Member Avatar for aishapot

I have to save 4 different pictures in my database. NSO, GoodMoral, ReportCard & TOR. Here is my code. [CODE] Sub savepic() Dim str As String = "My connection" Dim con As New SqlClient.SqlConnection con.ConnectionString = str Dim ms As New IO.MemoryStream() nsopic.Image.Save(ms, nsopic.Image.RawFormat) goodmoralpic.Image.Save(ms, goodmoralpic.Image.RawFormat) repcardpic.Image.Save(ms, repcardpic.Image.RawFormat) torpic.Image.Save(ms, torpic.Image.RawFormat) …

Member Avatar for aishapot
0
943
Member Avatar for JustineAubrey

Hi, I am creating a form application that should display information from one dataset into individual textboxes (ie. system name, system id, location name, location id). The textboxes populate upon the selection of a pair of cascading combo boxes. So, the user first selects a system name from the first …

Member Avatar for JustineAubrey
0
250
Member Avatar for jcgldr

hi i'm a beguiner in visual basic i have a datagrid view filled with a dataset table thats combined by 2 tables 1-persons 2- actions i want to select a row in the grid view and get the person table where personid is selected in datagridview i assume that it …

Member Avatar for M.Waqas Aslam
0
311
Member Avatar for Eric Hamilton

Hi I have a bunch of VB6 code and I want to translate/upgrade it to VB.Net. I have used the "upgrade wizard" and it generates massive errors. Is there any document that lists the differences between VB6 and VB.Net? I have lost many of my important functions, such as MouseDown, …

Member Avatar for Eric Hamilton
0
209
Member Avatar for Quinncunx

Hi,I have looked around here for the correct way to use Modules and I have not come across anything that seems to point me in the right direction. I am wondering if I can use modules to define what a button would do but I keep getting the error "ModStart" …

Member Avatar for Reverend Jim
0
227
Member Avatar for pikkas

I am working at winforms project and i have a datagridview from which i am trying to update a database from it when the user changes something. Here is the code: [CODE] DataSet ds = new DataSet(); SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["EbosPr.Properties.Settings.Database1ConnectionString1"].ConnectionString); SqlCommand scmd = new SqlCommand("Select * From CustCalls …

Member Avatar for M.Waqas Aslam
0
100
Member Avatar for GAiXz

I have a question programmer's... we know that in Visual Studio...you can open a different kind of database... like: Access, SQL server or file, Oracle... is there any reference that you'v know on how to make that kind of program?? i don't know where to start... VB.NET codes please..... TIA! …

Member Avatar for GAiXz
0
149
Member Avatar for ndraycott

Hi I am trying to bind a list box with Video data from an sql query and use the selected url of the video in a session object posted to another page media player object. The problem is that i'm not sure why the session value is not being passed. …

0
79

The End.