vb.net

Opening .resx files in Visual Studio.net gives "The operation cannot be completed. Invalid Pointer" error

I am using Visual Studio 2008. While opening some of the .resx file, it is giving me error that "The operation cannot be completed. Invalid Pointer". What can be the possible problem and solution? Thanks in anticipation. ...

VB.NET - how to remove Infragistic

I moved a vb project to a new computer. This one does not have Infragistic libraries installed. Apparently on the original computer it was installed, and the vb project must have some reference to it (see error bellow) even though I'm not using it in the project. So I am getting this error on the new computer. Unable to resolve type 'I...

Reading .btr file using VB.Net

Hi, I need to import data from a .btr file (text.btr) to Access database using VB.net. I searched in google but didn't find any solution for this. Any help would be highly appriciated. Thanks, Yogi ...

Design my form background by dot(.) from top to buttom

I want to design the outlook of my Form. I want dot(.) line by loop in background from top to bottom of the form so please help me. ...

is there a Mechanize for Visual Basic .NET ?

i am looking for a library that is similiar to mechanize for perl, ruby. basically i can do .click() and it will click on form buttons, or navigate to links. ...

How to manually add new rows to datagrid

How to manually add new rows to datagrid ...

OpenSource SMS Gateway - .Net (C# or VB.Net)

Hi. Is any opensource SMS (Short Message Service) gateway written in C# or VB.Net. Gateway must support AT command mode. I don't need SMS service, I need library to communicate with mobile phone or GSM modem (AT command mode) ...

Running ASP.NET and VB.Net in Ubuntu.

Hi. I have a LAN-based application programmed in ASP.NET with VB as its code-behind. Also, MYSQL for the database. I just want to ask if I can run my application in UBUNTU? Thanks a lot. ...

multi line textbox in vb.net

i have 3 multi textbox's .. and one button.. it should lookup for the strings or numbers that available in the first textbox and not available in the second each string or number in new line.. and put it in the third on button click:: for example --> the user writes 200 name in the first textbox and 100 name in the second... and he cli...

Creating Reports in ASP.NET

I have a crystal report in my application and it works fine but I want to ask if there's a way that the user can manipulate the report that he/she wants? For example, the user wants to create his/her own report. in my application, there are already reports available. They just need to click the link and it will show immediately the speci...

session variables lost in a specific scenario

Hello, I've got a problem losing session variables in an ASP/VB.NET application. The application allows searching for an item or it can show an item if provided with a unique link (in the browser). It holds information about the item in session variables. In the webpage showing an Item a user can click a button which opens a window...

Exception from HRESULT: 0x800AC472

when i set Excel apllications displayalert propery to true this exception is fired... why? ...

how to get the handle of listbox in vb.net 2005

Hi, How to get the handle of a ListBox control in VB.NET 2005? I am using Dim i_Handle As ListBox i_Handle = ListBox1.Handle But this is not working ...

while copying from one excel sheet to other formatting of sheet get lost in VB.net

Dim objworkbook As Excel.Workbook objworkbook = objExcelAppDataSheet.Workbooks.Add(strTemplatePath) Dim sheet_new As Excel.Worksheet sheet_new = objworkbook1.Sheets.Add() sheet_new.Name = objworksheet.Name objworksheet....

vb.net listbox exception

Hi, I am getting an exception when trying to run the below code in vb.net 2005 Public Class Form1 Public Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hWnd As Long, _ ByVal wMsg As Long, ByVal wParam As Long, _ ByVal lParam As String) As Long Public Const LB_FINDSTRING = &H18F Dim list...

Why do the division (/) operators behave differently in VB.NET and C#?

If you create new projects in C# and VB.NET, then go directly in the Immediate Window and type this: ? 567 / 1000 C# will return 0, while VB.NET will return 0.567. To get the same result in C#, you need to type ? 567 / 1000.0 Why is there this difference? Why does C# require the explicit decimal point after 1000? ...

Applying using to a SqlDataReader

I just want to verify something. I believe it is likely that if I apply the using command to a SqlDataReader, that it will both close the data reader and dispose of it. For example: Using sdr As SqlDataReader = cm.ExecuteReader() Dim someInt As Integer = sdr.GetInt32(0) 'other details and actions End Using Will that close the ...

AnimateWindow API in Vista MDI form doesn't work properly

We have an application written in VB.Net; there is a main window which hosts MDI child forms. When we are running the application on Windows Vista (in Win XP and 7 it works as it's supposed), we encounter a problem when closing MDI children forms. When we close the MDI window, its Closing event calls the WindowAnimate API to perform some...

Return more than a single value from a WebService

I have to return a lot of values back to my windows application from my webService. But how would I return more than just a single string/int/boolean from my WebService to my Application. How would I return a collection, keyValuePair, or even better, a DataSet? Or is this just imposible? thank you :) ...

Add row dynamically to table in ASP.NET?

I'm trying to add rows dynamically to a System.Web.UI.WebControls.Table control in ASP.NET. I found some sample code that does what I'm seeking, but it only adds a single row. It seems like the table row count does not carry from one page load to the next. The user should be able to add as many rows as desired, and I need to capture th...