473,811 Members | 3,811 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

0
1,689
thread by: priyamtheone | last post Aug 20 '10 by: priyamtheone
Hi there, I have a form containing a listbox showing a list of image names. It's bound to the database table. When an image name is clicked it shows the image and imagename in a picturebox and textbox respectively. When no image is selected in the listbox, a new record can be inserted by browsing a new image in the picturebox by an...
3
2,482
thread by: mikewin86 | last post Aug 20 '10 by: MrMancunian
Hello, May I ask a question. I have a vb.net window application project that connect to Access database. I use dataset for all Forms and Reports. Now I would like to change back end from Access database to SQL Server 2000 database.
4
1,987
thread by: starlight849 | last post Aug 19 '10 by: starlight849
Hi, I am looking for advice on the best way to achieve my current goal. I am reading a textfile and extracting information from each line. For example string1 and string2. I am then writing these string to a datatable. However, sometimes there will be repeats in string1 and string2. If there are repeated lines I would like to be able to delete...
3
1,711
thread by: rhonda2010 | last post Aug 19 '10 by: MrMancunian
My project consists of a user interface designed in Visual Studio 2010 Express. I have it linked to an Access database. At this time, I have two text boxes that the user will enter a number. I want to be able to write a query that will take the first and second number and pull the information from the database that is equal to or greater than...
2
1,669
thread by: Trafton | last post Aug 19 '10 by: Trafton
I am trying to add an attribute to a dropdownlist control to store a value returned for the database. This value is need to get a code once a selection is made on the dropdownlist; I have tried the following: ddlStatus.DataTextField = dsValues.Tables(0).Columns("Description").ToString() ddlStatus.DataValueField =...
1
929
thread by: caohung | last post Aug 19 '10 by: MrMancunian
Dear all I have a website site1.com.vn have a login.aspx form and we can access with user and passs but i want i can from site2.com.vn call a function with username,pass and use viewstate to access site1.com.vn without press user and pass Please help me. Thanks alot
1
1,133
thread by: dougancil | last post Aug 19 '10 by: MrMancunian
I have the following code in my project: rivate Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connectionString As String Dim cnn As SqlConnection Dim myCommand As SqlCommand 'the connection string to the SQL server' connectionString =...
4
1,085
thread by: Karen Hart | last post Aug 17 '10 by: Karen Hart
All my users can click on an image button accept one. When she hovers over the imagee it does not provide info on the status bar as if it doesn't even recognize there is a image button there. ALL the other users roll over it and the info comes up on the status bar and they can click the button and it works. What should I be looking for that...
2
2,484
thread by: bbaamm | last post Aug 17 '10 by: bbaamm
we are working in grid view in one grid each cell have childgrids and that child grid each cell contains 7 colmns and that 7 columns bind data from database but the cell spacing is not equal. here i attached my code and source code plz give me any suggestions...
2
1,739
thread by: Jeff Agee | last post Aug 17 '10 by: Jeff Agee
Why does my app not load the saved user scope my.settings when it starts by way of the registry run key? This key starts programs after the user login, per microsoft. So why does it not load the saved user settings? The program does start up, but all the areas on the form where saved user scope settings should be, are the default values (mostly...
1
1,271
thread by: SlotReservation | last post Aug 17 '10 by: MrMancunian
For the life of me I can't remember how to get the array to handle the primaryGroupID for a vb.net console app. Here is what I have so far. *array not included as I am currently researching available options(and no one seems to have an available answer on google) Dim Results As SearchResultCollection = objSearch.FindAll() Dim...
1
2,065
thread by: BPar | last post Aug 17 '10 by: MrMancunian
I am writing a windows application in vb.net. I have a database that will eventually hold about 100-150 people. To make it easier to find the person you need, I want to be able to organize them into an expandable list with Sophomore, Junior, and Senior as headers. Treeview seems like exactly what I need except I need checkboxes on the students but...
1
1,434
thread by: Nwankpa Goodnews | last post Aug 17 '10 by: MrMancunian
please after creating my login how can i connect to database using access or sql or any other data source
1
1,340
thread by: mattjmacdonald | last post Aug 17 '10 by: MrMancunian
I have a form that i want to be saved to my database. The form is adding a new record to my sql server 2005 database but it is not bringing the text over with it. The new record in my db is just an empty row. Here is my code. Add to database section ( i have removed the connectionstring for privacy reasons) <%@ Page aspcompat="true"...
1
2,865
thread by: Polyhymnia | last post Aug 16 '10 by: Polyhymnia
Hello, I get AccesViolationException with a code when I try to send a packet back to a server. I tried another way with my packet sniffer dll, there I get a SEHexception. Here is my code I used where I get the AccesViolationException: Public Declare Auto Function vpSendPacket Lib "VBPCAP.DLL" (ByRef packet() As Byte) As System.Int32 ...
2
3,061
thread by: AllBeagle | last post Aug 13 '10 by: AllBeagle
Hello all, The current project I'm working on requires me to automate some VB.NET code to run every 24 hours. Currently I have everything tied to a local webpage and I've just been calling it all from a button click in a browser. A normal web app basically. My question is....what is the best way for me to start getting this to run on a...
1
3,980
thread by: mattjmacdonald | last post Aug 13 '10 by: MrMancunian
I am getting the error Error converting data type varchar to numeri when trying to save some of the information that is entered in a textbox to my sql server 2005 database. HEre is the code for my insert statement. Any help is appreciated. Thanks, Matt 'declare your variables Dim FirstName, LastName, Comments, MRN Dim...
2
1,102
thread by: Kavya Rao | last post Aug 12 '10 by: Kavya Rao
Hi, Below is the code snippet where i would like to display a msgbox if there are no matching records. I always get a NullReferenceException at iRows = ds.Tables("dt").Rows.Count Please help me solve it Thanks Try Dim sql As String = "Select * from property where accountno = " & id.ToString '& "%'" Dim sa As...
1
1,988
thread by: spl1490 | last post Aug 11 '10 by: Aimee Bailey
Hello, First off, I would like to say that I'm sorry for having to ask a programming site where to find a download for the outlook reference (msoutl9.olb) that is supposed to be in my C: drive. but I just joined and this community is pretty helpful so I thought I would ask. My problem come about when I try and use Dim olApp As New...
2
1,086
thread by: jobyjames | last post Aug 11 '10 by: Aimee Bailey
after editing my cell in the datagrid . i am sorting then i select the next record the selection was do to the 1 cell on the row .i don't know what is the problem
2
1,254
thread by: djpaul | last post Aug 10 '10 by: djpaul
Hello, Is it possible to load 2 documents in a printpreviewcontrol. My program asks after a invoice was made if you want to print the invoice and/or the shippinglist. Both are 2 different documents, so i was wondering if i can load them both... Thanks! Paul
5
4,162
thread by: lyasta | last post Aug 10 '10 by: Frinavale
Hi, I am trying to add NewRow to the database by using datatable in dataset, but before I do that I want to make sure that row is not already there. I create new row for the datatable I am working with, fill it with information. I fill datatable with the row from database that has the same primary key as my NewRow by using tableadapter.fill...
1
1,331
!NoItAll
thread by: !NoItAll | last post Aug 10 '10 by: Aimee Bailey
I'm confused a bit. I need to open a file that another program regular reads and writes. I want to make sure that I open the program in such a way that it will not harm the other programs access in any way. My program can handle any errors created by the other program changing the file out from under me - I just need to make sure that when I...
1
2,654
thread by: moon7 | last post Aug 10 '10 by: Frinavale
How to access sql server database through LAN? I ask this for my client server progrmming because im a beginner.
2
1,600
thread by: shrikantraut | last post Aug 10 '10 by: Frinavale
Dear all, i am getting the following error "Attempted to read or write protected memory. This is often an indication that other memory is corrupt" Please note that i am using interop service. Kindly guide me . Regards,

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.