vb.net

Bolck downloading and uploading

Dear Experts, I need a coding to block downloads and uploads for all browser like firefox,googlechrome,ie etc. on system in VB.NET Thanks for your cosideration Pardeep ...

How to display a popup message at the time of page closing

Using ASP.Net, VB.Net When i close or exit the page, it should show the pop up message like "page closing" Need code help ...

How to attach the file

Using ASP.Net, VB.Net In my web page, i want to attach the file. How to attach the file Need code help ...

How to send the web page values to the emai

Using ASP.Net, VB.Net In my web page, i have the textbox values when i press the send button the textbox value automatically send to email address... How to do that... Need Code Help ...

Check List Box style Radio Button list

Hi, Is it possible to have a Radio button list, like we have a checked List box? Actually I want to load all the options from database to the list but do not want user to allow to check more than one item. Also how to read it (say item 4 of the list) I want to store its value in the variable. Thanks and best regards. Furqan ...

Keyboard shortcut in Visual Studio to select the Current Block

In VB Classic, VBA and also in Visual Studio you can dbl click close to the left hand margin of a block of code and it will select the whole of the current block (sub, function etc). In Visual Studio this clickable area is adjacent to the line numbers on the left. Is there a keyboard shortcut that will do the same job? that is, select t...

ExcelInterop Program

I am creating a excel using VB.net and added micrsoftexcell com as reference to the project. when i copy the exe to other machine it is not working giving following error. Excel 2007 installed on the machine. Could not load file or assembly 'Interop.Microsoft.Office.Interop.Excel, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null' o...

Vb.net Input box Function

Am using An inputbox in my form. If i Press OK the code is fine. When i Press cancel the Program displayin an error. Wat should i Do ? ...

Import hashtable's fields in a adodb recordset

Hi have a hashtable and an adodb.recordset. The field's names of hashtable are same of fields adodb.recordset How can i import the fields value of hashtable in fields adodb.recordset without do it manually? ex Dim Tot As ADODB.Recordset Dim h As Hashtable = New Hashtable h("a") = 1 h("b") = 2 h("d") = 4 the recordset tot has fields...

Response.write and locale settings

Hello, I am using VB .NET 4.0, ISS 7.0. I wondered how can I set the default locale for all applications? The problem is rising when I have a Response.Write(str) the numbers appear with ","(german notation) rather than "."(us notation). From where .NET knows that he need to use the german locale? In every my js script I have added ...

Unbound Data Repeater Scroll Issue

Hi, I Dragged a DataRepeater into my form. Added a TextBox to the DataRepeaterItem. Added A button to the form. Wrote these 2 Lines of Code : Private Sub Button1_Click(..) Handles Button1.Click DataRepeater1.VirtualMode = True DataRepeater1.AddNew() End Sub Run Project Press Add Button in the textBox Write "1" Press Add Butto...

Tuncate string in ASP.NET using VB.NET

Hi, I made a function to truncate a string in the code behind file. But how do i use it in the aspx file? This is the textbox: <asp:TemplateField HeaderText="page" HeaderStyle-Wrap="true"> <ItemTemplate> <a href='<%# makepageURL( Eval("page") )%> '> <%# Eval("page")%> </a> </ItemTemplate> <EditI...

Retrieve Profile information for an asp.net membership user account

I want to pass an asp.net membership user name to a subroutine and retrieve the profile property named FullName for that user, how can i achive this in vb.net? Thanks in advance. ...

line and opacity

I would like to draw an opaque line on a control in c#. I tried this with visual basic powerpacks shapecontrol.. but I couldn't find any properties that set opacity. How do I draw an opaque line ? Thanks, ...

How do I use Google.GData.Client.AtomLinkCollection.FindService method to get the list of worksheets in a Google Spreadsheet?

I'm trying to write code that talks to Google Spreadsheets. We do a bunch of processing on our end and then pass data out to our client into this spreadsheet and I want to automate it. This seems like it should be easy. On this page, Google says "Given a SpreadsheetEntry you've already retrieved, you can print a list of all worksheets...

Intellisense missing for VB.NET projects in Visual Studio 2005

In Visual Studio 2005, I can't seem to get the Intellisense menu to pop up at all when I click CTRL+Space. This seems to be limited to VB.NET files. I have tried creating new Visual C# and C# web projects, and it works fine there. There also doesn't seem to be a problem in things like CSS files in VB.NET projects. But when I create a new...

Decoding Garmin ADM files

Hello, DOes anyone have any experience decoding Garmin's ADM file type? It's used by their MapSource software for creating content and putting it on one of the devices, however i'm attempting to create a standalone reader for such files. Does anyone have experience with this sort of thing? Thanks, brian ...

DSN-less connection to SQL server in VB.NET

Tried seemingly everything here to get this to work but I keep getting "Keyword not supported" errors for just about every iteration of dsn-less connection strings I can find out there in internet land, two are shown below. Public cnSystem As New SqlClient.SqlConnection Public Sub ConnectToSQL() Dim sConnectionString As String ...

asp.net: using resource expressions with the resources in a separate project.

I'm pretty sure this is something super easy, but how do i access a resource that is in a separate project using the expression syntax? I thought it would be like so: <%$ Resources:SomeNamespace.Resources.Web, PleaseSelectAnImage %> where SomeNamespace.Resources is the project that the resources are located in. i normally just do <%=...

VB.NET - Loading box/Catch PHP

Hi, How would I get a box in VB.NET that reads the status of my PHP side? E.g. http://www.youtube.com/watch?v=H8KbDcvUC6w - Look at "sending to shells" in the box all of the text in the box is from a PHP file. How would I get those message to load at that same speed? The video will clear up your minds. Thanks if helped. ...