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 SkipVought 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. bradlkm

    Overcoming large image map problem in IE

    Hi all, On one of our web applications, an image is created dynamically. On this image the user can hover the mouse over some parts of the picture to get certain information, and can then click on these same annotations to edit them. In order to do this, I create an image map along with the...
  2. bradlkm

    form variables in runat="server"

    Emma, Check out this post on .Net 247: http://www.dotnet247.com/247reference/msgs/18/90330.aspx It seems that he had the same problem that you have and was able to fix it. It is basically the same fix as I gave you, but he uses a bit different way to get the XML (uses an IOStream) Just...
  3. bradlkm

    Odd glitch with datagrids...

    Is your datagrid in a panel that has its visible property set to false? If so, each time you access the panel, it can reset its visible property to false. Then, when you run your code and set the panel's visible property to true, the datagrid is still hidden. I may be assuming too much, but I...
  4. bradlkm

    Clearing an array

    Since the array is now "nothing" then you can not try to access the array without getting an error. Simply check to see if it is nothing: if myArray is nothing then 'Array has been cleared else 'Array has not been cleard end if HTH! Kevin B. .Net Programmer [thumbsup]
  5. bradlkm

    form variables in runat="server"

    Hmmm. . . okay, too bad it wasn't the simple solution. . . . those are always more fun! The error you are getting is a product of the ds.ReadXML(url) statement. The XML you are trying to read probably has some sort of weird character in it. Try using a XMLTextReader to read in the XML first...
  6. bradlkm

    form variables in runat="server"

    The request.form should work. . . why do you have a semi-colon in that line of code? If you take it out, it will probably work. If not, what error is it giving? Kevin B. .Net Programmer [thumbsup]
  7. bradlkm

    replaceing information in an array

    Probably because the string is empty. . . you just need to surround it with an if statement: For i = 0 to 48 For k = 1 to 4 if not proparray(i, k) = "" then proparray(i, k) = left(proparray(i, k), len(proparray(i, k)) - 1) proparray(i, k) += " &quot...
  8. bradlkm

    replaceing information in an array

    Try this: For i = 0 to 48 For k = 1 to 4 proparray(i, k) = left(proparray(i, k), len(proparray(i, k)) - 1) proparray(i, k) += " " Next k Next i (explaination: It stores the every character but the last one in proparray(i, k), and then adds a...
  9. bradlkm

    Multidimensional arrays

    You must declare the bounds of your array. For example, instead of having: Dim proparray(,) as string You could have: Dim proparray(5, 100) as string Or: Dim Dimension1Size as integer = 5 Dim Dimension2Size as integer = 100 Dim proparray(,) as string Redim proparray(Dimension1Size...
  10. bradlkm

    Drop Down List not working

    When do you call the code that does the databinding? If it is called from "Page_Load", then it will rebind the data before the "txtVCP_SelectedIndexChanged" code is run, which will cause the value to always be A. If it is called from the Page_Load function, you may need to...
  11. bradlkm

    Manually Restart ASP.NET App

    Cool. Thanks! Kevin B. .Net Programmer [thumbsup]
  12. bradlkm

    Manually Restart ASP.NET App

    Interesting concept. Could one of you define "touching" web.config? Thanks! Kevin B. .Net Programmer [thumbsup]
  13. bradlkm

    Graphics / Drawing in asp.net

    In order to print graphics to a browser, you cannot simply print them to the page (unfortunately). You must use the graphics tools to create a graphics file, and associate that with an image. I wish I could find the URL of the site that got me started so I could give it to you, but I cannot...
  14. bradlkm

    DataGrid in a DataGrid

    thread855-450475 Kevin B. .Net Programmer [thumbsup]
  15. bradlkm

    session in a vb class file

    gagz, You were very close! You already had all the code you need on the page :) Use the same context reference for session as you do for request: System.Web.httpContext.Current.Session("userid") = System.Web.httpContext.Current.Request.etc.etc.etc... HTH, Kevin B. .Net...
  16. bradlkm

    Newbie: My First Update Page

    Your quotes are misplaced on your update command. It should look like this: cmHits.CommandText = "UPDATE tbl_hits SET hits = '" & incHits & "'" Note that the only single quotes that are used are around the value that is being inserted (in this case, incHits). As a side...
  17. bradlkm

    Unable to put a listbox index to -1

    Just use listA.ClearSelection. This should do what you want it to do! (I don't know why you can't manually do it. . . one of the great mysteries of the universe :-D) HTH Kevin B. .Net Programmer [thumbsup]
  18. bradlkm

    LOG IN PROBLEMS

    Chad, If you are storing the login with a session variable, then it is possible that user that cannot log in has his browser set to disallow cookies. You can fix this by changing the server to allow cookie-less sessions, or by having a script that checks to see if the browser does not allow...
  19. bradlkm

    Values won't change...please help

    You are trying to access the wrong data. The cell(n).text field will not have changed, but the data in the textbox field will have changed (remember that when you go into edit mode, the cell text is merely hidden and replaced with a textbox). For example, if the field you are updating is in...
  20. bradlkm

    What's wrong with my Datetime statement

    You'll usually get this error if you have already declared this variable earlier in your function. Make sure you haven't already dim'ed it earlier! HTH Kevin B. .Net Programmer [thumbsup]

Part and Inventory Search

Back
Top