20,278 Topics

Member Avatar for
Member Avatar for shivya jain

how we create a function/method in vb.net?? if i want to make a method of auto_generate_id, then how will i start? i have written this code please help me..... [CODE] void auto_generate_id() Dim j As Integer = 0 Dim cmd As New SqlCommand("select staffid from staff order by staffid", c.con) …

Member Avatar for Unhnd_Exception
0
191
Member Avatar for bluehangook629

Ok this question is more like 'what is the term used for such as event?'. What I am trying to do with open a application config form in login window which is activated by combonation of keys pressed. for example alt+c or ctrl+alt+x. I tried using every term i can …

Member Avatar for bluehangook629
0
425
Member Avatar for DisasterPiece

I want it to be advanced like say if you pressed remember me on login then the next login it will log you in automatically.

Member Avatar for bluehangook629
0
131
Member Avatar for jackfriendstie

What I want, is for my text file to be read into the array named "CFiles()". Then once this is complete to delete the file But I get the error, The process cannot access the file 'C:\Users\Andrew\Desktop\New.txt' because it is being used by another process. On 3rd to last line. …

Member Avatar for codeorder
0
2K
Member Avatar for DisasterPiece
Member Avatar for Evesy

I have a program I want to make. The main thing I need help with. I'm no programmer so I'm asking here. What I want is a program that does the following, 1) Open a save (needs to open any type of save) 2) Then, 'hex edit' by finding all …

Member Avatar for kingsonprisonic
0
97
Member Avatar for Vaikkundhnaair

I would like to develop a VB.Net based smart device app. A simple one. Do any of u know where i can refer to samples of such apps?

Member Avatar for hericles
0
126
Member Avatar for DisasterPiece
Member Avatar for DisasterPiece
Member Avatar for mikejs

Hi I need some help I have a variable stored in db which is created when a new person is added it takes the day of todaysDate on the day they register and stores only the day I would like to use this date as the same day of every …

Member Avatar for adam_k
0
132
Member Avatar for blivori

Can you kindly tell me why I am getting a runtime exception when trying to run this code? [CODE] Sub BtnNowClick(sender As Object, e As EventArgs) Dim myProcess As New Process Dim processFile As String = dlgFolder.SelectedPath Dim pyLocationDel As String = Path.Combine(dlgFolder.SelectedPath, "pdfmerge.py") Directory.SetCurrentDirectory(dlgFolder.SelectedPath) myProcess.Start(pyLocationDel) myProcess.WaitForExit() System.IO.File.Delete(pyLocationDel) End Sub[/CODE] …

Member Avatar for lolafuertes
0
384
Member Avatar for Mike Bishop

can anyone help me add a title to a graph? the code i run to create the graph is [CODE][B]Dim strConn As String = connectionstring Dim conn As New SqlConnection(strConn) Dim sqlProducts As String = "SELECT * from VW_OEEBrakeDowns_ByYear where Year ='" & Me.lbyear.Text & "' and LineNumber =" & …

Member Avatar for lolafuertes
0
126
Member Avatar for mikejs

Is it possible to store a document in a database and then be able to load it into VB and populate specific areas with data from textBoxes? like address or name details I suppose a bit like a mail merge ?

Member Avatar for mikejs
0
81
Member Avatar for FutureDev86

Hi, I just completed a beginner's course to programming, in the Python language. I am now enrolled in a VB programming course, and I am more of a hands on type person, so I'd like to get a head start on things before the start of my class. I am …

Member Avatar for kingsonprisonic
0
229
Member Avatar for DisasterPiece

This wont send the email [CODE]Dim Mail As New MailMessage() Dim SmtpServer As New SmtpClient SmtpServer.Credentials = New Net.NetworkCredential("already added email and pass", "notshowing") SmtpServer.Port = 587 SmtpServer.Host = "smtp.gmail.com" SmtpServer.EnableSsl = True SmtpServer.EnableSsl = True Mail.To.Add(TextBox1.Text) Mail.From = New MailAddress("tykohlerproductions@gmail.c… Mail.Subject = "Frenemy Username and Password." Mail.Body = "Heres …

Member Avatar for kingsonprisonic
0
83
Member Avatar for vb.net_beginner

Hey Folks, Just starting out with vb.net and am struggling with an equation I have a fixed percentage 0.3% I need to multiply this by a number of months which varies 1 to 12 Having done this I need to add the percentage to a pre-determined number so as an …

Member Avatar for vb.net_beginner
0
1K
Member Avatar for Man1919

hi, i got a message board kit that connects to the computer (i talked about it here: [url]http://www.daniweb.com/software-development/vbnet/threads/379541[/url]) and now (i hope) its working. I want to make a code that when i press on a button its will send the correct hour & date and then its will update …

Member Avatar for Man1919
0
196
Member Avatar for Man1919

hi, i bought a Programmable Message Board kit, this kit connects to the computer and i can send from the computer massages to the kit LCD screen. I got an sample file, that comes with that kit. My problem is that this sample file are an old Visual Basic 6 …

Member Avatar for Man1919
0
2K
Member Avatar for dnomde44

I am not really sure where my syntax error is. I have gone over it several times and it appears everything is right and I dont think I am using any reserved words. Any help would be greatly appreciated. Every box is TEXT in access for now even fields that …

Member Avatar for dnomde44
0
161
Member Avatar for Cally_Law

Can anyone help on how to show a message box showing that existing record has been entered in database if i tried to enter the new record. However, if the input is new record (record added), the record is saved into the database. I'm using visual basic 2008 and Microsoft …

Member Avatar for ShahanDev
0
231
Member Avatar for donotsleep
Member Avatar for duder

[CODE] Dim sw As StreamWriter Try sw = File.AppendText(CurDir() & "\deskimages.txt") sw.Write(TextBox1.Text & " " & TextBox2.Text) sw.Flush() Catch exc As Exception MsgBox(exc.Message) Finally If Not sw Is Nothing Then sw.Close() End If End Try Dim tw As IO.TextWriter tw = System.IO.File.CreateText(CurDir() & "\profiles2\" & TextBox1.Text & " " & …

Member Avatar for Pgmer
0
105
Member Avatar for ice_rock

I am just a newbie with VB.net, though i have experience in c# .net environment. Now I was just wondering how to start a vb.net project in VS.2005? its the version installed here in my assigned PC. *sorry for my bad english please help. :( Thanks

Member Avatar for Pgmer
0
49
Member Avatar for kylelendo

Dear friends...I want to design an application that can open file of certain extensions For ex.There is a software called ARJ32 which can open file with extensions .a00 ,.a01...................,.a19. also there is application called apk emulator which can open .apk files So eve i want to design an application that …

Member Avatar for codeorder
0
446
Member Avatar for MarkGia

I was wondering how can i make a working login form What have i to put for user nae and password Thanks in advanced Mark

Member Avatar for MarkGia
0
495
Member Avatar for XEN0

Im using Microsoft Visual Studio 2010 Microsoft Acess 2010 This is for practice Lets See First off i was able to get to insert records(Code Below) Now im trying to get the program to prompt a message when the id or field exists on the key down event and not …

Member Avatar for XEN0
0
1K
Member Avatar for wannasee

I wanted to simply on click a button to add those newly created textboxes to an array of textboxes. Starting with those labeled "Address". But I am finding this very difficult. I am able to add those originally on the form into the array very easily. But am unable to …

Member Avatar for wannasee
0
155
Member Avatar for shivya jain

[CODE] Sub auto() c.con.Open() Dim j As Integer = 0 Dim cmd As New SqlCommand("select staffid from staff order by staffid", c.con) Dim dr As SqlDataReader() dr = cmd.ExecuteReader() While (dr.read()) txtstaff_id.Text = dr("staffid").ToString() End While j = Convert.ToInt32("txtstaff_id.text").ToString() j = j + 1 txtstaff_id.Text = j.ToString() dr.close() c.con.Close() End …

Member Avatar for kingsonprisonic
0
111
Member Avatar for bettybarnes

hi guys just want to ask a simple question about listview im making a POS program.. when i click Enter button the items on textbox and comboboxes should be placed inside my listview here is my screenshot [URL="http://i43.photobucket.com/albums/e355/bettybarnes/pos.jpg"]http://i43.photobucket.com/albums/e355/bettybarnes/pos.jpg[/URL] my problem is i dont know how to put the correct codes …

Member Avatar for Ramesh Genwa
0
159
Member Avatar for ktimov1

I have an XML file that is displayed on a DataGridView driven by a dataset. I am having trouble setting up a filter where a user can enter information in a textBox then have the DataGridView filter to find results. The XML File is displayed on the DataGridView using this …

Member Avatar for rakesh_pooja
0
539

The End.