User Profile

Collapse

Profile Sidebar

Collapse
jaketrimble
jaketrimble
Last Activity: Jan 11 '07, 09:36 PM
Joined: Jan 6 '07
Location: Arlington, DC
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • that error is coming from your SQL string...

    what is "q" equal to?

    i did not see it defined in your previous post.

    make sure even if "q" is defined, that it has a value assigned to it...

    also if "q" is a string, you will need to change your syntax...

    Code:
    TeX='" & q & "'
    if you need anything else, let me know!...
    See more | Go to post

    Leave a comment:


  • jaketrimble
    replied to Add counter to a dataset
    in .NET
    Hey!
    unfortunately this is not a short answer...so before I send you the answer, can you please send an example of what you have for this so far to include any HTML? and I will send you and example of what you need to do.

    Basically, at ItemDatabound, we will designate which rows contain the counter, then we will apply some style attributes to those rows, thus breaking them up nicely!...
    See more | Go to post

    Leave a comment:


  • jaketrimble
    replied to String Separation
    in .NET
    if the string above "12/12/2003" will always be in that format then you could try this.

    Dim d as string = "1/9/2007"
    Dim a as array = split(d, "/")

    'Now we have split the date up into 3 different ordinals 1, 9, and 2007

    'Next you return the last ordinal...remem ber indexing always starts at 0

    Return a(2)


    or you can do this......
    See more | Go to post

    Leave a comment:


  • you should be able to do this...

    for each ...

    combobox.items. add(System.IO.P ath.GetFileName (xlsFile))

    next......
    See more | Go to post

    Leave a comment:


  • jaketrimble
    replied to ASP code in page with .SHTML extension
    in IIS
    also, this technique can be applied to other static pages. I first discovered this when I was trying to secure static documents and images within a .NET application. so for "static" documents like .doc, .pdf, .jpg, .gif...etc....y ou can just add these extensions and use the dll that should handle them, like you did for your shtml page.

    by doing that, if users were not logged into that directory, if they would try to access...
    See more | Go to post

    Leave a comment:


  • jaketrimble
    replied to ASP code in page with .SHTML extension
    in IIS
    No, they both do not need to be in there. I just wanted to make sure you kept the path to that dll saved, just in case you needed to change it back, or it did not work for some reason.

    glad to help

    -Jake...
    See more | Go to post

    Leave a comment:


  • I am not exactly sure, but you have declard ExcelFile as a string, but it has no assigned value.

    When you move to your "for each" statement ExcelFile is still empty.

    rough example:

    dim xlsFile as File or Object 'im not sure

    for each xlsFile in system.io.direc tory.getfiles(" blah","*xls")

    combobox.items. add(xlsfile)

    next xlsFile
    See more | Go to post

    Leave a comment:


  • 1. in IIS look at the "properties " of the directory for which you want to see the start up page.

    2. once the dialog box opens I am pretty sure you select the "documents" tab...if not just click through the tabs until the next step makes sense.

    3. You should see a list of possible start pages i.e...

    index.asp
    default.asp
    default.htm.... you get the picture

    ...
    See more | Go to post

    Leave a comment:


  • jaketrimble
    replied to ASP code in page with .SHTML extension
    in IIS
    in IIS go to "properties " of the directory that holds the .shtml pages that have the ASP code, then on the Directory tab click on "Configuration" , then choose the "Applicatio n Mappings" tab.

    Ok, if you have got this far you are almost done.

    find the .asp extension click edit

    copy the path to the .dll file that handles the execution.

    then close the window...
    See more | Go to post

    Leave a comment:


  • jaketrimble
    replied to back button error
    no problems here. sounds like a virus on that users computer.
    See more | Go to post

    Leave a comment:


  • check the css for the class on the paragraph "style34". this problem is caused in FF when an element is set to "position:absol ute" and then the width of that item exceeds the encapsulating item. It should be a simple fix and you do not need to remove position:absolu te.

    hope this helps...
    See more | Go to post

    Leave a comment:


  • [html]<input name="mypass" type="password" />[/html]
    See more | Go to post

    Leave a comment:


  • not sure the problem is "calling file from outside of the main code of the programming." I am not familiar with the above scan stuff but nevertheless, the error you are receiving is usually generated when you are calling a variable that does not exsist...for instance the title of this is "LOOP PROBLEM" and I don't see any looping code...I would imagine that your loop statement has a problem like this example...

    ...
    See more | Go to post

    Leave a comment:


  • jaketrimble
    replied to A vb code shows the use of datakeys
    in .NET
    Update Example:
    Code:
    Dim key as String = Datagrid1.DataKeys(e.Item.ItemIndex)
    
    StoryDA.SelectCommand.CommandText = "SELECT * FROM Story_Master WHERE SID=" & key
            StoryDA.UpdateCommand = OleDbUpdateCommand1
            Dim workParm As OleDbParameter = StoryDA.UpdateCommand.Parameters.Add(key, OleDbType.Integer)
            workParm.SourceColumn = "SID"
            workParm.SourceVersion
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...