| View previous topic :: View next topic |
| Author |
Message |
serf123 Expert Cheater
Reputation: 0
Joined: 16 Jan 2007 Posts: 200
|
Posted: Tue May 12, 2009 4:31 pm Post subject: vb 2008 form 4 WTFX? |
|
|
in da pic plz helpp
| Description: |
|
| Filesize: |
46.55 KB |
| Viewed: |
5779 Time(s) |

|
_________________
|
|
| Back to top |
|
 |
hacksign23 Master Cheater
Reputation: 0
Joined: 26 Nov 2006 Posts: 404
|
Posted: Tue May 12, 2009 4:42 pm Post subject: |
|
|
can't you just do
Form4.Show()
o_o?
or cap the f. strange.
_________________
|
|
| Back to top |
|
 |
gogodr I post too much
Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Tue May 12, 2009 4:54 pm Post subject: |
|
|
I'm pretty sure its because its Form4 and not form4
--edit--
I said that without really reading the whole code
but .. >.> I see something strange there....
|
|
| Back to top |
|
 |
Chidori Grandmaster Cheater
Reputation: 1
Joined: 25 Apr 2008 Posts: 691 Location: Canada
|
Posted: Tue May 12, 2009 5:27 pm Post subject: |
|
|
| Make the "F" capital?
|
|
| Back to top |
|
 |
serf123 Expert Cheater
Reputation: 0
Joined: 16 Jan 2007 Posts: 200
|
Posted: Tue May 12, 2009 5:43 pm Post subject: |
|
|
| Chidori wrote: | | Make the "F" capital? |
it is atm
_________________
|
|
| Back to top |
|
 |
gogodr I post too much
Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Tue May 12, 2009 6:12 pm Post subject: |
|
|
is it ok to do
Dim x as New x ?
shouldn't the new one have a different name ?
|
|
| Back to top |
|
 |
FullyAwesome I post too much
Reputation: 0
Joined: 05 Apr 2007 Posts: 4438 Location: Land Down Under
|
Posted: Wed May 13, 2009 12:36 am Post subject: |
|
|
you don't need to do that shit in vb.net (i think it's called instantiate or something), it's just Form4.Show()
get rid of dim form4.
_________________
|
|
| Back to top |
|
 |
[Admiral] How do I cheat?
Reputation: 0
Joined: 11 May 2009 Posts: 6
|
Posted: Wed May 13, 2009 12:49 am Post subject: |
|
|
Lol. Try this:
Dim form4 as new form
|
|
| Back to top |
|
 |
FullyAwesome I post too much
Reputation: 0
Joined: 05 Apr 2007 Posts: 4438 Location: Land Down Under
|
Posted: Wed May 13, 2009 12:59 am Post subject: |
|
|
| [Admiral] wrote: | Lol. Try this:
Dim form4 as new form |
i've used vb.net in the past ( ) and i tried it again just then, and i can asure anyone ignorant that you do NOT need to declare any shit (dim).
it is simply,
_________________
|
|
| Back to top |
|
 |
KorruptByte Expert Cheater
Reputation: 0
Joined: 14 Apr 2007 Posts: 214
|
Posted: Wed May 13, 2009 1:05 am Post subject: |
|
|
You don't need to add the declare in memory..
On the other hand, why get all fussy over VB .Net. It's not like it's one of the best programming languages out there..
_________________
|
|
| Back to top |
|
 |
shhac Expert Cheater
Reputation: 0
Joined: 30 Oct 2007 Posts: 108
|
Posted: Wed May 13, 2009 11:42 am Post subject: |
|
|
Everyone here also seems to be assuming that Form4.vb contains something called Form4.
I could make a file called Form4.vb that contains a totally different class e.g.
| Code: | Public Class thisIsntCalledForm4
Public Function Show() As Boolean
Return True
End Function
End Class | saved as Form4.vb
|
|
| Back to top |
|
 |
FullyAwesome I post too much
Reputation: 0
Joined: 05 Apr 2007 Posts: 4438 Location: Land Down Under
|
Posted: Thu May 14, 2009 1:10 am Post subject: |
|
|
| shhac wrote: | Everyone here also seems to be assuming that Form4.vb contains something called Form4.
I could make a file called Form4.vb that contains a totally different class e.g.
| Code: | Public Class thisIsntCalledForm4
Public Function Show() As Boolean
Return True
End Function
End Class | saved as Form4.vb |
it's assumed knowledge that he's obviously trying to show the form Form4, he's just read wrong somewhere and thinks he has to declare, like you would for C#:
| Code: | About _About = new About();
_About.ShowDialog(); |
and i thought that it'd be obvious that by looking at his code, he probably wouldn't have a clue of what you were arguing.
_________________
|
|
| Back to top |
|
 |
!#M3[) How do I cheat?
Reputation: 0
Joined: 12 Apr 2009 Posts: 2
|
Posted: Thu May 14, 2009 7:46 am Post subject: |
|
|
| now that is funny xD
|
|
| Back to top |
|
 |
|