Search:

Type: Posts; User: VBbbq

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    835

    VS 2012 Is this possible? (VB 2012)

    Is it possible to call a line of code from a forms control?

    Example:

    Textbox1.(Textbox1.Text) = "Text"

    "TextBox1.Text property is "Text" so in theory it
    should return "Text", as well as...
  2. WriteAllLines, ReadAllLines; StreamReader, StreamWriter?

    Using either the WriteAllLines/ReadAllLines or StreamReader/StreamWriter, how
    could you retrieve specific/ in-between information from the file "C:\Users.txt".

    The file "C:\Users.txt" looks like...
  3. Replies
    2
    Views
    5,582

    Re: Multi Client Socket / Chat Room

    Thank You for your response!

    I found that adding this code >



    For Each I As System.Collections.DictionaryEntry In ClientList
    Console.WriteLine(I.Key.ToString)
    ...
  4. Replies
    2
    Views
    5,582

    Multi Client Socket / Chat Room

    I'm trying to understand and work through multiple TCP clients using Visual Basic.

    The below code uses a Module for the Server:



    Imports System.Net
    Imports System.Net.Sockets
    Imports...
  5. Replies
    2
    Views
    1,482

    Re: Drag-n-Drop Startup MsgBox

    ^_^



    For Each c In Environment.GetCommandLineArgs
    MessageBox.Show(c.ToString)
    Next
  6. Replies
    2
    Views
    1,482

    Drag-n-Drop Startup MsgBox

    Question:

    I have a project that I want to allow the user to drag and drop a file into it.
    This is not the same as AllowDrop where you drop the file into the application while it is currently...
  7. Replies
    3
    Views
    845

    Re: Adding A TabPage From Its Index

    Fixed =>




    Private Sub addnewsystem(ByVal w As List(Of TabPage))
    Try
    For Each T As TabPage In w
    TC1.TabPages.Add(T)
    'extra stuff...
  8. Replies
    3
    Views
    845

    Adding A TabPage From Its Index

    Below is an attempt to make a button that will remove all tabpages, then add them back through their indexes.
    StartPage is the starting index, and Current Pages is the total tabpages.

    How should...
  9. Replies
    8
    Views
    1,727

    Re: Make A File Run From An EXE

    Yep >



    Try
    Dim MyProcess As New Process
    MyProcess.StartInfo.Arguments = "C:\Users\User\Desktop\Games\Nintendo 64\AeroGauge.z64"
    ...
  10. Replies
    8
    Views
    1,727

    Re: Make A File Run From An EXE

    I get an error generated by the emulator, but not vb. :)

    Says that it could not load the file / rom. I tried the same methods on a Genesis emulator with
    the exact same effects.

    Snippet >

    ...
  11. Replies
    8
    Views
    1,727

    Re: Make A File Run From An EXE

    Using the following code:



    Process.Start("C:\Program Files (x86)\Project64 2.1\Project64.exe", "C:\Users\User\Desktop\Games\Nintendo 64\AeroGauge.z64")


    Will launch the emulator and attempt...
  12. Replies
    8
    Views
    1,727

    Re: Make A File Run From An EXE

    Thanks,

    Doing Some Testing >
  13. Replies
    8
    Views
    1,727

    Make A File Run From An EXE

    Some programs, emulators for example, require that you drag and drop the emulator file into
    the emulators exe. Using some vb code, is it possible to make the emulator file be ran through
    the...
  14. Replies
    1
    Views
    582

    Have an application opened with another?

    The Main application I have, subject A, opens the second application, subject B, whenever subject A is dragged into it.
    Is it possible, and how or with what code can I use to accomplish a similar...
  15. Replies
    2
    Views
    1,113

    VS 2010 Re: Scrolling Hotkey No Focus?

    EDIT: Built A new code which is working now.

    Thanks for replying / viewing. ^_^

    Here's the new working code:



    Imports System.Runtime.InteropServices
    Imports...
  16. Replies
    2
    Views
    1,113

    VS 2010 Scrolling Hotkey No Focus?

    Below is simple code which I've put together for the purpose of being able to read
    richtextbox text and scroll it w/out having to loose focus on an already focused application.

    So I came up with...
  17. Replies
    2
    Views
    807

    Re: Using System.Reflection

    Thanks for the help, very informative. :)
  18. Replies
    2
    Views
    807

    Using System.Reflection

    Need help/example of using system.reflection, code below.



    Imports System.Reflection
    Public Class Form1
    Private Sub b1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)...
  19. Thread: GetWindowRect

    by VBbbq
    Replies
    2
    Views
    3,376

    VS 2010 Re: GetWindowRect

    Thank you for the reply, I recently ran the code and it works perfectly, thanks again!

    :D
  20. Thread: GetWindowRect

    by VBbbq
    Replies
    2
    Views
    3,376

    VS 2010 GetWindowRect

    Hi,

    I'm having an issue getting the rectangle (size) of other running applications using the code below.

    It works, to some extent, but not as intended. If the window has a rect, it will return...
  21. Replies
    5
    Views
    1,001

    VS 2010 Re: Broke Color Scanner

    thanks for helping! i hate not knowing how i messed something up, even if its obvious lol. posted an updated code above > scans 1.4 million in about 1 second, very happy with it ^_^
  22. Replies
    5
    Views
    1,001

    VS 2010 Re: Broke Color Scanner

    NEW CODE:



    Imports System
    Imports System.Runtime.InteropServices
    Public Class Form1
    Dim ScreenDC = API.CreateDC("DISPLAY", Nothing, Nothing, CType(Nothing, IntPtr))
    Friend Class API...
  23. Replies
    5
    Views
    1,001

    VS 2010 Re: Broke Color Scanner

    well, its an adopted code. i plan on using better coordinates, user chosen etc instead of the whole screen. its supposed to capture the whole screen as an image once, so refreshing shouldnt matter....
  24. Replies
    5
    Views
    1,001

    VS 2010 Broke Color Scanner

    I have a code which I'm attempting to use that isn't working properly:

    Here is the code (full/runable) *requires 1 button (B1), 1 richtextbox (R1), 1 timer (Timer1)



    Public Class Form1

    ...
  25. Thread: Timers..

    by VBbbq
    Replies
    4
    Views
    4,043

    Re: Timers..

    Thanks edge! :thumb:
  26. Thread: Timers..

    by VBbbq
    Replies
    4
    Views
    4,043

    Timers..

    How Would You Write This Code:



    Try
    Dim cont As Timer
    For Each cont In Form1.Controls 'maybe issue..
    If (TypeOf cont Is Timer)...
  27. Thread: Working Area

    by VBbbq
    Replies
    5
    Views
    876

    Re: Working Area

    oh my, an appbar. lol, they butchered the ol' vb5 command i guess. :/
  28. Thread: Working Area

    by VBbbq
    Replies
    5
    Views
    876

    Re: Working Area

    1024x738 :) xp working area with toolbar on the bottom.
  29. Thread: Working Area

    by VBbbq
    Replies
    5
    Views
    876

    Working Area

    Simple Question...

    I have a Button On A Form That When I Click It Will:

    Set The Working Area To: 1024x728

    Note: The Working Area Is Not Resolution Size.

    Q: Can Someone Provide Me With...
  30. Re: Session 0 Isolation - (PostMessage/SendMessage) ??

    is there a way to sendmessage and postmessage in vista/7/8? or a workaround/something similar, does the same thing?
  31. Session 0 Isolation - (PostMessage/SendMessage) ??

    Here's a link for info on the topic:

    http://msdn.microsoft.com/en-us/library/windows/desktop/bb756986.aspx

    The issue I'm having is finding a way to use SendMessage, and PostMessage
    for an...
  32. Thread: 32bit > 64bit??

    by VBbbq
    Replies
    6
    Views
    4,987

    VS 2010 Re: 32bit > 64bit??

    wait... if i change x86... to new > any CPU that may fix it yes!! :) :)
  33. Thread: VB6 to VB.Net

    by VBbbq
    Replies
    4
    Views
    5,756

    VS 2010 Re: VB6 to VB.Net

    very helpful info jmcilhinney, i may try to update it again. thanks :)
  34. Thread: 32bit > 64bit??

    by VBbbq
    Replies
    6
    Views
    4,987

    VS 2010 Re: 32bit > 64bit??

    didnt resolve the issue.. :(

    people who have tried to use it on windows 7 etc have said it doesn't do anything, which isn't
    helpful in resolving the issue lol.

    i built it on windows xp sp3...
  35. Thread: Terms of Use

    by VBbbq
    Replies
    14
    Views
    1,568

    VS 2010 Re: Terms of Use

    My.Settings are saved to the .exe location only, therefore moving the file will re-instate the TOS button. :)
  36. Thread: VB6 to VB.Net

    by VBbbq
    Replies
    4
    Views
    5,756

    VS 2010 Re: VB6 to VB.Net

    I changed the openprocess to:



    Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Integer, ByVal blnheritHandle As Boolean, ByVal dwAppProcessId As Integer) As IntPtr...
  37. Thread: VB6 to VB.Net

    by VBbbq
    Replies
    4
    Views
    5,756

    VS 2010 VB6 to VB.Net

    I have a code which I have translated the majority of for use in vb.net.

    It requires: 3 Labels, 3 Text Boxes, and 1 Button (named command1)

    It also has no errors in the errors list, so...
  38. Thread: 32bit > 64bit??

    by VBbbq
    Replies
    6
    Views
    4,987

    VS 2010 Re: 32bit > 64bit??

    oh.. its express edition. :X
    tools > options > projects and solutions > general > show advanced build options

    ill try it :)
  39. Thread: 32bit > 64bit??

    by VBbbq
    Replies
    6
    Views
    4,987

    VS 2010 Re: 32bit > 64bit??

    The target framework is .net framework 4 client profile, is this what should be changed? there's a .net framework 4. :X
  40. Thread: 32bit > 64bit??

    by VBbbq
    Replies
    6
    Views
    4,987

    VS 2010 32bit > 64bit??

    Hey forumz,

    I have an application I've built on an XP system that is not working for Windows 7 systems. When it comes to multiple operating system functionality, IM A NOOB, for now... maybe you...
Results 1 to 40 of 78
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width