473,749 Members | 2,411 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

1
1,649
thread by: default23 | last post Mar 28 '12 by: Rabbit
Hi i am trying to convert mmddyyyy to yyyymmdd the dates are stored in a text file i thought of find and replace buy there are some errors can any one give some idea
1
2,977
thread by: Gopi | last post Mar 27 '12 by: Rabbit
Hi friends i m new to vb.net , now i developing a application in vb.net using third party tool Farpoint Spread control i need to set the position of spread while we enter in another spread cell Can anyone Know plz reply...
3
4,764
thread by: Sona Sabu | last post Mar 27 '12 by: BlueDragon
I want to display daily attendence report of employees. But I keep getting this error in this line( DataGridView1.Rows(z - 1).Cells("WORK").Value = CInt(HOURSWORKED / 60) ) as Argument Out Of Range Exception. Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index. Private Sub...
0
1,150
thread by: Jason Duong | last post Mar 27 '12 by: Jason Duong
Dim Inventory() As String = IO.File.ReadAllLines("inventory.txt") Dim query = From line In Inventory Let data = line.Split(","c) Let name = data(0) Let cost = FormatCurrency(data(1)) Let quantitysold = data(2) Let EndInv = 45 - data(2) Let totalCostperproduct = FormatCurrency(data(1) * data(2)) Select name, cost, quantitysold,...
0
1,158
thread by: BlueDragon | last post Mar 25 '12 by: BlueDragon
This was asked on CodeProject also but I haven't received a working reply so am posting here. The only reply I did get there suggested using "e.Handled = true" but that didn't work no matter where I put it. Below is the section I'm having trouble with at the moment: Friend Sub glbHooks_KeyPress(ByVal sender As Object, ByVal e As...
0
1,624
thread by: isnpms | last post Mar 24 '12 by: isnpms
Hi, i used in MS ACCESS 2007/2010 this code to open a new form (with a new table) when hit double click over a listview valeu, fexp, i had a listview with names and when i double click a name a had a new form with this name data. I dpn't know how to re-write it for VB.NET and i need help from anu=yone. Thanks a lot. (Ivan, Brazil) Option...
2
3,378
thread by: 315hughes | last post Mar 23 '12 by: 315hughes
Hi i am trying to read from a text file and enter this into a table.The text file contains just 3 didget numbers sepearted by a line to distingues a new number. The table consists of 2 columns called ID (which is auto increment PK) and ISBN. The table is called IntTable in a database called book.mdf. I have found some code which i need to change...
0
1,247
thread by: KK Lim | last post Mar 22 '12 by: KK Lim
I get this error when I use a c++ dll in my project. I import the dll function with the following code Declare Function B_C113_initial Lib "C113.dll" Alias "_C113_initial" (ByVal existobj As Integer, ByVal DeviceTb As Long) As Integer when I call the function, it prompt this error An unhandled exception of type...
1
1,872
thread by: 315hughes | last post Mar 21 '12 by: 315hughes
Hi all I am using visual studio 2010/vb trying to display data that is based on a value read from a text file. Currently i can get it to read a text file with only 1 value and get this value into a label. Then by using a SqlDataSource and setting a parameter in the WHERE clause to use the value from the label, it will display the related data in...
0
1,055
thread by: starlight849 | last post Mar 21 '12 by: starlight849
Hi, I have two binary trees. I am attempting to merge the two trees into one tree using vb.net. Basically, Adding the contents of tree 2 to tree 1. I am not having much luck with finding an example of how to do the actual merge. Any help would be appreciated. Thanks, Starlight849
2
1,744
thread by: Michael Cleary | last post Mar 21 '12 by: Michael Cleary
I 'm running a multithreaded VB.NET program. After running a particular task in the environment I'm displaying a MessageBox to indicate that the task is complete. Everything works fine, sending data, receiving data, displaying the data, etc. When I display the MessageBox and I click outside the MessageBox, the MessageBox goes behind my Main...
0
1,572
thread by: Swarna sekhar | last post Mar 20 '12 by: Swarna sekhar
How can i download a file from indirect url for example when we click on http://link.songspk.pk/song.php?songid=2472 it redirects us to http://sound2.mp3pk.com/indian/humko_deewana_kargaye/hdkg4%28www.songs.pk%29.mp3 now how can i download the original file using first url so the program can get the original url and download it
1
1,465
thread by: Aruna Mohan | last post Mar 20 '12 by: kadghar
Hi, The issue is in a windows based client-server application.In the GUI, the system date value is converted to string and is stored in a text box, which is displayed while the dialog gets loaded. How to change the format of date so that when the form loads the date is displayed in en-US culture irrespective of the regional setting of the...
1
1,596
thread by: marbury | last post Mar 19 '12 by: kadghar
Hi, When I finish creating a new table in MS Access a pop-up dialog appears and offers to type in "Table name" and save it. Can someone please help me with Visual basic code that fills the table name and selects "Ok" button automatically?
1
1,278
thread by: Gobi nath | last post Mar 19 '12 by: kadghar
I am using Visual Basic.net 2005, Setup Wizard project to create installer program. Program installs and uninstall properly but I am not able to see it in Start – All Programs menu. Kindly tell me how to insert my application in Start – All Programs menu group.
1
1,190
thread by: huskar | last post Mar 17 '12 by: PsychoCoder
Hi Everyone! I got two form. form 1 i ask the user a number of guest form 2 i ask each guest their name, their age i decide to make a loop base on the number of guest but then i got this error. NullReferenceException was unhandled how to solve this...i underline under my code Private Sub btnBook_Click(ByVal sender As System.Object,...
1
1,199
thread by: huskar | last post Mar 15 '12 by: huskar
Can someone give an idea or guide to do this: i have two forms. First form is used to ask from, to, departure time and how many people we want to book for. Second form is used to ask for each person that we book what is their name, age, title, phone number. i planned to use a loop to loop form 2 to ask for their info. However i woner how...
1
11,985
thread by: remya1000 | last post Mar 11 '12 by: remya1000
I’m using VB.Net. I’m using DataGridView with ColumnType = DataGridViewTextBoxColumn. I have 3 columns. Column1, Column2, Column3. For example: Column1 Column2 Column3 1 AA AAA
1
2,712
thread by: Asprisa | last post Mar 9 '12 by: Asprisa
Hi All, Something weried happening when i try and return 4 AD properties to a listview box, here is my code: Dim li As ListViewItem Dim dirEntry As DirectoryEntry = New DirectoryEntry("LDAP://172.16.0.3/OU=Staff,OU=Users,OU=Accounts,OU=Network,DC=X,DC=local") dirEntry.Username = "x"
0
1,119
thread by: mkol | last post Mar 8 '12 by: mkol
<code> Hi, I would like to know what is '-1.#IND' or '1.#IND'. Is it a number divided by zero or zero divided by a number or some sort of error that I don't know? why am I getting this?, I would appreciate if someone shows me how to understand and catch this, but most importantly how to prevent getting this! Regards Kol </code>
1
1,474
thread by: darkrid3r | last post Mar 6 '12 by: PsychoCoder
i have a application based on Visual Basic platform.. where Enter key action as Tab key ,, which ease the enter key to move from field to field, rather than the tab key.. its works perfectly in Winxp ... but i'm having problem in Windows7 ultimate..Is there any solution?
3
1,465
thread by: Keaton | last post Mar 6 '12 by: Rabbit
Hi I'm new in basic and I need help getting started with a project. I have to make a card game called SNAP. The point of the game is that two players will flip their card and if they match then one of them have to call out snap. The first one to call out snap gets the card. I'm having trouble on getting the cards to generate randomly but match...
0
1,537
thread by: 11Mercenary | last post Mar 6 '12 by: 11Mercenary
Hello, I have a listbox LBPlayers with 10 players in it ( 0 –>9) and the display member is Nickname. What I want to do is to execute a query that selects the Points of each player and stores them in another listbox listbox1. I have this code: Dim con As New SqlClient.SqlConnection con.ConnectionString = My.Settings.MyConnectionString
2
2,695
thread by: Jayawant Sawant | last post Mar 5 '12 by: PsychoCoder
Hi all, how to hide exe into taskmanager in windows 7 using vb.net windows application? I want exe is hide into task-manager in windows 7 & windows vista machine using vb.net(windows application) help me! Thanks, Jayawant
1
1,276
thread by: Farhanb | last post Mar 3 '12 by: yarbrough40
i have a simple relationship which is shown in the link below http://www.flickr.co...N06/6948010043/ after doing much research i cannot find a proper way of deleting rows which are linked in all 3 tables. Where am i going wrong in my code thanks

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.