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

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,984
» Latest member: kilavnieks333
» Forum threads: 849
» Forum posts: 3,632

Full Statistics

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

Latest Threads
Database error anyone hel...
Forum: VB.NET
Last Post: sc2142
01-24-2017, 03:54 PM
» Replies: 0
» Views: 689
http://healthyboosterspro...
Forum: Random Discussion
Last Post: Casly
01-20-2017, 07:04 AM
» Replies: 0
» Views: 3,187
Turnkey Online Casino
Forum: Random Discussion
Last Post: AdemCot
11-28-2016, 04:05 PM
» Replies: 0
» Views: 3,048
Character ammount
Forum: Java
Last Post: brandonio21
04-28-2016, 02:13 PM
» Replies: 1
» Views: 3,828
RunAsAdmin
Forum: VB.NET
Last Post: brandonio21
04-15-2016, 11:11 AM
» Replies: 2
» Views: 5,228
Hangman in Rust
Forum: Other
Last Post: brandonio21
03-30-2016, 05:15 PM
» Replies: 0
» Views: 3,014
Krypton Toolkit Download
Forum: VB.NET
Last Post: brandonio21
03-28-2016, 07:55 PM
» Replies: 0
» Views: 1,546
Adding backgroundcolor to...
Forum: Java
Last Post: brandonio21
09-01-2015, 10:09 PM
» Replies: 1
» Views: 2,981
Using a string as an alia...
Forum: VB.NET
Last Post: brandonio21
06-20-2015, 09:00 PM
» Replies: 1
» Views: 2,961
Read all lines from multi...
Forum: VB.NET
Last Post: strawman83
06-04-2015, 08:54 AM
» Replies: 2
» Views: 2,520

 
  NumberFormatException with Snake
Posted by: Timkat1994 - 09-16-2013, 03:04 AM - Forum: Programming Help - Replies (1)

Hi! I'm following the 8th video of the Snake tutorial and I seem to have missed something and/or completely screwed up. I just started trying to learn Java today and after watching the Tutorials I got started on following the Snake videos. I learn well by example, so these have all been fantastic. I've been at it for hours now, and I can't seem to find what I've done wrong here. The file on the snake page here doesn't have the High Score part added, otherwise I would compare that and mine. Any help would be much appreciated!

Here is the error message:

Exception in thread "Thread-3" java.lang.NumberFormatException: For input string: " 40"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at snakeCanvas.CheckScore(snakeCanvas.java:175)
at snakeCanvas.Move(snakeCanvas.java:142)
at snakeCanvas.run(snakeCanvas.java:267)
at java.lang.Thread.run(Unknown Source)


Here is my progress:
<!-- m --><a class="postlink" href="http://pastebin.com/w7zjJ1fe">http://pastebin.com/w7zjJ1fe</a><!-- m -->

Print this item

  Create the perfect Windows GUI
Posted by: brco900033 - 09-09-2013, 10:15 AM - Forum: Graphic Design - No Replies

I was just surfing on the web about creating a usefull Windows GUI and found that Microsoft has a document with general guidelines on how to create the perfect Windows User-Interface.

You can download this document in PDF format here: http://download.microsoft.com/download/e...XGuide.pdf

This document contains 900 pages, thus very detailed. Ofcourse you can read the topics that you need information about and skip the rest.
It contains very usefull information as I stated before, for example on hoiw to use Listboxes, Buttons, how to write down your Text and how to use a ProgressBar... The list goes on and on.

Definitely something you should try out


Greetings, Brecht

Print this item

  Need help with Joomla php Script
Posted by: redcore - 09-09-2013, 06:30 AM - Forum: HTML/CSS/PHP (Web Development) - No Replies

I am a total php newbie and hope to find someone who could help on a few issues:
Site CMS=joomla 2.5; the component breezingforms/contentbuilder requires certain php code to link a field to a task i.e. referring to a URL. I have more detail for someone willing to help.

Print this item

  Usage value of properties
Posted by: brco900033 - 08-31-2013, 06:13 AM - Forum: Programming Help - Replies (2)

Hi, I have a little question here

I'm using a lot of properties but I don't know what value to use in my other subs. I find it hard to explain so I have an example:

[code2=vbnet]'This is the property itself
Private _TextCancelButton As String = "Cancel"
<Category("TextFields"), Description("The text shown in the Cancel button"), DefaultValue("Cancel")>
Public Property TextCancelButton() As String
Get
Return _TextCancelButton
End Get
Set(value As String)
_TextCancelButton = value
cmdCancel.Text = _TextCancelButton
End Set
End Property[/code2]

Now what should I use know to change the text of the Cancel button, for example when another button is clicked?

[code2=vbnet]cmdCancel.Text = _TextCancelButton
'or
cmdCancel.text = TextCancelButton[/code2]


I think it is the same, or not?

Thanks, Brecht

Print this item

  Using the WebClient Class To Track Download Progress
Posted by: brandonio21 - 08-23-2013, 01:12 PM - Forum: Code Snippets - No Replies

Using this code snippet, you should be able to download any file to your computer and track it's progress using a progressbar or a label (Or any other control which you desire). Below is a sample snippet, so be sure to change variable names to match your project!

[code2=vbnet]Imports System.Net
Public Class Form1

Private Sub btn_downloadStart_Click(sender As System.Object, e As System.EventArgs) Handles btn_downloadStart.Click
Dim wc As New WebClient 'This allows us to actually download the files
AddHandler wc.DownloadProgressChanged, AddressOf DownloadProgressChanged 'Link the progresschanged event with our subroutine
AddHandler wc.DownloadFileCompleted, AddressOf DownloadFileCompleted 'Link the downloadfilecompleted event with our subrouting
wc.DownloadFileAsync(New System.Uri("File URL"), "Local Path") 'Actually download the file (on another thread), change File URL and Local Path to your information
End Sub

Public Sub DownloadProgressChanged(sender As Object, e As DownloadProgressChangedEventArgs)
progress_download.Value = e.ProgressPercentage 'Displays download progress on a progress bar
lbl_details.Text = e.BytesReceived & "/" & e.TotalBytesToReceive 'Displays download progress (as fraction) in a label
End Sub

Public Sub DownloadFileCompleted(sender As Object, e As EventArgs)
MsgBox("The file has completed downloading!") 'Tell the user the download is complete
End Sub
End Class[/code2]

A video tutorial for this code snippet should be coming soon!

Print this item

  the snake game don't like me.
Posted by: Aaron Rogers118 - 08-22-2013, 09:10 AM - Forum: Programming Help - Replies (3)

I keep geting this error message:

Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 1

at Snake.snakeCanvas.CheckScore(snakeCanvas.java:173)

at Snake.snakeCanvas.Move(snakeCanvas.java:156)

at Snake.snakeCanvas.run(snakeCanvas.java:288)

at java.lang.Thread.run(Unknown Source)

Can anyone help?

Print this item

  Minecraft Server Creator
Posted by: Cecilio - 08-14-2013, 10:05 PM - Forum: Share your programs! - No Replies

Download it here:

http://minecraftservercreator.weebly.com/

Print this item

  how do you make a register system in VB using Dropbox
Posted by: Cecilio - 08-14-2013, 05:49 PM - Forum: Programming Help - Replies (2)

I want to make a register system but can't seem to think of the code I made a login system so that's it downloads a string from Dropbox and compares the text from the text box and the text from the account text file but I can't seem to edit the account text file from VB to create an account or a register system hope this makes sense because its hard to do help me please

Print this item

  Usefull software for program development
Posted by: brco900033 - 08-13-2013, 10:30 AM - Forum: Computing - Replies (2)

I wanted to make this thread because I have found some usefull programs for the development of software. It is actually not for the development itself but other important extra features that are underestimated a bit (I think).

Creating a program is one thing but you need to create for example help files, a decent installer... That takes time again but you want that program online as fast as possible. That's why I want to share a quick list of software that can come in handy, these programs will fasten up the progress a lot!


* Free icons
Use free icons you can download from https://www.iconfinder.com/. Make sure you set your filters right (set to For commercial use, no backlink). You can also buy icons for one buck (max).

* Advanced Installer
You can create professional looking installers with this. I use it all the time and have got no problems so far. There are so many possibilities, you won't believe! http://www.advancedinstaller.com/. This program has a free mode where you can create installers with the basic needs.
If you need a simpler program I would recommend InstallCreator!

* Create Help files
I've tested some of these programs and the one that I actually like for its performance and easy-to-use interface is Help & Manual 6 [url](<!-- m --><a class="postlink" href="http://www.helpandmanual.com/">http://www.helpandmanual.com/</a><!-- m -->[/url]). With this one you can create HTML, PDF, CHM... all the formats used for help-files.

* Create covers
Expensive 3D designers make covers for you but nobody wants to pay so much for just a cover, that's why I included TBS Cover Editor in this list. The default templates are everything you need for creating professional looking covers. (http://www.trueboxshot.com/TBSCoverEditor)

* Free FTP Server of 10Gb
1FreeHosting gives you a free FTP server of 10Gb with a lot of extra features like an own é-mail client and a website (with subdomain, need pro for normal one!)

* Axialis IconWorkshop
This is a famous one and I think almost everybody knows it but I couldn't forget him from the list. Very easy to make icons. For example just download an icon that you like from IconFinder and export it as an .ico in Axialis. (http://www.axialis.com/iconworkshop/)

* Telerik JustCode, JustMock and JustTrace
I have used them in Trial mode and watched some videos of them in full action and these tools do wonders... if you can use them properly (that is one problem because I find it very, very hard!)

*Create webpages
A Drag and Drop interface to make websites (http://www.serif.com/webplus/). This program has some extra features like photo galleries (no programming needed, just drag and drop), default templates... Ofcourse if you need something extra you can make it yourself and implement it easily.

I know these programs are not free and some are very expensive but I think you guys will find a way around if you know what I mean...

Note: If you have some usefull programs you can also post them below if you want.

Print this item

  Downloading from FTP server doesn't work
Posted by: brco900033 - 08-12-2013, 08:50 AM - Forum: Programming Help - Replies (5)

I have been working on a little project that requires downloading a file from an FTP server. The problem is that it just doesn't want to work. I have uploaded my project so you guys can read the whole code because I found a library online.

Also you can acces the FTP I'm using for this test project, it is just a test server so you can't acces any of my normal files, only the file that has to be downloaded.

Now the problem; in this test project I created two buttons, the first one downloads the file with the standard future of VB.NET(FtpWebRequest). The problem is that it says that the file is downloaded but the file isn't saved anywhere on the harddisk.

The second button downloads the file using the library I've found online. Everything goes fine until it gives me the error that the file doesn't exist or that I don't have the rights to acces the file (Error code 550).

I had some more problems with downloading this file but found a solution by myself but this just won't work. I really have no clue on what I'm doing wrong.

Hope someone can help me with this one,
Brecht



Attached Files
.rar   TestDownloadFTP.rar (Size: 157.83 KB / Downloads: 102)
Print this item