Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 2,618
» Latest member: RobertJutty
» Forum threads: 851
» Forum posts: 3,638

Full Statistics

Online Users
There are currently 2 online users.
» 0 Member(s) | 1 Guest(s)
Bing

Latest Threads
Womans from your city - V...
Forum: Random Discussion
Last Post: iHOMEz
07-28-2024, 10:26 AM
» Replies: 0
» Views: 308
Supreme Сasual Dating - A...
Forum: Random Discussion
Last Post: iHOMEz
06-14-2024, 11:28 AM
» Replies: 0
» Views: 710
Beautiful Womans in your ...
Forum: VB.NET
Last Post: iHOMEz
06-09-2024, 09:23 PM
» Replies: 0
» Views: 502
Hangman in Rust
Forum: Other
Last Post: brandonio21
02-04-2018, 11:14 AM
» Replies: 2
» Views: 19,222
How to: Search files from...
Forum: VB.NET
Last Post: brandonio21
11-25-2017, 12:55 PM
» Replies: 1
» Views: 14,512
Database error anyone hel...
Forum: VB.NET
Last Post: brandonio21
11-25-2017, 12:46 PM
» Replies: 2
» Views: 16,507
Character ammount
Forum: Java
Last Post: brandonio21
04-28-2016, 02:13 PM
» Replies: 1
» Views: 18,485
RunAsAdmin
Forum: VB.NET
Last Post: brandonio21
04-15-2016, 11:11 AM
» Replies: 2
» Views: 21,186
Krypton Toolkit Download
Forum: VB.NET
Last Post: brandonio21
03-28-2016, 07:55 PM
» Replies: 0
» Views: 11,214
Adding backgroundcolor to...
Forum: Java
Last Post: brandonio21
09-01-2015, 10:09 PM
» Replies: 1
» Views: 14,938

 
  Womans from your city - Verified Damsels
Posted by: iHOMEz - 07-28-2024, 10:26 AM - Forum: Random Discussion - No Replies

Elevate your dating game with the top site for hassle-free connections.
Pretty Girls in your town

Print this item

  Supreme Сasual Dating - Actual Women
Posted by: iHOMEz - 06-14-2024, 11:28 AM - Forum: Random Discussion - No Replies

Connect casually with like-minded individuals on the ultimate dating platform.
Actual Women
Unsurpassed casual Dating

Print this item

  Beautiful Womans in your town for night
Posted by: iHOMEz - 06-09-2024, 09:23 PM - Forum: VB.NET - No Replies

Prettys Womans from your town

Print this item

  How to: Search files from a certain directory with Progressbar + Backgroundworker
Posted by: ryanshane91 - 10-31-2017, 07:25 AM - Forum: VB.NET - Replies (1)

Hello Everyone, Admin. I'm new to this Forum and i want to ask how to search files from a certain directory with progressbar & background worker? 

Code: (from the Admin-(Brandonio)) :
----------------------------------------------------------------------------------------------------------

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        BackgroundWorker1.RunWorkerAsync()

    End Sub



    Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork

        Dim directory = "Path"
        Dim files() As System.IO.FileInfo
        Dim dirinfo As New System.IO.DirectoryInfo(directory)
        files = dirinfo.GetFiles("*", IO.SearchOption.AllDirectories)
        For Each file In files
            ListBox1.Items.Add(file)
        Next

    End Sub

----------------------------------------------------------------------------------------------------------
But whenever i click the button, i get an error saying : Cross-thread operation not valid: Control 'ListBox1' accessed from a thread other than the thread it was created on.
----------------------------------------------------------------------------------------------------------
I'm new in VB.NET and i'm making an application that cleans up the Temporary folder.
Thank you. and uh, i like this forum.

Print this item

  Database error anyone help?
Posted by: sc2142 - 01-24-2017, 03:54 PM - Forum: VB.NET - Replies (2)

Im trying to connect my vb.NET Application to my database witch is on my website. Im getting this error: 

"An unhandled exception of type 'MySql.Data.MySqlClient.MySqlException' occurred in MySql.Data.dll 

Additional information: Unable to connect to any of the specified MySQL hosts." 

The error is being called on "sconnection.open()" 

Ive searched google and i cant find whats wrong. My site is through Hosting24. Code: http://pastebin.com/Gd4JCakQ

Print this item

  Character ammount
Posted by: .righteous - 04-25-2016, 06:32 AM - Forum: Java - Replies (1)

I've just finished watching your tenth "Learning Java" part and I want to limit the character number to five digits only. 
I've tried this:

Code:
import java.util.*;
public class digitExtractorTester {
    static Scanner userInput = new Scanner(System.in);
    
    public static void main(String[] args){
        String rNumber = "12345";
        System.out.print("Enter a custom, five digit number: ");
        String nSequence = userInput.next();
        System.out.println(" ");
        if (nSequence.chars() != rNumber.chars()){
            System.out.println("Your input contains too many or too less digits.\nOnly five digit numbers are allowed.");
        }
        else{
        digitExtractor byMath = new digitExtractor(Integer.valueOf(nSequence));
        byMath.returnNumberSequenceByMath();
        System.out.println(" ");
        digitExtractor byChar = new digitExtractor(nSequence);
        byChar.returnNumberSequenceByChar();
        }
    }
}
But it doesn't seem to be working. Any suggestions?

Never mind. I solved my own problem.
If anyone's wondering, I was using chars() when I was supposed to be using length(). (Source of information)

Code:
nSequence.length() != rNumber.length()

Print this item

  Hangman in Rust
Posted by: brandonio21 - 03-30-2016, 05:15 PM - Forum: Other - Replies (2)

After about a year hiatus, I have decided to come back to Rust. When I was learning it previously, I wrote "rustic tac toe"

This time around, I decided to write a very simple Hangman game. It isn't anything special, but when you write your first few programs in a new language, they feel special. I just wanted to share the program with you guys Smile

I have attached the output of git-archive for your perusal. 

.zip   hangmanrs.zip (Size: 146.69 KB / Downloads: 1466)

I have also attached the standalone binaries (Compiled on ArchLinux 4.4.5-1). 

.zip   hangmanbin.zip (Size: 821.25 KB / Downloads: 1370)

Don't be shy to check it out, but also don't be shy to offer criticism! I am still new when it comes to Rust.

Print this item

  Krypton Toolkit Download
Posted by: brandonio21 - 03-28-2016, 07:55 PM - Forum: VB.NET - No Replies

It has come to my attention that the Krypton Toolkit (ComponentFactory) is no longer available for download. Instead, the page simply contains no download link.

In the past, certain components of the software were free, while others were free for a limited number of days. In order to continue using the software indefinitely, a license key is needed.

Since the files are no longer available from the ComponentFactory webpage, here is the link to 4.4

http://www.megafileupload.com/nb2X/Krypton440.zip


(Apologies for the file provider.. it's a pretty big file)

Print this item

  RunAsAdmin
Posted by: brandonio21 - 09-28-2015, 11:14 AM - Forum: VB.NET - Replies (2)

It was pointed out by a viewer of my original RunAsAdmin video that the files for RunAsAdmin have seemed to disappear from the web. I am putting them here for public access. If you are a viewer of the aforementioned video, the file that is of interest to you is "RunAsAdmin.zip", available here:
.zip   RunAsAdmin.zip (Size: 21.46 KB / Downloads: 2077)


If you are a developer, you may download the source package here:
.zip   RunAsAdmin_source.zip (Size: 166.87 KB / Downloads: 2261)

Print this item

  Adding backgroundcolor to snake applet
Posted by: Kevin - 08-28-2015, 08:51 AM - Forum: Java - Replies (1)

Hi guys,

first, i'm not the best english speaker and -writer. Therefore i ask you to apologize my language mistakes Smile

Problably in your eyes, i have a very simply problem, but i cant add the background function to Brandonio's Snake Project. I want to have a black background in the applet. After this, i want to change the color of the grid to white.

I try to add two JPanel's to snakeApplet.java. But is it still not working. Every time i started the Applet, the background is white.



Code:
import java.applet.Applet;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;

import javax.swing.JPanel;

public class snakeApplet extends Applet{

    private snakeCanvas c;
    JPanel jp1 = new JPanel();
    JPanel jp2 = new JPanel();
    
    public void init()
    {
        jp1.setBackground(Color.BLACK);
        add(jp1);
        
        jp2.setBackground(Color.BLACK);
        add(jp2, BorderLayout.SOUTH);
        
        c = new snakeCanvas();
        c.setSize(new Dimension(640, 480));
        c.setPreferredSize(new Dimension(640, 480));
        c.setVisible(true);
        c.setFocusable(true);
        this.add(c);
        this.setVisible(true);
        this.setSize(new Dimension(640, 480));
        
    }
    
    public void paint(Graphics g)
    {
        this.setSize(new Dimension(640, 480));
    }
}
In addition, i want to add music to the applet. The music should instantly playing if the applet is open.
If the idea of the black background and white grid is not to be a looker, than i would to add a picture in the background of the grid.
But i dont know how i can code it.
I hope someone can help me please Smile
Yours sincerley
Kevin

Edit: Kevin is only a nickname Big Grin

Print this item