Search:

Type: Posts; User: Phill64

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    16
    Views
    1,580

    Re: Convert VB.Net functions to C#

    Have you heard of sharpdevelop? It's basically an opensource version of visual studio and its vb_c# converter works extremely well.. usually all u have to fix is to add a couple of explicit...
  2. Re: Designer, List inside List, drops data

    Ok well, I seem to have rectified the problem.
    I changed them from structs to classes, and split the lists into a private and public in order to give them a default value. I also created some...
  3. Re: Designer, List inside List, drops data

    d'oh I posted in the wrong forum. will ask a mod to move to c# (not that it matters much in this question but still)
  4. [RESOLVED] Designer, List inside List, drops data

    Hi All,

    This is a fairly circumstantial question, so I'm not sure if anyone will be able to help, but maybe someone has come across this before.

    Well I have a custom user control that has a...
  5. Re: preposterous 8000 limit in SQLServer fields

    Thanks jm,

    you're always full of useful knowledge!
  6. [RESOLVED] preposterous 8000 limit in SQLServer fields

    Hi all,

    Now first of all, I know there's lots of forum posts on this topic, however, so far all I seem to find are workarounds to the 8000 varchar limit problem. That's not what i'm looking for, I...
  7. Replies
    0
    Views
    416

    Convert.ToChar(0x1F12D)

    Hi All,

    I'm trying to get a certain unicode character. it is CD with a circle around it. it seems to exist in some online unicode libraries (which I've used to create other characters just fine)...
  8. Re: [RESOLVED] XOR ^ operator not compiling...

    Which is odd isn't it? I think it must be something to do with ^ being listed as both a logical and bitwise operator in c# whereas XOR is only a bitwise operator in VB.NET though I still don't...
  9. Re: XOR ^ operator not compiling...

    Sorry Nvm,

    The solution was simply to use the shortcut assignment ^=

    like so

    for(int i=0;i<bts.Length; i++)
    bts[i] ^= bts2[i];
  10. [RESOLVED] XOR ^ operator not compiling...

    Hi all,

    this tiny little problem is frustrating the hell out of me. I've done this sort of operation many times in VB.NET with XOR without a problem, I believe the ^ operator in C# is XOR so I...
  11. Retrieve MSAccess Table structure / column info

    Hi DB Guru's :)

    I have a problem, I'd like to know the column datatypes of some tables in an MS Access database. It's going to be a pain for me to get hold of the file and a copy of ms access to...
  12. Replies
    1
    Views
    12,057

    Re: 'Press any key to continue'

    a common and simple way

    Console.Write("Press any key to continue . . . ");
    Console.ReadKey(true);
  13. Replies
    0
    Views
    4,030

    Process Restarter

    A common quick/temporary fix for server administrators is to check if software has crashed and restart it.

    So Here's a simple console application that will do that for you. It accepts 2-3...
  14. Re: Need opinion on use of while loop

    System.Threading.Thread.Sleep(1000) 'sleep 1 second
  15. Replies
    67
    Views
    12,954

    VS 2008 Re: Email Questions

    I don't see why you can't read all new e-mails each time your timer runs. why just the first? you can either use the read/unread status of the mail message itself or as any client sdo, record the...
  16. Thread: Lost path

    by Phill64
    Replies
    17
    Views
    1,227

    Re: Lost path

    I'm unsure why people seem to be doing this whole.. unpathed filename thing lately..
    Not specifying a path DOES NOT mean that the exe path will be used. whatever environment variable windows has...
  17. Re: Need opinion on use of while loop

    I would also make the thread sleep inbetween attempts so the app doesn't become unstable (tho i don't know how long your connection operation takes to run, if it's very quick there's no need)
  18. Replies
    7
    Views
    3,184

    Re: ApplicationEvents.vb

    This saying is referring to using exceptions as part of normal program flow. for example, trying to open a file, then use a try/catch where the catch figures out the file doesn't exist, instead of...
  19. Replies
    67
    Views
    12,954

    VS 2008 Re: Email Questions

    Firstly for gmail i think you have to enable POP3 access http://mail.google.com/support/bin/answer.py?hl=en&answer=13273

    Secondly, yes, all that should be possible.
  20. Replies
    67
    Views
    12,954

    VS 2008 Re: Email Questions

    If you don't understand SMTP/POP3 you probably shouldn't be attempting something like this straight away.

    reading your e-mails is not listening on a port.

    I mean when you say catching...
  21. Replies
    10
    Views
    789

    Re: Should this loop take so long to process?

    Intellisense is your friend, you can easily see that this object has a constructor overload of (int capacity).

    so since you know the final capacity, just add an int parameter into the constructor...
  22. Replies
    3
    Views
    440

    Re: Finding information in a string

    yeah i think a split operation would be most appropriate in this case,

    if you don't want the final item because it is "incomplete". simply use .endswith on the original string, if it doesnt end...
  23. Re: [SDL,OpenGL,C#] Textures changing basic colours.

    interesting. Thanks for the reply

    Well both images are 24bit, but I tried a 32bit image instead, no change.
    I wasn't specifying the bpp when initialising, which i've now set to 32, no change ;(...
  24. [SDL,OpenGL,C#] Textures changing basic colours.

    Hi all,

    First time I've fully gotten into OpenGL, I'm using C# 2.0 and utilising SDL.NET, though for now I think pictures are more important than the code.

    Basically I've setup some controls...
  25. Replies
    6
    Views
    1,823

    Re: [2008] - ProgressBar Click Position

    Personally i'd code my own control for something like that, as I assume you are wanting the progress bar for its neat appearance. just use a picturebox, draw to it yourself, if progressbar doesn't...
  26. Replies
    2
    Views
    469

    Re: connect to website

    Yes, this can be done.

    You can embed IE, and manipulate the html of it. or you can simply use a webclient control and do all the rendering yourself, interpret the html however you like.. the 2nd...
  27. Replies
    12
    Views
    735

    Re: [2008] Keep two forms bound together

    you know, i had a thought about this when i was in bed the other night (yeah i dream in code sometiems its sad) and maybe your .topmost is the best option, means the second form can be ifnront withut...
  28. Replies
    12
    Views
    735

    Re: [2008] Keep two forms bound together

    Yes in most cases i believe it will, that's part of the loop I was talking about ;p focusing between the 2 could get you tied up haha, so be careful, keep track of it somehow.

    I just tested it...
  29. Replies
    12
    Views
    735

    Re: [2008] Keep two forms bound together

    I wouldn't d the always on top way, since that puts it in front of every other application in windows at all times, even when it's not in focus.

    He is right about just make it change focus back to...
  30. Replies
    12
    Views
    735

    Re: [2008] Keep two forms bound together

    Ok well, well I couldn't tel lyou out right how to fix it, it's a non-common request/requirement ;p (the stuff i love by the way haha).

    But, have you tried, using the form activate event on the...
  31. Replies
    12
    Views
    735

    Re: [2008] Keep two forms bound together

    your post is a little bit confusing :)

    But I have done something similar to what you're talking about before, in a work app i made two related forms, a schedule calender and an audit details form...
  32. Replies
    2
    Views
    405

    Re: publish version

    The publish version? like the installers you release? I'm not sure that's possible unless you add your own variable, someone else might prove me wrong though.
  33. Replies
    6
    Views
    843

    Re: keypress problems

    An australian should be in bed right now ;p (i'm one to talk HAHA) thanks for the post, i hadn't heard of that before ;p

    I take it then, you have resolved the issue from ajays advice, perhaps...
  34. Replies
    6
    Views
    843

    Re: keypress problems

    I don't have a processcmdkey event type (vb05) is this a new feature to .net 2008 ?
  35. Replies
    6
    Views
    843

    Re: keypress problems

    Well it's quite simple, controls (like the form) only recieve key presses when they have focus, when you have buttons or other input controls on your form, they take focus, any keypress event will...
  36. Replies
    7
    Views
    599

    Re: Help on Date Validation

    There is a VB6 forum, this is the VB.NET forum

    http://www.vbforums.com/forumdisplay.php?f=1
  37. Re: Transparency Problem with Controls like Pictureboxes

    They're absolutely right, unlike older versions of VB where controls could see each other and thus have advanced transparency, in .NET transparency only applies as a relationship between control &...
  38. Replies
    7
    Views
    599

    Re: Help on Date Validation

    because your temp variable is declared as a Date, yo ucan't shove a string into it.

    Look at the msdn sample given to you, there is a property DayOfWeek which tells you in enumerator form, which...
  39. Replies
    15
    Views
    899

    Re: [2005] Send keys

    Maybe you weren't understandign what I was suggesting?

    I have an app with a sub for lostfocus on a textbox, so that sub looks like this

    Private Sub pass_LostFocus(ByVal sender As Object, ByVal...
  40. Replies
    15
    Views
    899

    Re: [2005] Send keys

    the sub handling your lost event cant possibly be called "txtText(3)_lostfocus" can it? the brackets would make it invalid?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width