Search:

Type: Posts; User: stricknyn

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. VS 2008 Re: Handle different exceptions of same exception type

    Thanks guys! This is what I was looking for.

    Strick
  2. VS 2008 Handle different exceptions of same exception type

    Hello all,

    Is there a way I can catch and handle two different exceptions within the same exception type? For example:



    Try

    ' My code
  3. VS 2008 Re: Updating an arraylist using a For Each Loop

    Thanks guys. I'll try these out when I get to work.

    Strick
  4. VS 2008 Updating an arraylist using a For Each Loop

    Hi All,

    I can do this with a for loop, but I was just curious if an arraylist can be updated using a for each loop. ie



    For Each arrItem As String In myArrayList

    ...
  5. Replies
    12
    Views
    14,394

    VS 2008 Re: .NET fixed length strings

    Hi Edgemeal,

    Yeah I thought about writing my own class to do this, but I just figured something like this is common and built into the .net framework.

    Thanks,

    Strick
  6. Replies
    12
    Views
    14,394

    VS 2008 Re: .NET fixed length strings

    Hi,

    Thanks for your response. Do you know what these "certain base classes" are? I'd have to use these then because unfortunately I can't deviate from these requirements.

    Thanks,

    Strick
  7. Replies
    12
    Views
    14,394

    VS 2008 .NET fixed length strings

    Hi all,

    I have the following code sample:


    Module Module1
    <VBFixedString(8)> Dim strTest As String = ""

    Sub Main()
    Console.Write(strTest)
  8. Replies
    8
    Views
    4,675

    VS 2010 Returning datareader question

    Hi all,

    Had a datareader question.



    Return myDataReader


    I have a function which is retuning a datareader to various sections of my website which is then being bound to dropdown lists,...
  9. Replies
    1
    Views
    667

    VS 2010 Passing user session to another website

    Hi all,

    I have two websites both of which will share the same users in a SQL DB for membership. The first site is the standard site while the other is a subdomain for admins.

    If the admin logs...
  10. Replies
    1
    Views
    548

    VS 2010 Webcontrol on multiple sites

    Hi All,

    I have a site which uses some custom web controls (.ascx files) that I also want to use on another site. The first site is the main site while the second site is a subdomain for admins. ...
  11. Replies
    9
    Views
    1,541

    Re: Problem While Sending SMS

    Hi, outside of the US, you may have to use the applicable carrier code for the phone number.

    Thanks,

    Strick
  12. Replies
    9
    Views
    1,541

    Re: Problem While Sending SMS

    You can also send an SMS by just sending an email from your app to the carrier's 10 digit number. I listed some of the popular ones below. But you can Google the carrier to find their email...
  13. Replies
    1
    Views
    577

    VS 2010 Binding SortList to Data component

    Hi all,

    I'm wondering if this can be done. I have a SortedList which represents a shopping cart. The sorted list contains multiple instances of my CartItem class. The CartItem class contains...
  14. Replies
    1
    Views
    1,179

    VS 2010 ASP.NET Web Admin Tool not working

    Hi all,

    Ok this is the weirdest thing. I'm wondering if anyone else has encountered this. Ok, I have a website in which the solution and webfiles are in Team Foundation Server's source control. ...
  15. Replies
    4
    Views
    5,090

    VS 2010 Re: Listview header template?

    Thanks guys,

    I'll take a look at this.

    Strick
  16. Replies
    4
    Views
    5,090

    VS 2010 Listview header template?

    Hi all,

    From what I can tell the listview doesn't have a header template. I'd like to be able to list and line up the column names with the data on my list view, but there doesn't seem to be a...
  17. Replies
    5
    Views
    929

    VS 2010 Gridview will only select 1st record

    Hello all,

    I have a gridview which is bound to a sqldtatasource. The gridview has 3 columns and a select button. The data in the gridview pulls up just fine when I run the application and the...
  18. Replies
    11
    Views
    3,542

    VS 2010 Menu control won't display horizontal

    Hi all,

    Had two questions about the ASP.NET menu control.

    1) I have a menu control which is using a SiteMapDataSource. This is bound to a .sitemap file. I have the orientation property set...
  19. Replies
    4
    Views
    839

    VS 2008 Re: Subdomains on the fly

    Hi Gary,

    Thanks for your reply. I'm paying for hosting my site.

    Strick
  20. Replies
    4
    Views
    839

    VS 2008 Subdomains on the fly

    Hi all,

    Just curious if subdomains can be generated dynamically. For example say I have www.mysite.com. In a SQL DB is a list of cities. Can these be used to generate new subdomain for each...
  21. Replies
    5
    Views
    1,007

    VS 2008 Re: Perform all cases in case statement

    Hi,

    Thanks for your reply. Figured as much just thought I'd ask. If statements it is then... :ehh:
  22. Replies
    5
    Views
    1,007

    VS 2008 Perform all cases in case statement

    Hi all,

    Is there a way to make a VB case statement evaluate all the cases? Similar to a java switch statement (without the break).

    Thanks,

    Strick
  23. Thread: Copy error?

    by stricknyn
    Replies
    2
    Views
    1,506

    Re: Copy error?

    I thought this could be the case too. But there are other .adt files that are local that my code can access just fine. It's just this one file. The only real difference between this file and the...
  24. Thread: Copy error?

    by stricknyn
    Replies
    2
    Views
    1,506

    Copy error?

    Hello all,

    I am using the ado.net advantage provider to access a Advantage .adt file. The file is very large (about 2.5 gigs) and is called log.adt. Here is my code:



    Dim conn As New...
  25. Replies
    3
    Views
    751

    VS 2008 Re: Performance counter error

    Hello,

    Thanks for your response. Yes I know what they mean and still cannot get it to work (spent about an hour trying to get it to work and surfing the net for answers) which is why I turned to...
  26. Replies
    3
    Views
    751

    VS 2008 Performance counter error

    Hello all,

    I have this code sample from a book I'm reading which looks to be incorrect:



    Imports System.Diagnostics

    Sub Main
    Dim pc As New PerformanceCounter("PerfApp", "Clicks",...
  27. Replies
    5
    Views
    4,671

    Re: Sybase .ADT files

    Hi,

    Yep it's possible. I had a project a few years ago where I used to connect right to comma delimited text files.

    For this project your advice was very helpful. I was able to download the...
  28. Replies
    2
    Views
    546

    VS 2008 View tables in open connection

    Hello all,

    Is there a way that I can vew the tables once I have connected to an open connection?


    ' create a connection object
    Dim conn As New AdsConnection(MyConnectionString)

    ...
  29. Replies
    5
    Views
    4,671

    Re: Sybase .ADT files

    Hello, thanks for your response. I think this was where I am really confused. The connection strings here look like they are for connecting to a Advantage database where I need to connect to a file...
  30. Replies
    5
    Views
    4,671

    Sybase .ADT files

    Hello all,

    Has anyone ever had to load a .ADT (Advantage database) file into a SQL Database? I'm exploring any option I can (vb, ssis, etc.) since I haven't figured this out yet. I'm not sure...
  31. Replies
    5
    Views
    781

    VS 2008 Re: Where is application .config file?

    To add, the file must be there. Because I can access it and add to it from my program:




    Dim config As Configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None)
    ...
  32. Replies
    5
    Views
    781

    VS 2008 Re: Where is application .config file?

    Yeah, it's the weirdest thing. Even after right clicking the project in solution explorer and clicking build it wasn't there. I also tried "build solution" and "rebuild solution" under buil menu and...
  33. Replies
    10
    Views
    1,087

    VS 2008 Re: Entered Text as currency

    I understand. Guess we just have two different philosophies on that. :-)

    One thing I noticed though is that your method uses Double.TryParse. That means any double number will be valid. I...
  34. Replies
    10
    Views
    1,087

    VS 2008 Re: Entered Text as currency

    Hi all,

    Minitech, I have to disagree with you on that one. Regular expressions are made for this sort of thing. And you can validate a string with just a few lines of code and not have to write...
  35. Replies
    10
    Views
    1,087

    VS 2008 Re: Entered Text as currency

    I'm not real strong at it, but have a look at regular expressions. These are pretty good at validating strings

    Strick
  36. Replies
    5
    Views
    781

    VS 2008 Where is application .config file?

    Hello all,

    Can someone tell me where this is? Most places on the net say it's in same folder as the .exe, but when I look in there I don't see it. There is an .xml file in there but that doesn't...
  37. Replies
    2
    Views
    630

    VS 2008 Re: Where is event log?

    Great, thanks!

    Strick
  38. Replies
    6
    Views
    873

    VS 2008 Re: Application Domain question

    Hi yeah, that was where I was confused. I tried everything, including pointing to the .exe in my own project which of course didn't work. The book didn't state that I needed to create a reference...
  39. Replies
    6
    Views
    873

    VS 2008 Re: Application Domain question

    Hello,

    Error was posted (see first post). It was a file not found exception.

    Thanks,

    Strick
  40. Replies
    2
    Views
    630

    VS 2008 [RESOLVED] Where is event log?

    Hi all,

    I have:



    System.Diagnostics.EventLog.WriteEntry("Application", "Exception: " + ex.Message.ToCharArray)

    in my catch block. Does anyone know the location of the event log so I can...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width