17 Forum Posts by "Elemento"
You could do a small aplication in VB or maybe some .Net that loads a row from the file, add it and then after wait for lets say 25ms to let the server cool down, or maybe less.
Last i checked when you print on the screen C doesnt ask you to turn a int into a char*, every standard printing method ( printf in C and cout in C++ ) doesnt ask you for that.
And besides, C# is quite like C in that manner, as i see it. its a strong typed language, while C i find that actually is bad to learn about casting, since you can insert any data tpye into another and it will keep going, you'll just have the most feared bug kind by C programmers.
I started coding in C# and dont think it could have been better. You migth say that class library just does everything for begginers, but, thats when you dont really want to learn.
How about having an argument for the function?
Were you call the function you put
go_there( <? echo $var; ?> );
since you probably call the function from php or print the link that uses it, it should be quite easy
try using ReplaceAny, i think its multi char
Well...
Lets say the string you want to replace the char in is called "uselessstring"
then to replace all "a" with "b" you have to do this
uselessstring.Replace( 'a', 'b' );
you should download the MSDN and search for this kind of stuff...
either way, the string has a function Replace( char, char ) that replaces all occurrences of the first char with the second.
Then you can use the With block
i think it was like this:
With Name
.Property
End With
Being Name the name of the control and property the property you want to access, you can access as many properties as you want inside the With block. So youcan copy paste and only change the name once.
the name of the control lets you access its propertys.
for example you ve got a textbox called "name" you access it by typing name. and the property you want
I've got only one thing to say, an encription DB, thats just... I really dont like it.
Anyway, nice work with the encryptions.
The thing is that SendKeys is a class not a function
You want to use SendKeys.Send
At 9/23/06 01:21 PM, CronoMan wrote: LOTS OF LONG STUFF
Yeah, C# is wonderfull, until you have to start doing bizarre stuff becuase ms forgot that their apis should work 100% in their programming lenguage. But, well, except for that its worth coding in, specially when you get used to the OOP.
For the translator you can use the String.Replace
For the e it would be like this:
string.Replace("e","3")
At 9/21/06 05:20 PM, Jordan wrote:At 9/21/06 04:26 PM, elbekko wrote: I dislike the For Dummies books =/ They always think I'm stupid. Tried reading one on C once.Yeah, they do assume you are somebody who has only been using a computer for a day and don't even know how to open up a program :(
Yeah, its really anoying, and also, its likely that it doesnt really teach as much as a "real" book on programming.
My first programming book was "The C Programming Lenguage" excelent book, just excelent.
Well, I didnt find it that risky, even tough i did it with ms tools and I realy dont trust those things. I do find it extremly usefull, it keeps things organized and if you need to install an os, you dont have to do any backup cause all the data is on another partition.
On how to dependes on which OS you re planning to install or have installed.
Well, this is the code for a textbox
Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
If (e.KeyCode = Keys.Return) Then
'do something
End If
End Sub
The KeyDown event fires when the key is pressed, the KeyUp when its realeased, and the KeyPress i think it was when the user held down the key.
Well, I've been coding an Offline DB Editor, its almost like having the DB in your PC but, with the feature of updating the actual DB with your changes.
Its almost finished so now I'm fixing bugs. Today, I fixed null values errors, which were quite dumb actually, something I forgot when I coded the null values.
All of this is for a game dev staff I'm in, we re coding a game in C#. I've some intersting things for it, the last one was an Auto Updater for the game.
Warlust Online
I'm kinda new here, but it think this is a great idea, maybe I can contribute something, I'm an intermidate level programmer, little less, but, who cares. I code in C, PHP, VB and C# .Net.

