dcsimg

Search:

Type: Posts; User: MystikShadows

Search: Search took 0.02 seconds.

  1. Re: Weird thing with populating manually a dropdownlist from codebehing.

    To say I did something else, I have created another dropdown, this time a database dropdown, it's not getting it's records either. the SqlDataSource it's bounded to has it's data, but it's not...
  2. Weird thing with populating manually a dropdownlist from codebehing.

    This is weird, at least to me. I have code that populates 2 dropdownlist in a gridview. DropStart And DropEnd I want to add time values depending on a few things here's the routine I cal.

    ...
  3. Re: Data Types, making a new type

    VB doesn't allow the creation of data types per se....you could ultimately create a class module that might be able to behave like a data type somewhat, but it's not a natural thing to VB.
  4. Replies
    6
    Views
    311

    Re: About Phamacy Pos System

    Whatever did happen to intellectual property anyways? :confused:

    When one tries to break the market today this is almost what's expected, they are almost saying "you go develop your thing for 5...
  5. Re: problem viewing crystal in MDI - multiple opening of reports (unresolved)

    I think you could successfully generate each report into an independant child form..... something like this:



    ' Create an empty MdiChildWindow call it say frmReport
    ' no controls or anything....
  6. Re: Reproducing the List of Controls. [RESOLVED]

    Thanks all...that was enough to put me on the right path....:-)...much obliged...
  7. Reproducing the List of Controls. [RESOLVED]

    HI everyone,

    Here's the situation:

    When you right click on tVB's toolbox (with all the controls) and select components, you get a list of dare I say registered OCX controls. As well, if you...
  8. Replies
    5
    Views
    550

    Re: How to: Mimic VB's Form Designer.

    WEll that project almost answers all other question I might have had after I solve the first problem ;-)...

    Thank you very much, this will come very handy very soon.

    Now to see if I can fix my...
  9. Replies
    5
    Views
    550

    Re: How to: Mimic VB's Form Designer.

    HI thanks for the quick reply....It's not quite what i was trying to do...I know about MDI Forms and Child forms...:-). In vb, when you select Add then Form (or double click any form you already...
  10. Replies
    5
    Views
    550

    How to: Mimic VB's Form Designer.

    Hi all, I think the title pretty much says it all :-). Has anyone tried to do this and/or happens to know how and could point me to a URL or a source file somewhere that does this? Basically, I...
  11. Re: Need help with an array - I'm confused

    It also depends on what doesn't work exactly. Maybe it's just that the modification of the first app (when it actually does the change in the registry) isn't committed to the physical file fast...
  12. Re: A bug in TreeView's ItemClick event

    I see what you mean...Just gave the project a test drive and indeed it does cause a problem.

    That's because in the small icon or list view...items are draggable.

    Try changing your view to...
  13. Re: which is the best grid for data entry in vb 6.0?

    Oh I could agree more, but that would be overkill ;-). hehe it really is a good control. No two ways about it.
  14. Re: Updating or adding records in visual basic

    The IF statement has two syntaxes:



    IF <Comparison> THEN <Statement>

    or

    IF <Comparison> THEN
    <Statement>
  15. Re: Problem cycling through records..goes blank!

    I would assume one of two things:

    1. The results that are shown in that textbox is either an invalid field name and you should check it to make sure that all varchar variables have ' and ' before...
  16. Re: Recordset Locking with VB6 and MS Acess

    Make sure you don't open the database in Exclusive mode only.
  17. Replies
    9
    Views
    493

    Re: Need HELP!

    I believe should be:

    Set tBar.Buttons("recent").ParentMenuObject = mnuRecentFile(i).Caption

    Even if mnuRecentFile is a control array, it's caption property still wont have an index like you're...
  18. Thread: Tooltip

    by MystikShadows
    Replies
    3
    Views
    405

    Re: Tooltip

    Hi Ferry,

    I don't believe this can be done, a tooltip was designed so to speak to appear when the mouses passes over and/or when a given control is the active control (the control with the focus.
  19. Thread: Error

    by MystikShadows
    Replies
    4
    Views
    375

    Re: Error

    IniString = String(255, 0) looks suspicious to me. if you need a length of 255 do it in the Dim Statement

    Dim IniString As String * 255

    Give that a try and let me know :-)
  20. Replies
    4
    Views
    282

    Poll: Re: Text File Extenions

    goto http://www.wotsit.org/search.asp?s=text
    Should have everything yuou need...or pretty close :-)
  21. Replies
    3
    Views
    283

    Re: Data Mismatch Error

    You might want to try to Dim your Variable as a valid currency field

    Dim price As Currency
    Dim Operator As String

    this way you'll be sure that everything is the type it's supposed to be.
  22. Replies
    2
    Views
    267

    Re: VB 6 Reports problem

    Hi Eric,

    The Reporting tool that comes with VB 6 doesn't allow polling for multiple tables. However there is a workaround to this depending on the specific needs of your report.

    For example...
  23. Replies
    6
    Views
    415

    Re: Cursor Types

    You're very welcome :-)
  24. Replies
    6
    Views
    415

    Re: Cursor Types

    yes...VB would be the client, the client would technically be the ADO or DAO or RDO or OLEDB object hierarchy you'd use to connect to the database.

    the Server is Access's own database...
  25. Replies
    6
    Views
    415

    Re: Cursor Types

    Hi,

    To answer your question I need to explain the difference between the two.

    adUseServer will let the server perform the query you are asking for and return you the results.

    adUseClient...
  26. Replies
    3
    Views
    280

    Re: Help With the Common Dialog...

    HAve you tried concatenating them then?

    MediaPlayer1.Filename = "file1.mp3;file2.mp3;file3.mp3" etc etc...

    Basically once you retreive the multiply names from the commondialog, you could do...
  27. Replies
    3
    Views
    280

    Re: Help With the Common Dialog...

    I think the problem is at this line

    Entries = Split(CommonDialog1.FileName, vbNullChar)

    The vbNullChar should only be at the end of CommonDialog1.FileName

    The proper delimiter, if I recall,...
  28. Replies
    11
    Views
    607

    Re: Updating txt file

    As far as speed increase goes, if your INI file would have say about 200 lines to update, the Windows API could probably do it faster than the OPEN statement in VB. The INI has a specific function...
  29. Replies
    2
    Views
    237

    Re: My Project

    What exactly do you want to know? Are you trying to find out if you should do one over the other? or do you want guidelines and directions to push your project in?


    In the first case, chances...
  30. Replies
    13
    Views
    923

    Re: INI problem

    Here's how I'd add the section in your listbox... Here I assume your listbox is called SectionList (for the section in your ini file)


    Dim WorkLine As String
    Dim WorkValue As String

    ...
  31. Replies
    11
    Views
    607

    Re: Updating txt file

    ' ------------------------------------------------------
    ' READ SPECIFIED INI FILE SECTION/KEY AND RETURN VALUE
    ' ------------------------------------------------------
    Public Declare Function...
  32. Replies
    7
    Views
    10,073

    Re: DIFF BTWN ADO,DAO and RDO.

    Here's the explanations in chronological format.

    DAO: Database Access Object came out with Visual Basic 4 today it's recommended you use ADO instead for, among other things, performance gains in...
  33. Replies
    3
    Views
    394

    Re: OCX Container Problem

    You might want to play with the auto redraw property of all controls involved (as in your last OCX and all other components of your OCX control. In the Paint event (and resize event too) you might...
  34. Replies
    5
    Views
    356

    Re: loop problem

    Nope nothing to add :-). This code seems very good and as I would have submitted it. :afrog:
  35. Replies
    5
    Views
    356

    Re: loop problem

    I'm assuming here that pstrFieldNames is a collection of strings. I see that you're testing if pstrFieldNames[i] already has a , in it. if it represents a field name I don't think it would allow a...
  36. Replies
    5
    Views
    356

    Re: loop problem

    Hi Asif,

    What you need to do is form a string of fields and add that to the list control. For example:
    ==============================================

    Dim WorkString As String

    If...
Results 1 to 36 of 36



Featured


Click Here to Expand Forum to Full Width