Search:

Type: Posts; User: SonicBoomAu

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    15
    Views
    10,669

    Re: Datagrid to Excel [Resolved]

    Hi there, sorry for the late reply.

    At a guess you haven't referenced Microsoft Excel.
  2. Re: [2008] Please help me Build a Visual Basic Program from this Excel file

    WOW, all i can say is tough break....

    If your course / instructor is telling you that you need to produce something in VB, I would get them to supply you with the program, if you are having...
  3. Replies
    14
    Views
    6,393

    Re: ATM Simulator??

    on button press btn1
    me.textbox.text = me.textbox.text + "1"

    on button press btn2
    me.textbox.text = me.textbox.text + "2"

    ....

    on button press btn0
    me.textbox.text = me.textbox.text + "0"
  4. Re: [2005] Please help me Build a Visual Basic Program from this Excel file

    Hi and welcome to the forum.

    Just to let you know, that generally we don't write code for you.
    Have a go at it first, provide your code and problem and we will try to help, or point you in the...
  5. Replies
    14
    Views
    6,393

    Re: ATM Simulator??

    On button press events.....
  6. Re: [2005] Working with About Box

    I might be totally wrong, but this is how i normally display another form


    Dim flcsAboutBox1 as New AboutBox1
    aboutBox1.show


    Hope this helps.
  7. Replies
    6
    Views
    12,796

    Re: How to convert txt into excel files

    Hi,

    Did you happen to do a search within this forum for "Text convert excel", it comes up with 140 threads........

    This is one thread picked a random....
  8. Replies
    7
    Views
    833

    Re: Combo boxes

    Yes it is possible.

    Here is something I threw together really quickly.




    Public Class Form1
    Private strfilename As String = "C:\Temp\Pictures\"
  9. Replies
    7
    Views
    833

    Re: Combo boxes

    We don't need to see your program, we just need to see what code you have done for this
  10. Replies
    5
    Views
    731

    Re: put value from database to textbox

    Please put your code up that isn't working.

    Without that we are working blind trying to help you.
  11. Replies
    2
    Views
    483

    Re: [2005] DataGrid ColumnWidth

    This web site might help you out.

    http://www.syncfusion.com/FAQ/WindowsForms/Default.aspx#44

    Hope this helps
  12. Re: [2005] How to store Image in SQL Server 2005

    This is straight out of 101 MSFT VB .Net Applications, so you might need to fiddle with it a bit but here goes:

    (this is something i always want to try :) )

    On Button Press Event



    Dim ms...
  13. Re: How can i know the UserName and IP Address.

    This might help you get started.

    SystemInformation.ComputerName
    SystemInformation.Username

    I'm sure one of the big guns, will correct me if i am wrong. :)

    Hope this helps
  14. Re: [02/03] Moving To Next Field On Enter Key Press

    If this issue has been resolved please ue Thread Tools and mark it as such.

    :)
  15. Re: [02/03] Moving To Next Field On Enter Key Press

    After having a quick search through this site, the following links might be of some use.

    http://www.vbforums.com/showthread.php?t=449368

    http://www.vbforums.com/showthread.php?t=414515
    ...
  16. Re: Problem with Excel and Option Strict On

    OK, is this what you are talking about.



    objSheet = DirectCast(objBook.Sheets("Sheet1"), Excel.Worksheet)

    objApp.DisplayAlerts = False

    ' Display only the one sheet not the...
  17. Re: Problem with Excel and Option Strict On

    I managed to fix the first problem, i think.



    objSheet = Ctype(objSheet(1), Excel.Worksheet)
  18. [RESOLVED] Problem with Excel and Option Strict On

    Hi All,

    I have started to update one of my programs and have decided i should follow the general rule and turn Option Strict On and Option Explicit On and have come across a problem, which I am...
  19. Re: [02/03] Captured Tab, but want to release.

    I have figured this out. Thou there is most probably a better way of doing this.


    Private Sub txtSigneeName_KeyPress (ByVal sender AS Object, ByVal e AS System.Windows.Forms.KeyPressEventArgs)...
  20. Re: [02/03] Captured Tab, but want to release.

    Does anyone have any ideas?
  21. [RESOLVED] [02/03] Captured Tab, but want to release.

    Hi again all,

    Using "kleinma" code from this post and with the help of jmcilhinney with this post. I was able to capture when the Tab key was pressed.

    My Problem now, is that when Tab is...
  22. Replies
    7
    Views
    994

    Re: print ms Access

    An idea for you is to search this forum, using Access and Printing. You will be surprised by the number of people who have asked the same question
  23. Replies
    3
    Views
    1,025

    Re: Tab Key Press from Textbox

    Thank you jmcilhinney, that exactly what i need to know. If i replace all the textboxes, will it effect them in any other way?
  24. Replies
    3
    Views
    1,025

    [RESOLVED] Tab Key Press from Textbox

    Hi all,

    I am trying to capture the Tab Keypress form a Text box. I am using VB2003.

    I have read the following post http://www.vbforums.com/showthread.php?t=445151

    And would like to know if...
  25. Replies
    3
    Views
    649

    Re: Printing in MS Access

    I found that access report printing is fun to say the least.

    This is what I do.


    ' Need to Select the Printer
    Dim ps As New Printing.PrinterSettings
    ...
  26. Re: Adding values to works spread sheet

    This web site might be worth a look.

    http://support.microsoft.com/kb/q302094/

    Hope this helps.
  27. Replies
    10
    Views
    1,063

    Re: Inputbox Cancel

    Couldn't you use a dialogresult box?


    Dim dg As DialogResult
    Dim str As String

    dg = str = InputBox("Question")

    If dg = DialogResult.Cancel Then
  28. Re: accessing excel 2003 from visual studio 2005 express

    This is how I normally connect to an Excel spreadsheet


    ' Start Adding Details to a New Excel Workbook
    Dim objApp As Excel.Application
    Dim objBook As Excel._Workbook
    ...
  29. Re: accessing excel 2003 from visual studio 2005 express

    Have you added a reference to Excel?

    This site explains how to automate excel utilising .Net

    http://support.microsoft.com/kb/301982/EN-US/

    Hope this helps.
  30. Re: I need a basic line of code to copy a folder/directory

    If you are going to delete the folder after you have copied it you could use the following:

    System.IO.Directory.Move(sourcedir, targetdir)



    or this is what I use to copy all the files and...
  31. Re: Change the Back of Fore color of column in datagrid appearing when not selected...

    It might be worth your while having a look at this site.

    http://www.syncfusion.com/FAQ/WindowsForms/Default.aspx#44
  32. Replies
    2
    Views
    995

    Re: Excel Spreadsheet Control

    Have a look at the following web sites.

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_wrcore/html/wrtskhowtoopenworkbooks.asp
    http://support.microsoft.com/kb/q302094/ ...
  33. Re: What is the proper way to get the Windows User Authentication in VB.Net?

    If you use Environment i'm pretty sure it has a .computername or .machinename.

    Sorry I can't give you a definate but not in front of normal computer.
  34. Re: What is the proper way to get the Windows User Authentication in VB.Net?

    I beleive it is Environment.UserName

    But could be wrong, it has happenned in the past
  35. Replies
    4
    Views
    8,083

    Re: VB.NET Excel Pagesetup Problem

    Don't know if this will help.

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_wrcore/html/wrtskHowToPrintSelectedWorksheets.asp

    Normally I use


    ...
  36. Replies
    2
    Views
    615

    Re: datagrid read-only?

    Datagrid's have a readonly property which you can set. But is set to false by default.
  37. Replies
    6
    Views
    1,165

    Re: Column count of datagrid

    Use

    colCount = Me.DataGrid1.DataSource.Columns.Count

    This will count all the colums, not just the visible columns.
  38. Replies
    3
    Views
    969

    Re: Datagrid row count [RESOLVED]

    Glad I could help. Someone originally helped me with it so I pass on what help I can.
  39. Replies
    3
    Views
    969

    Re: Datagrid row count

    This is what I use

    Dim rowCount As Integer
    Dim colCount As Integer
    Try
    rowCount = Me.DataGrid1.DataSource.Rows.count
    ...
  40. Replies
    4
    Views
    704

    Re: combobox to Listbox

    You could always use the combobox's follow events

    SelectedValueChanged
    Validating
    LostFocus

    Considering that you want it to change the listbox's items. I would be more inclined to use the...
Results 1 to 40 of 79
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width