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

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 2,799
» Latest member: Jerrygef
» Forum threads: 856
» Forum posts: 3,643

Full Statistics

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

Latest Threads
Looking for Adventure? Fi...
Forum: Random Discussion
Last Post: iHOMEz
11-16-2024, 09:18 PM
» Replies: 0
» Views: 458
Prettys Womans in your to...
Forum: Random Discussion
Last Post: iHOMEz
10-30-2024, 07:45 AM
» Replies: 0
» Views: 736
Prettys Womans in your ci...
Forum: Random Discussion
Last Post: iHOMEz
10-26-2024, 10:50 AM
» Replies: 0
» Views: 769
Beautiful Womans from you...
Forum: Random Discussion
Last Post: iHOMEz
10-19-2024, 02:48 PM
» Replies: 0
» Views: 866
Prettys Womans in your ci...
Forum: Random Discussion
Last Post: iHOMEz
10-06-2024, 05:00 PM
» Replies: 0
» Views: 1,033
Womans from your city - V...
Forum: Random Discussion
Last Post: iHOMEz
07-28-2024, 10:26 AM
» Replies: 0
» Views: 1,410
Supreme Сasual Dating - A...
Forum: Random Discussion
Last Post: iHOMEz
06-14-2024, 11:28 AM
» Replies: 0
» Views: 1,833
Beautiful Womans in your ...
Forum: VB.NET
Last Post: iHOMEz
06-09-2024, 09:23 PM
» Replies: 0
» Views: 1,635
Hangman in Rust
Forum: Other
Last Post: brandonio21
02-04-2018, 11:14 AM
» Replies: 2
» Views: 20,631
How to: Search files from...
Forum: VB.NET
Last Post: brandonio21
11-25-2017, 12:55 PM
» Replies: 1
» Views: 15,942

 
  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: 677)
Print this item

  Platformer game
Posted by: stefanbanu - 08-10-2013, 10:03 AM - Forum: Java - Replies (2)

hello everyone, i followed the series on the channel, the one with 3 episodes, how can i finish the game, i made the level editor and i liked so much the way it was explained, i want to finish the game,
can anyone help me please?and understand at the same time.

Thanks

Print this item

  Building or Publishing
Posted by: brco900033 - 08-07-2013, 08:13 AM - Forum: Programming Help - Replies (2)

I have a little question but didn't know where to place it on the forum. Because this is about programming I decided to place it here, hope it's the right place...

So my question is what the difference is between the executable that has been built or the executable that has been published. Except from the installer where the published exe is stored in I don't know the difference.

Thanks, Brecht

Print this item

  Edit cell of DataGridView
Posted by: brco900033 - 08-07-2013, 08:08 AM - Forum: Programming Help - Replies (1)

Like the title itself already says: how can I edit a specific cell of a DataGridView (cell set as textbox).

PS: by editing I mean changing the text.

Thanks in advance, Brecht!

Print this item