It is the following section that is not returning the same results as the C# version.
While (CType(i = fs.Read(bytes, 0, bytes.Length), Integer) > 0)
ms.Write(bytes, 0, i)
End While
The file works fine with the C# version and the file path is the same between the...
That works if your in or above where you are hunting...
In this case I have:
Page contains uc_searchresults
uc_searchresults contains uc_advancedoptions
uc_advancedoptions contain (in a tab control)uc_advancedfilters, uc_advancedzipcodesearch, uc_advancedsortoptions, uc_advancedschoolfilters
I...
I have successfully used the Me.Page.FindControl("") to various controls mostly UserControls; however, I have made a Template page environment using information from various locations. Any way, no matter what I do it creates a _ctl# (# = 0-9, usually _ctl0) which is not a big deal it have more...
Just for follow up for future readers...
The Environment.NewLine did not work.
The filestream did work but I had to have two version of the code because it was being emailed and wrote to a text file (which would be automagically faxed out).
But it did work.
Wayne Sellars
"Programming...
First, let me state this sounds like a pretty remedial question but I have been stumped off and on for last two months and now it is time to ask.
I am dealing with text files the way that I am currently doing it is like this.
Dim strBody As New StringBuilder
strBody.Append("Thank you for your...
Nevermind I figured it out!
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.web.UI.Design
Namespace Web
<DefaultProperty("Text"), ToolboxData("<{0}:SignIn runat=server></{0}:SignIn>")> Public Class SignIn...
Does anyone have any ideas on how to do the Design-Time Sub Properties for a control.
For example, drag the Drop Down List Control to a web page, go to the properties and you see the little plus sign beside "Font" clicked it and you will see a bunch of Sub Properties of...
Okay, little update. Evidently I just needed a little sleep, and a good thing I just needed a little considing I went to bed and 12 and got up at 4 to start researching this again.
The solutions to the problem above is as follows:
1. Despite what the book says you need to add a reference to...
Hi Folks!
Need some help.
Building a Customer WEB Server Control using VB.NET and I am trying to set the Editor Attribute to the following property:
<Bindable(True), Category("Appearance"), DefaultValue(""), Editor(CType(System.Web.UI.Design.ImageUrlEditor...
Here is my problem. This Web User Control has two major pieces that work together.
1) A set of regional maps that show one at a time which allow the user to drill down, and at its lowest level it will needs to run a javascript function to select/deselect items out of the a .NET DropDownList...
I have one page (search.aspx). I make serveral pagelets or user controls (wc_search.ascx, wc_results.ascx, wc_details.ascx) which does not contain buttons just a Data Repeater or form fields.
I dragged them all the user controls on the search.aspx page set them all to visible = false wrote the...
Nevermind! ID-10-T errors. The keyword 'Return' is a very important statement in code. I was calling this from another function and forgot to Return the results.
Wayne Sellars
"Programming, today is a race between software developers, striving to build bigger and better idiot-proof...
Nevermind! ID-10-T errors. The work on 'Return' is a very important statement is code.
Wayne Sellars
"Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe, trying to produce bigger and better idiots. So...
I have the following function in asp.net:
Public Function getAddresses(ByVal addresser As String) As DataSet
Dim sql As New SqlConnection(ConfigurationSettings.AppSettings("sql"))
Dim com As New SqlCommand( _
" SELECT a.addresser...
Thanks, I totally did not even think about overloading the function, which is something I need to do frequently.
Wayne Sellars
"Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe, trying to produce bigger...
Need your help
I am trying to something like this, but I get an "Expression expect." squiggly
I the user to pass in an Arry list of items. Any help would be greatly appreciated.
Public Function RandomString(Optional ByVal arrList() As String =...
I am trying to creating a server side datagrid because pending on the permissions of the user things need to be changed or formated differently. Currently the code looks like this:
01 Public Sub createDGD()
02 Dim app As New Application()
03 Dim dg As New DataGrid()
04 Dim dgdCol As...
I have moved on put that is a very important and very useful piece information to know about.
Thanks Wayne Sellars
"Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe, trying to produce bigger and better...
Any of you peoples seen a good example of using FileStream (input) with a CSV file. And either using that as a datasource (cached) or just reading and separating the rows and columns.
Even better would be to take a file from the [inpFile].PostedFile.InputStream and work with and not even have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.