Search:

Type: Posts; User: Jmacp

Page 1 of 13 1 2 3 4

Search: Search took 0.18 seconds.

  1. Replies
    44
    Views
    4,122

    How is VB6 doing these days?

    Haven't used it in years, is it still used much in the workplace?

    Every piece of software known to man and animal must have been written by now anyway.
  2. Replies
    6
    Views
    728

    Re: inserting of text problem

    Dim a As String
    Dim b As String
    Dim c As String
    Dim d As String

    a = Text1.Text
    b = Text2.Text
    c = Text3.Text

    If a = "" Then
  3. Replies
    9
    Views
    1,107

    Re: Replace lines in txt

    You could use 2 text files, read the one with the data and write to another file.


    Dim sText As String
    Open "e:\file_1.txt" For Input As #1
    Open "e:\file_2.txt" For Output As #2
    Do...
  4. Replies
    2
    Views
    820

    Re: Convert delphi code to visual basic

    Not quite as simple as that as you have a class decalred,


    TForm1 = class(TForm)

    Which will contain all your db code so you would need to convert that class also.
  5. Replies
    3
    Views
    620

    Re: Winsock Doesn't Work Over Internet

    Firewall ?
  6. Replies
    5
    Views
    767

    Re: Keeping Points Saved

    Can you upload the whole project.
  7. Replies
    8
    Views
    1,138

    Re: A Quick Question Plz

    You can actually do it. Look at sig.
  8. Replies
    6
    Views
    3,310

    Re: VB6 - Password Char

    You could use arrays to do this.

    In my example, in text1 a person types in the word they wan't to have guessed, this word then fills text3 with the corresponding number of asterix * for that word...
  9. Replies
    6
    Views
    3,310

    Re: VB6 - Password Char

    What is your code so far, how are you assigning asterix?
  10. Re: Problem using a timer to change div styles

    Try this,


    document.getElementById("form-pagebreak-back_14").style.property="display:block;"
  11. Re: my own message not showing in chat room

    Have you tried debugging it?
  12. Replies
    9
    Views
    1,997

    Re: Imitating a website

    No js and css are client side they have to be downloaded locally into your cache, only server side scripting like asp/php is non viewable. If using firefox there is a plugin called save complete...
  13. Replies
    15
    Views
    2,419

    Re: promblem with php coding

    That is not what i meant, it was a general example. Open notepad and add your code then save the file as test.php (when doing this make sure you have "all files" selected in the save combo box if you...
  14. Replies
    15
    Views
    2,419

    Re: promblem with php coding

    What are you typing in the address bar to view your script something like,

    http://127.0.0.1/test.php

    Try turning of firewalls/AV ..
  15. Thread: Need script

    by Jmacp
    Replies
    3
    Views
    637

    Re: Need script

    Yuo will need to use some javascript to reload the second frame. Other than that i would need to tinker around with it, have never tried it, what do you have so far?
  16. Replies
    15
    Views
    2,419

    Re: promblem with php coding

    What happens if you type http://127.0.0.1 or http://localhost into the address bar?
  17. Thread: Need script

    by Jmacp
    Replies
    3
    Views
    637

    Re: Need script

    This is about all you could do,


    <?php

    if(isset($_POST['submit']))
    {
    $n1 = "http://localhost/?page=vote?id=" . $_POST['t1'];

    }
  18. Re: how do i output to a certain line number

    You need the exact path to the file, what you have assumes that the file is in the App Path which doesn't seem to be the case, something like,


    Private Sub Command3_Click()

    insertLine...
  19. Re: Can I install VB6 IDE in a Windows 2008 R2 Server??

    It's just tecno-talk, VB6 is defunct anyway, Microsoft have stopped all support for it in any of their OS's. I would imagine it would work fine in server 2008. It's still an NT core, and not really...
  20. Replies
    4
    Views
    4,116

    Re: [VB6] Process Memory READ

    Seeing as this may be useful to me i did some more, not all correct though, anyone else have any input, how to assign the array, "sSearch" to the UDT "s_Search". Here is what i have so far. Some of...
  21. Replies
    4
    Views
    4,116

    Re: [VB6] Process Memory READ

    I was messing about with this to see what i could do,

    For the in main() sub something like this,



    Option Explicit

    Private Const TH32CS_SNAPPROCESS As Long = &H2
    Private Const...
  22. Replies
    2
    Views
    773

    Re: Combo Box Clear

    If you mean clear all the entries then use,


    combo1.clear

    If you mean clear just the text in the visible box then use,


    Combo1.ListIndex = -1
  23. Replies
    4
    Views
    4,116

    Re: [VB6] Process Memory READ

    It probably could be, a fair bit of work though, how about in VB.NET?
  24. Replies
    7
    Views
    872

    Re: Help to Remove Duplicate

    Can you give some more examples of your data output, is there always one duplicate for each output, in other words is there an obvious pattern to the duplicates.
  25. Replies
    3
    Views
    652

    Re: Which files to include

    Are you using a windsock control, the sysinfo control, the comm control, even if you add these controls to your form and don't actually make use of them in your code they will still be listed as...
  26. Replies
    8
    Views
    1,241

    Re: ChooseColor dilema

    Why don't you use a custom dialog, it would have saved you a lot of trouble, here is one,

    dialog
  27. Replies
    2
    Views
    1,775

    Re: Bypassing Authentication Box for HTTP requests

    A quick google brought up this, IE doesn't support this after the update so it seems.

    http://support.microsoft.com/kb/834489
  28. Replies
    5
    Views
    518

    Re: Noob question !

    What do you mean, yes you can upload it, there are various sites that offer free storage space. Depends what kind of game, what did you have in mind, you could make a game in VB6 though your right...
  29. Replies
    5
    Views
    903

    Re: Can anyone help for VB6 ASSIGNMENT please?

    Pros of not using a GUI would be less memory usage, cons would be no ability to change any settings.

    Pros of using VB6 are that it's easy to code, cons would be that it slower than C++, it's not...
  30. Replies
    8
    Views
    1,241

    Re: ChooseColor dilema

    Can't you just open the dialog again?


    With cd
    .ShowColor
    End With
    Text1.BackColor = cd.Color
    With cd
    .ShowColor
    End With
  31. Replies
    6
    Views
    853

    Re: how to get data from internet into VB5??

    What are the websites ?
  32. Replies
    5
    Views
    728

    Re: How to Programmatically Navigate web site

    Try this,


    Private Sub Command1_Click()
    Dim Bday As Integer
    Bday = 4079
    brs.Navigate "javascript:__doPostBack('Calendar','" & Bday & "')"
    End Sub

    or make a sub out of it,
  33. Replies
    4
    Views
    596

    Re: ActiveX Control with a popup list

    I made a combobox usercontrol ages ago, it's basic but i was just playing about for half an hour or so, also i used a listbox not a listview, maybe there is something in it that can help.
  34. Re: listview in combobox using another form

    No offence meant but one of the first lessons you learn in programming is how to format code, also use code tags. There are various software out there that will do if for you or add-ins for the VB...
  35. Replies
    3
    Views
    481

    Re: Opening a text file

    That will only input the first line though if you want to whole text file stored then you can use,


    sText = Input$(LOF(1), #1)

    You can also use a loop with EOF but i think the above is easier.
  36. Re: Please help me how to sort and remove duplicatioin in listbox.

    To sort you can set the listboxes sorted property to True and to remove dups you can use this,



    Private Sub Command1_Click()
    RemoveDuplicates
    End Sub
    Private Sub Form_Load()
    With...
  37. Replies
    6
    Views
    1,253

    Re: Converting Hex Code

    Yes, in reverse,



    Dim a As Single
    Dim b As Long

    a = 31252
    CopyMemory b, a, 4
    MsgBox Hex$(b)
  38. Replies
    7
    Views
    4,358

    Re: IE9 Webbrowser Control and VB6?

    I remember reading somewhere that the JS engine has been serioulsy updated for IE9 and VB6 isn't officially supported by MS anymore so maybe something in that.
  39. Replies
    5
    Views
    728

    Re: How to Programmatically Navigate web site

    You can say,


    webbrowers1.navigate "javascript:__doPostBack('Calendar','4079')" which will call a JS function. Just need to change the values.
  40. Replies
    7
    Views
    4,358

    Re: IE9 Webbrowser Control and VB6?

    Which line of code?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width