Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. onedizzydevil

    FileStream and MemoryStream Conversion from C# to VB.NET

    I am trying to convert the following C# code: private Stream GetXmlTemplate() { if (this.Cache.Get(this.XmlTemplate) != null) { MemoryStream ms = (MemoryStream)this.Cache.Get(this.XmlTemplate); ms.Position = 0; return CopyStream(ms); } else { FileStream fs = null; try { fs = new...
  2. onedizzydevil

    Problem doing find control

    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...
  3. onedizzydevil

    Question about vbCrLf with a text file.

    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...
  4. onedizzydevil

    Custom Server Controls Design-Time Sub Property

    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...
  5. onedizzydevil

    Custom Server Control Property Editor

    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(&quot;Appearance&quot;), DefaultValue(&quot;&quot;), Editor(CType(System.Web.UI.Design.ImageUrlEditor...
  6. onedizzydevil

    Boy Oh! do I need so help on this one...

    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...
  7. onedizzydevil

    Pass data from one user control to the other, its not working... :o(

    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...
  8. onedizzydevil

    Any idea on why this Query is not working...

    I have the following function in asp.net: Public Function getAddresses(ByVal addresser As String) As DataSet Dim sql As New SqlConnection(ConfigurationSettings.AppSettings(&quot;sql&quot;)) Dim com As New SqlCommand( _ &quot; SELECT a.addresser...
  9. onedizzydevil

    Using Optional Array in as Parameter

    Need your help I am trying to something like this, but I get an &quot;Expression expect.&quot; 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 =...
  10. onedizzydevil

    Building Server Side Datagrid, how do I customize cell content...

    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...
  11. onedizzydevil

    FileStream and CSV files

    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...
  12. onedizzydevil

    Load a User Control Programmatically &amp; retrieving set property values

    I find code that show how to load a User Control programmatically; even ones that show how to set the property(ies) AS YOU CREATE the control. However, what I need is know how to retreive the property value inside of a user control. For example, if I have a user control and button (not in the...
  13. onedizzydevil

    The breakpoint will not currently be hit. No executable code is associ

    When I set a breakpoint point on ONE specific page in a my application ALL my breakpoints on that page, when ran in debug mode, comes up with a question mark inside the circle. When I click on the properties of that breakpoint is has the following error: &quot;The breakpoint will not currently...
  14. onedizzydevil

    Man I hate to ask a question like this but...

    ...I am at the end of short rope. What I need to do is have a DataGrid Control. One of those columns in that DataGrid Control need to contain RadioButton Controls for each row. This is the problem I am running into, I ONLY want ONE RadioButton item can be selected. For some reason, when the...
  15. onedizzydevil

    Datagrid with Radio Button

    I have a Radio button in tha datagrid, if the Radio button is NOT runat=&quot;server&quot; the button will not allow me to selection any of them. If I include runat=&quot;server&quot; the system changes all the ids and values which allows for someone to select them all when I. Has any dealt...
  16. onedizzydevil

    In-depth: Search Pages using Data-bound Ctrls, Index Svr, &amp; ASP.NET

    In-depth: Search Pages using Data-bound Controls, Index Server, and ASP.NET http://www.dotnet247.com/247reference/articles/1/7983.aspx I have been looking for a while on a solution for this in .NET I do a lot of programming against the Indexing Server and this a way you can do it in ASP.NET...
  17. onedizzydevil

    Works in Query Analyzer, does not in ASP.NET, is there a better way?

    This is what works in the Query Analyer and it gives me back the number of times a Editee is listed in the groupUserRoles (association) table, ideally this column would be true or false but I would settle for a number 0 - whatever as long as it is 0 is not in table anything else means is in...
  18. onedizzydevil

    Extra helpful Parameter Info

    Have you seen the Parameter Infor that lets you cycle thought the Overloads. Have you notice on some of them there are addtional Parameter information for example if you do this one: FormsAuthentication.HashPasswordForStoringInConfigFile() It will pop up as...
  19. onedizzydevil

    Extra helpful Parameter Info

    Have you seen the Parameter Infor that lets you cycle thought the Overloads. Have you notice on some of them there are addtional Parameter information for example if you do this one: FormsAuthentication.HashPasswordForStoringInConfigFile() It will pop up as...
  20. onedizzydevil

    Free Toys !!!!

    I ran across this, some of you may be interested in this. Softartisans are offering some free toys. http://www.softartisans.com/ Enjoys! Wayne Sellars &quot;Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe...

Part and Inventory Search

Back
Top