CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Marraco

Page 1 of 24 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    11
    Views
    12,241

    Re: [RESOLVED] Unexplained FIle save bug

    My plan was to just run the code on vista/7, and fix the bugs one by one, as they emerge when I run all the code. But VS does not raises any exception on seven. It works as if it had administrator...
  2. Replies
    11
    Views
    12,241

    Re: Unexplained File save bug

    My UAC is enabled, but my VS code writes on Program files even without admin rights.


    Anyways, the problem is solved.
    It was an old version which was installed on that PC.

    I gave for granted...
  3. Replies
    11
    Views
    12,241

    Re: Unexplained FIle save bug

    Yes, I was able to reproduce the issue on that PC.


    About having VS installed, the original code was made on XP, where I did some mistakes, like reading and writing some files on the C:\Program...
  4. Replies
    11
    Views
    12,241

    Re: Unexplained FIle save bug

    I made another post error. I should had posted this


    Friend Shared Sub SalvarAArchivo(ByRef Datos(,) As Double, _
    ByRef PathArchivoRST As...
  5. Replies
    11
    Views
    12,241

    Re: Unexplained FIle save bug

    Yes, but it work flawlessly on my PC. Is on another PC were it does not works.

    The only way I can log on that PC is sending a new compiled program. I know that an exception is not fired, because...
  6. Replies
    11
    Views
    12,241

    Re: Unexplained FIle save bug

    Thanks for your answer, but unfortunately, that's not the bug. I made a mistake on this post, because I translated variable names from Spanish to English, to the purpose of posting, and forgot to...
  7. Replies
    11
    Views
    12,241

    [RESOLVED] Unexplained FIle save bug

    My code saves 2 files with same path and filename, but different extensions.

    When the installed program runs on another PC, where I cannot install VS, a strange bug occurs:

    Both files should be...
  8. Replies
    0
    Views
    522

    Intercept windows screen

    I want to apply a graphic filter to Windows 7 screens (desktop and applications).

    I will start with 2D, and then try 3D.

    The "little" problem is that I have no idea on how to intercept the...
  9. Replies
    17
    Views
    2,011

    Re: Where has the subroutine gone?

    I forgot the answer!

    to get the function skeleton, and lots of other constructs, just rigth click on the place, click
    Insert snippet>Code Patterns - If, For Each....>Properties, Procedures,...
  10. Replies
    5
    Views
    988

    Re: Debugging going bad

    Check also that you are not runnig a release binary instead of a debug.
  11. Replies
    5
    Views
    988

    Re: Debugging going bad

    Yes, deleting the obj directory (at the same time that bin folder) worked. :)

    I don't remember the specific file that i mentioned, but I think thas was the pdb file.

    the class that failed to...
  12. Replies
    17
    Views
    2,011

    Re: Where has the subroutine gone?

    I also switched from VB6 to VB.net time ago, and was frustrated at start.

    But I'm Happy with the switch. VB.NET is much better. Far, far, far better.


    It's another level. It have little, if...
  13. Replies
    5
    Views
    988

    [RESOLVED] Debugging going bad

    I had a similar problem in the past:

    Suddenly, my code started executing wrongly, so I started step by step debugging of the offending routine (which before worked perfectly ).

    The strange...
  14. Replies
    3
    Views
    772

    Re: [RESOLVED] $%&#@ bug in graphics

    I mean, it is solved by making the .Dock property of the picturebox to fill the form.

    The problem was that the picturebox only showed the superior left corner of the image (I foolish expected it...
  15. Replies
    3
    Views
    772

    Re: $%&#@ bug in graphics

    I got the error. The 640 x 480 is not drawed pixel by pixel. Only the superior window is drawn...

    fool of me...
  16. Replies
    34
    Views
    4,559

    Re: Help with Tetris

    I have not read the entire thread, but could not resist to suggest replacing this:


    with:

    ''' <summary>
    ''' Determine Existance Of In Memory Graphic
    ''' </summary>
    '''...
  17. Replies
    3
    Views
    772

    [RESOLVED] $%&#@ bug in graphics

    This code just should work, drawing an ellipse on the picturebox:



    Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  18. Replies
    5
    Views
    1,297

    Re: weird problem with regex

    I don't understood it before because my regex captured all the nested groups, in the first Match, so I was capable of recovering all the named groups, and do not understood the difference between...
  19. Replies
    5
    Views
    1,297

    Re: weird problem with regex

    I discovered the problem.

    .Match() only returns the first match, which in the working file type, is returning the entire text, with all his nested groups.

    but in the other file type, .match()...
  20. Replies
    5
    Views
    1,297

    Re: weird problem with regex

    Expresso 3.0 shows that it should work. And when I check the expresion logic, it SHOULD work.

    here is a screen capture of Expresso:

    http://i46.tinypic.com/23j3ius.png

    Can be a bug in .NET?
  21. Replies
    5
    Views
    1,297

    Re: weird problem with regex

    I identified the problem, but is not solved.

    The regex works OK in Expresso, but not in VB.NET.

    I made this example; it should recognize 10 lines, but only gets one. It makes no sense:

    ...
  22. Replies
    5
    Views
    1,297

    [RESOLVED] weird problem with regex

    I have two kind of texts, and a single regular expression should match both of them.

    This is an example of the first kind of text:

    1 -999 -14
    2 -14 -10
    3 -10 -6
    4 -6 -2
    5 -2 2
    6 2 6
  23. Replies
    4
    Views
    1,013

    Re: Equations with variables

    I tought of this

    Dim processor(10) As String
    Dim total As Double = 0
    For Each value As String In processor
    total +=...
  24. Replies
    5
    Views
    1,079

    Re: Graphic bug

    Great!

    That was.

    Adding those lines:


    MyGraphics.PixelOffsetMode = Drawing2D.PixelOffsetMode.HighQuality
    MyGraphics.SmoothingMode = Drawing2D.SmoothingMode.HighQuality
  25. Replies
    5
    Views
    1,079

    Re: Graphic bug

    Ok. Graphic data is too large to enter on this post, so I attach a txt file with the code.

    map is drawed by double clicking the picturebox control

    each double click switches pen width
Results 1 to 25 of 582
Page 1 of 24 1 2 3 4





Click Here to Expand Forum to Full Width

Featured