Search:

Type: Posts; User: Emcrank

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Re: Learn-by-example: Writing to a control on another form

    Maybe have a look at this? Think this is what your asking


    Form form2 = Application.OpenForms["Form2"];

    have a Google for that and see if anything comes up.

    Or another way around is to have...
  2. Re: c# Hotel Check-In / Check-Out System using objects

    After hours of looking through documentation I finally found my solution, Hashtables.
    For future reference this is my answer to my question:


    public static Hashtable checkBookedRooms(string...
  3. Cannot implicitly convert type(missing a cast?)

    So after a few hours I have finally come up with a way to do what I wanted to achieve with a Tuple type ( I think anyway )

    Would someone please be able to tell me why I am getting this error this...
  4. [RESOLVED] c# Hotel Check-In / Check-Out System using objects

    EDIT: See Second Post

    Basically I am trying to create a program that allows someone to check in new guests to rooms that are available.
    This is what I have so far to create my guests and rooms...
  5. Replies
    2
    Views
    3,613

    VS 2010 Re: Getting Directory size

    Thankyou this worked, exactly what i was looking for :)
  6. Replies
    2
    Views
    3,613

    VS 2010 [RESOLVED] Getting Directory size

    How can i get the total size of all files in a directory?
    i tried this but had no luck

    Dim dDir As IO.DirectoryInfo
    TextBox4.Text = dDir.Attributes.
  7. VS 2010 Re: How do you make the webbrowser visit more than one page?

    Have something like this

    'DECLARATIONS:
    dim I as Integer = 0
    '-----------------------------------------
    'WEBBROWSER1 DOCUMENT COMPLETED
    I = + 1
    '-----------------------------------------...
  8. VS 2010 Re: How do you make the webbrowser visit more than one page?

    Imagine WebBrowser1.Url was "www.google.com" and textbox1 text was "/youtube"
    WebBrowser1.Url += TextBox1.Text
    webbrowser1.url would be "www.google.com/youtube"
  9. Replies
    1
    Views
    1,248

    VS 2010 Re: Always on top [Help]

    There is a property that changes whether it is always on top called "TopMost" change this to True
  10. VS 2010 Re: Pause code until code above is completed

    Hmm maybe Lol, thankyou :)
  11. VS 2010 [RESOLVED] Pause code until code above is completed

    Ok i have this code on a button click hook

    If CheckBox1.Checked = True Then
    FileIO.FileSystem.CopyFile(IO.Path.Combine(Dir2TB.Text, LB1.SelectedItem.ToString),...
  12. Replies
    2
    Views
    715

    VS 2010 YouTube Converter?

    I was wondering if i could make my own youtube converter, i dont know how i would get the video from the link though, any ideas let me know thanks.
  13. VS 2008 Re: use combobox to display picture on picturebox

    No problem, mark the thread as resolved then :) you can do it quick by clicking this link i made for you xD --- Make this thread resolved
  14. Replies
    0
    Views
    2,703

    Manipulate Files using wildcards

    Heres how you can do stuff to files with a certain file extension.
    Copy N Paste Code underneith showcase code
    ShowCase
    For Each foundFile As String In IO.Directory.GetFiles("DIRECTORY",...
  15. Replies
    7
    Views
    10,956

    VS 2010 Re: Copy Files using wildcards

    Fixed it,
    Full code:
    For Each foundFile As String In IO.Directory.GetFiles(Application.StartupPath, TextBox8.Text)
    ...
  16. Replies
    7
    Views
    10,956

    VS 2010 Re: Copy Files using wildcards

    Ok ive fixed that part, it was because for some reason in the IO.Path.Combine(Fullpath, foundFile) it was giving the full path of foundFile, so i used a little function
    For Each...
  17. Replies
    7
    Views
    10,956

    VS 2010 Re: Copy Files using wildcards

    Ok i found out that it is finding the files and it is the correct path to be copied, so now cna you help me please.
    If TextBox8.Text.Contains("*") Then
    Try
    For Each...
  18. Replies
    7
    Views
    10,956

    VS 2010 Re: Copy Files using wildcards

    the fact is that my code wont even get to that part,
    the full section of code to do with it
    If TextBox8.Text.Contains("*") Then
    Try
    For Each foundFile As String In...
  19. Replies
    1
    Views
    2,218

    VS 2010 Re: Change my Project Name?

    for the project name, Rename the Solution.
    for the application name, Go to: Project -> <yourprojectsname> Properties -> Tab: Application -> Assembly Name. Change that Also you can click on Assembly...
  20. VS 2010 Re: How can i make a serial code for my program

    Ok thankyou for this, that link is really helpful :)
  21. Replies
    7
    Views
    10,956

    VS 2010 Re: Copy Files using wildcards

    Can you help me on my code, its still not working. In Textbox 8 i am typing *.XML and it still doesn't copy anything. And there is a .XML file in the app startup directory.
    Whats wrong with it?
    ...
  22. Replies
    7
    Views
    10,956

    VS 2010 [RESOLVED] Copy Files using wildcards

    Ok i want to copy all the files in a directory with an extension e.g .exe or maybe all them files *.* how do i do this?
    I searched on google and found this on MSDN But it doesn't work when i type *....
  23. VS 2010 Re: How can i make a serial code for my program

    @PC NOT MAC
    I wasn't going to keep keys anywhere all i wanted to do was make like a string with different combination of things in it and the program recognises whether it is a valid serial (If it...
  24. Replies
    9
    Views
    8,349

    Re: Generate Random 8 Char String (Letters & Numbers)

    Ok thanks
  25. Replies
    9
    Views
    8,349

    Re: Generate Random 8 Char String (Letters & Numbers)

    How do i use this function then??
  26. Replies
    5
    Views
    1,013

    Re: Help With Downloading Files!

    you cant open VB6 files in VB 2008 or VB 2010, because they are VisualBasic.NET whereas vb6 is just Visual Basic. Files that you can open in VB.NET that are forms are .vb files.
  27. VS 2010 Re: How can i make a serial code for my program

    that is like really advanced all i want is my program to be able to recognise the serial
    So how do i like check to see if the string(the serial) put in is in the format...
  28. VS 2010 [RESOLVED] How can i make a serial code for my program

    Ok i am having my app available for 30days free trial, but after that you have to purchase a serial, how can i make my app only recognise a specific type e.g...
  29. Replies
    9
    Views
    8,349

    Re: Generate Random 8 Char String (Letters & Numbers)

    Thankyou for this code, it does look better than mine. But shouldn't this bit be History.Add instead of
    ListChars.Add(StrBld.ToString)

    Also how do i use it? Because i tried
    AliasTB.Text =...
  30. Replies
    5
    Views
    1,013

    Re: Help With Downloading Files!

    What version of VB are you using? tell me the. year like im using 2010 express. The files you are trying to download are only for VB6
  31. Replies
    5
    Views
    1,013

    Re: Help With Downloading Files!

    I think .frm and .frmx are for VB6, i may be wrong, what version are you using?
    Also post a link to the download and ill check :)
  32. VS 2010 How do i?: Associate a filetype with my application?

    How can i go about associating my application with a filetype e.g *.safsg ? How can i get my program to open them file types when that filetype is double clicked on desktop for example. Thanks in...
  33. Replies
    9
    Views
    8,349

    Generate Random String (Letters & Numbers)

    Here is a Sub to Generate a random string out of the letters A-Z and numbers 0-9, you can add more if you like.
    ADDED: Feature so you cannot get the same string twice. (Even though it is very...
  34. Thread: Sound Recorder

    by Emcrank
    Replies
    15
    Views
    23,671

    Re: Sound Recorder

    Nice post here i finding it very useful :)
  35. VS 2010 Re: Saving colour of a brush to My.Settings

    Done it, cheers
  36. VS 2010 [RESOLVED] Saving colour of a brush to My.Settings

    Ok all i need to do is how do i create a brush color in my.settings?
    because System.Drawing.Color is not for Brushes is it? Please help. thanks in advance.
  37. VS 2008 Re: use combobox to display picture on picturebox

    I have tried to reproduce your project and slighty tweaked the code. I got it working on my project.
    See if this works
    Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e...
  38. VS 2008 Re: use combobox to display picture on picturebox

    Are the photos in the resources named exactly as what the combobox text is?
    So like if you select John in the combobox your photo needs to be named exactly John are they already like that?
  39. VS 2010 Re: Using embedded DLL's/Extracting .ZIP's

    If you dont want to use 3rd party .ZIP tools, you can use the built in to windows, shell32.dll
    check out the link in my signature about Extracting/Zipping using shell32

    PS: its so much easier.
  40. Replies
    8
    Views
    8,478

    Re: Creating a new thread

    Is that better? I changed it in the code above.

    If t.IsAlive = True Then
    t.Abort()
    End If
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width