Search:

Type: Posts; User: wakawaka

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,020

    4.0 Re: Convert an object for serialization

    I'm not familiar with Xamarin or the Android.OS.Bundle, but since the PutExtra function has an overloaded constructor that takes a Serializable object, I believe that is what you are trying to use. ...
  2. Thread: SQL Help

    by wakawaka
    Replies
    10
    Views
    1,945

    Re: SQL Help

    Depending on what you want to do, it is probably easier to load it into a data table and work with it that way.



    var dt = new System.Data.DataTable();

    dt.Load(dataReader);

    foreach (var...
  3. Re: [RESOLVED] Storing DateTime settings in a class?

    Edit
  4. Replies
    2
    Views
    2,062

    3.0/LINQ Re: problem with webrequest

    How can you get the async state if you don't pass anything in?




    request.BeginGetRequestStream(ar =>
    {
    using(var sw = new...
  5. Re: Changing passwords in the Active Directory with a web app.

    Is the context the web application running under allowed to change AD settings?
  6. Replies
    5
    Views
    2,801

    Re: DDD and aggregate roots

    To your first point, that is already accomplished with



    public List<string> RoleIds { get; private set; }


    It makes the set method internal to the class. BUT, your way gives me the notion...
  7. Replies
    5
    Views
    2,801

    Re: DDD and aggregate roots

    Yes, I also thought of that and had some hesitation to it but, for this example, I am really looking at if using a method of the aggregate root (assume User is in this case) is the proper way to...
  8. Replies
    5
    Views
    2,801

    DDD and aggregate roots

    So I am working on understanding DDD better and there is the concept of aggregate roots. What I am trying to understand is at what point is it ok to modify the child "relationships"?

    EG (Simple...
  9. Replies
    7
    Views
    1,289

    VS 2008 Re: Problem send mail with html

    I was not aware of this, thanks lol. I notice is says the Web.Mail.MailMessage is obsolete. Switch to the Net.Mail one link recommended by msdn.
  10. Replies
    2
    Views
    1,280

    Re: Schema fill throws an exception

    Have you done it with a dynamic statement before?

    MSDN mentioned the following:


    Not sure if that would impact what you are doing though. It does hit it has to put it in there somewhere an it...
  11. Replies
    7
    Views
    1,289

    VS 2008 Re: Problem send mail with html

    I actually want to know where the .BodyFormat property is coming from. It isn't mentioned on MSDN so I would think the could wouldn't work...
  12. Replies
    7
    Views
    1,289

    VS 2008 Re: Problem send mail with html

    What email client are you using? Not all support HTML and some you have to enable HTML formatting before it will render correctly.
  13. Replies
    1
    Views
    3,638

    Re: problem with duplex in wcf service

    Do you actually have your service hosted somewhere?
  14. Re: (2010 Pro) Simple program troubles, can't find useful info to fix...

    Just a shot in the dark, try re-installing the framework version that the application is using.
  15. Replies
    3
    Views
    832

    VS 2008 Re: Adding hex together and pointers

    Firstly, we normally don't offer too much help on this as it can be used for malicious things. Not saying you are doing that, but it is hard to know for a fact.

    Since you mentioned it was...
  16. Replies
    6
    Views
    1,013

    Re: VS2010 - IP Monitor Program Question

    You can loop throught the Items and SubItems of the ListView control. Instead of the MessageBox, you can ping them and then act accordingly.



    For i As Integer = 0 To lvMain.Items.Count - 1
    ...
  17. VS 2005 Re: Using Commit / Rollback when using dataset and oledbcommandbuilder

    Yes, the select doesn't mean anything, I just associated with that because it was what I saw first in the code, my bad.
  18. Re: Threading & Accessing controls repeatidly.

    There is nothing wrong with the use of the action delegate, you could just as easily use a anonymous method, but that is mostly up to the programmer.

    Does that code execute? I would have to look...
  19. Re: (2010 Pro) Simple program troubles, can't find useful info to fix...

    What happens if you just try to print it instead of preview for the action?

    I only mention it because I see that "UpDownBase" and the preview screen has one that represents the pages of the...
  20. VS 2010 Re: Making A 2D Line Graph From An Array - Brand New at this

    I'm not up and up on all the graphing technologies, but there are several methods.

    A) You can make your own. Not recommend for you obviously unless you want to try making controls.
    B) Use the...
  21. Re: Getting an error "Expected end of statement" can somenoe help, I am new to script

    That or define a function:



    Function Quote(ByVal string)
    Quote = chr(34) & string & chr(34)
    End Function


    usage:
  22. VS 2005 Re: Using Commit / Rollback when using dataset and oledbcommandbuilder

    It is possible, because you are setting the select command object. With the OleDbConnection, you can use the BeginTransaction method and pass that to the commands Transaction property then give the...
  23. Re: Getting an error "Expected end of statement" can somenoe help, I am new to script

    Better option, surround it with chr(34), which is a quote litteral and makes it much easier to read than all the quotes.



    strCmd = chr(34) & "\\My\server\path\here\" & chr(34)


    By the by,...
  24. VS 2010 Re: How to use an intermediate (front-end) server to access data

    Odds are you have c# express and WCF projects are part of the Web Developer Express package.
  25. Re: Internal server error in jquery /json webmethod

    What does the Windows Log say?
  26. VS 2010 Re: Checkbox.Text allowed characters?

    It is a little weird, but if you double the character, it removed the special functions, EG && litterally puts a ampersand in the text

    There is Edges idea if you don't want to use Mnemonic at all
  27. Re: Universal StreamWriter logging updating file in real time

    I do believe that is what the .Flush method is used for on the stream writer. I haven't used it myself, but give it a shot and let us know :)
  28. Replies
    3
    Views
    4,126

    Re: nTier question on WCF Service

    A DataContract is just an understanding of an object type that could be sent. If you wanted to pass a class object through the service, you would need a data contract, otherwise the other end won't...
  29. Replies
    3
    Views
    4,126

    Re: nTier question on WCF Service

    You can use them as either.

    There is nothing wrong with having the BLL and DLL encapsulated in services. It makes the application more modular and it is much easier to switch out the service then...
  30. Replies
    3
    Views
    1,722

    Re: Use HttpWebResponse To Get Form Value

    You can either use the Html Agility Pack which allows the document to be parsed and read.

    Your other option is to use Regular Expressions to parse the response for what you need. You can use...
  31. Replies
    3
    Views
    1,722

    Re: Use HttpWebResponse To Get Form Value

    It depends what you want to do with it. You can download the content of the web page with the webclient or HttpWebRequest class and parse the results for it.
  32. Replies
    2
    Views
    1,058

    Re: Creating and using buffers

    A buffer is a holder of information. Most often it is just an array of bytes.

    The Buffer class, so it seems to me from msdn, is just a class for working with the underlying array. It makes it a...
  33. Re: StreamReader readline() split only at newlines that are not encapsulated in quote

    First thing that pops into my head is you will have to make a custom parser that reads the file character by character with a flag denoting if you are in a "tag" or not. If the next two chars are...
  34. Replies
    18
    Views
    1,553

    VS 2005 Re: best way to go about this

    Do you have an EndInvoke to handle the async operation completing?
  35. Replies
    18
    Views
    1,553

    VS 2005 Re: best way to go about this

    I don't know how people feel about this, but you can make a seperate class that has an event that gets raised when a HeartBeat occurs. This way the UI can subscribe to the event and you can code the...
  36. VS 2010 Re: Customer wants multi state form (View\edit all\edit part)

    What controls are you using? Most have some way of setting the control to read only mode.
  37. Replies
    8
    Views
    1,245

    Re: Blocking Sites

    While not Ideal, there is WinPCap, which WireShark uses to get low level network stats.

    I'm not aware of any innate way that .Net can filter traffic like this without tapping into unmanaged code...
  38. Replies
    1
    Views
    6,980

    Re: root element is not valid for navigation

    Is the Splash.Xaml file a window? You should use pages to load into a Frame not a window. It is possible but not recommended.
  39. Timer event accessing list on another thread

    Ok, I feel like I know the anwser but I can't think of it right now lol.

    So say I have the following code:



    public class MyClass
    {
    ...
    private List<MyClass> _MyManagedList = new...
  40. Replies
    6
    Views
    892

    VS 2008 Re: Networkstream issue

    There are several good posts about network communication in the code banks.

    I do see a lot of people starting with Networking, but there is a lot that goes into networking and it really shouldn't...
Results 1 to 40 of 259
Page 1 of 7 1 2 3 4



Click Here to Expand Forum to Full Width