20,899 Topics
![]() | |
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. … | |
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 … | |
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! | |
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 = "" … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 | |
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 … | |
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 … | |
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 … | |
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.. | |
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 … | |
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 & … | |
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... | |
How can we disable a cell of datagrid in vb.net and how to show date in datagrid cell in vb.net | |
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 … | |
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? | |
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 | |
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 … | |
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? | |
hello. just i need the conversion of this code written in vb.net: [CODE]Dim SQL = <SQL> sql statement </SQL>[/CODE] thank you. | |
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 … | |
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] - … | |
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 … | |
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 =) | |
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 … | |
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 … | |
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 … | |
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!!! | |
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. | |
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 … | |
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 … | |
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 = … | |
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 :) | |
How can i start to create a Auto alert when somebodys post on your wall. just like facebook.. tHANK YOU SO MUCH. | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … |
The End.