Search Results - VBForums

Search:

Type: Posts; User: Schmidt

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds; generated 5 minute(s) ago.

  1. Replies
    29
    Views
    958

    Re: Reading Textfile

    Please do so - and try to understand what I wrote in my comments above -
    just ask when something is not entirely clear - Bottom-line is, that your Data
    is now sitting "elsewhere" (you will not...
  2. Replies
    29
    Views
    958

    Re: Reading Textfile

    Sorry to bother again - but the whole thread takes that long (IMO) because
    nobody encourages the OP to re-write the whole thing from scratch.

    There's a whole lot of things entirely wrong with it...
  3. Replies
    33
    Views
    3,649

    Re: [RESOLVED] Printer Document Name

    Here's another variant, which doesn't wait with Resetting the App-Title
    until the whole Document was printed (encapsulated in a small Routine,
    which only performs a very fast "Printer-No-Op" and...
  4. Replies
    33
    Views
    3,649

    Re: [RESOLVED] Printer Document Name

    And the PDF-Driver in question does this just fine, when you look at the ScreenShot I've posted.

    Olaf
  5. Replies
    33
    Views
    3,649

    Re: [RESOLVED] Printer Document Name

    I think it does...

    Why don't you check it out yourself - I just did so,
    placing the following in a new StdExe-Project:



    Option Explicit

    Private Sub Form_Click()
  6. Replies
    33
    Views
    799

    Re: Mobile Web Server

    Having said the above - there's another "non-Windows-way" which might be relatively
    easy (most devices are also located in a lower price-range)...

    Nobody mentioned OpenWrt so far (an alternative...
  7. Replies
    33
    Views
    799

    Re: Mobile Web Server

    And there's a lot of those Devices (coming with a full Win 8.1, able to host the IIS or Apache for example)
    to be had for about 100$ (usually sporting Quadcore Atoms, 1-2GB RAM and a relative fast...
  8. Re: In case you need to convert between pixels and himetrics

    In a decent ImageProcessing-Program Himetric-Values have no place, so why bother?

    The Ole-StdPicture-Container is "entry-level-stuff" - useful for the needs of
    normal business-apps, but less...
  9. Re: creat a number of transactions by date automatically

    Yep - and aside from that, the hint DataMiser already gave (with regards to changing
    the Format of the 'nonota'-Field to YYYYMMDD) is an absolute necessity, when the
    goal is, to find the highest...
  10. Replies
    29
    Views
    958

    Re: Reading Textfile

    I agree with DataMiser, that you should take a step back,
    and then rewrite your huge routine using a set of 3-4 smaller ones.

    Each of those Sub-Routines then only doing a certain part, but this...
  11. Re: VB6 dont release write protection from opened file

    I'm pretty sure that this was caused by Recordsets which used a serverside cursor.

    When you use a clientside-cursor with an Rs (along with optimistic locking), then
    the internal behaviour is more...
  12. Replies
    4
    Views
    166

    Re: BeginTrans / RollbackTrans

    Directly built-into ADO I can't think of something which offers such an
    "I'm in a transaction"-Information.

    With SQLite you could query the named TransactionStack (or simply the ...
  13. Re: How to read a unicode text file line by line.

    Seems that the FSO-LineReader starts out a little bit slower than the ADO-Stream
    with smaller files (around 10000 lines) - but it scales linearily with larger FileSizes
    whilst the...
  14. Re: VB6 dont release write protection from opened file

    Still continuing with your silly remarks, I see...

    Silly because they are based on ignorance - and are prone to mislead VB- (or ADO-) Newbies.

    The clientside-cursors are definitely the thing...
  15. Replies
    2
    Views
    148

    Re: Draw Perpendicular Bisector Line

    There's different ways to approach this...
    1) Vector-Math (there should be different VB-Modules to be found on the Web)
    2) Trigonometry-Math
    3) 2D-Matrix-based Coord-Transformations

    I'll...
  16. Re: VB6 dont release write protection from opened file

    Ok, below I've changed my Test-Code to Rs.AddNew (in Batch-Mode, which requires Cnn.Cursorlocation = adUseClient) -
    ... but no difference - Copying and Deleting Tables per FileSystem-Commands...
  17. Re: VB6 dont release write protection from opened file

    I've just tested this - and cannot confirm that.

    Maybe it's (as so often) a problem with "File-Virtualization" (when you work
    against a Folder which is "protected" in this regard)?

    The example...
  18. Re: VB6 dont release write protection from opened file

    It's a simple "Zero-Check" on a Variable (which on todays CPU-
    Instruction-Pipelines doesn't have much impact).

    So, compiled to native code you will see basically no performance-difference
    (see...
  19. Re: How to get mapped network drive IP address, when no DNS service available.

    Are you sure, you have a working encapsulation of the GetHostByName-API
    (tested successfully elsewhere)?

    If yes, what does it look like - and how do you call it
    (please include the arguments...
  20. Replies
    12
    Views
    372

    Re: [RESOLVED] JAVA is faster than VB6?

    There's additional (extended) native-compiler options, which you might "check all in".

    This often brings another factor 2-4 speedup in a VB6-Native-Binary (depending on
    the concrete code in the...
  21. Replies
    13
    Views
    228

    Re: question on recordset

    No - not when you wrap the changes on such an Rs within a Transaction.



    Cnn.BeginTrans
    ... Rs.AddNew or Rs.Updates or Rs.Deletes (or all three kind of changes in case of Batch-Mode)

    ...
  22. Re: Print Text at 90 degrees using vbrichclient

    In case you have already working code for "normal horizontal rendering"
    (using cairo, e.g. encapsulated in a function), then you will only need to
    apply a proper "TransForm" (CC.TranslateDrawings,...
  23. Replies
    5
    Views
    189

    Re: adUseClient vs adUseServer

    An ADO-Recordset is a "Wrapper-Class for Records" which in
    adUseClient-mode combines:
    - a free positionable "Cursor" (an internally movable Pointer to the current-Record)
    - true "Container-Mode"...
  24. Re: [RESOLVED] Can I send query result to text file (.dat)?

    I already tried to formulate that as a kind of question in my other post above...
    Why would you want to do that?

    See, after storing the new View permanently in your DB
    (you will have to call the...
  25. Replies
    16
    Views
    340

    Re: question about dat file

    Yeah, maybe the no-hoper 'Blue Planet' has created new accounts here on this forum,
    and is now asking all those Newbie-questions, which seem to bring out the best in you... ;)

    I really have to...
  26. Re: SQL Copy with different id only

    Nothing wrong with your question so far (since you tried to explain your Input-Data already) -
    but to make it easier with potential help for certain SQL-constructs for those who normally
    answer...
  27. Re: [RESOLVED] Can I send query result to text file (.dat)?

    I'm not sure, writing any *.dat Files will help you much with a clean solution to your problem
    (which I still think, is related to your "Pivot-like-Query"...).

    You are working with a DataBase -...
  28. Re: Making .NET COM DLLs Reg-Free for VB6 app

    Labelling the DirectCOM.dll (which works reliably for hundreds if not thousands of developers
    over the last 15 years) as an "indirect" way to do instancing, just shows how much you still
    have to...
  29. Replies
    27
    Views
    1,008

    Re: Persisting data in vb6 classes/objects

    Yes, buckets, clusters whatever you want to name them.

    The above mentioned sweet-spot (76) might be a different one in your case though -
    but it behaved nicely in my case, where each...
  30. Replies
    27
    Views
    1,008

    Re: Persisting data in vb6 classes/objects

    O(1) surely not - but something between O(1) and O(log n) ... not easy to say or determine,
    due to the clustered approach.

    Each mem-alloc-cluster taking up 76 items (no, not 42 ;)), which came...
  31. Replies
    27
    Views
    1,008

    Re: Persisting data in vb6 classes/objects

    That's impossible to implement, since the Item which is enumerated there,
    is "an Object" - in case it's instances of your own Classes, you can
    always place a Key-Property inside this Class and set...
  32. Replies
    10
    Views
    279

    Re: loop in sql query

    Still not really sure, what you're trying to accomplish in the end - an example-dataset
    for the Input (and what your desired output shall be in the end) would be fine.

    And yes, recursion is...
  33. Re: Deleting rows from a CSV file, based on date column value.

    The CSV-TextDrivers for ADO behave "funny" (Schema.ini or not) - so it can very well be,
    that the same query (on properly typed JET-Date-Columns of a real JET-DB-Table)
    behaves differently.
    ...
  34. Re: Deleting rows from a CSV file, based on date column value.

    That's not true - from my tests, the given Format-Strings are pointless on a non-US locale
    (at least the Date-Format-Strings).
    E.g. on a german Win8 system, your posted code is falling over, hard....
  35. Re: Deleting rows from a CSV file, based on date column value.

    Which is really bad advice (apparently given by someone who doesn't use it,
    because any SQLite-using developer I know of, will disagree with you on that).


    No, it is definitely not.


    Such...
  36. Replies
    27
    Views
    1,008

    Re: Persisting data in vb6 classes/objects

    The code I've posted in #17 will ensure, that the mAnchors-Variable will never be Nothing
    (as long as the hosting UserControl lives).

    As for the result of a fresh instantiated "JSON-cCollection",...
  37. Replies
    27
    Views
    1,008

    Re: Persisting data in vb6 classes/objects

    Hmm that wasn't clear to me, is this documented somewhere?
    [/QUOTE]
    Yes, it follows (indirectly) from the JSON-standard (and the allowed DataTypes)....
  38. Replies
    27
    Views
    1,008

    Re: Persisting data in vb6 classes/objects

    mAnchors (as a JSON-enabled cCollection) will allow only other
    (JSON-array, or JSON-object flagged) cCollection in its Object-Members.

    So, in the case above (I guess you have an internal...
  39. Re: [RESOLVED] VB6 + WebBrowser + GoogleMaps: It tries to download the image

    Did you read, what the current limits are for Googles "Static Maps API" (for the "anonymous" user)?
    IIRC, they have increased the amount of available "requests per day" to a decent number now, ...
  40. Re: [RESOLVED] VB6 + WebBrowser + GoogleMaps: It tries to download the image

    A small enhancement for that was described in this thread here:
    http://www.vbforums.com/showthread.php?795137-VB6-WebBrowser-problem-a-serious-problem!&p=4875325

    The enhancement then capable to...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width