User Profile

Collapse

Profile Sidebar

Collapse
BarryM
BarryM
Last Activity: May 27 '10, 12:34 PM
Joined: Mar 11 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • BarryM
    started a topic Merge Multiple Files in Vb 2005

    Merge Multiple Files in Vb 2005

    hey does anybody know how to merge any kind of two or several files and split them up. I know how to merge multiple image files but dont know to do it with any other type


    Code:
    Dim sw As New IO.FileStream(NewFilePath, IO.FileMode.Create)
                    Dim fmt As New System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
                    Dim bmp As Bitmap
    
       Filelist.Items.Add(ImageName)
    ...
    See more | Go to post

  • BarryM
    started a topic Drawing Lines In VB 2005

    Drawing Lines In VB 2005

    Iv got a panel on the main form which is set to auto scroll. In the panel there is a picture box that i draw lines in. the lines work perfectly fine until the scroll bar comes up. The picture box expands in the scrollable panel but the program wont allow the lines to continuing drawing(vb 2005)

    here's the coding
    [coding]
    Public Class Form1

    Dim DrawGraphics As Graphics
    Dim DrawBitmap As...
    See more | Go to post

  • BarryM
    started a topic hWnd error
    in .NET

    hWnd error

    I was told that this piece coding to find the es_password state in c# would work but an error message saying hWnd does not exist in the current context
    Code:
      internal static class UnsafeNativeMethods 
            {
                public const int GWL_STYLE = -16;
                public const int ES_PASSWORD = 0x20;
                [DllImport("user32.dll")]
                public static extern int GetClassName(HandleRef
    ...
    See more | Go to post

  • BarryM
    started a topic Pause an object

    Pause an object

    Hi i know how to pause the program by going
    Code:
    system.threading.thread.sleep(5000)
    but does anybody know how to just pause a web browser itself
    thanks
    See more | Go to post

  • program permanently takes up a liitle of the screen (vb 2005)

    G'day does anybody know how to make their program permanently take up a little bit of the screen in vb 2005. Like how explorer makes the start bar down the bottom of your screen. I want to put like 1 cm continued onto that and other applications cant go over it. I havent got a clue how to start this one thanks.
    See more | Go to post

  • BarryM
    started a topic Change the text of a line vb 2005
    in .NET

    Change the text of a line vb 2005

    Say if there is a bunch of writing in a text box and you want to change the first line to lets say "line 1" and the last line to "last line" but keep the lines in the middle the same text, how can i do this

    i had tried this but failed
    Code:
    dim last_line as integer = txttext.lines.length -1
    txttext.lines(0) = "line1"
    txttext.lines(last_line) = "last line"
    See more | Go to post

  • Find a particular word and change the color of it (timer)

    vb 2005
    Hi, in my program i have a rich text box with some text entered in by the user. While they are typing a timer is running that searches the rtb for a word which is "theword" in this case and if it does find a match it changes the word in the text box to blue. Same as vb 2005 puts any conditions in blue e.g if, else, end, and, or etc.

    Code:
    Private intPosition As Integer
     Static intStart As Integer
    ...
    See more | Go to post

  • BarryM
    replied to Last Char or Endswith problem
    in .NET
    thanks for your help :}
    See more | Go to post

    Leave a comment:


  • BarryM
    started a topic Last Char or Endswith problem
    in .NET

    Last Char or Endswith problem

    Hi im new to c# that just changed from vb 2005 and my question is how to check if the last char is the letter "a" or not"

    i had tries this but came up with a error
    Code:
       if (txttext.Text.EndsWith == "a") 
                {
                }
    or is there way to check the last char
    note this is in vb 2005
    Code:
    if txttex.text.chars(txttext.lenght -1 ) = "a"
    ...
    See more | Go to post

  • BarryM
    started a topic How to check ES_PASSWROD is in VB 2005

    How to check ES_PASSWROD is in VB 2005

    Hi. im making a moniter tht tracks the webpages that you visited and what you type. But there is one massive problem it tracks your keystrokes when your typing in your password. I heard if ES_PASSWORD is set to the control of the textbox your typing i can disable the keystokes until there isnt ES_PASSWORD set. I can deciable the logger, so can anybody tell me how to see if ES_PASSWORD is set or not in vb 2005

    thanks
    See more | Go to post

  • BarryM
    started a topic Pixels and Colours
    in .NET

    Pixels and Colours

    HI does anybody know how to get the RGB or CYMK colour for a certian pixel on the screen in vb 2005

    i thought it might of been something like

    if screen.pixel.X. Y = rgb.(255,255,25 5) then
    bla bla bla bla
    end if

    something like that.......... thanks
    iam an australian and we spell color COLOUR so please dont say that i spelt it wrong like every post iv done on other pla...
    See more | Go to post

  • BarryM
    replied to Deleting
    that can only delete a file on a hardrive it doesent support URI files
    the file i want to delete is like http://www.mywebpage.c om/myfile.txt
    See more | Go to post

    Leave a comment:


  • BarryM
    started a topic Deleting

    Deleting

    I know how to upload and download files with the my.computer

    Code:
     My.Computer.Network.DownloadFile(address ast string , destination file name as string)
    and

    Code:
     My.Computer.Network.UploadFile(source file name as string, address as string)
    but once i have uploaded and than downloaded is it possible to delete the file
    somehow using vb 2005

    ...
    See more | Go to post

  • BarryM
    started a topic Connect to online database

    Connect to online database

    hey does any body have any idea how to connect to a online database because i have no idea
    See more | Go to post

  • BarryM
    replied to Changing Languages
    Or could any body tell me how to make the program install .net framework 2 by itself
    See more | Go to post

    Leave a comment:


  • BarryM
    started a topic Changing Languages

    Changing Languages

    I know for vb 2005 you need .net framework installed on the local computer and i want to chage to a langauge that doesent need any plug ins or anything. I think C# or C++ doesent but not sure. So could any body tell me a language that doesent need a plug or anything or what is the best language to use?



    thanks
    See more | Go to post

  • BarryM
    started a topic Removing Apart Of String

    Removing Apart Of String

    Hi a simple questin in got is whythe remove thing doesent always work
    if your starting integer is 0 and ending integer is like 10 its fine
    Code:
    string =  textbox1.text.remove(0,10)
    but if your starting integer is like 47 and last is 57 it wont work. WHY. Could somebody please help me withit
    See more | Go to post

  • BarryM
    started a topic Showing a Directory in a Listview

    Showing a Directory in a Listview

    Hi could anyone please tell me how to display a directory in a listview e.g my documents or C:\Program Files\ also it needs to display files and folders.


    this is one way of doin it but in dosent display folders
    Code:
            Dim dir As New IO.DirectoryInfo("C:\Documents and Settings\Russina\My Documents")
            Dim aryFi As IO.FileInfo() = dir.GetFiles("*.*")
            Dim fi As IO.FileInfo
    ...
    See more | Go to post

  • BarryM
    replied to Error With Opening Folders etc.
    fixed i accendently set search to defualt not open...
    See more | Go to post

    Leave a comment:


  • BarryM
    started a topic Error With Opening Folders etc.

    Error With Opening Folders etc.

    Hi normally when i go to open folders and other stuff like that i double click on the icon and it opens. But now when i double click it opens the thing to search for files in.I noticed that when i right click on the folder at the top of the list that appears it says "Search..." not "Open". Too my knowledge what is ever on the top is what will do when you double click. Does anybody know how to fix the little error?
    See more | Go to post
No activity results to display
Show More
Working...