Author Topic: Sentence Split  (Read 37687 times)

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Sentence Split
« Reply #120 on: October 20, 2005, 12:11:36 PM »
It's in options form I think.

Go to the actual graphical form for options.  Click on the "add species" button.  That should take you to the text code that handles it.

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Sentence Split
« Reply #121 on: October 20, 2005, 01:56:36 PM »
ok, but what is "CommonDialog1" for thing? is it something in VB or just something in db? and what does it do?
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Sentence Split
« Reply #122 on: October 20, 2005, 02:40:39 PM »
CommonDialog1 is an instance of a common dialogue control.

Dialog controls are those "where is the file you're looking for" dialogue boxes.

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Sentence Split
« Reply #123 on: October 20, 2005, 03:06:05 PM »
so its a vb thing?, nums is there a way to change the case in a sentence so all parts is lower case?
« Last Edit: October 20, 2005, 03:09:31 PM by Zelos »
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline Ulciscor

  • Bot Destroyer
  • ***
  • Posts: 401
    • View Profile
Sentence Split
« Reply #124 on: October 20, 2005, 04:41:23 PM »
It's quite possibly
Code: [Select]
lcase(string) where string is the arguement.
:D Ulciscor :D

I used to be indecisive, but now I'm not so sure.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Sentence Split
« Reply #125 on: October 20, 2005, 04:48:14 PM »
That was what I thought too but when I looked it up int the help files it looks like this only applies to ODBC database interactions.

Haven't had the time to test it yet to find out.

Another possibility is Lower(string)
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Sentence Split
« Reply #126 on: October 22, 2005, 04:28:41 AM »
ive been starting to experimentate with commondialog, when ive open a file with it like this:
Private Sub Command1_Click()
  CommonDialog1.ShowOpen
End Sub
how do I make so it apphere in a text box or stored as a string?
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Sentence Split
« Reply #127 on: October 22, 2005, 11:08:50 AM »
Now we're getting into areas of VB I'm still fuzzy in.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Sentence Split
« Reply #128 on: October 22, 2005, 11:12:29 AM »
I don't get the qustion:

Quote
Private Sub Command1_Click()
CommonDialog1.ShowOpen
End Sub
how do I make so it apphere in a text box or stored as a string?

You mean how do you get the path into a string? It is :
Quote
FileName Property
     

Returns or sets the path and filename of a selected file. Not available atdesign time for the FileListBox control.

CopyLeft msdn only in the case of needing that a person gets msdn.
« Last Edit: October 22, 2005, 11:13:26 AM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Sentence Split
« Reply #129 on: October 22, 2005, 11:51:06 AM »
I think Bots is saying that it'd be:

Private Sub Command1_Click()
CommonDialog1.ShowOpen
End Sub

some_string = CommandDialog1.FileName

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Sentence Split
« Reply #130 on: October 22, 2005, 12:33:15 PM »
thx, a question,m if I have a list, how do I with commands add something to the list?
« Last Edit: October 22, 2005, 12:44:01 PM by Zelos »
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Sentence Split
« Reply #131 on: October 22, 2005, 12:46:44 PM »
GET MSDN GOD DAM IT.

Private Sub Form_Load()
List1.AddItem "moo"
List1.AddItem "beee"
End Sub
« Last Edit: October 22, 2005, 12:49:00 PM by Botsareus »

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Sentence Split
« Reply #132 on: October 22, 2005, 01:24:51 PM »
^_^ this is getting fun ^_^
the thing is that a human is easier to understand. and another thing, when I use this to open a txt file:
Private Sub Command1_Click()
CommonDialog1.ShowOpen
Open CommonDialog1.FileName For Input As #1
Input #1, variable1
Text1.Text = variable1
Close #1
List1.AddItem CommonDialog1.FileName
End Sub
it only shows in text1 the first row, wgy? and how do I fix it?
« Last Edit: October 22, 2005, 01:29:02 PM by Zelos »
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA