Search Results - VBForums

Search:

Type: Posts; User: franceint

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Re: My initial screen suddenly doesn't appear

    Well, I hardly know where to begin. The code is in probably 50 or 60 different files, much too large to upload here. I guess I'm looking for ideas as to what might cause this sudden change of...
  2. My initial screen suddenly doesn't appear

    Yesterday my application worked fine. Today, when I try to start it (from the Visual Studio) with the F5 key, the icon appears in the taskbar (Windows 7) but nothing on the screen. Clicking on this...
  3. Re: Leave event not triggered when access key activated for button

    Because I actually have dozens of textboxes, each with its own validity-checking routine, and each must checked when that box is left rather than all at once at the end
  4. Leave event not triggered when access key activated for button

    I have a textbox on a form. I have a procedure to check the validity of entry when the LEAVE event for that textbox takes place. There is also a button to exit the form which has an access key. if I...
  5. Replies
    22
    Views
    719

    Re: how to encode output to text file

    I seem to be able to get away with using Encoding.Default so far. Thanks for your help.
  6. Replies
    22
    Views
    719

    Re: how to encode output to text file

    The output from this program has to go into a file loaded by WordPerfect 11, which does not seem to import Unicode text properly. Also the Wordperfect 11 file will be processed by several macros...
  7. Replies
    6
    Views
    1,689

    Re: order of selected rows of datagridview

    Wwll, what I want to do is output the selected rows in the order they appear in the datagridview, so I suppose the best way to do that would be just to loop through all the rows and output only those...
  8. Replies
    6
    Views
    1,689

    order of selected rows of datagridview

    I manually select certain rows of a datagridview then click a button to output those rows to a file. But the order in which they are printed seems to be the reverse order from the order in which I...
  9. Replies
    8
    Views
    398

    Re: Replacing characters in a string

    I've got it figured out now. I should have used CHR instead of CHRW. Now everyting's fine.
  10. Replies
    8
    Views
    398

    Re: Replacing characters in a string

    I do not want to replace accented e with unaccented e. I want to replace accented e when it is represented as code 233 with accented e as represented by 130. So why do I get question marks?
  11. Replies
    8
    Views
    398

    Re: Replacing characters in a string

    Yes, I wanted ASCII. So what is my problem?
  12. Replies
    8
    Views
    398

    Replacing characters in a string

    The following code, instead of working as expected, replaces the characters in lookup with question marks, so that, for instance, the string
    "l'lection" becomes "L'?lection". Note that the acute...
  13. Replies
    22
    Views
    719

    Re: how to encode output to text file

    Nope, it's definitely NOT vedit that's the problem. I know that for a fact. If any editor can show a file as it really is then it's Vedit. Just to confirm, I tried to import the file into Microsoft...
  14. Replies
    22
    Views
    719

    Re: how to encode output to text file

    I ran this code and the file actually contains the following (despite what messagebox says):

    les votes de l'élection
  15. Replies
    22
    Views
    719

    Re: how to encode output to text file

    Actually, notepad is reformatting the text. If you open it in a real editor like VEDIT, you will see the text in the file is actually:

    [8pt] Ref: VAR/18156/GM CT.RL á-X XL/[10pt]
    [b]ETATS...
  16. Replies
    22
    Views
    719

    Re: how to encode output to text file

    No, the string "l'‚lection g‚n‚rale" should be "l'lection gnnerale". The acute accent e's are coming out as commas in the text file.
  17. Replies
    22
    Views
    719

    Re: how to encode output to text file

    OK,. maybe this time the attachment worked?
  18. Replies
    22
    Views
    719

    Re: how to encode output to text file

    I'm sorry, but attachments don't seem to be working for me. Here is a link to the file:

    http://www.stampsbythemes.com/kn6/cat.txt
  19. Replies
    22
    Views
    719

    Re: how to encode output to text file

    Well, that doesn't really help me, as writealltext writes one line and closes the file. How about if I want to write lots of lines?

    My code is as follows:
    [code]
    Dim Est As Single
    ...
  20. Replies
    22
    Views
    719

    Re: how to encode output to text file

    Yes, it shows up correctly in a messagebox or datagridview.
  21. Replies
    22
    Views
    719

    Re: how to encode output to text file

    UTF8 doesn't work either. The string "les votes de l'lection" comes out as "les votes de l'‚lection"
  22. Replies
    22
    Views
    719

    how to encode output to text file

    I have a string that contains accented characters (read from a database varchar field). I want to write this to a text file but when I do this, the accented characters come out as Unicode 2-byte...
  23. Re: Is this the proper way to deep clone a class?

    Thanks guy, I think I"m finally getting the hang of this oop stuff.
  24. Is this the proper way to deep clone a class?

    This seems to work, but is it the best way to implement a deep clone?



    Public Class Person
    Public Property name() As String
    Public Property numbers As List(Of Integer)
    Public...
  25. Replies
    4
    Views
    269

    Re: Form load weirdness

    OK, makes sense after all. Thanks.
  26. Replies
    4
    Views
    269

    Re: Form load weirdness

    So...nothing is nothing for strings but zero for integers? How does that make sense? Why wouldn't the default for strings be ""?
  27. Replies
    4
    Views
    269

    Form load weirdness

    I create a form with one button on it which shows another form with 3 textboxes. I send an instance of class Person to form2, which is supposed to fill the textboxes with the properties of Aperson....
  28. [RESOLVED] How to reference common enum in several classes

    I have several classes each of which I want to have as a property the same enum, for example:

    Public Enum Status As Integer
    Unchanged
    Changed
    Created
    ...
  29. Replies
    2
    Views
    294

    Re: datagridview selected row

    You can also use the FirstDisplayedScrollingRowIndex property of the datagridview to show the row you want without selecting it. e.g.

    dgvProducts.FirstDisplayedScrollingRowIndex = icount
  30. Replies
    1
    Views
    189

    Error message when loading project

    Between yesterday, when my project was working, and today, when I tried to load it, something happened. Now when I try to display one of the forms, I get the following error message:

    ============...
  31. View Post

    Thanks, your solujtion worked, but I had to encode UTF7.
  32. View Post

    Followup - it seems the problem is with the streamreader, as it reads the string from the text file it replaces the accented characters with question marks. Here is the code:
    Dim command As...
  33. View Post

    I am creating a database from an ASCII text file that contains French language characters such as "" and "", which are represented in the ASCII file as bytes with decimals 130 and 135 respectively....
  34. Replies
    4
    Views
    290

    Re: Confused about instantiating classes

    Ah, OK, then this is like static?
  35. Replies
    9
    Views
    2,151

    Re: Datagridview from two different datasets

    How about:
    ===========
    dim sql as string = "select * from A,B where a.reportnumber=b.reportnumber and a.corenumber=b.corenumber and a.subsample=b.subsample"
    AnAdapter = new...
  36. Replies
    4
    Views
    290

    Confused about instantiating classes

    There is something confusing to me about classes. Suppose I have a form with a textbox and a button on it and I define a class as follows:

    Public Class Checktext
    Private Shared m_Title As...
  37. VS 2010 Updating Tables after complex query (datagridview)

    Suppose I have two tables as follows:

    Products TABLE columns:
    ProductID Type Country Description
    0001 Widget USA Medium widget
    0002 Widget China Large widget...
  38. Re: creating and populating database from text file

    Thanks for your help. There is a lot here to digest.
  39. creating and populating database from text file

    HI, I am a former Delphi (5) programmer migrating my app to VB 2010.
    But the terminology is a bit different for VB and I'm having a hard time
    translating between the two. Here's a greatly...
  40. Replies
    8
    Views
    358

    VS 2010 Re: indexoutofrange exception

    Sounds like there should be a FAQ entitled "Widely Recognized Gotchas" for newbies like me.
Results 1 to 40 of 43
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.