Search Results - VBForums

Search:

Type: Posts; User: kevininstructor

Page 1 of 13 1 2 3 4

Search: Search took 0.09 seconds; generated 11 minute(s) ago.

  1. VS 2010 Re: YAHOO! Weather API Icons not working

    Hello,

    On Code Project Weather Using VB.NET and Yahoo RSS!
  2. Re: Where to Go From Here Advice Needed

    It's beyond me why you are so unwilling to allow them to consider this to if nothing else have a stable environment to run rather than rewrite which from what I read would take a considerable amount...
  3. Re: Where to Go From Here Advice Needed

    Never said terminal server would be a magic bullet but instead avenues to explore. I can not provide details on implementing as our engineering team work out the solution (for terminal server) for...
  4. Re: Where to Go From Here Advice Needed

    Hello,

    If rewriting this in a newer language is not a option consider a) look at Windows Shims b) create a terminal server with the environment expected then the app is frozen in time per-say and...
  5. VS 2013 Re: Added data doesn't show once restarted the application...

    Hello,

    If your database is local, in the bin\debug folder check "Copy to Output Directory" property of the database under Solution Explorer. The default is Copy Always, change it to Copy if Newer....
  6. Replies
    10
    Views
    286

    Re: Role of Current User

    Where ever you want, it's a singleton pattern/static class so no matter where you access the members of the class its one instance.

    The Try/Catch statement is optional, I had no issues but never...
  7. Replies
    10
    Views
    286

    Re: Role of Current User

    Hello,

    Here is a simple class for AD information


    Imports System.DirectoryServices
    Imports System.Security.Principal

    ''' <summary>
    ''' Provides basic information for the current user from...
  8. Re: Need to get an average from dataset columns

    Hello,

    Here is a mixture of old school and current methods.

    uses mocked data


    Public Class Form11
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    ...
  9. Re: remove Duplicate Cell Values in multiline Datagridview cell

    It appears you will need to examine the value results prior to adding it to the DataGridView, is there a line feed? If so perhaps split on line feed and see if both parts are equal or not etc.
  10. Replies
    4
    Views
    130

    VS 2005 Re: insert into excel 2003

    Try adding IMEX =0 to extended properties
  11. Re: remove Duplicate Cell Values in multiline Datagridview cell

    How are you loading this data, the more details the better responses you will get but at this point it's a potshot without more details.
  12. View Post

    I click on the link and get the expected page from this thread. Yes it's three years old but I see it still provoking thoughts when writing statements
  13. Re: Updating a table in Ms Access using OLEDB in VB.net

    Hello,

    It is easy to make small mistakes here when using string concatenation. The following is an example of using XML literals and embedded expressions to assist with writing a SQL statement w/o...
  14. View Post

    Ran into this article from a Reflector newsletter and thought is was worth posting here.

    http://codeblog.jonskeet.uk/2014/12/08/c-6-in-action/
  15. VS 2013 Re: Way to make application think that it is in debug mode at runtime?

    Hello,

    If you are referring to MyApplication.UnhandledException then this only works when compiled for Debug mode. If Debugger.IsAttached returns True when there is an exception and you have...
  16. Replies
    17
    Views
    475

    Re: IDE Problem on VS 2010

    Here is something to try, when the dialog is suppose to be there

    1. Press the ALT key and hold it
    2. Press SpaceBar
    3. Press M

    What this does is gets you to the system menu for the dialog...
  17. VS 2013 Re: Two listboxes, a textbox, and a button

    Hello,

    The following, ListBox1 has several names to start with.

    This might go in form load. Note I populate ListBox2 with an empty string for each name, this may or may not be acceptable so...
  18. VS 2010 Re: Changing the values in the columns on a datagrid view

    You would need a container of sorts that allows you to find a nick name i.e. Dictionary(Of String, String) were the key is name and value is nickname. The you can traverse rows in the DataGridView,...
  19. Replies
    17
    Views
    475

    Re: IDE Problem on VS 2010

    Hello,

    A broad-stroke thing to try is start VS with /SafeMode from the Developer Command Prompt.
  20. VS 2013 Re: how do I open the selected folder in listbox but each folder separately ?

    Hello,

    The following shows how to load a ListBox with files from a specific folder and also add just a folder name. Double click on an item and a MessageBox shows the data, in your case you would...
  21. Replies
    6
    Views
    222

    VS 2013 Re: Numbered List in List Box Help

    Well first off a text file is inherently not a good idea as anyone can use notepad to open the file, get the passwords. But if this is what you want

    Assumes the file exists and is case sensitive....
  22. Replies
    2
    Views
    121

    Re: Microsoft Classes

    The best method is using Redgate Reflector where say you want to simply see the source, type in what you want, traverse a treeview click and see the code. You might need to traverse to other classes...
  23. VS 2010 Re: Questions on sending email using vb.net

    If you want focused assistance the ask this question on the current issue at Outlook For Developer forum.
  24. Re: Converting textfile to datatable and converting datatable to textfile

    If data is clean then as wild_bill suggested we can use


    Imports System.Data.OleDb
    Public Class DemoReadTxt
    Dim FileName As String = "People.txt"
    Private Sub DemoReadTxt_Load(ByVal...
  25. Replies
    2
    Views
    191

    Re: Create a table from text file

    First line of TextFile1.txt

    "FirstName","LastName","AccountNumber"

    code


    Dim dt As New DataTable
    IO.File.ReadAllLines("TextFile1.txt").First.Replace(Chr(34),...
  26. VS 2010 Re: Questions on sending email using vb.net

    For Outlook see the following thread. Try using vbCrLf to do line feeds in the body text.
  27. Replies
    10
    Views
    252

    Re: Designer Subs In A DLL File

    You can do this but does, yes, does it make it easier, I would so no. Generally speaking you would keep form manipulation in the form, separate business logic and database operations in classes in...
  28. Replies
    6
    Views
    222

    VS 2013 Re: Numbered List in List Box Help

    See if this helps



    Dim MonthsToAdd As Integer = CInt(txtMonths.Text)

    If MonthsToAdd > 0 AndAlso MonthsToAdd <= 12 Then
    ListBox1.DataSource = Enumerable.Range(0,...
  29. VS 2010 Re: Questions on sending email using vb.net

    Have you consider using SMTP as shown in this demo project where there is no limits on body text of the message. Note, from what you are showing this should show as we use this method to send a good...
  30. Replies
    17
    Views
    411

    VS 2010 Re: Gridview Data

    True as this is a simple example, it's your responsibility to work with a database.
  31. Re: How to get all the values of a column of DataGrid

    CDec is not the problem i.e.

    ObjValue represents the cell .Value, StrValue is equal to ToString on the Cell.Value then DecValue is the conversion to Decimal = 2.7



    Dim ObjValue As Object =...
  32. Re: How to get all the values of a column of DataGrid

    This means your data is not what it appears to be, best to use the debugger to step thru your code.
  33. Re: How to get all the values of a column of DataGrid

    Not for me as you can see in my last screen shot
  34. Re: How to get all the values of a column of DataGrid

    This works for me
    121401


    Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
    If DataGridView1.ColumnCount > 0 Then
    If...
  35. Replies
    17
    Views
    411

    VS 2010 Re: Gridview Data

    You need to create the file and use the data provided in post 3.
  36. Re: How to get all the values of a column of DataGrid

    Tomorrow sometime but not sure when and if not tomorrow Tuesday. I have several busy days ahead. With that said do you really want to wait on this ? If it were me I would work on the code which is...
  37. Replies
    17
    Views
    411

    VS 2010 Re: Gridview Data

    As stated in an earlier reply, Child Form is a form with a DataGridView. So create a form with a DataGridView and name it as I did.
  38. Re: How to get all the values of a column of DataGrid

    Well it's wise to explain that up front. So read the values as string, use String.Replace(",",".") for each value then use TryParse to ensure it's valid follow by doing the multiple on the values. My...
  39. VS 2010 Re: Deleting multiple rows in excel

    Hello,

    Not sure where you got DeleteRows from but it does not exists. I would suggest deleting each row one at a time. The base code is here on Microsoft forum which I did a while ago.

    How to...
  40. Re: How to get all the values of a column of DataGrid

    I missed that you have a column with data split by a comma which is unusual. So here is the basics where in this case I left out the TryParse code but would suggest you consider adding it in. And if...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.