Search Results - VBForums

Search:

Type: Posts; User: KGComputers

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds; generated 15 minute(s) ago.

  1. Replies
    15
    Views
    1,059

    Re: asp could not find a part of the path

    You mean this thread is resolved? if yes, mark this thread as resolved..

    KGC
  2. Replies
    7
    Views
    275

    Re: Hello I am new Here.

    Hello! :)

    :wave:
  3. Accessing Rows and Cells in a WPF DataGrid

    Hi,

    Most of the examples out there on how to access a WPF Row and Cell are in C#.

    So, here's a VB.NET version of those extension methods defined in a Module and it's implementations are...
  4. VS 2008 Re: How to add all the value from listview using vb.net?

    I forgot to add the Text Property after SubItems.

    Convert.ToInt32(ListView1.Items(i).SubItems(3).Text)


    KGC
  5. Re: Connection String is Being Ignored

    Hmmm, it's been a while since I've used sqldatasource or datasource wizards. But since the issue is more on connectionstring ignored and pertains to asp.net membership,
    i'll provide you with some...
  6. Databinding ASP.NET GridView with jQuery

    Hi all,

    Here's an example of databinding an ASP.NET Gridview with jQuery. The jQuery binding occurs when a dropdownlist keyup/selection occurs.
    For the server side, I bind the gridview with all...
  7. VS 2005 Re: Pleaes convert this code form php to ASP.net

    I dont know PHP. So, what's the functionality or purpose of that code?

    KGC
  8. Re: Connection String is Being Ignored

    Hi,


    Normally in an ASP.NET app, connection strings are saved in web.config whether generated by wizard controls or manually defined. This must have caused the issue you mentioned in your first...
  9. VS 2012 Re: DataGridView backcolor not working in Windows 8

    If these are datagridview combobox cells, see link below on FlatStyle Property:
    DataGridViewComboBoxCell.FlatStyle Property
  10. VS 2013 Re: [RESOLVED] Gecko Browser - Get Element by ID

    Great! :afrog::thumb::afrog:
  11. VS 2008 Re: How to add all the value from listview using vb.net?

    If you want to loop through the listview, refer to snippet below.

    Dim totalMinutes As New Integer
    For i = 0 To ListView1.Items.Count - 1
    ' replace 3 with the subitem you want to access
    ...
  12. Thread: Post Race!

    by KGComputers
    Replies
    57,270
    Views
    1,790,029

    Re: Post Race!

    CyberSurfer's last post

    He started what turned out to be the greatest VBForum thread.. :D
  13. Replies
    3
    Views
    511

    Re: MVC 4 and VS 2012 [error]

    Hi,

    This is a broad exception in MVC 4. The cause can be in Membership Provider or IIS or web.config.
    Here are some links to investigate:
    access-denied-error-after-setting-up-mvc-application...
  14. Replies
    2
    Views
    293

    Re: [RESOLVED] simple string question./

    Just an add-on and for future reference, there's string.format().


    file.WriteLine(string.Format("<FIELD ID=\"{0}\" xsi:type=\"CharFixed\" LENGTH=\"9\" />"), xmlf.FieldID.ToString());


    KGC
  15. VS 2013 Re: Gecko Browser - Get Element by ID

    Hi,

    Yes, I'm using Gecko Web Browser.
    Is your website highly confidential? one member asks if you
    can provide a link.

    KGC
  16. VS 2008 Re: How to add all the value from listview using vb.net?

    Maybe you could post some screenshot/sample output based on your requirement.

    KGC
  17. VS 2013 Re: Gecko Browser - Get Element by ID

    Client1.Document.GetElementById("username").SetAttribute("value", Textbox1.Text)
    Client1.Document.GetElementById("password").SetAttribute("value", Textbox2.Text)

    The code above and the sample I...
  18. VS 2010 Re: Gecko Browser view-source to RichTextBox

    Have you tried accessing the innerhtml of the webpage? See code below.

    RichTextBox1.Text = GeckoWebBrowser1.Document.GetElementsByTagName("html")(0).InnerHtml


    KGC
  19. VS 2008 Re: Populate DataTables with Primary Key values from another datatable

    Here's from MSDN, a compilation of topics on DataSets, DataTables and DataViews. This is part of my bookmark list.. :)
    DataSets, DataTables, and DataViews

    KGC
  20. VS 2013 Re: Gecko Browser - Get Element by ID

    Try this:


    Dim userDoc As GeckoDocument = Client1.Window.Document
    Dim userElement As = userDoc.GetHtmlElementById("username")
    If (userElement Is Not Nothing) Then
    ...
  21. VS 2008 Re: Dropdown value (if changed, then... )

    In this code:

    If Page.IsPostBack Then
    ViewState("PreviousTicketStatus") = TicketStatus.SelectedValue
    End If

    I assume you need to obtain the current selected value of the dropdown control. Try...
  22. VS 2010 Re: List(Of String) - Put first 100 values into a 2nd List(Of String)

    There's an AddRange() method in List.

    list2.AddRange(list1.Take(100))
  23. Thread: Post Race!

    by KGComputers
    Replies
    57,270
    Views
    1,790,029

    Re: Post Race!

    .-- .-- .-- .-.-.- ...- -... ..-. --- .-. ..- -- ... .-.-.- -.-. --- --
  24. Re: [RESOLVED] How to set DataGrid Cell Color

    Hi,

    Your welcome.... :)

    KGC
  25. VS 2013 Re: How to populate listview data from ms access data table

    See section on ADO.NET as mentioned by @tg
    Database-Development-FAQs-amp-Tutorials-updated-May-13-2011

    KGC
  26. Replies
    5
    Views
    1,389

    Re: WPF DataGrid Help

    Using the extension method GetRow() here:
    How-to-set-DataGrid-Cell-Color.

    Here's how you implement it.

    'paint entire row code
    For index = 0 To grid1.Items.Count - 1 Step 1
    Dim...
  27. Re: How to set DataGrid Cell Color

    Your code throws an exception. In order to access datagrid row/cell, define an extension method to return the DataGridRow.

    Module DataGridExtensions
    <Extension()>
    Function GetRow(ByVal grid As...
  28. VS 2013 Re: Getting the ApplicationUser object in a controller

    Try passing the Name property instead of user id.

    userManager.FindByNameAsync(User.Identity.Name).Result;


    FindByNameAsync Method
  29. Replies
    2
    Views
    443

    Re: More Free eBooks from Microsoft

    Thanks.. :) :afrog::thumb::afrog:
  30. Replies
    0
    Views
    1,121

    Read-only column on GridView Row Editing

    Here's how to make a specific gridview column read only when a gridview row editing event has been triggered.
    See RowCreated event on making a gridview column read only.



    Protected Sub...
  31. VS 2013 Re: Any better method to click 3th div with specific class name?

    Assuming your div's index to invoke is always 3, see code below.


    If WebBrowser1.Document.GetElementsByTagName("div")(3).GetAttribute("ClassName") = "stdbtnnrmWithFrame" Then
    ...
  32. Thread: MartinLiss

    by KGComputers
    Replies
    60
    Views
    4,014

    Re: MartinLiss

    Are you happy now? :D
  33. VS 2013 Re: Insert record in child table when parent record is created.

    @jmcilhinney answered with a code snippet in this thread.
    how-to-insert-data-into-multiple-tables

    KGC
  34. Re: replace Form Submit button with Asp.net button

    See snippet below..Not fully tested though...


    <form id="form1" runat="server" method="post" action='<% Response.Write(ConfigurationSettings.AppSettings["BaseUrl"] + "MakePayment"); %>'>
    <div>...
  35. Thread: Sorting

    by KGComputers
    Replies
    4
    Views
    355

    VS 2010 Re: Sorting

    If you will retrieve data from excel file, you can save the data into a list object.
    It has a built in Sort method.


    Dim items As New List(Of String)

    ' replace items with...
  36. VS 2008 Re: Dropdown value (if changed, then... )

    I noticed in your code below that you set the viewstate twice for postback and pageload. If TicketStatus is a an asp.net dropdown control, did you
    set it's autopostback property to true?

    If Not...
  37. VS 2008 Re: Dropdown value (if changed, then... )

    I noticed in your code below that you set the viewstate twice for postback and pageload. If TicketStatus is a an asp.net dropdown control, did you
    set it's autopostback property to true?

    If Not...
  38. Replies
    4
    Views
    1,152

    Re: SQL Formatter

    One of our DBA use this: Poor Mans' TSql Formatter
  39. Replies
    5
    Views
    537

    Re: Help pulling data from XML to listbox

    Hi,

    Here's a snippet for you to test with. This will
    grab the row xml node and it's attribute values.


    Dim path As String = "path_of_your_xml_file" 'c:\text.xml
    Dim doc As New XmlDocument()...
  40. Replies
    4
    Views
    1,152

    Re: SQL Formatter

    Hi dee-u,

    Have you tried online versions of sql code formatter?
    sqlformat

    There are other online formatters to choose from.

    KGC
Results 1 to 40 of 487
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.