Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. Using an SqlCommand and the .ExecuteNonQuery() method, then ... "INSERT INTO tableName (field1) VALUES ('" & textBox1.text & "')"
  2. I have a silly question, does the dropDown have runat="server" ?
  3. I really hope it's not possible. Imagine the possiblities. :eek:
  4. Public Function SaveToFile(ByVal saveThis As String) As Boolean Try Dim sb As New FileStream(Application.StartupPath & "\test.txt", FileMode.OpenOrCreate) Dim sw As New StreamWriter(sb) sw.Write(saveThis) sw.Close() Return True Catch Return False End Try End Function Private Function OpenFile() As Boolean Dim sr As StreamReader sr = File.OpenText(Application.StartupPath & "\test.txt") Dim strItems As String 'loop through the text file While sr.Peek <> -1 strItems = sr.ReadLine() 'using [b]strItems[/b] add eachline to something here End While sr.Close() Return True 'file was there...with no errors End Function
  5. Can you provide a link?
  6. Did you design the form in the designer? trace this (code-behind).... Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If Not IsPostBack Then 'place something here else 'place something here end if
  7. I missed that thread, and yes I hope too that the next version allows devs to add it to the code...
  8. I think the default is 4k
  9. Wyrd, I do the same thing, although I didn't change it in the options, I still fixed each line after the autoformat was done and they stayed in place.
  10. Hmmm, someone asked about this last month, where were you then?. I'm kidding. :) Thanks wyrd.
  11. I have a kind of list of all the languages that I use (in my resume), next to each language I put... Expert, intermediate or beginner. So even though at one time I was quite proficient in C++, I now put that I'm only Intermediate. Just a thought.
  12. You're not getting me, what constitutes those "certain times"?
  13. No, you said you want to be able to enable/disable it. what is your criteria for doing so?
  14. At which time do want to enable or disable it?
  15. Sorry, the Locked is only for moving and resizing at design time only.
  16. You can set Lock = True or in th Click event Focus on another control
  17. I wanted to add to this topic but you (Nerseus) covered it real well.
  18. Good point Banjo.
  19. That was me. :) What I said about the rep of a school is to get you into the interview (foot in the door), not so much to land a job.
  20. you forgot the slash... writer = New StreamWriter(sPath & "/NewFile1.txt", False)
  21. The reputation of a school is quite important, so a BS from a reputable college does carry some weight. If you're willing to do an internship, go for it. That'll get your foot in the door, and hopefully you'll meet people in the field that may help you with future job hunts.
  22. hmmm, I have seen Excel do a step-through (excel object) and then open a new session from the desktop. This is weird....
  23. Nerseus is right on, I have never been asked for my resume, as I work mainly on contracts, although employers do ask for resumes. They really care more for experience (work history) more than a diploma. But as Nerseus mentioned, if you have no work experience then all you can have in your favor is a diploma. Basically, if they were to choose between a person with 3 years of school and another with 3 years of work experience, they will pick the latter.
  24. Is this on a hosted server or your own machine? Just so you know, PhysicalApplicationPath gets the physical directory and path on the HDD. It may be better to do something like this.... Dim sPath As String = Server.MapPath("WebApplication1") 'I wrote 'WebApplication1' because that is the name of you project (you posted above).
  25. Is the event in the code-behind or on the aspx file?
×
×
  • Create New...