How can I make an array created&filled in by one Sub accessible from an other one?
I have a RadioButtonList control which triggers a Sub LegalGaps on SelectedItemChanged event. This Sub creates and fills in an array the size of which depends on the User's choice | | 0 | 13 | 11/29/2009 1:58:53 AM |
Don't want rounded value
Hi, i am using coding in vb.net and i want some values as min=110 (integer Variable) | 0 | 42 | 11/26/2009 9:56:25 PM |
code in vb
hi , TextBox& | | 0 | 11 | 11/26/2009 6:07:35 PM |
Function to check consective 5 same letter or digits
Hi folks,
I need a help. Function to read consective 5 same letter or digits from the String given.
Eg: String get = "vennnnnkat";
| | 0 | 15 | 11/25/2009 1:46:17 PM |
SQL Where Clause With DateTime
I have a column in my table that is a DateTime column. I have a Session that is written from the previous page that writes (system.datetime.now) to before it transfers to the next pag | | 0 | 23 | 11/24/2009 9:57:26 PM |
If Or statement in my form
Hi,
I have an asp.net web form that uploads files. Part of the code seems messy to me, but I can't figure out another way to write it.
Here it is: | 0 | 21 | 11/24/2009 3:24:32 PM |
Getting a list of domains
How do I get the list of available domains that a windows user can log on to. I am using LogonUser to validate credentials but my users have the ability to use different domains and I want | | 0 | 14 | 11/23/2009 9:57:23 PM |
Creating a QWERTY Keyboard String Array
I have the following that creates an array of the alphabet (A-Z)
_Alphabet = New ArrayList()
For i As Integer = 65 To 91 - 1
&n | | 0 | 17 | 11/23/2009 2:05:55 PM |
store order status strings in VB
Hi ,
can any one tell me how will this be in VB? public static readonly string[] OrderStatuses =
{"Order placed, notifying customer", // 0
| | 0 | 19 | 11/23/2009 11:41:50 AM |
error '800a0400' / Expected statement error
I got an error when trying to execute a code, please help me to solve given problem..... Code is given below:
Microsoft VBScript compilation
| | 0 | 18 | 11/21/2009 4:44:11 PM |
API Calls in vb.net 2008
i want to know how to use api calls in vb.net2008. in visual basic 6.0. we can find the list of api calls in add in manager . in vb.net2008 how to find it..
| | 0 | 21 | 11/21/2009 1:03:49 PM |
ANY ALTERNATIVE OF RESPONSE.REDIRECT
HI Every One
I am using a client.openRead to send request and passing line through finalurl.
Dim data As Stream = client.OpenRead(finalurl)
Now my server bl | | 0 | 10 | 11/21/2009 11:54:16 AM |
my first object?
Hi All: This is so basic a question I'm not sure where to ask it...but here goes.
I have a sub that takes a posted image file and resizes it, then saves it to a particular f | | 0 | 27 | 11/20/2009 6:21:18 PM |
Accessing a variable dimensioned in a for loop
The subject almost sums this up. I have dimensioned a variable 'y' inside a for loop. If i then try and access this outside of the for loop I cannot. What is the reason for this and how c | | 0 | 19 | 11/20/2009 12:18:11 AM |
Need help with coding a query creation interface
I am trying to implement an interface on an ASP.NET 3.5 web page that will let the user specify up to three conditions for insertion into a Linq to SQL query. It looks something like this:
< | | 0 | 16 | 11/19/2009 5:28:34 AM |
Check if Ftp directories exists
hi, i am having a problem in writing the code that checks whether a directory exists or not in FTP using vb.net.. can anyone help me?? thanks, Antiflag
| | 0 | 16 | 11/18/2009 9:40:24 AM |
Please Explain Why this Code Generated an OverflowException
Please explain why the following code generated an OverFlow Exception on the Return Statement. The Exception Occurred during the Return Statement so you can ignore the first part of the fun | | 0 | 19 | 11/17/2009 6:24:27 PM |
handle the popup messages thrown in web application using VB
I am developing a tool to automate testing of a web application. I want to handle the popup messages thrown in scenarios. The problem am facing is when the application runs a popup message is thr | | 0 | 17 | 11/17/2009 3:43:50 PM |
add 4 hours to a datetime value
hi can anyby help me to add 4 hours to the following datetime value
dimdate4pos = MM & &q | | 0 | 18 | 11/17/2009 12:42:14 PM |
Class 'PSDummy' must implement 'Sub Process(processor As OrderProcessor)' f or interface 'IPipelineSection'
Hi there, I have this C# codeThat works But i need the VB version
I Used the C# To VB tran tool, and that gave me an error:
This is the C#
< | | 0 | 18 | 11/16/2009 11:03:01 PM |
How to make OnSelectedIndexChanged fire an event without posting back the w hole page?
I want my ListBox control to respond dynamically to a change of selected item. However, "OnSelectedIndexChanged" fires an event only when AutoPostBack is set to tru | | 0 | 13 | 11/16/2009 11:03:00 PM |
Too many arguments to 'Public ReadOnly Default Property Chars(index As Inte ger) As Char'.
Can any one tell me hy i get this error?
' Create the order and store the order ID Line 175: Dim orderId As Strin | | 0 | 17 | 11/16/2009 11:02:54 PM |
Call exe in asp.net
Hi I have to call exe in my asp.net application. In below given my code. its working fine in my localhost.but when i deployed in server its not working.i deployed exe file also in server. i | | 0 | 23 | 11/16/2009 11:02:53 PM |
Input string was not in a correct format
Hi there,
I have i class that retrives order information from DB, When i click the Go button I get this error : System.FormatExcepti | | 0 | 22 | 11/16/2009 11:02:46 PM |
InItCap function
Hi All... In my code(vb.net) i need to make the first letter of my string to be capital. I can get that by using substring and then make that to capital but i want to use built | | 0 | 17 | 11/16/2009 11:02:43 PM |
DateTime arethmetic overflow error
I am creating a list of dates between two dates and inserting that list into a DB like this:
Dim | | 0 | 15 | 11/15/2009 10:37:56 PM |
FileUpload to MS SQL database
I have been having trouble getting my page to upload a file to my discountasp.net hosting account, so I have decided to direct the uploads to a SQL database (thinking that would help solve my pro | | 0 | 27 | 11/15/2009 4:51:13 PM |
how to change dynamically 'oncontextmenu' of <body>?
Hi,
in the aspx file, there is following code:
< | | 0 | 25 | 11/15/2009 12:23:56 PM |
Static (Shared in VB.NET) or Normal Methods
Hi,
I Want to know which one is preferred while coding to use Static Methods or
normal instances, I prefer to use static if they where few but if there was
many of them I start to get s | | 0 | 19 | 11/15/2009 9:32:13 AM |
While loop with Dates
I am trying to do a while loop with dates but I an getting an error:
Here is my loop:
Dim | | 0 | 19 | 11/15/2009 8:20:03 AM |
Need Help to Generate SortId
Need Help to Generate SortId in vb.net
like
if i enter id as 1.1.1.1 then generate SortId as 01.0001.01.01
sortid should be in 2,4,2,2 format.
my id ca | | 0 | 22 | 11/14/2009 5:33:41 PM |
How can I select first three words from a string?
Can anyone offer a VB.NET function to extract the first three words from a text string (where spaces are used as dividers between words)?
I'm sure it's a fairly e | | 0 | 25 | 11/14/2009 2:42:40 PM |
SMTP works in solution, but fails as imported class
Enviro: 2007 Exchange Server, 2 Intranet servers (1 deploy, 1 dev) running .NET 2.0 app - all within same network / behind firewall. I am working on a legacy app by our previous web guy, when our | | 0 | 20 | 11/14/2009 1:04:51 AM |
Casting error
Hello all,
I have a strange problem with a update from a gridview in ling2sql.
When I make a new record everything goes well, if I use the same syntax for an update with comm | | 0 | 19 | 11/14/2009 12:22:48 AM |
Linq - Anonymous type grouping does not work properly?
I am attemping to do a multiple column group by in linq using VB. I've followed a code sample i obtained at the following url: http://msdn.microsoft.com/en-us/vbasic/bb737926.aspx | | 0 | 16 | 11/13/2009 11:19:37 PM |
terminate a method if a condition is true
I need to terminate a method of button1_click if a condition is true
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click < | | 0 | 25 | 11/13/2009 5:20:23 PM |
Dropdownlist showing problem in IE but working fine in Mozilla Firefox
Hi, i have a dropdownlist which has a linq datasource ...and i have inserted 2 items "All Batch" and "Choose" from the codebehind manully...in case of mozilla firefox &q | | 0 | 18 | 11/13/2009 1:59:21 AM |
Retrieve value from INI file
Hi,
I found that vista OS is malfunction to retrieve value from INI file. When set at vista scheduler. After I test few method, I get the solution to solve is cop | | 0 | 22 | 11/12/2009 5:09:45 AM |
Setting a 'default' value to controls (textbox) (loop controls)
I have aspx form with several textboxes.They are populated with values from a table via retrieval of a dataview. If the row count for the dataview is 0, then I'd like to reset the value | | 0 | 15 | 11/12/2009 1:57:31 AM |
Count Special Chars. from Text Box or String.
Hello.
Everyone,
Will you pls. tell me how to Count Special Characters from input STRING.
for Example:
i | | 0 | 17 | 11/12/2009 1:57:30 AM |
Multi dimension Array
I need help in defining an Multi-dimensional array which will update based on the value passed by the user
| | 0 | 17 | 11/12/2009 1:57:30 AM |
E-Mail - Exceptions not being caught
I have followed the video tutorial called HDI ASP EmailErrorHandling at http://www.asp.net/learn/videos/vid | | 0 | 17 | 11/11/2009 5:11:45 PM |
Combining 3 textbox and dropdownlist
Hi all! I have 3 textbox's and 1 dropdownlist and I am trying to combine all that data into one string. Here is what I tried but is not working: Private Sub FullAddressTextBox_Tex | | 0 | 19 | 11/11/2009 9:05:42 AM |
How to skip to the next iteration in a for loop ?
Hi, (vb.Net)
I've got a for loop. In my loop , I've got a condition , and if that condtion is not met, I need to move on to the next iteration. So if I | | 0 | 20 | 11/11/2009 9:05:34 AM |
Client-side and Server-side Button
Hi, i am facing a problem...i am using VB.NET...
i have a search button and two radio buttons which contains the items to be searched accordingly......i have used the sea | | 0 | 20 | 11/11/2009 9:05:33 AM |
Creating a case sensitive parameter
Hello, I was wondering if there was a way to create a parameter for a method in VB.NET 2005, to select which case(upper, lower) to test for.
For Example Function | | 0 | 24 | 11/11/2009 9:05:28 AM |
Show only date using linq in vb.net
hi, i am facing a simple problem...i want to show only date in my dropdownlist from the database using linq in vb.net... but everytime the "time" comes too...so can anyone p | | 0 | 21 | 11/11/2009 9:05:24 AM |
directcast, trycast, ctype
I've tried to make sense of these. And im down to directcast vs. trycast in most cases. My question is directcast vs. trycast when bringing in Controls like a label from a formview to change | | 0 | 21 | 11/11/2009 9:05:22 AM |
System.Net.WebRequest.Create cannot download all html code
Hi All,
i am using System.Net.WebRequest.Create(url) to download html code, but it missed some data. if i use IE to view page and click | | 0 | 19 | 11/11/2009 9:05:13 AM |
Searching for specific text in different files in VB .NET
Hi, Friends can any one help me how to earch for text in different files in VB .NET. I used Stream Reader and also My.Computer.FileSystem.FindInFiles. They just helped m | | 0 | 14 | 11/11/2009 9:05:11 AM |