Search:

Type: Posts; User: stum

Page 1 of 10 1 2 3 4

Search: Search took 0.07 seconds.

  1. Re: Is there a way to make a shortcut to an exe file with vb6?

    i'd use cmd.exe mklink.
    it does require administrator privileges though, so depending on how strict those policies are, it may just not help you.


    Public Sub CreateLink(linkPath As String,...
  2. Re: Backcolor is blue while Form backcolor is set to grey

    Not sure what IDE this is on the screen pic - obviously not vb6.
    relating to your question however - if you used a gray color, off the system color palette, it will change according to the specific...
  3. Replies
    5
    Views
    1,112

    Re: ActiveX Exe and Thread Lockup

    which object are you late binding ?
    could it be a Microsoft office COM object ?
  4. Re: how do i add another number to an existing field?

    UPDATE [Customers]
    SET [Cellular] ='0' & [Cellular]

    Will work on access
  5. Replies
    2
    Views
    776

    Re: Decent way to get a UNIQUE ID for each user.

    You are correct Datamiser. more of a machine specific id if you will.

    my purpose is to set up a web service which will hold 'registered' users identifiers, and grant 'premium' access to paying...
  6. Thread: gis based map

    by stum
    Replies
    7
    Views
    1,392

    Re: gis based map

    The more appropriate way to handle spatial information would be to use commercial apps such as ESRI's ArcGIS or similar services and products, this will allow you to go straight to the business logic...
  7. Replies
    3
    Views
    1,062

    Re: Installer | Missing Files

    well, how you're actually playing the audio files, and how are you handling the errors ?
    Without those two i can only guess the error is due to incorrect file paths.

    do the CAB files generated by...
  8. Replies
    2
    Views
    776

    Decent way to get a UNIQUE ID for each user.

    I'm sorry this question is not 100% VB, but what is.
    Would love opinions about how you implemented a way of getting a unique id for each of your application's users.

    One way would be to retrieve...
  9. Replies
    10
    Views
    2,546

    Re: Editing an over populated form in vb6

    re-install VB - maybe.
    re-factor your form - definitely.

    work with control-arrays or split up the form.
    without seeing a single line of code - i'm positive you are going through hell to maintain...
  10. Re: Permission Denied Run-time Error 70 trying to move folder with File System Object

    dilettante you are correct in your guess.
    Error 70 - File is in use
    Error 75 - No admin Permissions to write to disk.

    off course it's not set in stone, but these are the common scenarios.


    ...
  11. Thread: setcursorpos

    by stum
    Replies
    6
    Views
    882

    Re: setcursorpos

    from the looks of it, seems like you're trying to automate a process \ game which takes place inside the browser.
    The obvious respond to that would be - you have no idea what you're getting into,...
  12. Re: VB6: UBound Returns Zero or Negative Value

    Without going to much into your code, my assumption is that strSalesDataFile does not contain CR (char(10)) for some reason, or some IT guy messed with permissions.
    If you use FileSystemObject...
  13. Re: The result is False. Now whhat to do make it a positive True, but then not to dis

    please extract the business logic from the question, simplify the situation and focus on the code.
    I know you think you're explaining it crystal clear - but you are not.
  14. Replies
    3
    Views
    785

    Re: Call Data in text box by loop

    Not sure i know what connection() does.



    cnview.ConnectionString = _
    "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Seeyou.mdb" & ";Persist Security Info=False;"
    ...
  15. Thread: Virtual Printer??

    by stum
    Replies
    8
    Views
    2,288

    Re: Virtual Printer??

    Easy. go to Control Panel > Printers > Add new printer.
    Choose its port as "File" and manually search & select a PS enabled driver, such as an HP printer driver, for example, my company works with...
  16. Replies
    17
    Views
    1,654

    Re: Anyone here sold any software before?

    1. Find your niche.
    You must find something that interests you, something you're good at, something that will keep you mesmerized at what you're doing.
    It's far more productive to code when the...
  17. Re: trying to keep outlook opened for 5 seconds via timer what is missing?

    Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long)

    Private Sub Form_Load()
    Dim oA As Object
    Set oA = CreateObject("Outlook.Application")

    Sleep (5000)...
  18. Replies
    4
    Views
    1,189

    Re: Detect pixel colour

    It is very likely that Windows does not bother rendering a form when its minimized.

    GetPixel() however, accepts an HDC object as one of its parameters, so logically, you can capture the HDC of the...
  19. Replies
    4
    Views
    1,189

    Re: Detect pixel colour

    GetPixel() API
    https://msdn.microsoft.com/en-us/library/windows/desktop/dd144909(v=vs.85).aspx

    Example:
    http://www.vbforums.com/showthread.php?231161-VB-GetPixel()-amp-SetPixel()-Example
  20. Replies
    4
    Views
    741

    Re: Need help with listview

    change your query.



    "select * from Table1 where num like '" & Text1.Text & "%'"

    to


    "select * from Table1 where num like '" & Text1.Text & "%' AND ([Val_y] <> 0) AND ([tal_m] <> 0) AND...
  21. Re: Is it possible to send raw ethernet frames from VB6, using Windows API?

    in my opinion, one should always code under the assumption that unauthorized users are currently eavesdropping the broadcasts.

    Would it not be easier, and more efficient,to encrypt, your data...
  22. Replies
    18
    Views
    2,568

    Re: Developing programming skills through VB6

    Baz Luhrmann - Everybody's Free To Wear Sunscreen.
    https://www.youtube.com/watch?v=sTJ7AzBIJoI&t=4m38s
  23. Replies
    18
    Views
    2,568

    Re: Developing programming skills through VB6

    Could easily tell you that nothing can not be done using VB6, and how fun and simple it is to create an application within 10 minutes, but that would be misleading.



    VB6 is almost 20 years old....
  24. Replies
    10
    Views
    710

    Re: Adressing in my loop

    For i2 = 0 To 29
    seperate &i2 = local_array(i2)
    Next

    You can't dynamically compose the name of the variable ,you use on the fly, not in a legitimate way anyway.
    (I think it might be...
  25. Replies
    10
    Views
    710

    Re: Adressing in my loop

    This is not a vb script forum, but it would if you explain what exactly are you trying to do,
    forget the language (vbscript) for a second, what is it you're trying to achieve ?

    if you've got a...
  26. Replies
    9
    Views
    1,469

    Re: Extract strings from multi line textbox stuck

    If what hes looking for is simply extracting data between two known tags, Regex is an overkill.

    Create a multi-lined Textbox named Text1 and place your HTML in it.
    Create a Command Button named...
  27. Re: VB6: What Are The Best Practices For Creating a Log File?

    The link above refereed to the implementation on the answer rather than anything else.

    On error ... Log(timestamp + err.Description) and such...
    In my opinion, that's what stack over flow is...
  28. Re: VB6: What Are The Best Practices For Creating a Log File?

    I don't know how many users you expect to work simultaneously on your application, but seeing you mentioned database file i'm assuming it's not a small-scale one user thing.
    in this case, It depends...
  29. Replies
    2
    Views
    924

    Re: Error installing with an .ocx file

    assuming your user don't already have that OCX -It will continue to work well, until it require to load or use the specific ocx, then your user is going to enjoy an crashing error box.
    this simply...
  30. Re: data type mismatch in function object function1

    It looks like a type mismatch.

    What's "NagDE" ?

    i'm throwing a wild guess here, assuming txtSalesID is a numeric value
    how large is it ?

    what would happen if you replace:
  31. Re: Newbie again - help with automatic email notifications

    Opinions on the matter are irrelevant.

    you can google out vb6 mail examples, there are many out there.
    May i suggest that instead of emailing yourself, use a pop'up window - it works great and...
  32. Replies
    34
    Views
    6,708

    Re: decompiler protection

    Bottom line, How much value (money \ workhours) are you expecting to lose if the app gets reversed ?

    People can crack Microsoft Windows, Microsoft Office, even Visual Basic ide in which you are...
  33. Re: How to Add a date to a registry and compare it with the date that is in a table

    Generally you would go something like :



    Dim strDatabase_Date as String
    strDatabase_Date = RsW!TrialStart & ""

    if (strDatabase_Date = CONST_DATE_STARTED) Then ...
  34. Re: How to Add a date to a registry and compare it with the date that is in a table

    If you are comparing the database value to the registry value, why would you need the registry in the first place ?

    anyhow, the 'why' aside:



    'The value to be saved
    Dim CONST_DATE_STARTED...
  35. Replies
    34
    Views
    6,708

    Re: decompiler protection

    disassembling <> decompiling

    There are numerous companies out there who offer tools, worth hundreds or thousands of dollars per license, to allow companies and individuals to who lost their source...
  36. Replies
    34
    Views
    6,708

    Re: decompiler protection

    100% decompiling of your code back to source is rather impossible on most cases because VB6 compiles to Native.
    so if you're worried about someone decompiling your .EXE changing a string and then...
  37. Re: is there a way to create a new field in an existing table that has password prote

    Make it short.
    After defining the password in your 'CN' connection string Database Password=123456

    Build your query:

    StrSql = "Alter Table [BackArc] Add Column [Field1] Text"
    Execute it:
    ...
  38. Re: Embed a file into a VB6 form under a click event

    Don't use OLE objects - you'll thank me on this one.

    Use a resource file instead.

    through the VB6 IDE > Addins > Addins Manager > VB6 Resource Editor > tick the 'Loaded'

    Now right click your...
  39. Replies
    1
    Views
    529

    Re: [RESOLVED] can u please help me guys?

    Lock using rundll32 parameters and let windows handle the implementation



    Shell ("rundll32.exe user32.dll, LockWorkStation")

    the Winsock implementation is on you though, it's not hard and...
  40. Replies
    3
    Views
    630

    Re: Better Input dialog

    Nope,
    That's why you create your own form and load it as modal.


    frmMyCustomInputBox.Show(vbModal,Me)
Results 1 to 40 of 396
Page 1 of 10 1 2 3 4



Click Here to Expand Forum to Full Width