Search:

Type: Posts; User: donW

Page 1 of 6 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    31
    Views
    3,135

    Re: Error Trapping in an Executable

    I have used 'mztools' add-in tool for many years to automatically put in error trapping template code
    into every important sub/function.
    If you use the tool to also add line numbers, then the...
  2. Re: Visual Studio Installer: shared legacy file must = true problem

    thanks all
    I had done a search, but missed that post.
    My problem is that it is the main program .exe which causes the error.
    I cant see have I can just add it using Explorer as suggested in that...
  3. Visual Studio Installer: shared legacy file must = true problem

    hi all
    with Visual Studio Installer & and VB6 program:
    I sometimes get the error message when making a MSI
    "the property 'SharedLegacyFile' must be true for isolated file 'myprogram.exe' "
    I...
  4. Replies
    2
    Views
    1,053

    Re: vb6 ListView click/ lostfocus bug

    hi prahald
    i put the textbox.setfocus in the listbox mouseup event. this fixed the problem..
  5. Replies
    2
    Views
    1,053

    vb6 ListView click/ lostfocus bug

    Anyone know how to fix this bug?
    when the user clicks on a ListView (reportmode), I make an Textbox visible and SetFocus to it.
    (The TextBox.GotFocus / LostFocus sets/ resets the backcolor of the...
  6. Re: Visual Studio Installer 'sharedlegacyFile' problem

    Yes I saw that post. But I am not adding any files using VSI,
    So I don’t know how this could work for me.
    The project has complied ok many times over the last 8 years.....
  7. Visual Studio Installer 'sharedlegacyFile' problem

    Lately, for no known reason the Visual Studio Installer wont produce a .msi file
    from my VB6 program.
    it gives the error 'The property sharedlegacyFile must be true for isolated file blaa.exe
    ...
  8. Replies
    4
    Views
    7,327

    Re: run a program from VB6

    I have tried using this code, which other say works on all machines:
    but with no luck on a Win7 64bit PC. It works if I open 'notepad'.
    The program I am trying to run is a VB program, installed...
  9. Replies
    10
    Views
    4,044

    Re: listview 1 remove blank items or rows

    you have to be careful: when removing an item it changes to listitems.count !
    the way I do this is to loop backwards from .Count to 1 to avoid problems

    also you may need to do a .refresh...
  10. Replies
    4
    Views
    7,327

    run a program from VB6

    hi all
    I need to run a program (3rd party exe) from inside a VB6 program on a WIN7 and WIN10 machine.
    This must be simple, I have tried all the examples...I am going crazy!
    Shellexecute does...
  11. Replies
    0
    Views
    492

    MS Development Environment 6 problem:

    I am using MS Development Environment 6 to compile VB6 exe code to .msi installer.
    With some .exe 's it won't complie and gives the error message:
    'the property 'sharedlegacyfile' must be set...
  12. Replies
    27
    Views
    2,937

    Re: module to draw .JPG fast

    hi
    Sorry to bother you, but the demos don't help me much...
    I want to key click on any picture and know which picture it is
    and also show the picture in another part of the screen (not part of the...
  13. Replies
    27
    Views
    2,937

    Re: module to draw .JPG fast

    How can I catch a key click on any picture?
    and also show a picture in another part of the screen (not part of the thumb-nails), (this would be a larger version of the 'clicked' thumbnail picture....
  14. Replies
    27
    Views
    2,937

    Re: module to draw .JPG fast

    Also:
    Have can I catch a key click on any picture?

    don
  15. Replies
    27
    Views
    2,937

    Re: module to draw .JPG fast

    hi Olaf
    Your code works great.
    I need to have the user be able to edit to filename text under each picture. (.gotfocus, lostfocus events)
    is there an easy way to do this, of should I just use...
  16. Replies
    27
    Views
    2,937

    Re: module to draw .JPG fast

    I have this code working... Now to add thumbnails?
    I have a filelist of .jpg's in a listview, I want to show 10 of them at a time.
  17. Replies
    27
    Views
    2,937

    Re: module to draw .JPG fast

    The cairo demos all work OK. The problem is not with the cairo software, but a VB thing...
    If I do some code change to cause a crash of ucCanvas.ctl , then I can't run the program again.
    it shows...
  18. Replies
    27
    Views
    2,937

    Re: module to draw .JPG fast

    hi
    I am experimenting with the demo [14 Thumbnailing per ImageList]
    If it crashes , VB IDE prompts to reload control or not.
    when I try to run again, the ucCanvas1 control crashes on the first...
  19. Replies
    27
    Views
    2,937

    Re: module to draw .JPG fast

    This would be more efficient than calling CLS and changing .BackColor

    Picture1.Line (0, 0)-(Picture1.ScaleWidth, Picture1.ScaleHeight), vbWhite, BF[/QUOTE]

    This line of code didn't make any...
  20. Replies
    27
    Views
    2,937

    Re: module to draw .JPG fast

    hi
    I am using this code to show 10 small sized (2"x 2") pictures on screen, from 4Mb .JPG files..
    It is slow to draw (3 seconds) , even on a fast PC.
    I was hoping there was something faster than...
  21. Replies
    27
    Views
    2,937

    module to draw .JPG fast

    hi all
    Does anyone know of a free module which can draw a scaled -down .JPG picture?
    I want something faster that the normal picture draw...
  22. Replies
    2
    Views
    797

    Combobox: make dropdown in code

    Hi all
    I have a ComboBox, set to style=2 (dropdownlist)
    which I have populated in code.
    How can I force the dropdown list to appear? (i.e. without the user having to click on the righthand button)...
  23. Replies
    6
    Views
    2,247

    Re: PowerPoint startup from VB6

    I have worked around the problem, by closing only the Presentation
    (leaving the App going), and re-opening a new Presentation..
    thanks for your help...
  24. Replies
    6
    Views
    2,247

    Re: PowerPoint startup from VB6

    I don't know what is with my VB6, but I need to make the WHILE
    as below, else the compiler bombs with 'not wend' ...
    This code loops forever. Err.Number = -2147467259



    On error Resume Next...
  25. Replies
    6
    Views
    2,247

    Re: PowerPoint startup from VB6

    I get the error
    run-time error:
    "slides.shape" does not exist
    in the line
    For ShapeCount = 1 To PPSlide.Shapes.Count

    Its a bit strange, the first time I run the code its OK,
    the next time...
  26. Replies
    6
    Views
    2,247

    [RESOLVED] PowerPoint startup from VB6

    I am loading and starting a PowerPoint app from Vb6 code.
    I have it loading and running OK, but before I can reference anything in it (such as textboxes) , I get an error if PP has not had time to...
  27. Replies
    1
    Views
    513

    vb6 sending text to Powerpoint

    I want to be able to send text strings from a Visual Basic6 app into various text boxes in a running PowerPoint app. The PPoint app will have a number of pages, (scrolling at a slow rate).
    I can...
  28. Replies
    6
    Views
    811

    Re: RichTextBox save edits

    Found my problem!
    I wasn't saving the RTB data to file on form exit....
    everything working great. thanks for help
  29. Replies
    6
    Views
    811

    Re: RichTextBox save edits

    This is what I am doing:


    RTBlog.LoadFile nameoffile, rtfRTF
    RTBlog.SelLenght =0
    RTBlog.SelStart = 0
    RTBlog.SelText = "text to add by computer" &...
  30. Replies
    6
    Views
    811

    Re: RichTextBox save edits

    for problem #2:
    -I want to also let the user add text (anywhere) and save all the text.
    user text can be added on screen OK, but when I save/load the file the user text is missing !

    The user can...
  31. Replies
    6
    Views
    811

    [RESOLVED] RichTextBox save edits

    with the RichTextBox, I am reading in text from a file with .LoadFile
    and saving it again with .Savefile
    2 problems:
    -I want to programmatically add lines of text to the beginning of the RTBox...
  32. Replies
    1
    Views
    1,894

    basics: drawing graph with Picturebox, Image

    Hi all
    I am new to vb.net, from VB6. Trying to understand drawing a simple line graph into a picturebox, which was so simple in VB6 !
    From code snippets, I can see the basic idea using an bitimage...
  33. Replies
    7
    Views
    2,901

    Re: VB2010 Listview: change backcolors

    Thanks, that fixed it.
    I had read about 0 based, but didnt realise it applied to listview index....


    PS re my other post, the .GetItemAt seems to work to identify the on screen list index's...
  34. Replies
    7
    Views
    2,901

    Re: VB2010 Listview: change backcolors

    Still can't get this to work!
    I get an 'invalid index' on the last line at .items(1) when I run this


    Dim item2 As New ListViewItem("item1", 0)
    item2.SubItems.Add("pink")
    ...
  35. [RESOLVED] VB2010 Listview: determine which items are visible

    With the Listview in Details view:
    When showing a long (scrolling) list:
    Is there an (easy) way to return the index's of which range of items are currently visible in the control?
  36. Replies
    7
    Views
    2,901

    Re: VB2010 Listview: change backcolors

    this doesn't work:
    ListView1.listitem(1).SubItems(2).BackColor = Color.Black

    the IDE complains about the .listitem(1)

    Error 2 'listitem' is not a member of 'System.Windows.Forms.ListView'.
    ...
  37. Replies
    7
    Views
    2,901

    [RESOLVED] VB2010 Listview: change backcolors

    How can I access a Listview's subitem, (to change backcolor, text ,etc)
    I know the item & subitem index's...

    something like this ??
    ListView1.listitem(1).SubItems(2).BackColor = Color.Black
  38. Replies
    2
    Views
    2,274

    Re: ListView features in VB2010

    Hi thanks for reply.
    Is there any good site with example code?
    I am use to VB6 ways of doing things, i.e.
    ListView1.Items(x).SubItems(y).text ="blaa"
    But I would like to know the best ways to do...
  39. Replies
    2
    Views
    2,274

    [RESOLVED] ListView features in VB2010

    new to vb2010 from VB6...
    With the ListView control, in Report mode:
    Can it now be controlled at run-time to do the following:

    - Change the background color of an individual vertical Column...
  40. Replies
    2
    Views
    3,185

    vb2010 string replace mutlichars

    in VB6 and Vb2010 you can replace all of one character in a string.
    Is there a way to replace multiple characters in the string.

    for example, if I wanted to replace all * ? \ characters in a...
Results 1 to 40 of 205
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width