dcsimg

Search:

Type: Posts; User: lleemon

Page 1 of 13 1 2 3 4

Search: Search took 4.39 seconds.

  1. Replies
    4
    Views
    620

    VS 2013 Re: Writing to file has weird characters

    I think I figured it out, the host had put the following in the web.config file. After I removed it seems to work again. Any reason a shared hosting company would do that?

    Appreciate all your...
  2. Replies
    4
    Views
    620

    VS 2013 Re: Writing to file has weird characters

    Thanks for the reply,

    I changed to the following and get a new value but still there:


    'define object for reading text
    Dim sr As StreamReader = New...
  3. Replies
    4
    Views
    620

    VS 2013 Writing to file has weird characters

    So I have code that outputs to new file and outputs fine but I keep getting weird characters on the first line.

    Her is my code snippet:


    'define object for reading text
    Dim sr...
  4. Replies
    2
    Views
    1,052

    VS 2013 Re: CookieContainer SetCookie error

    Thanks KGComputers, tried and posting site didn't like me doing that.
  5. Replies
    2
    Views
    1,052

    VS 2013 CookieContainer SetCookie error

    I have a request function that allows you to pass url and parameters and will return source which typically works but just not getting an error in the HttpWebResponse cookie header.

    The error I...
  6. VS 2013 asp:LoginView w/ asp:Menu how to dynamically add asp:MenuItem in codebehind

    I have a master page that is using a user control which as an asp:LoginView w/ asp:Menu. based on RoleGroups. I can't get how to dynamically add an asp:MenuItem in codebehind?



    <%@ Control...
  7. Replies
    0
    Views
    810

    VS 2013 Regex backtracking issue

    I have the following function that works great until recently I had issues. Found the following html would cause it to just hang due to regex backtracking.

    Any ideas on how to change the regex...
  8. Replies
    1
    Views
    797

    VS 2013 HttpWebRequest WebException

    I have a vb.net service that has a part where it calls a function that is built to take a url and get the source code using HttpWebRequest.

    On my development machine it works as expected. When I...
  9. Replies
    1
    Views
    541

    VS 2013 Log to file 'cannot access' issue

    I am appending data to a log file but started getting the following error. Is there a better way to do this?

    Error: The process cannot access the file 'c:xx' because it is being used by another...
  10. Replies
    8
    Views
    1,061

    VS 2013 Re: Loop through array object

    Thanks for all that replied but still isn't working.



    Dim aR As List(Of asfData) = myItems.GetData("abc", "z12356")

    Error value:
    Value of type '1-dimensional array of...
  11. Replies
    8
    Views
    1,061

    VS 2013 Loop through array object

    I have a web service that I call that returns an object of data that I am trying to loop through in my vb.net app.

    I can't figure out how to read it in the vb.net app and then loop through.
    ...
  12. VS 2010 Re: Reading excel data into dataset loses data

    I got it working by adding IMEX=1 in the connection string. Guess this is the safest way to retrieve data of mixed types.
  13. VS 2010 [RESOLVED] Reading excel data into dataset loses data

    I have a client that provides a .xls file on their site that we have no control over that we download the file and then read it to update inventory. The first column is the SKU and in cell A2 it has...
  14. VS 2010 Can't consume Magento API in Visual Studio 2010

    I am trying to consume the Magento 1.7.0.2 api via asp.net page but I can't seem to get a handle to the web service api. Here are the steps I am currently taking. Any advice on what I am doing wrong...
  15. Replies
    4
    Views
    1,069

    VS 2012 Re: Writing a scalable asp.net application!

    I would google "Missing Index Script Pinal Dave" and use this script to see if you have any processes that could use an index to speed things up. We saw a few and sped things up considerably. I...
  16. VS 2010 Web forms routing error with dot in folder name

    I have a site that I setup and users can create dynamic links and part of the link is their company name. Well just found out that if the name of the company has a dot (. or period) then the...
  17. VS 2010 Re: Can't get Linq query to return expected results.

    Thanks.

    This works and can modify off of it. Appreciate the assistance.




    Dim query1
    Dim query2
  18. VS 2010 Re: Can't get Linq query to return expected results.

    I tried the code below but get "Object reference not set to an instance of an object." on oResult1 in for each statement.

    Anyone have an example that is similar to what I am doing?



    Dim...
  19. VS 2010 Can't get Linq query to return expected results.

    I have a array list and am using like a database trying to search for ChildID and ParentID based on certain criteria.

    My example below has the following keywords to search for:
    Yellow, Mustard,...
  20. VS 2010 Get data from page to know how many dynamic controls to load to grab values

    I currently have a page that has 2 panels. First panel has a textbox and a button, second panel has 3 textbox and a button but this panel is not visible intially.

    On load, the user needs to enter...
  21. VS 2010 Re: Best way to create class to return data as List object

    Figured it out.

    Needed to do it like so:



    For Each leRow As ListEntry In lfResult.Entries
    'create new instance of object
    MyGoogleCategoryList = New GoogleCategoryList()
  22. VS 2010 Re: Best way to create class to return data as List object

    Embarrassing :-) That did help but now my result count is right but the output for each is the last row.
  23. VS 2010 Best way to create class to return data as List object

    I have a Google spreadsheet that I am reading data from and I want to load the data into a list object so I can use but I am having some issues.

    Google Spreadsheet
    -Worksheet name: Charts
    -Tab:...
  24. Replies
    3
    Views
    737

    VS 2010 How to modify a jpg image attributes

    In windows 7, windows explorer, if you click on a jpg image at the bottom you see the following:
    -filename
    -Tags: Add a tag
    -Rating:
    -Dimensions:
    -Size:
    -Title: Add a title
    -Authors: Add an...
  25. Replies
    4
    Views
    1,434

    VS 2010 Re: DataGrid update command runs twice

    I just put that in for testing. It happens without as well. Thanks for checking it out.
  26. Replies
    4
    Views
    1,434

    VS 2010 Re: DataGrid update command runs twice

    The following function handles it in dgCourses_UpdateCommand:
    oSE.FormSendEmail
  27. Replies
    4
    Views
    1,434

    VS 2010 DataGrid update command runs twice

    I have a page that has a datagrid on it and using inline update functionality and when I click the edit link, update text and click update link it updates fine but I put an email function in and I...
  28. VS 2010 Re: GridView EditItemTemplate CheckBoxList not showing up every other row.

    This is what I got to work.



    Protected Sub gvRecruiters_RowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs)
    Dim drv As DataRowView = CType(e.Row.DataItem,...
  29. VS 2010 Re: GridView EditItemTemplate CheckBoxList not showing up every other row.

    That doesn't work. The following will not work:


    e.Row.RowType = DataControlRowState.Alternate
  30. VS 2010 [RESOLVED] GridView EditItemTemplate CheckBoxList not showing up every other row.

    I have a Gridview that works and in one of the TemplateFeld EditItemField I have a checkboxlist that I dynamically create based on the row ID. My first and third row work as expected, when I click...
  31. Replies
    0
    Views
    1,279

    sqlparameters function error

    I am getting the following error:
    Unable to cast object of type 'System.Boolean' to type 'System.Data.SqlClient.SqlParameter'.

    Is there a better way of passing a parameters to a generic function...
  32. Replies
    2
    Views
    1,168

    VS 2010 webforms url rewriting in localhost errors

    I have a site using webforms with framework 4.0. I am trying to get url rewriting to work locally. My local root appeas as follows: http://localhost:8241/sitename.com

    When I go to...
  33. VS 2010 domain redirecting but domain/default.aspx works fine

    When I go to http://www.domain.com/ or http://www.domain.com it redirects to the following:
    http://www.domain.com/login.aspx?ReturnUrl=%2f

    I can add new routes and they seem to work fine. It's...
  34. VS 2010 Re: xmldocument help reading data from xml

    Figured it out.

    Need to change


    Dim xNodesList = xdoc.SelectNodes("/ArrayOfAsfSku/asfSku/SkuVal", nsMgr)


    To this
  35. VS 2010 [RESOLVED] xmldocument help reading data from xml

    I can't seem to loop through my xml results. Here is what I have so far. I did testing by replacing the namespace (xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
  36. VS 2010 mvc 4 simplemembership questions with existing sql server database

    I currently have an old classic asp (.asp) site that is using SQL Server (tables, stored procedures, views, etc..)
    This has a 'Personnel' table that has ID, email, password, name, phone, role,...
  37. Replies
    2
    Views
    933

    Re: weird characters showing up in html

    Thanks for the reply. That didn't work but did end up trying some regex and seems to work.


    strPattern = "[^\x20-\x7E\t\f\n\r]"
    strReplace = " "
    outstr = RegExpReplace(outstr, strPattern,...
  38. Replies
    2
    Views
    933

    weird characters showing up in html

    I have a project that gets input from an xml file that we extract information from select nodes.

    One of the does we take the info and just output in a <pre> tag since it's already formated from...
  39. Replies
    0
    Views
    1,251

    VS 2010 Error when creating pdf with itextsharp

    I am trying to write on an existing pdf and get the following error:

    System.IO.IOException: The process cannot access the file 'c:\www\vhosts\domain.com\httpdocs\certificates_out\####xxxxx.pdf'...
  40. Replies
    1
    Views
    1,134

    VS 2010 how to add/update jpg keywords tag data

    We currently have a large amount of images that we would like to add specific product name text to the image 'Keywords tag'. Currently the images do not have this info so will need to be added.
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width