[2005] List View (Columns)

262 byte By yulyos at 2007-11-20 6:53:10
Hi,<br/>I am using Visual Basic 2005 Express Edition<br/>How can I 'PerformClick' to a specific 'Column' in a 'ListView' with line of code,<br/>inside of 'Private Sub Button1_Click...'?<br/>Thanks in advance

connecting access from a remote computer

174 byte By e_b at 2007-11-20 6:53:51
vb.net 2005<br/>Hi<br/>How would I be able to connect access database from a remote computer using vb.net windows application? Anyone have any idea on this? Thanks!

ERROR: Connection timeout !

390 byte By laxatcg1 at 2007-11-20 6:54:02
After packaging... everytime I run my application... first time I get the error 'Connection Timeout!' and then when I quit and open it again it works!! Whys that? What could be the problem? My connection string is as given below... ("Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirector...

[RESOLVED] comments in VB.NET

445 byte By beamer-dreamer at 2007-11-20 6:54:16
Hi all,I often have the problem during debugging that I want to skip a part of the code (say a FOR-NEXT-loop). What I usually do is place a >'< in front of each line of code to turn it into a comment.Is there a way to "comment out" a whole part of the code? Like I put something in front o...

Publishing a .NET application

383 byte By Dave C at 2007-11-20 6:54:24
The Publish tab in VS 2005 is a pretty nifty feature, but I can't figure out how to add files that are not directly associated with the application.I need the target PC to have a specific directory structure with a couple of essential files. Is there any way to tell the publish thingie to add t...

Help outputting text file info to a listbox

487 byte By summitaca at 2007-11-20 6:54:42
Ok, so I've come up with a program that reads in a list of names and sorts them in ascending or descending order according to the option buttons selected by the user. The only problem is I'm having some trouble outputting this information to a list box so I have no idea if my program works...

Random Words

139 byte By kubiak14 at 2007-11-20 6:54:59
I have 5 arrays as strings and need to make random sentences out of the words that were assigned. How do you go about making them random??

DataGridView column value to be changed depends on the other column value...

385 byte By laxatcg1 at 2007-11-20 6:55:14
I have two columns named 'startdate' and 'enddate'. When am adding a new row in a DataGridView I want the value of enddate to be changed to startdate once the value has been entered in startdate. Hope am clear. Please do note that I have many other rows also been displayed which...

File Checker Script

869 byte By PCgeek at 2007-11-20 6:55:28
What I want to do is to publish links on the web to downloadable video files.My friends will be able to login with a PHP/MySQL login and access links to the video files. The video files information, such as name, date recorded and file path will be recorded into another SQL database. I will then use...

Crystal Reports

155 byte By sris at 2007-11-20 6:55:29
hi<br/> i am using visual studio 2005 and sql 2005.can anyone tell me how to create crystal reports using pull method...ie without using datasets... plzz

Confused on this error

5528 byte By fcxashes at 2007-11-20 6:55:38
I have been working on this project for some time now. I wrote it originially in .NET 2003, and everything worked fine. I switched to 2005 and re-wrote the entire application. The program compiles at home with no problems. I have it set that when a radio button is clicked, it calles a "handles radio...

Inter office Web Page

366 byte By shers at 2007-11-20 6:55:44
Hi all,I wish to create an inter-office web page using Visual Web Developer 2005 with VB.Net language. I am confused as to which type of Web Site I should choose. The purpose of creating this web page is to access certain template forms that are there in the server, using this web page. Any suggessi...

How do i set Datasource to a datagrd,using ADODB.Recordset,IN VB.Net

194 byte By swaroopbhave at 2007-11-20 6:55:51
HI everyOne,<br/>i m using ADOBD connectivity.IN VB.Net<br/>i have opened recordset,<br/>but now i want to set that dataSource to datagrid,what will i have to do for that?<br/>Please help me out

can i protect my vb.net app. with a CD key Or Serial key at the time of installa

179 byte By swaroopbhave at 2007-11-20 6:55:54
I have developed a project in vb.net,and also build an .exe file through setup and deployment project.can i set a serial key,so that it asks while installation? please help me out

how do i get computer Name in vb.net

138 byte By swaroopbhave at 2007-11-20 6:55:55
HI ,<br/>i m required to get computer name,on which my exe is running,how can i get thea?<br/>thanks in advance,<br/>i hope u will help me

Inhertiance Issue?

561 byte By fallnwrld at 2007-11-20 6:56:10
I have an MDI Form, this form has two childs.- frmBrowser- frmMenufrmBrowser has 2 controls and a A Public Sub- ImageList1- ListView1- Public Sub PopulateList() *This populates the ListView and ImageListThe function works perfectly fine when I run it in frmBrowser; BUT when I try to run it in frmMen...

changing Load(form) to RaiseEvent

569 byte By KPexEA at 2007-11-20 6:56:14
I'm converting an older VB program ( that I didn't write ) to the latest (VB 2005) and the UpgradeWizard has convered it all to the newest but it complains about this:Load(formname) 'Public Event Load(sender As Object, e As System.EventArgs)' is an event, and cannot be called dir...

setup project in VS.NET with dependency of >net frame work

259 byte By shalinicodeguru at 2007-11-20 6:56:49
Hi,<br/>i create one setup project in VS.NET but it shows dependency of DOtNET frame work so please tell me can i make setup in VS.NET so that dotnet dependency will not matter.<br/>please help me..i am stukked in this very badly.<br/>Thanks..

Resolution Problem:if designed at falana resolution,and if i change

637 byte By swaroopbhave at 2007-11-20 6:56:51
actually the problem is a bit tricky,i m using vb.net as FrontEndwhat happens is suppose i design my screens on a computer having resolution800 X 600.and if i change the resolution e.g.1024 X 768 thenall my settings are scattered,the form controls move at a corner,resulting bad presentation to the c...

Decimal calculation issue

434 byte By rahulvasanth at 2007-11-20 6:57:15
Hi In the VB.NET application that I have developed, I noticed a bug in the calculation recently.dim dblVal as Double = 0.0dblVal = 69.99 + (-49.99)The value of dblVal will be 19.99999999999999993 instead of 20. This will sometimes give rise to a difference of 0.01 in the accounting.Has anyone else f...

Conferting FilePath in vb.net

149 byte By Phoney at 2007-11-20 6:57:42
Hey everybody,<br/>Is there a way to auto convert a path string like <br/>C:\Program files to C:\Progra~1<br/>Thanks allready for helping me out

How to Deploy vb.net 2005 project

64 byte By mejaz at 2007-11-20 6:57:58
How I can deploy vb.net 2005 project?<br/>Thanks in advance

Windows Menu

124 byte By George1111 at 2007-11-20 6:58:06
A lot of applications use the attached menu these days<br/>Does anyone know where to get it for use in an application ?

Problem with update to SQL database

2847 byte By o9z at 2007-11-20 6:58:36
The error I am getting is this:Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information.The table t_groupdata does have a primary key set, though I am not selecting that field in my statement. What else might be causing the...

Set up and deployment project in microsoft visual studio .Net 2003

442 byte By shalinicodeguru at 2007-11-20 6:59:07
Hi,I am using VS.NET setup project to deploy my application and when i test it on some machines having different operating system then we need some framework like .net framework 2.0. or .net frame work 1.0.What should i do so that this dependency does not effect when i deploy my application on anoth...

.net setu project and deployment

173 byte By shalinicodeguru at 2007-11-20 6:59:23
Hi,<br/> i am creating a set up and deployment project and i want to use a setup like innoset up so please any body provide me some steps to create a setup using innosetup.

Passing .Net array to VB6

776 byte By VBPro at 2007-11-20 7:00:27
Hi. I posted the same question on the VB6 forum but I figured I would post here as well. I'm calling webservices from VB6 via a .Net DLL. I have the DLL working with a comclass, etc. I can call methods in the webservice and return objects and retrieve the property values. However, whenever...

how to convert excel file to xml

132 byte By e_b at 2007-11-20 7:01:08
hello again!<br/>can anyone tell me how to convert excel to xml file? i am using vs2005 windows application. thanks in advance!

error creating new proyect in VS2005

471 byte By satanorz at 2007-11-20 7:01:36
Hi all, i was working with VS2005 without problems in a two or three months, but now, if i click on new proyect menu it throws me this error 'The exception unknown software exception (0xc0000409) occurred in the application at location 0x501292e9'But if i load an existing proyect it works...

ListView Cursor

398 byte By yulyos at 2007-11-20 7:01:55
Hi,I am using Visual Basic 2005 Express EditionI set in the properties of the ListView the Cursor to Hand.When the cursor is in the Columns the cursor is not change to Hand.My question is: If it's possible to change the cursor to Hand?What i mean is that the Column Header, The place that you wr...

Add-Delete-Update functionality in VB 2005

781 byte By raz_raj2000 at 2007-11-20 7:02:08
Dear friends,I am learning VB 2005 ( .NET) I need your help friends. The problem I am facing is as follow:I am learning normal functionality with VB2005 and SQL 2005. I made connection and data are shows in form but when I am tring to use Add,Delete, Update functionalities in that form that is not...

[RESOLVED] check the previous instance of application

400 byte By Mustaf kazi at 2007-11-20 7:02:45
hi, My question is very simpleIn vb.net how I know that my application's previous instance is running because i want to run my application only if no previous instance is running if previous instance is running then i want to give message. It is very simple in vb but in vb.net can any one know...

Insert problem

3347 byte By raz_raj2000 at 2007-11-20 7:02:53
Dear friends,I have written code for insert and it's not working... hope some one expert can help me...Code for Insert (Add button) as follow:##########################Private Sub btnAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAdd.Click '...

hyperterminal to backend

204 byte By mns01 at 2007-11-20 7:03:14
i have connected the hyperterminal to wireless connection serially.<br/>now i want that watever data comes on hyperterminal it gets store in backend..<br/>i have no idea hw to do it..<br/>can anybody help

Summing number on bindign navigator click events - not getting current record

528 byte By o9z at 2007-11-20 7:03:26
I am Summing text field values as each record is navigated through with a binding navigator. FOr example, When the Binding Navigator Move Previous button is clicked, I am summing fields. The problem I am having is that it is always a record behind. So if I move from record 2 to record 3, the text...

Can someone tell me how to increase the textbox height?

198 byte By mgarces74 at 2007-11-20 7:03:37
VB.net 2005 framework 2.0<br/>For some reason the proerty setting for size is locked. I don't understand why it doesn't let me increase it from size 21.<br/>Does anyone one why?

Access Data from Website

364 byte By madhu_j at 2007-11-20 7:03:52
Hi, I am developing an application using VB.net 2003 with MS Access-2000 as backend.Whenever any transaction is entered in local database in (client system), it should automatically update the data in the website database (server) also.How to access and update a database in a webserver from VB.net f...

DataGrid View

2429 byte By danasegarane at 2007-11-20 7:03:53
Dear All, I am placing a combo box in datagrid view cell.I am using this code.The problem is that when i press the tab key the entered values get into thecombo box dropdown list.But when I press the Enter key unfortunately not Private Sub Form1_Load(ByVal sender As System.Object, ByVal...

modifying passwordvb.net and MS Access database

4984 byte By ibanez7 at 2007-11-20 7:03:58
Hello to all (Newbie)I created a database in access and use it for password and username sign in to a loan form.I have no problem accessing the form with the correct password and username.Now i`m trying to program it so the user can change his password if he chooses to once he`s into the loan form.I...

[RESOLVED] Datagrid and DataTable Problem

560 byte By Mustaf kazi at 2007-11-20 7:04:00
Hi everone, I'm display the records in datagrid using datatable. This is working properly. But my problem is Once I select the record from datagrid I want to know the row number for selected record in datatable not in datagrid. I want to know the rownumber because I use the bindingmanagerb...

DataTable and Data grid problem

437 byte By rohinisharma82 at 2007-11-20 7:04:05
hi..m rohini...m working on a project..which is in VB.NET.I hav a problem with datatable and datagrid...I hav made a datatable and representing that table in a datagrid.But problem is that I want to save this datatable in any database(which can be any provider like MS Acsess and SQL Server).I have...

File Property

81 byte By danasegarane at 2007-11-20 7:04:06
Dear all,<br/>How to show the File Properties in Property Gird<br/>dana

Crystal Reports

442 byte By HeineUSA130 at 2007-11-20 7:04:18
HI I am hoping someone can help me with a Crystal Problem. (Please keep in mind I am a chick who knows NOTHING about code, programming, etc).I use to use the previous version of Crystal, and it would export to Excel just fine. Now with 10, it exports with all hidden rows in between the data. It a...

Custom Collections

195 byte By rk_guturu at 2007-11-20 7:05:20
How to Send Custom Collections Entity to DAL Layer and Store in Database using Stored procedure?<br/>Note: I know how to populate the Custom Collections Entity with the data from database .

date problem with sql database

795 byte By shivkumar at 2007-11-20 7:05:25
Hi experts,I am facing a problem in saving date into sql server database.I am using following code dr.Item("I_date") = DTP1.Value.Date.ToString("d")this line gives me the correct date in the form of "dd/mm/yyyy", but when I am saving this date into sql database it is being saved as "15/04/2007 12:00...

Adding / Formatting data in DataGridView...

1195 byte By laxatcg1 at 2007-11-20 7:05:30
I have a DataGridView in my start form where-in I have enabled 'adding row' and I have some default values displayed. These default values needs to be displayed in 'italic'. How do I do that? Below is the related code... Private Sub dataGridView1_DefaultValuesNeeded(ByVal send...

writing events

619 byte By steve1_rm at 2007-11-20 7:05:39
HelloVS 2005I have a form that has a user control on it (built the user control myself). The user control consists of text boxes and buttons.One of the buttons is a delete button. When the button is clicked I would like to have the parent form, that the user control is on to be alerted by this delet...

run-time bugs here

9407 byte By redgto4u at 2007-11-20 7:05:49
this application inserts and/or deletes info from the weekly revenue form and updates itself.The program compiles fine, but will not run! I cant insert anything onto the form without getting an error on line 167. Here's the code...I dont see anything wrong with it.Option Strict OnPublic Class f...

Problem Adding Dataset

1115 byte By George1111 at 2007-11-20 7:06:25
Using VS 2005 .Net 2.0I believe this is a problem when using Access - SQL Server works fine and does not give the following problemI open a new project then attempt to add a datasource (Click on Datasources Tab - Click on Add Data Source) - I select a MDB database and either One or multiple tables...

data grid printing

128 byte By shivkumar at 2007-11-20 7:06:36
Friends<br/>Can we print the data in datagrid directly on the printer or we need to use some other ways like cristal report