19,728 Topics

Member Avatar for
Member Avatar for msqueen082

hello I wrote this code using classes and it keeps giving me the error message : a nullreference exception was unhandeled/Object reference not set to an instance of an object. I am trying to add stock code and stock shares to the list of transactions using a currClient As Client …

Member Avatar for msqueen082
0
115
Member Avatar for Trle94

As Title say i need help to make code to i get in application listview if Recyclebin has some files in it their name if not then there is no listview... Do you have any idea guys? Tnx

0
63
Member Avatar for baldandwild

Having problem make last if an statement work in the code. the variables in the if statment are doubles but the ide keep telling i need a proceeding if statement. but is already there it is in the last if statement of the code [CODE]Public Class Form1 Dim Totals As …

Member Avatar for baldandwild
0
208
Member Avatar for eldaerys

Can anyone show me how to get an Iamge from file. I tried using `image.fromfile"x.jpg"` but it didn't work when I used it in an array. Anyone have any suggestions on how to do it?

Member Avatar for Luc001
0
62
Member Avatar for battlex2010

Is there any way i can pause a file download in my vb program?? I have tried both the http method and the my.computer.net method with no luck. I have also tried pausing the background worker by this method:[URL="http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/407a38ec-b012-4628-9627-c0aa3cd87a42/"]http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/407a38ec-b012-4628-9627-c0aa3cd87a42/[/URL] But even if the bgworker is paused the download goes on..... …

Member Avatar for battlex2010
0
273
Member Avatar for code07

a. Create a database named “techdb” and create a table as “Personal” with Employee No, Name , Age & Salary b. Insert 2 records to the table c. Design a form in VB.NET e to Add, delete and Update records

Member Avatar for Luc001
-3
132
Member Avatar for visweswaran28

Hi, I am having datagridview in that I have datagridview combobox column and noraml textfield. I want to know that how can I load selected value in that combox box when I am loading all entered details in data grid view.

0
61
Member Avatar for shawn130c

Hello, I need help saving data into an access 2007 database from a program created in vb 2008. I am making a basic "game" that allows you to move a "robot" up,down,left, right and will save the movements/positions into an access 2007 database. I already have the basic movement created …

Member Avatar for shawn130c
0
224
Member Avatar for msqueen082

Hello In my code I am trying to come up with the following messages using a try/catch Unhandled exception has occurred in your application. If you click continue, the application will ignore this error adn attemp to continue. If you click Quit, the application will close immediately. conversion from string …

Member Avatar for msqueen082
0
156
Member Avatar for code07

1. In a bank fixed deposit rates are given below. Period Rate 6 months 8% 12 months 10% 24 months 12% a. Design Suitable user interface in windows application in VB.NET to calculate interest at maturity. Use Radio buttons for period. b. Calculate interest at maturity. c. Calculate total amount …

Member Avatar for code07
0
305
Member Avatar for sachahutton

Hi, i'm working with a sql (2005) database and using visual studio 2010. I've created a system where one of the forms is a find/search form. A user can enter in for example, a customerID and once they click on "find/search" the customerID will be searched in the database and …

Member Avatar for sachahutton
0
317
Member Avatar for twigan1015

I have a few orders with UPC codes, names , and prices this is an example UPC Item Price 0921115120 Dark chocolate 13.75 2222100051 Mint meltaways 14.10 What im suppose to do is allow to user to enter the products items sold and then view batch reports on how many …

Member Avatar for codeorder
0
105
Member Avatar for Dragon840215

Hey guys I need to store a single string into Memory for later use on different pages to be able to create a log file for my app. so on my 1st form(Login Form) i need to pass the Username to Memory and then read it from the memory later …

Member Avatar for kvprajapati
0
149
Member Avatar for matthewskyle

Im trying to create a webform that is a representation of a paper questionnaire that has 14 questions with yes/no answers. If an answer is no, then you must provide information as to why in 3 separate textboxes and store the information only when a user clicks no. I also …

Member Avatar for Luc001
0
193
Member Avatar for margaretna

hi i would like to ask some question regarding status strip control. i am currently doing my school project that need status strip progress bar, which indicating the loading of the image in the picture box. however i have no idea how to make this two corespond to each other. …

Member Avatar for debasisdas
0
72
Member Avatar for swathys

hi, I have made a web services app which i have install it in server. This web services is to check datetime form the server.....if the server time and my pc time is match it will proceed further to next step....i have set it to 5 min different...it is going …

Member Avatar for jlego
0
97
Member Avatar for vaq

Here's the DLL I've compiled in VB6: [code]'--------------------------------------------------------------------------------------- ' Module : cNtPEL ' DateTime : 30/06/2009 06:32 ' Author : Cobein ' Mail : cobein27@hotmail.com ' WebPage : http://www.advancevb.com.ar (updated =D) ' Purpose : Inject Exe ' Usage : At your own risk ' Requirements: None ' Distribution: You can …

Member Avatar for t3rmin4t0r
0
672
Member Avatar for rookanga

Im trying to load a text file from a specific location. What I need to do is find a way to allow my code to open a textfile from specific folder, basically what im trying to do it make it open to the desktop then assignment1 folder and thats it( …

Member Avatar for debasisdas
0
237
Member Avatar for mogaka

i hav created an application using odbc as data source. the connection to the database uses the following code: dim myconnection as new odbc.odbcConnection("server=192.168.100.84";dsn=cleaners) myconnection.open .. .. the above code does well when i change the ip address to 127.0.0.1 i.e to localhost.but when i use it on a computer …

Member Avatar for debasisdas
0
120
Member Avatar for Ravi.Srilatha

How to insert questions with multiple choice and its answers in .mdb file as a single row for each question .. How to retrive that .mdb file and display only the questions into the listbox. If i select the question in listbox it must display the data of selected question …

Member Avatar for debasisdas
0
91
Member Avatar for DasQuark

Hi! :icon_biggrin: I'm trying to program a personal project, but I've hit a bit of a bump in the road. I've got a Button, a Textbox, and a CheckedListBox; when the button is pressed, whatever is in the TextBox is added to the CheckedListBox. However, when the form is closed …

Member Avatar for codeorder
0
827
Member Avatar for rookanga

My application is suppose to save the information that I put in the application that is in a listbox in form2. All the information is in form1, but I got it to save it in the listbox in form2 and I can see it when I load up the form2. …

Member Avatar for P.manidas
0
3K
Member Avatar for ryan311

i manage to put a data in listview. i have a problem in searching a data. here is my code: [CODE]Dim sda As New SqlDataAdapter Dim ds As New DataSet Dim dt As New DataTable Dim NumberRow As DataRow objCon = New SqlConnection(conStr) objCon.Open() obj = objCon.CreateCommand() strSQL = "(Select …

0
80
Member Avatar for arezz09

how to combine this 2 statment.. [CODE] IsConnected("Select * from manager_table", False) Call Loader() IsConnected("Select * from Clerk_table", False) Call Loader()[/CODE] i hve 2 listview, 2 table from accessdatabase..i put listview in tabcontrol..1 in tab 1 & second in tab 2...

Member Avatar for Jx_Man
0
119
Member Avatar for ashwinshenoy

Hi Guys, I have developed a program which continuously draws a circle using a timer. Now every time the circle gets displays it flickers and which is because i have used me.refresh. Is there any other way to avoid this flickering. here is my code [CODE]Private Sub Timer1_Tick(ByVal sender As …

Member Avatar for Unhnd_Exception
0
3K
Member Avatar for ZER09

hello to all, i got a problem in vb.net program, i dont how to delete multiple rows in a single table i used "truncate" command. this is my code for deleting: [CODE] Private Sub tranc() Try Dim dbconn As OleDbConnection Dim dbcom As New OleDbCommand dbconn = New OleDbConnection(cnnstring()) dbcom.CommandText …

Member Avatar for debasisdas
0
85
Member Avatar for arezz09

i founds this code to search data in datagrid.. [CODE]Me.BS.Filter = "date = " & DateTimePicker.text "'"[/CODE] what BS mean & are this code true ??

Member Avatar for debasisdas
0
87
Member Avatar for arezz09

i hve crete information application... i using this code to save employee information into accessdatabase [CODE]If _contactIC = 0 Then sql = "insert into employee_table (firstname,lastname,ic,address,gender,phone,status)" & "values ('" & firstname.Text & "','" & lastname.Text & "','" & em_id.Text & "','" & em_address.Text & "','" & em_gender.Text & "','" & …

Member Avatar for debasisdas
0
136
Member Avatar for arezz09

i using this code to load data from accessdatabase to 2 combobox [CODE] Dim cmd As OleDbCommand = New OleDbCommand("SELECT product,model FROM combo_table", conn) conn.Open() Dim sdr As OleDbDataReader = cmd.ExecuteReader While sdr.Read() old_product.Items.Add(sdr.Item("product").ToString) old_model.Items.Add(sdr.Item("model").ToString) End While conn.Close() conn = Nothing[/CODE] [ATTACH]20620[/ATTACH] use can see in this picture hve 2 …

Member Avatar for P.manidas
0
101
Member Avatar for arezz09

i hve 2 form..first for insert dat & second for preview data..i'm using datagrid to preview data from accessdatabase.. how to make datagrid automaticly load data form database after insert new data..data grid only load after i relaunch my application...do i need create refresh button or anything else??

Member Avatar for Jx_Man
0
160

The End.