Search Results - VBForums

Search:

Type: Posts; User: deve

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: Validate inputs

    by deve
    Replies
    3
    Views
    1,400

    Re: Validate inputs

    and where do I use this exaCTly on my php code ?
  2. Thread: Validate inputs

    by deve
    Replies
    3
    Views
    1,400

    Re: Validate inputs

    I found this :

    if ((preg_match('/^([0-9a-zA-Z+.()-])/s+$/i', $_POST['server'])))

    But chouldnt get work , I wont to allow only those characters : 0-9 a-z A-Z / , [ ] - . = and space.
  3. Thread: Validate inputs

    by deve
    Replies
    3
    Views
    1,400

    Validate inputs

    I am trying to validate 3 input fields before they are submitted. Here is my php proccessform :


    <?
    $profiles = Array();
    function start_element($parser, $name, $attrs){
    global $profiles;...
  4. Re: Read XML and add it to a listView with multi columns

    yes it is , both are in Debug folder.
  5. Re: Read XML and add it to a listView with multi columns

    yes it exist.
  6. Re: Read XML and add it to a listView with multi columns

    gives me the same error .
  7. Re: Read XML and add it to a listView with multi columns

    no it is : obj\Release
  8. Re: Read XML and add it to a listView with multi columns

    this gives me error. is it not for to check if the xml file exists ? I have the xml file located in appath.
  9. Re: Read XML and add it to a listView with multi columns

    exactly how it looks :


    <?xml version="1.0"?>
    <users>
    <profile ip="212.23.122.45" server="server name1" country="D">
    </profile>
    <profile ip="212.22.123.122" server="server name2"...
  10. Re: Read XML and add it to a listView with multi columns

    yes it does I even add : System.Threading.Thread.Sleep(5000);
    before read xml .
  11. Re: Read XML and add it to a listView with multi columns

    I use your code like this :



    But I get error when I run the exe on line : loadDoc.Load(Application.StartupPath + "\\servers.xml");
  12. Re: Read XML and add it to a listView with multi columns

    C# am I on the wrong forum , sorry .
  13. Re: Read XML and add it to a listView with multi columns

    I get this error :


    Error 1 'System.Xml.XmlNode' does not contain a definition for 'Attributes' and the best extension method overload...
  14. Read XML and add it to a listView with multi columns

    I use this code :


    System.Xml.XmlDocument loadDoc = new System.Xml.XmlDocument();
    loadDoc.Load(Application.StartupPath + "\\servers.xml");
    foreach (System.Xml.XmlNode ipNode in...
  15. Replies
    14
    Views
    916

    VS 2010 Re: C# Targetpath shortcuts

    I have now like this changed my code , sorry @espaņolito didnt work in C#



    this works great , instead of / I need to add " but cant :)
  16. Replies
    14
    Views
    916

    VS 2010 Re: C# Targetpath shortcuts

    well I need my shortcut exact like this :



    if anyone can give me an examle on how to do this whould be very nice thank you .
  17. Replies
    14
    Views
    916

    VS 2010 Re: C# Targetpath shortcuts

    any example ?
  18. Replies
    14
    Views
    916

    VS 2010 Re: C# Targetpath shortcuts

    sure it works with just a path , if you guys think it looks like a command path YES but how can I do it .
  19. Replies
    14
    Views
    916

    VS 2010 Re: C# Targetpath shortcuts

    Shortcut is should be like this : C:\test.vbs "C:/somefile.exe" somedata email@gmail.com password
  20. Replies
    14
    Views
    916

    VS 2010 Re: C# Targetpath shortcuts

    nope it gives me error unhandled exeption again. If I do not put the textbox3 filepath it works with it it doesnt. or if I put only the exe name like : somefile.exe it works also not with...
  21. Replies
    14
    Views
    916

    VS 2010 [RESOLVED] C# Targetpath shortcuts

    I have a small problem with generating the shortcut. Actually generating shortcut works no problem but I wont to add other few lines to shortcut that makes me problems that I chouldnt work out. For...
  22. Replies
    1
    Views
    201

    VS 2010 Re: Getting XML from url

    bump. anyone can help ?
  23. Replies
    1
    Views
    201

    VS 2010 Getting XML from url

    I am new to VS 2010 , I did have the same project with VB6 and everything is changed in here . I whould be happy if someone give me a hand.

    I wont to grab the xml from url and show on my forms...
  24. Replies
    8
    Views
    401

    VS 2008 Re: Convert Error from VB6

    Final code looks like this :


    Dim doc As XDocument
    doc = XDocument.Load("http://world.needforspeed.com/SpeedAPI/ws/game/nfsw/driver/" + TextBox1.Text + "/car")
    For...
  25. Replies
    8
    Views
    401

    VS 2008 Re: Convert Error from VB6

    ok my result code looks like this :


    Dim doc As XDocument
    doc = XDocument.Load("http://world.needforspeed.com/SpeedAPI/ws/game/nfsw/driver/nfswdriver/car")
    For...
  26. Replies
    8
    Views
    401

    VS 2008 Re: Convert Error from VB6

    I am not getting it correctly sorry , how whould I go with this xml output if I wont to have the nodes : carID - make - carName - acceleration - handling - rating - topspeed - carclass ?

    <worldCar...
  27. Replies
    8
    Views
    401

    VS 2008 Re: Convert Error from VB6

    this is all of the code :


    DebugXML.Text = Inet1.OpenURL("http://world.needforspeed.com/SpeedAPI/ws/game/nfsw/driver/" & Text2.Text & "/cars")
    xml_document.loadXML(DebugXML.Text)...
  28. Replies
    8
    Views
    401

    VS 2008 Convert Error from VB6

    I have converted my old project from VB6 to VB2008 but there is an uggly error that I chould not resolve.
    It whould be great if some one can help me . My error shows this line :


    DebugXML.Text...
  29. Replies
    1
    Views
    862

    Trainer with Aobscan on VB 2010

    Yes , what do I need to do for to make my Cheat engine trainer via VB2010 (for nice outlook) to work ?

    I have for example this aobscan cheat :


    [Enable]
    alloc(newmem,2048)...
  30. Thread: Declare address

    by deve
    Replies
    1
    Views
    459

    Declare address

    I am using a source from my friend for my game to change bytes.

    It looks like this


    private void WallHackToggle()
    {
    if (WallHack)
    {
    if (oM.OpenProcess(GameProcess) &&
  31. Replies
    3
    Views
    663

    Re: Check if string has bigger value

    thanks for reply, I chouldnt write exactly what I wont I guess, this way we can compare maybee all the indeks of test file.
    What I really need to be checked is only the one value from my...
  32. Replies
    3
    Views
    663

    Check if string has bigger value

    I need to check for a string if it has bigger value then the one in text file .

    My code is like this :



    String vl = Scores();
    if (string.IsNullOrEmpty(vl) == true)
    {
    string text =...
  33. Replies
    3
    Views
    447

    Re: Liststring more then 1 variable

    I wont to keep the line Location : and Time : then on animal score I just wont to keep the value : 150.010
  34. Replies
    3
    Views
    447

    Liststring more then 1 variable

    I wont to grab few lines from a text in to my textbox and chould not figure out on how to do it with when there is more then one line to take.

    For example my text includes this lines :


    ...
  35. Replies
    42
    Views
    1,214

    Re: Getting specified text from text file

    it is an old game , and game is not important I guess coz all the info we are getting is from the Game.LOG game those write there and we get it from there.
  36. Replies
    42
    Views
    1,214

    Re: Getting specified text from text file

    how can this be possible?
  37. Replies
    42
    Views
    1,214

    Re: Getting specified text from text file

    well I chould not figure out on how to delete the disconnected users from the link you gave me. My english isnt that good ...
  38. Replies
    42
    Views
    1,214

    Re: Getting specified text from text file

    ok thank you very much +++
  39. Replies
    42
    Views
    1,214

    Re: Getting specified text from text file

    yes now it works it shows all the connected user from the start of log until the end but we do not have a check if user disconnected delete it from the list.
  40. Replies
    42
    Views
    1,214

    Re: Getting specified text from text file

    well thats how my code looks now :


    listBox1.Items.Clear();
    using (StreamReader sr = new StreamReader(textBox1.Text + @"\Game\Game.LOG"))
    {
    while (sr.Peek() > -1)
    {
    string ln =...
Results 1 to 40 of 115
Page 1 of 3 1 2 3



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.