20,899 Topics

Member Avatar for
Member Avatar for suemaina

Hi plz help me with a code that can detect when a pin number is entered in reverse. and alerts the user that he has entered pin number in reverse ..thanx

Member Avatar for suemaina
0
188
Member Avatar for Pravin Rajput
Member Avatar for mikejs

Gi I have a DataGridView which populates from an SQL query just fine in default mode using these table names [CODE][firstName] [varchar](20) NOT NULL, [lastName] [varchar](20) NOT NULL, [rentpaid] [decimal](18, 0) NOT NULL, [datePaid] [date] NOT NULL, [propRef] [varchar](10) NOT NULL, [rentDue] [decimal](18, 0) NULL,[/CODE] I have edited the column …

Member Avatar for adam_k
0
122
Member Avatar for khentz
Member Avatar for Unhnd_Exception
0
94
Member Avatar for NeeharikaSingh

Hi der i want to download visual studio......i m facing trouble in downloading.........help me to find out link to get it

Member Avatar for NeeharikaSingh
0
62
Member Avatar for mikejs

Hi I have a form which populates a TextBox I want to use the textBox.text to then load a gridView with the results something like [CODE]Private Sub TextBoxId_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBoxIdSearchExist.TextChanged Dim cmd As New SqlCommand("select * from pay Where t_id='" + tId.Text + …

Member Avatar for Oxiegen
0
1K
Member Avatar for DriveU

My Application : Windows Form Application Language : C# I have a DataGridView which I populate with some custom data. Some of the cells are DropDowns that I populate by EnumTypes Some need to be populated by Objects which are multicolumn. On Selection I want to show the MultiColumn Lists …

Member Avatar for nick.crane
0
184
Member Avatar for Kasraeian

Hi Everyone, I'm beginner and currently I'm working on simple application on VB Express 2010 and I want it to save some data in XML file. The XML file is going to look like this: [CODE] <XML> <Info> <X1>some data</X1> <X2>some data</X2> <X3>some data</X3> </Info> <Info> <X1>some data</X1> <X2>some data</X2> …

Member Avatar for lolafuertes
0
101
Member Avatar for twalton42

I can load my edit form withthe selected account from the datagridview on form1 I can update aany of my information but when I save the information it updates the first account in the database. How do I save to the selected account only? This is my save button:[code]'saves the …

Member Avatar for lolafuertes
0
179
Member Avatar for Jason123

I would like to use schtasks commandline to create some scheduled jobs in .NET. However, the scheduled jobs created by ASPNET could not start. The command script works fine within cmd and the scheduled job runs. Any ideas on how to make it work?

Member Avatar for Jason123
0
103
Member Avatar for Trle94

Hey guys i need to make app that sends mail... so i want in subject to make text like "Report - dd/mm/yyyy - hour:minutes" do you have any idea how should i make that? :/

Member Avatar for NetJunkie
0
113
Member Avatar for thing2

Hello, I am building a webbrowser using VB.Net 2010, and I am having trouble updating the url when I switch between open tabs using tabcontrol. I am also using a textbox for the address bar. Any help would be appreciated Thanks!

Member Avatar for NetJunkie
0
700
Member Avatar for iampord

Good day Every one! I am having trouble with my application with shell32.dll. when i debug it in VS it runs well. but when I detach the .exe file and run it to other directory. I get errors. I hope someone could help me. So much of a thanks in …

Member Avatar for iampord
0
170
Member Avatar for Jaycee75

I have a several text files that get updated each month - when they are updated certain lines are missing that I always want adding back to the files - the text I want adding back needs to go into a specific part of the text file(its always the same …

Member Avatar for Jaycee75
0
216
Member Avatar for bbowsh54

Hello Everyone, New to VB.NET... Going through a bunch of tutorials currently. I need help checking if an application is open and then closing it if it is... For an example, I'll use paint or notepad... Does something like this work? [CODE]Dim myProcess As Process = New Process myProcess.StartInfo.FileName = …

Member Avatar for bbowsh54
0
432
Member Avatar for Oneryavuz

i searched a bit but i cant find something useful. i need to take my files to filestream (i can do this with file paths) and i wanna save this files to somewhere else on my program. Is it possible that with the using FileStream? THX for Replys ^^

Member Avatar for Oneryavuz
0
125
Member Avatar for dwinn

Hello, I have created a site in VB.Net and ASP.Net where a user types in a centre code and clicks on 2 buttons to retreive 2 GridView's of records from an SQL Server backend database. The records appear sucessfully, but when I go to sort the records in ascending/descending order, …

Member Avatar for rciprogrammer
0
123
Member Avatar for ismpk

Helo, I am a student. I have create a vb.net application with ms access. i am make it .exe. After that i am instal it my pc working but my friends pc not work. After i am cheking my friends system all. .net framework is intallaled 3.5 thats same as …

Member Avatar for rciprogrammer
0
191
Member Avatar for Reverend Jim

I was doing a little playing around with some scrollbar controls and I noticed an odd behaviour that I was hoping someone could explain. I create three horizontal scrollbar controls, one for each primary colour. Possible values for each R, G or B are 0 to 255. When I set …

Member Avatar for Reverend Jim
1
215
Member Avatar for XEN0

I want to stick this [CODE] Dim cmd As OleDbCommand = New OleDbCommand("SELECT * FROM 0 WHERE Id = 1", con) Dim reader As OleDbDataReader = cmd.ExecuteReader() If Not reader.HasRows Then MsgBox("Data does not exist") Else MsgBox("Data Exists") End If [/CODE] and this [CODE] If Inc <> -1 Then Dim …

Member Avatar for codeorder
0
228
Member Avatar for Timroden

I'm currently working with the NotifyIcon, and ContextMenus in the notify icon, and was wondering if it is possible to call an event when something is dropped onto the icon. For instance, if I had document.docx, and I dragged it from explorer onto the icon, it would then save it …

Member Avatar for Momerath
0
140
Member Avatar for msrd

I have a label that displays information from my database and I need to format it. It displays a number format like so: (53389) and I just need it to display (53,389) it uses the SQL to COUNT or SUM the data from the datasource. My first question is, is …

Member Avatar for Momerath
0
287
Member Avatar for Bamboozled

I am reading in a text file and displaying the data read in in textboxes. Some of the characters are accented French characters which are not displaying correctly in the form. This prob does not exist with VB6 on the same machine. What do I need to set/change in vb.net …

Member Avatar for lolafuertes
0
710
Member Avatar for tfj

I failed to ask my entire question on part 1. Although codeorder gave me the answer I needed I have one more part which I will put in bold. I have 3 forms: Form1, Form2 and Form99. Form1 and Form2 both call Form99. What statement(s) does Form99 use to determine …

Member Avatar for tfj
0
153
Member Avatar for RenanLazarotto

Hello guys! I want a simple app to crop a bit of some images. The fact is that all the codes I've found were too complicated, and I didn't understood a single letter of it. Can somebody help me with it? The codes I saw where using and start point …

Member Avatar for RenanLazarotto
0
3K
Member Avatar for ievolve

Im trying to download a photo from an rs232 camera.. but when I write the data to file it seems corrupted.. when I look in a hex editor every second value is 00.. I'm assuming Im messing something up with the encoding.. when I'm writing into a byte array.. Excuse …

Member Avatar for ievolve
0
88
Member Avatar for karthi050390
Member Avatar for DisasterPiece

[CODE]Dim Open As New OpenFileDialog() Dim myStreamReader As System.IO.StreamReader Open.Filter = "All Files [*.*]|*.*" Open.CheckFileExists = True Open.Title = "Open" Open.ShowDialog(Me) Try Open.OpenFile() myStreamReader = System.IO.File.OpenText(Open.FileName) Me.PictureBox1 = myStreamReader.ReadToEnd[/CODE]

Member Avatar for Teme64
-1
76
Member Avatar for asdfgh@
Member Avatar for Pgmer
0
75
Member Avatar for markdean.expres

I would like to create a textbox (search engine) that can search for items in a database that contains text as that keyed in the textbox. I am already aware of this code: bindingsource.filter = "table Like '" & textbox & "%'" EX: what I want is that when I …

Member Avatar for markdean.expres
0
137
Member Avatar for DisasterPiece

[CODE]'Informs you forgot email. If TextBox1.Text = "" Then MsgBox("Forgot E-Mail") If TextBox1.Text = "" Then Me.(PLEASE TELL ME WHAT TO PUT![/CODE]

Member Avatar for codeorder
0
45
Member Avatar for Paul Norris

I've seen a lot of posts over time relating to importing and exporting CSV. Most of the answers involve using TextReader.readline and String.split, [B]which will not work[/B] with any but the simplest data. When you are writing for users who have the expectation that your application will work with anything …

Member Avatar for Paul Norris
0
334
Member Avatar for NetJunkie

So I am creating an application that allows users to send basic keystrokes to end certain processes. But I am running into some issues. I know the code I have will work the problem is I do not know where to put the following code to execute the commands: [code] …

Member Avatar for codeorder
0
189
Member Avatar for tfj

I have 3 forms: Form1, Form2 and Form99. Form1 and Form2 both call Form99. What statement(s) does Form99 use to determine which form called it (Form1 or Form2). Form1 Form99.Show Form2 Form99.Show Form99 Which form called me? Thank You.

Member Avatar for tfj
0
141
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
192
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
428
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
133
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
102
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
128
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
135
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
390
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
128
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
87
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
247
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
86
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

The End.