20,899 Topics

Member Avatar for
Member Avatar for StevenSchaffner

I am working on something for school as a final project before graduation. I am using ASP for the website and VB as the back end to code. I keep getting the error "Object reference not set to an instance of an object" and can't figure out what is wrong. …

Member Avatar for codeorder
0
240
Member Avatar for Oneryavuz

i have a problem when i want to use my 2nd table i see "there is no row at position 0" and when i look my projects folder i see my database's backup file and i was opened it then i cant see my 2.nd table in backup file. what …

Member Avatar for Diguelo
0
90
Member Avatar for TrueVb.NetNoob

Hi Everyone! I am here by to ask help on enhancing messageboxs. How is the way to Display a picture(like a JPG file) inside a messagebox along with text when a button is clicked? Any Suggestions would be appreciated. Thank You!

Member Avatar for codeorder
0
678
Member Avatar for Jake.20

Can somebody tell me what line i get this error " Argument 'Prompt' cannot be converted to type 'string' " [CODE]Try If movieTxt.Text <> Nothing And ratingCmb.SelectedIndex <> 0 Then For a = 0 To i newItem.SubItems.Add(movieArray(a)) ListView1.Items.Add(ratingArray(a)) '// add Item to ListView. movieTxt.Clear() ratingCmb.SelectedIndex = 0 warnNoMovie.Text = "" …

Member Avatar for codeorder
0
1K
Member Avatar for praset

Hello, i have tried many solution for solving this problem. I want to passing field in database to list view with stored procedure. Any Body please help me example Table A [LIST] [*]name [/LIST] [LIST] [*]Sex [/LIST] and stored procedure just (select * from [A]) how i can pass the …

Member Avatar for praset
0
194
Member Avatar for jigarsangoi

i had created login form in vb.net there are two fields username & password.i want to check username & password enter in the login form,from the first.mdf(database file). if it is correct then message is displayed i had written code for this but i got error in the code.what modification …

Member Avatar for hericles
0
269
Member Avatar for rookisan

[ICODE]Public Class Movies Dim a As Integer, b As Integer Dim titles(a) As String, rating(b) As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ListView1.Items.Clear() Dim names As String, rate As String Dim listviewItem As ListViewItem names = TextBox1.Text rate = ComboBox1.Text titles(a) = names …

0
84
Member Avatar for TrueCoding

Hi Im new here-I wanted to create a Login System. I am using Visual Basic 2008 Express Edition, Microsoft Access 2007/2010 Beta. Ok this is my current code-the main problem I have is that I dont how to compare what the user puts into the textboxes and then check that …

Member Avatar for karthi5390
0
11K
Member Avatar for BARATUM

My assignment is using mobile 6 sdk for testing and code is visual basic In my assignment, i able to add record to txt file and view it at listview, now i want to delete the record file by check the checkbox at each row of listview and click delete …

0
68
Member Avatar for xdg996678

Hi there I am writing/revising an asp.net (vb) website the main function of the site is to fetch data from a SQL server and present it to users based on 'filters' that they apply (It for football statistics) currently a session variable is used to store the unique match_id's, and …

0
54
Member Avatar for jomel590

Any Help.? I tried this code: [CODE]Public Sub SaveFromResources(ByVal FilePath As String, ByVal File As Object) Dim FByte() As Byte = File My.Computer.FileSystem.WriteAllBytes(FilePath, FByte, True) End Sub[/CODE] but when i use this code the dll became a total error. i can inject it in the game. Can you help me …

0
54
Member Avatar for denmarkstan

Please let someone help me out here, i want to insert record to the database using VS2010, when i input data to textboxes and hit button, the program will run and tell me data inserted succesffuly. But when i check my dbs table i won't see any thing. here is …

Member Avatar for Netcode
0
170
Member Avatar for lion8420

Hello I am a total amatuer programmer. I mainly just build little apps that are mainly useful to me. So please be gentle. I am currently working on a program that will paste text into a second program. The text will paste into several different fields automatically. The problem I …

Member Avatar for Netcode
0
188
Member Avatar for Mits14

Hi everyone..can you help me with this problem? in my frm1, i have: ID no: (txtid) Name: (txtname) Address: (txtaddress) in my frm2, i have: ID_no: (txtid) ISBN: (txtisbn) Date Borrowed: (txtdate) the problem now is I don't know how to code it, when i input the ID_No in frm2 …

Member Avatar for Netcode
0
101
Member Avatar for megaman21

Hey everyone, kinda new to all this...really need some help: Ok so I want to creat a log in and registration form in VB connecting to a sql database. Databse Name: Users Table Name: UserDetails Table Fields: ID, Username, Password The ID field was specifed as primary and self incrementing …

Member Avatar for megaman21
0
273
Member Avatar for bob12321

[code] {"status":"OK","data":[{"service":"hotfile","sid":"alcva","filename":"Cash.2008.x264.utkuemre.part1.rar"}, [/code] I need to convert the string above into - bearing in mind the string is not constant http://rapidgen.net/"SID VALUE"/"FILENAME" So in this example it would be [url]http://rapidgen.net/alcva/Cash.2008.x264.utkuemre.part1.rar[/url] What is the code that will extract only these pieces of this information? THANKS

Member Avatar for GeekByChoiCe
0
152
Member Avatar for Winfried

Hello I'm using VB 2008 Express, and was wondering if that IDE offers a way to try new code, and revert back in case it didn't work out. I don't really need a full-fledged SCM. I like [url=http://en.wikipedia.org/wiki/Fossil_(software)]Fossil[/url]'s simplicity, but it's command-based, and I don't know if it can be …

0
53
Member Avatar for kahaj

I'm having a terrible time understanding this for some reason. I'm supposed to be creating a Class to "Define four private instance variables to represent each property value Use the above variables to define a constructor Establish a property to correspond with each variable which allows user to set or …

Member Avatar for Yase
0
151
Member Avatar for dwinn

Hello, I am attempting to put a list box in to my program, so that when the page loads, a list of files from my FTP site appear. I also want it so that a file can be selected on the screen and downloaded. Is there a way to do …

Member Avatar for codereflex
0
679
Member Avatar for aldeene

what's the reason that I should set RtsEnable and DtrEnable to true?? it worked for me but I can't understadn why I should set those two property to True..

Member Avatar for aldeene
0
322
Member Avatar for Mits14

Hi guys.. I'm using MS ACCESS for my dbase.. i have a tblborrow where you can find transac_num ..now, i have in my form a label which here, you can see how many transactions you have done already(i'll name it sa lbltransacno) and a save button.. what i want now …

Member Avatar for hericles
0
84
Member Avatar for Mits14

Hi guys.. i have a problem with my sqlupdate statement..i don't know which part is the error.. could you help me figure it out?? i even delete the codes and then type it again..but there is still this error.. [CODE] open_con() sqlupdate = "Update tblbook set Section='" & cbosection.Text & …

Member Avatar for Naveed_786
0
104
Member Avatar for kasthurirangan

Friends i suppose to develop a s/w.. which automatically generates a timetable for the entire college.. on all possible classes..so plz help me in developing the coding in vb.net...

Member Avatar for nellairahul
0
235
Member Avatar for Naveed_786
Member Avatar for Naveed_786
0
179
Member Avatar for longstrd

Is there a method, in code where you can connect to a report server and retrieve the properties of a report. I want to check a report server - for each report - check to see if a report requires UserID as a parameter - then build a menu to …

0
57
Member Avatar for abc88

I have a Datatable- table1 and i want to sort/order this datatable in ascending order depending on 2 columns-column0,column1 of table1. how can i do that?

Member Avatar for aldeene
0
105
Member Avatar for crazycode300

How do I know if I have reached the end of file using streamreader. My file has a lot of empty lines in it. So if it try to use the following, its just stops wherever an empty line appears. while ( Not line is Nothing) do.... end while thanks

Member Avatar for aldeene
0
227
Member Avatar for Naveed_786

Here is the code which is working fine for me on another form but creating problem when i use the same code on another form it gives me this error message when i try to insert a new record in DB "Value cannot be null Parameter name: Data Table" and …

Member Avatar for Naveed_786
0
608
Member Avatar for bluehangook629

I am trying to retrieve a value saved in project A settings from project B in same solution set. Is this possible in VB.NET? If possible what namespace and function would I use?

Member Avatar for bluehangook629
0
288
Member Avatar for cocoll

hello. just i need the conversion of this code written in vb.net: [CODE]Dim SQL = <SQL> sql statement </SQL>[/CODE] thank you.

Member Avatar for ddanbe
0
234
Member Avatar for bob12321

Ok so here is the HTML of the page: [CODE]<!-- Generated by F12 developer tools. This might not be an accurate representation of the original source file --> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head> <meta content="text/html; charset=utf-8" http-equiv="content-type"> <meta name="description" content="Proekt za skolo"> <meta name="keywords" content="downloader,hotfile,megaupload,fileserve,filesonic"> <meta name="author" content="flAmingw0rm / www.l33ts.org"> <link …

Member Avatar for bob12321
0
208
Member Avatar for whin_lopez

Hi guys! Any one have an idea of how to create a sub category in vb.net? well I'm thinking of building a sales and inventory system of computer parts and peripherals and here's the logic. I'll be assigning each of them category like for example: Componenets[INDENT]Peripherals[/INDENT][INDENT]Networking[/INDENT] - Processor[INDENT]- Chasis[/INDENT][INDENT] - …

Member Avatar for kvprajapati
0
541
Member Avatar for dmarente

I have programmatically created a listview in n # of tabpages to display information gathered from an SQL database. Once created, i want the user to be able to select an item from any of the listview's. How can i reference the selected item? This is the code that creates …

Member Avatar for GeekByChoiCe
0
168
Member Avatar for violette

can anyone help me why are this thread occur 1.[OleDbException (0x80004005): Not a valid file name.] 2.what is exception stack trace? thank you =)

Member Avatar for violette
0
575
Member Avatar for tombihn

I'm am creating a "pop-up" CheckedListBox over a button on my DataGridView. The values in the list are going to be filtered based on the value in column 0 of the DataGridView. I have already pulled in a "master" DataTable with two columns: ACODE and MATRIX. I want to call …

Member Avatar for tombihn
0
545
Member Avatar for RenanLazarotto

Hello guys! Its been a very long time since I don't show up here. Now I am back with a small project for internal use, but I need a little help. I want to make a program that allows me to change file attributes, like 'hidden', 'read-only' and 'system'. It …

Member Avatar for RenanLazarotto
0
120
Member Avatar for boywonda1

hey all.. I'm [U]new[/U] to VB.net and i wanted to find out how i could load the names of files(in a specified dir) into a combobox? I knw i should have posted code..but i only have an idea as to what should happen. correct me where i'm wrong. 1. get …

Member Avatar for lolafuertes
0
1K
Member Avatar for Galbatorix

Hi, I am using vb.net 2008. Each time i run my project, i get an error message that the assembly could not be loaded and that i need an assembly manifest HELP!!!

Member Avatar for Galbatorix
0
110
Member Avatar for crazycode300

Hello, I have data imported from a text file stored in an array. How do I go about writing it to a CSV file? Also, how do I set up different columns so that the CSV file opens up nicely in Excel. Thanks.

Member Avatar for lolafuertes
0
956
Member Avatar for pocohontus

well this is not a help post its something i want to tell everyone i just had my project viva and my project was awesome my sir liked it very much it was success.....i was asked to submit my resume so that my professor could recommend me for job interviews …

Member Avatar for Netcode
0
106
Member Avatar for Mits14

Hi everyone.. i don't know how to display NO RECORD FOUND in msgbox.. here is my codes [CODE]Private Sub btngo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btngo.Click open_con() sqlsearch = "Select *from tblborrower where ID_no=" & txtidno.Text & "" cmd = New OleDbCommand(sqlsearch, con) dr = cmd.ExecuteReader While …

Member Avatar for Mits14
0
248
Member Avatar for superjj

I'm making a simple game. I want simultaneously go up and left. [CODE] Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown ' If e.KeyCode = Keys.Z Or e.KeyCode = Keys.Up Then ' Me.PictureBox1.Location = New Point(PictureBox1.Location.X, PictureBox1.Location.Y - 5) ' End If ' If e.KeyCode = …

Member Avatar for debasisdas
0
88
Member Avatar for justforsaarah

i have some data in the listview, maybe someone can help me.. how the script to insert all of the data in the listview into table.. help me please .. :( thanks,, sarah :)

Member Avatar for Mitja Bonca
0
111
Member Avatar for break

How can i start to create a Auto alert when somebodys post on your wall. just like facebook.. tHANK YOU SO MUCH.

Member Avatar for debasisdas
0
86
Member Avatar for ukshir

For last couple of days I was going through this problem. Now I found the solution, so just thought that I would post here (Many of you might already know the solution, but still..... :) ). I have a form having a Crystal report viewer control on it. After viewing …

0
100
Member Avatar for earlybirdsean

People, need help with making a web browser! Do anyone know how to add plugins and security features to my web browser? If anyone knows, could you add the code below in VB.Net? And how to mix VB.Net with C++? Needed help really. And how to not "Write the same …

0
95
Member Avatar for GAiXz

[CODE]Protected Sub Button1_Click(ByVal sender As Object, _ ByVal e As EventArgs) Response.AddHeader("content-disposition", "attachment;filename=FileName.xls") Response.Charset = String.Empty Response.ContentType = "application/vnd.xls" Dim sw As System.IO.StringWriter = _ New System.IO.StringWriter() Dim hw As System.Web.UI.HtmlTextWriter = _ New HtmlTextWriter(sw) GridView1.RenderControl(hw) Response.Write(sw.ToString()) Response.End() End Sub [/CODE] how do i set the format for that after …

Member Avatar for steave123
0
108
Member Avatar for reeky_15

I'm a newbie in vb. My first project is a grading system for a certain school. In my login form, there's a [B]Forgot Password button[/B]. In the Forgot Password form, the user is asked to answer a secret question that he filled up upon registration, and if the answer is …

Member Avatar for MarkGia
0
3K
Member Avatar for IamMimie

i am an IT student and i have this idea of using a listview to see all the items i have in my database and to list all the items that has been selected into a listbox. The problem is i don't know how to get those selected items that …

0
53
Member Avatar for zoraster01

i wonder why my code have an error.. this my code and i will highlight the error[CODE].. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connection As New SqlClient.SqlConnection Dim command As New SqlClient.SqlCommand Dim adapter As New SqlClient.SqlDataAdapter Dim dataset As New DataSet connection.ConnectionString …

Member Avatar for Mitja Bonca
0
142

The End.