vb.net

How to add items rows to a listview WPF and VB.net

Im getting crazy with it. It is so easy in windows form, but in wpf it seems to be different. Every example i find is in C# and i cant addapt it. Well, this is the code i have. Atm, i have just defined the columns: 'diseño de las columnas Dim item As ListViewItem = New ListViewItem Dim Mi_Lista As GridView = New GridVie...

i am interest to know about checkboxlist

I can show the checkboxlist data but i can't insert the multiselected value to link sqlserver and can't show the gridview at the moment what i do? please suggest me or solved me. thanks ...

how to import the excel file to sql database using vb.net?

I have a more data in excel file .so i have to import it into sql database using vb.net.can anyone send the source code? ...

VB.NET textbox changed but still hold initial value

Hi Folks, I've never come across this before: I have a series of text boxes. The text of these boxes get set on page load. then I have a submit button that calls a sub to update the table with the new values (text) in the text box. The problem is it is keeping the original text not the text that is CURRENTLY in the textbox. Anyone come...

VB.NET if button1 caused post back then....

Hi folks, I have a situation where I need to ignore parts of page load sub inside a isPostback = true. Basically inside the isPostBack I want something like if button1 caused postback.... do this else do this... Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If IsPostBack = True Then ...

how to create a system-wide independent universal counter object primarily for Database keys?

I would like to create/use a system-wide independent universal 'counter object' that can be called via COM in a thread-safe manner. The counter object will be passed an ID to identify which counter to return, handle the counting, 'persist' the count (occasionally), have reasonable performance (as fast as possible) perhaps capable of 10...

Open File Dialog Asp.Net

I am creating an excel report in vb.net using the office interop. When the report is completed I am saving the excel file on the C drive. The users have asked to save file anywhere they want not just the c drive. Can someone give me some code to popup an opend file dialog in asp.net? I want the dialog to popup in a saveAs in ASP.NET. I...

VB.net Dataset display different column

Hello, I am sure this has to a comon thing I just can't find it. I am making a combobox from my data source. Basically, This is a projects form and the user needs to select the the primary contact which is contrained by the customer id (GETbyCustomerID) set in another field. I have it working... mostly except the combobox only displays...

VB.NET Databound ComboBox need to force update in datasource when selection changes

I have a combobox where the SelectedValue on the combo is bound to a property on a business object. Everything works fine, but the property that's bound to the SelectedValue on the combo only gets updated when the focus leaves the control. I understand that the property doesn't get updated until the control is validated (loses focus), b...

call a vb.net subrouting from a javascript function?

hi folks i have a subroutine called CheckDate() in the code behind. How would I call that subroutine from a javascript function? Cheers, -Jonesy ...

View status of service running on remote machine

The conditions are - I don't have administrator privilege - I want to see the status of a service in remote machine (server) I use the following code (vb.net with framework 2.0) to see the status Dim sqlSvc As ServiceController Svc = New ServiceController(My.Settings.serviceName, My.Settings.machineName) If sqlSvc.Status.ToString.Equal...

Need a conbination of Jquery tabs and scrollling feature

I am new to Jquery and I have inherited a project that is heavy with it. I have a Ui that has tabs and the users have requested to be able to scroll down the page as an option instead of tabbing across(Why? Dont ask me). I have tried a few suggestions with the overflow attribute, but I don't seem to be able to get to work ...

Binding Data to DataGridView in VB.Net

Hi, I have a bit of code which loads data from a stored procedure in MS SQL Server and then loads the data to a datagridview, which works fine. What i want is for the code that connects / loads the data to sit in my Database Class and then everything associated with the datagridview to be stored in my Form but i am having problems passi...

LinkButton not firing OnClick event in Accordion

I have not been able to get the break point I have on LinkButtonDelete_Click to fire. Is there a trick to dealing with buttons inside of AJAX Accordions? Thank you. <cc1:Accordion ID="Accordion1" runat="server" DataSourceID="ObjectDataSource1" SelectedIndex="-1" RequireOpenedPane="false"> <HeaderTemplate> <asp:Label ID...

Launching my deployed my app gets "has stopped working" error. How do I debug this?

I deployed a VB.Net app and ran it and I get 'AppName has stopped working" "Windows is checking for a solution to the problem" along with a Cancel button under Windows 7. Under XP I am only getting the option to Send the error report to Microsoft or not. There is no apparent way to hook into a debugger. I am not getting any exception da...

How to read excel file in vb.net 2003

Can anyone help me on how can I read the excel file using vb.net 2003? The first thing to do is to browse the excel file in my vb.net program then read the content of excel file and display the value of excel content in listview. ...

in vb.net an error is coming

Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). in vb code-i used namespace and a class. ...

Telerik Rad Grid Button caption

Hi I'm looking but can't see Is there a way to change the caption on a gridButton on a Telerik RADGrid (on a ASP.NET web page) , depending on another of the bound fields (in this case active) e.g if active = true text = "Disable", if active = false then text "Enable" I have resolved the issue by iterating through the e.items on the dat...

Animation on vb.net controls.

hello. sir, i want to give animation effects on buttons,lalbels,groupboxes and other control in vb.net 2005. can you pls help me... ...

how to preview video camera from tv tuner in vb.net

how can i preview / record or only preview video from my tv tuner card in vb.net....i have usb stick deny tuner card in my laptop ...