Search:

Type: Posts; User: Narfy

Page 1 of 11 1 2 3 4

Search: Search took 0.11 seconds.

  1. Thread: [2005] variables

    by Narfy
    Replies
    4
    Views
    677

    [2005] variables

    Pretty stupid question... But I have two forms, and one form changes some variables on the other form, but I cant figure out how to do it, heres my code, please tell me what im doing wrong

    ...
  2. Replies
    2
    Views
    2,234

    Re: vb.net mysql UPDATE question

    thanks
  3. Replies
    2
    Views
    2,234

    [resolved] vb.net mysql UPDATE question

    I need to update multiple columns in my table at once, but the problem is that it only updates the status because the same variable is used for each dataadapter and I cant think of a different way to...
  4. Replies
    4
    Views
    708

    Re: vb.net mysql help

    heres the whole sub


    Private Sub connectBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles connectBtn.Click
    If Not conn Is Nothing Then conn.Close()

    ...
  5. Replies
    4
    Views
    708

    vb.net mysql help

    Im using vb.net 2005 and im using a sample from the mysql connector net 1.0, but I cant get it to work. I have the server started and I can login with the mysql console and add databases and tables...
  6. Re: VB 6 Compiler Helper Make Real Win32 Consoles, Win32 Dlls

    good work, the exports from dll will come in handy
  7. Replies
    4
    Views
    465

    Re: datepicker tool

    to just get the text inbetween the #'s use this

    Mid(string, 2, Len(string) - 2)


    That will only work if your date is saved in a string variable, if it is a date datatype then it really doesn't...
  8. Re: using mid() to get certain text from a string

    thanks, worked perfect
  9. using mid() to get certain text from a string [resolved]

    I have a string, lets say it contains "(24) blahblahblah".
    Im trying to get the numbers inbetween the ( ).
    to do that im using
    Mid(stringname, 2, 1)


    But the problem is it only returns the...
  10. Replies
    3
    Views
    838

    Re: Split string and save into array

    Thanks, just what I needed.
  11. Replies
    3
    Views
    838

    Split string and save into array [Resolved]

    I have a string containing these items "1,2,3,4,5", basically what i need to do is loop through and take each number seperated by the ',' and save it into an array named HappyArray ;) , how can i...
  12. Replies
    6
    Views
    449

    Re: Vote for the school presidency

    heh, probably not :bigyello:
  13. Replies
    6
    Views
    449

    Re: Vote for the school presidency

    thank you for that :thumb:
  14. Replies
    6
    Views
    449

    Vote for the school presidency

    Well, to make a long story short, me and a friend got in an argument the other night on who really should have the school presidency in the movie Napoleon Dynamite. Yes, im the one who said Summer...
  15. Re: Change a form's windowstate with just its hwnd?

    Thanks, just what i needed
  16. Change a form's windowstate with just its hwnd? [resolved]

    Is it possible to change a form's windowstate if all I have is the form's hwnd? if so, how can it be done?
  17. Replies
    1
    Views
    514

    Sorting listviews

    I have been searching on how to sort listviews when clicking on the columns, and have found this code, it works great with sorting strings, but when I have a column that is just integers it sorts...
  18. Re: Get the name of the last section in a ini file

    thanks, I used dglienna's example and it works perfect, but it showed the last ], so i used the mid function to remove it: Mid(eLine(0), 1, len(eline(0)) - 1)
  19. Get the name of the last section in a ini file [resolved]

    Heres what I am having trouble with, what im trying to do is get the name of the very last section in a ini file, so for example if the ini file looked like the one below, it would return the word...
  20. Replies
    3
    Views
    661

    Re: Parse string

    Thanks, works perfect
  21. Replies
    3
    Views
    661

    Parse string [resolved]

    I have a string that looks something like this:
    '1 - blahblah - bob, joe'

    now how would I go about parsing it so I "cut" off everything before the last '-', so I would get only 'bob, joe'?
  22. Thread: Application path

    by Narfy
    Replies
    3
    Views
    598

    Re: Application path

    Thanks, it worked perfect, all I needed to do after that was parse it so I didn't get the name of the exe in there too, the following code I used to parse it.



    char *p = szOut;
    char *Result; ...
  23. Replies
    8
    Views
    587

    Re: Whats the BEST Antivirus solution

    Those dont get rid of viruses, only adware and spyware. :afrog:

    My favorite antivirus would have to be AVG free edition, works perfect, doesn't take up very much system resources, i've used both...
  24. Thread: Application path

    by Narfy
    Replies
    3
    Views
    598

    Application path

    I know this has been posted alot, but I can't get the other code to work from other people's examples to work for me.

    I am looking for a way to get the path of where the exe is that the user is...
  25. Replies
    5
    Views
    817

    Re: shell to external exe

    thanks for the reply, it helped me figure out what is wrong, turns out in my variable ft, it needed to have double backslashes instead of single backslashes. I should have done like you said and...
  26. Replies
    15
    Views
    1,791

    Re: Stand alone application

    which program did you find? I might be interested in it if I never get around to trying to program one myself. :blush:
  27. Replies
    15
    Views
    1,791

    Re: Stand alone application

    I have just used the trial, but if money isn't a problem for you, go ahead and buy it, of course I cant afford it, guess that explains why I just stick with the trial.

    Or you could probably make a...
  28. Replies
    5
    Views
    817

    Re: shell to external exe

    bump, im still having the same problem.
  29. Replies
    15
    Views
    1,791

    Re: Stand alone application

    You can try using this program, it wraps all of the required dlls and such into the exe, it might be worth a try.

    http://www.moonlight-software.com/vbpower.htm
  30. Replies
    5
    Views
    817

    Re: shell to external exe

    OK, but it partially works, I have "open" in the 2nd paramater in the function shellexecute, and the problem is that it opens the folder where the exe is at instead of accually running the exe.
    ...
  31. Replies
    5
    Views
    817

    shell to external exe

    I've searched around but haven't found the solution yet, so here is my question. How can you shell to a external exe while passing a couple of parameters to it?
  32. Replies
    2
    Views
    694

    Re: Problem showing dialog

    my bad, just changed this line

    g_hFrmMain = CreateDialog(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_FRMMAIN), hwnd, MainDlgProc);

    to this:

    g_hFrmMain = CreateDialog(GetModuleHandle(NULL),...
  33. Replies
    2
    Views
    694

    Re: Problem showing dialog

    ok, a little update here, turns out I get a warning on the line where it calls CreateDialog()

    warning C4700: local variable 'hwnd' used without having been initialized

    anybody know what that...
  34. Replies
    2
    Views
    694

    Problem showing dialog

    Im trying to learn c++ but am having a problem with the following code, when I run it, the dialog doesn't show at all, but when I goto running processes it shows that it is running, but I can't see...
  35. Replies
    12
    Views
    2,832

    Re: send email using vb6

    I have used this before in one of my apps and it is very easy to use

    http://www.freevbcode.com/ShowCode.Asp?ID=109
  36. Replies
    6
    Views
    501

    Re: Better way to do this?

    OK, thanks manavo, I just modified your code a lil bit and it works the same as before, just in a shorter amount of lines, so its perfect, just the way I want it.

    Im writing billing software for...
  37. Replies
    6
    Views
    501

    Better way to do this?

    There has got to be a better/shorter way of doing this, any suggestions?

    Select Case selected
    Case 0
    selDay = "Sunday"
    Case 1
    ...
  38. Replies
    12
    Views
    1,016

    Re: Internet Explorer

    Looks fine to me, shouldn't need to delete anything, try doing a few windows updates, sometimes that has worked for me in the past.

    Try opening internet explorer, goto Tools>Internet Options then...
  39. Thread: pc tester

    by Narfy
    Replies
    25
    Views
    894

    Re: pc tester

    sorry, i ment to say I upgraded to that, i started out with a geforce 4 ti4200 agp8x 128mb
  40. Thread: pc tester

    by Narfy
    Replies
    25
    Views
    894

    Re: pc tester

    1gb DDR400
    P4 2.6ghz HT
    120gb hard drive
    Geforce 6600GT AGP8x 128mb ddr3
    Audigy 2 ZS
    Soyo motherboard

    Self-built
    Paid around 1400 USD for parts
    I cant remember when I got it, it might have...
Results 1 to 40 of 433
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width