Search Results - VBForums

Search:

Type: Posts; User: flyguille

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    15
    Views
    954

    Re: Dating problem!

    you are right!, I found odd that cdate do not handles signs like "-03:00:00", that way. But I uses a lot negative numerical values in Date variables as a result of a calculations.

    I thikns CDATE...
  2. Re: how to make a moving label from left to right and then loop it

    First, I will question, why a label?, if you want scrolling text effect, horizontaly, a label is not the object to be used.

    On other way, a moving label, MAYBE on some conditions a moving label...
  3. Replies
    11
    Views
    625

    Re: Just a notice about mswinsck

    thanks but not, native fast VB code + gdi lib calls works great now. And it is already done. Don't want to add more things to the TO DO list.
  4. Replies
    11
    Views
    625

    Re: Just a notice about mswinsck

    Probably I will not bother, VB6 is finished as well as VB5, and from a point of view of practical use is the same, except when importing some code and it uses SPLIT() everywhere. Like when the...
  5. Replies
    11
    Views
    625

    Re: Just a notice about mswinsck

    Do you thinks that there is a performance increase vb5 engine vs vb6? that is the only one reasong that maybe motivates me to change my VB IDE version in my old dev machine. Otherway, I will not...
  6. Replies
    15
    Views
    954

    Re: Dating problem!

    every beginner, soon or later falls in account that DATE$ (old school function) is useless, because it can spit useless data, like confusing then DD/MM/YYYY (ARG) by MM/DD/YYYY (USA).

    so for...
  7. Re: my program can't delete an .exe file in Win7

    your program hasn't administrator elevated privilege and the UAC is in a high level? if not, can't delete a file that is inside "program files", add a manifest for giving it administrator elevation...
  8. Replies
    11
    Views
    625

    Re: Just a notice about mswinsck

    before using 6.1.98.16, I was using the one version that comes with XP SP2, or the one that comes with the VB5.

    I had problems like:

    Connections that goes to silence without triggering events...
  9. Replies
    15
    Views
    954

    Re: Dating problem!

    I uses internally, format$(datestring, "YYYY/MM/DD"), that way I can transmit internaly always the right information.

    Used when transmitting dates as strings.
    used when storing in a file dates.
    ...
  10. Replies
    11
    Views
    625

    Re: Just a notice about mswinsck

    I noticed the problem only because my code uses the LocalIP property AFTER making and using the connection. And I abuse of that property thinking that it will be stable.

    But, just do what...
  11. Replies
    11
    Views
    625

    Just a notice about mswinsck

    I am working with mswinsck 6.1.98.16, I don't know if there is a newer version.
    I also uses the VB5 engine.
    What I just discovered happens on XP and on win7.

    This is just a note about a...
  12. Re: how to align text while printin in picture box or form?

    you only will reach real VISUAL alignment if both, the string characters positions are alignment AND the FONT wich you use is FIXED sized, the FORMAT$() only resolves one problem, not boths.

    chose...
  13. Re: how to align text while printin in picture box or form?

    seems like you come from the OLD MSXBASIC/GWBASIC/BASICA,

    use .CurrentX .CurrentY as like a LOCATE, it is measured in twips by default, but you can change it to PIXELs in the object (form or pic)...
  14. Re: Best way to find end of a number in string

    you must deal with binaries written in textual form?

    If it is true, the faster way is to detect the first 1 or 0, and then looks for the end of the numeric expression.



    dim p1 as long, p2 as...
  15. Re: How to protect UserName & PW saved in Database (Access)?

    and what?, in your monolithic app you needs some place to store the pass, is not the same to save it in plain text, that saving a hash/md5, is the same thing, a local non authorized user can try to...
  16. Re: How to protect UserName & PW saved in Database (Access)?

    you don't save the password in the database, you save the MD5 key of the password, then, you compare MD5's, the software really don't needs to know the password, just its sign.
  17. Replies
    1
    Views
    322

    Re: Copy functions

    Whell, the three is like the same, but they differ in how to use it.

    first, "ANY" vs "LONG", if you are declaring "ANY" in the declaration, VB will accept and construct any type when use the...
  18. Re: Registry key randomly is not found running windows 8

    yes, it is an authorizaton problem most because you was using HKEYLOCALMACHINE, instead of HKEYCURRENTUSER, if windows is 64bits (windows vista, 7 , 8), and your VB app is 32bit, and isn't 64bit's...
  19. Replies
    8
    Views
    1,139

    Re: Countdown Timer without a Timer Control?

    ah, by the way, to answer your question.

    If I must to do a TRIVIA with multi questions and that behaves they individually.

    1) set up a global timer object, with a tick count short like 200ms.
    ...
  20. Replies
    8
    Views
    1,139

    Re: Countdown Timer without a Timer Control?

    the timer object retuns the CountUp value from a O.S. counter, it start counting when Windows start running, IIRC it is 32bits, so, given like a week without shutdown/restart, it will cycle to zero...
  21. Replies
    8
    Views
    791

    Re: My own user control gives warning

    weird, your control has anothers child's controls inside?

    if you are using external .OCX files, you may try to re-subscribe those.

    regsvr32 <path\filename.ocx>

    maybe, you has another...
  22. Replies
    9
    Views
    794

    Re: Large EXE means app runs slower?

    offtopic, but if you do HKLM for writting stuff on the Microsoft/Windows, by sure, some AV can say, this is suspicious.

    But, if it behave legal, HKCU or HKLM for your APP folder, there is no...
  23. Replies
    9
    Views
    794

    Re: Large EXE means app runs slower?

    It will no make your code RUNs slower, but if you has a large .exe it will take more time to load it in RAM, and if you has a large resource space inside, you will ocuppying twise in RAM (one, the...
  24. Re: Help Needed Converting VB6 OpenProcess to .Net - Process Execution Speed

    maybe, as I saw in the example some network storage like V:\

    I remember working with an app made in FOXPROT, in some office was 2 CPUs, one acting as the HOST of the DB (the soft cliente hosts the...
  25. Replies
    31
    Views
    3,266

    Re: Why use vbNullString

    I don't thinks that when in the code you do

    a$ = "", VB will actualy create a BSTR struct plus allocate the string in memory to point to it

    that is wrong.

    First, as C,

    NULL = 0 as...
  26. Re: version of VB for win98 \ dos 6.22

    but he said dos 6.22 (there was newest msdos versions than that.

    do you mean do you needs to create APPs for PCs running console/textmode only?
  27. Re: Is this the correct way to receive a byte array? Is there a better way?

    ok , you can use my code but for WAV instead of JPG encription

    in a module




    Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal...
  28. Re: Is this the correct way to receive a byte array? Is there a better way?

    ok , you can use my code but for WAV instead of JPG encription
  29. Re: Is this the correct way to receive a byte array? Is there a better way?

    yes that is the correct way, BUT, what kind of data you must transmitt?

    by example, the only one reason to avoid using STRING instead byte arrays, is because if the software needs to connect FROM...
  30. Re: Is this the correct way to receive a byte array? Is there a better way?

    NO wait, that was a string buffer class.

    well, what kind of data you want to transmitt?

    I have two type

    transmitting string using input bufffer class

    or transmitting byte arrays, but it...
  31. Re: Is this the correct way to receive a byte array? Is there a better way?

    the code has several BUGs.

    First, if you are checking a ENDING TAG when receive the packet you will have a problem.

    First, maybe you receive two messages together, or you receive the HALF of...
  32. Re: Is this the correct way to receive a byte array? Is there a better way?

    No, that is too slow.

    imagine that with each packet (up to 8K), VB will do a MALLOC plus a memory copy for relocating the array in memory (redim preserve)

    and will do that with each packet...
  33. Re: how to Create in win7 a direct access, with "Run as administrator" compatibility

    Well, I settled the UAC in the lower setting, and It works, but it don't works in any other setting level.

    So the indication of "puts the ****ing UAC control setting in the lower level as your...
  34. Re: how to Create in win7 a direct access, with "Run as administrator" compatibility

    Done!, but it is going to be a headache.

    Now IF I execute the .exe manualy it asks for admin privilege (UAC dialog box). So, the manifest inserted is ok.

    And if I go to the StartUp and do...
  35. Re: how to Create in win7 a direct access, with "Run as administrator" compatibility

    yes. "Direct access" = "shortcut". Sorry by translating literal spanish to english. The app is client from perspective its host, but is server from perspective lan network....
  36. Re: how to Create in win7 a direct access, with "Run as administrator" compatibility

    I don't says that the current user account is a limited account, it is a normal account, the user at any time can do right click -> RUN as administrator (without any password asking).

    UAC is...
  37. how to Create in win7 a direct access, with "Run as administrator" compatibility ON

    I have a server application, that in the installation process it creates a direct access for its own in START_MENU->PROGRAMS->START, for run it automatically when the user session start.

    It works...
  38. Re: Trayectory calculation problem.

    never mind, find the function here



    Public Function GetDirection(ByVal xVelocity As Long, ByVal yVelocity As Long) As Single
    Dim Direction As Single
    Dim PI As Single
    PI = 4 * Atn(1)

    If...
  39. Re: Trayectory calculation problem.

    I thinks I must change the approach

    I needs to convert those differencial T.x and T.y and gets the Angle in radianes, then use it with cos()*diameterWanted + sin()* diameterWanted in way to put it...
  40. [RESOLVED] Trayectory calculation problem.

    I am lost ;), far time ago I was capable to resolve things like this, but now I haven't inspiration.

    I needs to reposition a form in such way that it is placed far from the mouse position, BUT, it...
Results 1 to 40 of 225
Page 1 of 6 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.