Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
Really need help, I will Pay!
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 02-28-2010, 02:29 PM
Newcomer
 
Join Date: Oct 2009
Posts: 7
Default Really need help, I will Pay!

Hey everyone, I need help finding a syntax error in the following code. I will pay somone like $5 after they post back the code with a corrected syntax! Thanks

///////////////////CODE STARTS HERE\\\\\\\\\\\\\\\\\\\\\\\

Imports System
Imports System.Windows.Forms
Imports System.Drawing
Imports Functions
Class ClassName1
public Dim a As Integer = 1
Sub main()
Class1.minimise(Class1.getForm())
Class1.activeWindow()
System.Threading.Thread.Sleep(300)
While (a != 0)
If (loop() == -1) Then
a = 0
End If
End While
System.Threading.Thread.Sleep(300)
Class1.maximise(Class1.getForm())
End Sub
public Function loop() As Integer

return -1
End Function
End Class
Reply With Quote
  #2  
Old 02-28-2010, 06:48 PM
Visual Basic Matt's Avatar
Forum Addict
 
Join Date: Jan 2008
Location: Evurar
Posts: 532
Default Re: Really need help, I will Pay!

I have no idea what your trying to do here but this code is extremely wrong. The parts I couldn't understand I left out but here's the correct syntax.

Code:
Imports System
Imports System.Windows.Forms
Imports System.Drawing
Public Class Form1
    Public a As Integer = 1
    Sub main()
        Me.WindowState = FormWindowState.Minimized
        System.Threading.Thread.Sleep(300)
        While Not (a = 0)
            If (loopc() = -1) Then
                a = 0
            End If
        End While
        System.Threading.Thread.Sleep(300)
        Me.WindowState = FormWindowState.Maximized
    End Sub
    Function loopc() As Integer
        loopc = -1
    End Function
    'You need to call main from somewhere
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        main()
    End Sub
End Class
__________________



Want to add this to your signature? Just copy the following code: (Make sure to remove the spaces)
Code:
[ URL="http://zarpor.com"] [ IMG]http://i51.tinypic.com/6jha1w.png[/IMG][/url]

Good Trades : 6
Bad Trades : 0

Reply With Quote
  #3  
Old 11-17-2010, 03:31 PM
jcd1827's Avatar
Apprentice
 
Join Date: May 2007
Posts: 677
Send a message via AIM to jcd1827 Send a message via MSN to jcd1827
Default Re: Really need help, I will Pay!

That codes extremely messy, and incorrect. Please provide what you are trying to do with it.
Reply With Quote
  #4  
Old 11-17-2010, 04:34 PM
blahbleh's Avatar
Active Member
 
Join Date: Nov 2010
Location: US
Posts: 179
Send a message via MSN to blahbleh
Default Re: Really need help, I will Pay!

Quote:
Originally Posted by TeKnOfY View Post
Hey everyone, I need help finding a syntax error in the following code. I will pay somone like $5 after they post back the code with a corrected syntax! Thanks

///////////////////CODE STARTS HERE\\\\\\\\\\\\\\\\\\\\\\\

Imports System
Imports System.Windows.Forms
Imports System.Drawing
Imports Functions
Class ClassName1
public Dim a As Integer = 1
Sub main()
Class1.minimise(Class1.getForm())
Class1.activeWindow()
System.Threading.Thread.Sleep(300)
While (a != 0)
If (loop() == -1) Then
a = 0
End If
End While
System.Threading.Thread.Sleep(300)
Class1.maximise(Class1.getForm())
End Sub
public Function loop() As Integer

return -1
End Function
End Class
I found 1 obvious error: Class ClassName1
Should be Class Class1.
__________________
My Vouches
  • 5 Good Trades.
  • 0 Bad Trades.
  • $70 in Total Value.
Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 08:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1