Search:

Type: Posts; User: justgreat

Page 1 of 12 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    44
    Views
    58,923

    Re: [VB6] Unicode File Open/Save Dialog

    The best helper on this forum is back ??? where have you been man ? I asked many admins about you, no one knew where have you been hiding for years...hope you were fine during all this time :)
  2. Re: Copy folder with files but without subfolders

    So to avoice any confusion for people who will be using it, would you please paste the working code ?
  3. Re: Copy folder with files but without subfolders

    so you suggest to use the code you got from cyberactivex's right ?
  4. Re: Copy folder with files but without subfolders

    @Jonney do you mean that the above codes haven't work and the only one working is the one you posted that you mentioned as beeing from cyberactivex ?
  5. Replies
    38
    Views
    9,831

    Re: [RESOLVED] Change error description langage

    Thanks a lot, to both, and yes Bonnie, I figured out your hint by myself :)

    As for errors, I already make lots of tests in my code to avoid maximum errors, and user shouldn't get "lots of"...
  6. Replies
    38
    Views
    9,831

    Re: [RESOLVED] Change error description langage

    By the way, the error's messages that will be raised by default in the err.description based on the dll that the user has on his PC, or based on the dll of my pc when i compiled the .exe ?
  7. Replies
    38
    Views
    9,831

    Re: [RESOLVED] Change error description langage

    true, but the problem is that I wanted to have a stand alone exe without installer (considering that vbruntime exsits on windows) ... and if i will give a .exe + a txt file containing the error...
  8. Replies
    38
    Views
    9,831

    Re: Change error description langage

    Thanks a lot Arnoutdv, your link is very usefull i made a sample .res based on your article and it worked.

    I will tag it as resolved.

    To conclude all this discussion :

    -We can't change the...
  9. Replies
    38
    Views
    9,831

    Re: Change error description langage

    I thought we can have many ressources files, I never used many so thought it's doable, but anyway it's not that hard :)
    I can copy paste different languages values and use something like :
    for...
  10. Replies
    38
    Views
    9,831

    Re: Change error description langage

    Yes thanks...There are about 119 erros which is more than enough and others will be custom errors...

    Now i am wondering if I can load the saved file into a ressource file instead of using...
  11. Replies
    38
    Views
    9,831

    Re: Change error description langage

    ya I got you, if I load them directly, i will get only the langage that the user has, but if i load them already on my Pc i can get both versions...
    The only problem remaining here is to define all...
  12. Replies
    38
    Views
    9,831

    Re: Change error description langage

    I see now what do you mean :)
    your raising errors, storing them into a file and loading them later into a collection and on need reading them from the collection...
    the idea is not bad...I think it...
  13. Replies
    38
    Views
    9,831

    Re: Change error description langage

    Arnoutdv , thanks for your code....
    is it based on bonnie's file ?
    Did you test that it works ?
    To test it, i made a simple Copy/Paste into a text file of bonnie's file mentionned on post #15
    I...
  14. Replies
    38
    Views
    9,831

    Re: Change error description langage

    Yes your right, but not in my case ...because showing description error alone is not what am doing .... !!!! my program will show an error telling him : Error renaming file xxxx.txt .... and under...
  15. Replies
    38
    Views
    9,831

    Re: Change error description langage

    Arnoutdv, thanks for your reply, and sorry but it's not a helpfull one ! it's not first time that i make a code and if i am asking how to do that it's that I know what am doing and what do I need......
  16. Replies
    38
    Views
    9,831

    Re: Change error description langage

    Bonnie West, would you please explain to me a bit more your hint ? I didnt understand what you think about here.
  17. Replies
    38
    Views
    9,831

    Re: Change error description langage

    Bonnie West , thanks, yes I got you ... I will choose either to display only english error in this case, or that I can do my approach, I mean I take the described errors on msdn link and i make a...
  18. Replies
    38
    Views
    9,831

    Re: Change error description langage

    This means that what the guy said in the link i posted above is not wrong ! If I understand well what you are telling : I open (msvbvm60.dll in both eng and fr environement) using Resource Hacker, I...
  19. Replies
    38
    Views
    9,831

    Re: Change error description langage

    Thanks for clarifiying, as you said it seems that I missunderstand what does the guy say.
  20. Replies
    38
    Views
    9,831

    Re: Change error description langage

    thanks again DataMiser for your support,
    but his idea is not to have 2 exe ! but only one exe !! he told him to compile the program in german, and to take the result and include it in the ressource...
  21. Replies
    38
    Views
    9,831

    Re: Change error description langage

    Hello Bonnie and thanks for trying to help...
    errors that I want are normal vb errors (that we trap by on error goto ... err.description ..), not user defined errors ...
    would you please check...
  22. Replies
    38
    Views
    9,831

    Re: Change error description langage

    What i am doing actually is that each time i want to show a message box, I do something like :


    if option = english then
    msgbox "english message"

    else

    msgbox "french message"
  23. Replies
    38
    Views
    9,831

    Re: Change error description langage

    Thanks,

    So there is no way to do it automatically, I must do that manually right ?

    can you tell me please how to assign my own message to : err.Description ?

    may you please give me an...
  24. Replies
    38
    Views
    9,831

    [RESOLVED] Change error description langage

    Hello all,

    is there a way to set up by code the language of the error description when an error is raised ? i am talking about the result of
    err.description

    To make it clear, I have an...
  25. Re: Copy folder with files but without subfolders

    Thanks a lot guys, all of you with no exception....and Special thanks to Schmidt and bonnie who spent long time to explain me details...
    thanks for your efforts.
  26. Re: Copy folder with files but without subfolders

    Thanks a lot to all of you especially Bonnie and schmidt you passed lots of time helping me.

    To conclude what I understood : For A version, it's an Ansi based API, or windows is Unicode, so we...
  27. Re: Copy folder with files but without subfolders

    Bonnie West

    Thank you man, I got what do you mean, but in fact the code i pasted is not the complete one ! I posted this as an example, but of course I will be adding an error handler !! I am not...
  28. Re: Copy folder with files but without subfolders

    Schmidt, thanks, i Understand now that this way of declaration was to avoid uncessary conversion so it's better and i am convinced, but what i wanted to say in my question is that even if I have used...
  29. Re: Copy folder with files but without subfolders

    Schmidt Thankkkkkkkkkkkkkkkkkkks a lot for this usefull information ! That's the first time I know that any ByRef parameter will be converted by the compiler to a long pointer and that we can...
  30. Replies
    13
    Views
    2,932

    Re: VB 6 Picture Box Movement

    Good, Tag it as resolved :)

    the declaration is to declare the api that you are using to get if the key is pressed or not ! you are calling this function which is not native VB so you should...
  31. Re: how to disable a paste for a user in a textbox

    You said your boxes are with indexes !! so the code should be :



    Private Sub Txt_KeyDown(Index As Integer, KeyCode As Integer, Shift As Integer)
    If Shift = vbCtrlMask And (Chr(KeyCode) = "v"...
  32. Re: how to disable a paste for a user in a textbox

    so what ? adapt the code i gave you to fits your textboxes
  33. Re: how to disable a paste for a user in a textbox

    Try this

    'To avoid the control V

    Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
    If Shift = vbCtrlMask And (Chr(KeyCode) = "v" Or Chr(KeyCode) = "V") Then
    ...
  34. Re: Copy folder with files but without subfolders

    Thanks a lot !! Based on all we said Here is the final code I will use, I post maybe someone else will needs it :


    Private Declare Function SHFileOperationW Lib "shell32.dll" (ByVal lpFileOp As...
  35. Replies
    13
    Views
    2,932

    Re: VB 6 Picture Box Movement

    Can you explain what do you mean ? what code do you use ?
  36. Re: Copy folder with files but without subfolders

    Once again thanks a lot for your helps...
    By the way for the moment my application is in english and french so no Unicode, but I prefere to learn and use Unicode in coming version if possible that's...
  37. Re: Copy folder with files but without subfolders

    Thanks again Bonnie,

    -Please can you tell me How and Why you suggest to declare a .tlb ?

    -why to use that way the W version ? can't I simply replace the A by a W ?
  38. Re: Copy folder with files but without subfolders

    Thanks for this Code it works, but it shows a dialog (do you want to create....) which is annoying ...
    I added some code after looking on MSDN, but it didn't work

    I added the following :



    ...
  39. Re: Copy folder with files but without subfolders

    Thanks Schmidt and bonnie for your reply.




    When you talk about the W version of Api, where will I find it's definition and how to use it ? in the link you gave me, i don't see any W in the...
  40. Re: Copy folder with files but without subfolders

    Nightwalker83 , jcis, Siddharth Rout and Bonnie West thanks a lot to all of you.

    I will try these methods tomorrow and let you know.

    Is the way mentionned by Siddharth Rout, the best one ? I...
Results 1 to 40 of 442
Page 1 of 12 1 2 3 4



Click Here to Expand Forum to Full Width