Search

You searched for the word(s): userid:693313

Matching Posts

  • Re: my first object?

    That's perfect! Thanks so much for taking the time to code it out for me...now it all makes sense!
    Posted to Visual Basic .NET (Forum) by dotnetnoob on 11/24/2009
  • 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 folder on the server. After the image manipulation is complete, I need to take the information about the new image (size, name, etc.) and store it in a SQL2005 table, along with other information submitted in a form along with the posted file. I currently do all of this in a single sub that's invoked by the form's submit
    Posted to Visual Basic .NET (Forum) by dotnetnoob on 11/20/2009
  • Re: very slow FTP

    Just some final observations: VWD2008Express sp1 did not resolve the slow ftp. FTP performance when connecting to Server 2008 was much better than Server 2003 (?). Upgrading from Vista sp2 to Windows 7 RTM resolved all the FTP issues. FTP just flies on Windows 7...yay
  • Re: "access denied" saving to project on mapped drive?

    OK, solved it...needed a reboot to reload the permissions, it seems.
    Posted to Visual Studio 2008 (Forum) by dotnetnoob on 9/28/2009
  • "access denied" saving to project on mapped drive?

    Hi All: Sorry if this is off-topic. I migrated my development computer from vista to win7 and am getting the above error trying to edit project files opened from a mapped network drive. I'm logged into the computer with a domain user account, and I re-mapped the drive in the domain user profile. On the server I have give domain users "full control" on the folder with the project. I can open a file in notepad and save it to the share without a problem, and I can open a project in VS2008
    Posted to Visual Studio 2008 (Forum) by dotnetnoob on 9/27/2009
  • validating duplicate number sequence?

    Hi All: Is there any way to validate, either with a validation tool or regex, a sequence of duplicate numbers, like "111-111-1111". I need to catch and prevent submission of such a string.
    Posted to Web Forms (Forum) by dotnetnoob on 9/16/2009
  • Re: validating duplicate number sequence?

    [quote user="papabear"] If you have a specific length in mind (or design) you can probably do either. In code: string _myData = "111-111-1111"; Regex _matchingPattern = new Regex("^[0-9]{3}-[0-9]{3}-[0-9]{4}$"); bool _acceptable = false; if(!String.IsNullOrEmpty(_myData) && Regex.IsMatch(_myData, _matchingPattern) { string _alteredData = _myData.Replace(_myData.SubString(0,1), "z"); _acceptable = Regex.IsMatch(_alteredData, "^zzz-zz-zzzz$"
    Posted to Web Forms (Forum) by dotnetnoob on 9/16/2009
  • Re: looping through string array (vb)

    Thanks for the help. I'm curious as to why explicitly setting the size of the array causes a problem, though? Is the split function messing with the size? should one never explicitly set the size of an array when assigning values to it with split? I had originally set it up without the for loop, and if did something like Dim myKey(1) As String If InStr(key, "-") Then myKey = Split(key, "-") var1 = myKey(0) var2 = myKey(1) Else Return End If That works fine, so I know the length
    Posted to Getting Started (Forum) by dotnetnoob on 8/30/2009
  • Public function on default page or somewhere else?

    Hi All: I have a public function declared in my code-beside on default.aspx.vb. I needed to add a second page to my project and copied and pasted that function into the second page, but when I test the page I get an error saying there's a conflict with the same public function on the default page. If I remove the function from the second page, i don't get the error, but will it still be accessible if called on that page, even though it's on the default page? Or do I need to place it somewhere
    Posted to Visual Basic .NET (Forum) by dotnetnoob on 8/30/2009
  • Re: looping through string array (vb)

    [quote user="mbanavige"] [quote user="dotnetnoob"] I'm curious as to why explicitly setting the size of the array causes a problem[/quote] It didnt - but it was unnecessary. The split function itself creates and returns a new array. Your error was caused by how you had indexed into that array. [/quote] Cool...thanks for that explanation!
    Posted to Getting Started (Forum) by dotnetnoob on 8/30/2009
Page 1 of 38 (372 items) 1 2 3 4 5 Next > ... Last ยป