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

Search:

Type: Posts; User: AceInfinity

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Re: windows form .call console and give commands

    Nope... Sadly. I did want to go, but no real way of transportation for me, and I am of the slightly younger audience among MVP's. It would have been a good opportunity to meet usasma and jcgriff, who...
  2. Re: windows form .call console and give commands

    You're not wrong though, I'm not saying that. I'll wait and see until OP can clarify what he's willing to do before going further in a specific direction. It's like a forest, you don't start going in...
  3. Re: windows form .call console and give commands

    I know I did, this is why I mentioned "P/Invoke" :) http://msdn.microsoft.com/en-us/library/aa446536.aspx

    That code I shared with you is not C++ either.



    I read this:


    1. "It's a Windows...
  4. Re: windows form .call console and give commands

    You can P/Invoke AllocConsole():

    [DllImport("kernel32.dll")]
    static extern bool AllocConsole();

    private void MainMethod()
    {
    if (AllocConsole())
    {
    Console.WriteLine("Hello world!");
  5. Re: Need to comapre a string and a number to find the Max Value

    cast the string to a numeric value type then... ;)

    :thumb:
  6. Replies
    2
    Views
    256

    Re: Beginner need help!!!!!

    Words meaning separated by a space? (Note: you'll have to trim out the delimiters in case someone types in "badword!" for example. "badword" != "badword!". Or in-string values as well?...
  7. Replies
    20
    Views
    836

    Re: Find Minimum and Maximum values

    Post a new thread and I will help you out entirely. Comparisons don't allow you to make the best of your learning endeavors. :)
  8. Replies
    11
    Views
    569

    Re: Beginner Need Help!!!!

    That was one of the reasons why I did not reply further. Although the original links were in fact broken, it looked like a copied version from being posted someplace else, because the link itself...
  9. Replies
    11
    Views
    399

    Re: scroll bars on a panel ?

    XNA? It's limited though mainly towards gaming.

    For a PictureBox you could take the image out and modify it with GDI before assigning it back to the PictureBox quite easily to layer images into 1....
  10. Re: how do I use the .net Framework as a cross platform programming tool

    You may be interested in Node.js if you get into JavaScript: http://nodejs.org/
  11. Replies
    5
    Views
    434

    Re: display average pixel values

    I would agree with what BioPhysEngr is saying, the method for pixel retrieval or whatever you want to term it is slow. When I was encrypting data to a compressed bitmap in one of my hobby projects, I...
  12. Re: VB.net - HttpWebRequest 401 Unauthorized Error

    You're passing the incorrect credentials most probably. Anything else past the Credentials part doesn't matter if you don't have the credentials right, if you're getting a 401 code.
  13. Re: how do I use the .net Framework as a cross platform programming tool

    The .NET framework is not cross platform and will never be, because it uses Win32 API's, which will not exist on others like Linux or Mac. For C#, you've got things like Mono though, which can make...
  14. Replies
    11
    Views
    399

    Re: scroll bars on a panel ?

    layered together how? You need to define what you mean by 'layer' as mentioned before. In separate PictureBox's? In the same image within one PictureBox?
  15. Replies
    11
    Views
    399

    Re: scroll bars on a panel ?

    Depends on what you mean by "Layers", new images? Or images painted over the image in one picturebox?
  16. Replies
    20
    Views
    836

    Re: Find Minimum and Maximum values

    You could even use a nullable type, however, they probably just want you to stick with the normal types. It would eliminate having to set it to the max value as a kind of "safety" mechanism for not...
  17. Replies
    11
    Views
    399

    Re: scroll bars on a panel ?

    Yeah, I meant to say "Picture" I have this auto-completion addon that turned it into "PictureBox" because it was previously typed.
  18. Replies
    11
    Views
    399

    Re: scroll bars on a panel ?

    Put the image to the PictureBox, make the dimensions of the PictureBox no more and no less from the actual control's size, then place the PictureBox at (0, 0) within the panel, and make sure its...
  19. Replies
    20
    Views
    836

    Re: Find Minimum and Maximum values

    You're entering another invoice in based on a button click event and a textbox i'm assuming? Therefore, these values you're storing for the min and max invoice totals will run out of scope if you're...
  20. Replies
    11
    Views
    399

    Re: scroll bars on a panel ?

    Are you drawing the image to the panel, or to a picturebox which gets added to the panel?.... Because if you're drawing it to the panel directly, then you need to go back and review how the...
  21. Replies
    11
    Views
    569

    Re: Beginner Need Help!!!!

    The links are broken, so could you provide the text you're trying to convert within a [code] tag instead?
  22. Re: Parse XML Response String And Get Usable Variables

    Look into the XmlReader class: http://msdn.microsoft.com/en-US/library/system.xml.xmlreader%28v=VS.80%29.aspx
  23. Re: visual basic express read/write to excel question

    It's pretty simple with the Microsoft Office Interop namespaces... http://msdn.microsoft.com/en-US/library/microsoft.office.tools.excel%28v=vs.80%29.aspx

    Why are you using Excel though? Just to...
  24. Replies
    20
    Views
    836

    Re: Find Minimum and Maximum values

    This is a homework thing? Sort out your knowns for what they want you to do then:

    - Use Math.Min() to compare each invoice total to a variable that contains the smallest invoice total

    I...
  25. Replies
    20
    Views
    836

    Re: Find Minimum and Maximum values

    **It double posted for some reason, so i'll provide an analogy here:

    It would be like picking a number from a bag that has a whole bunch of paper slips, and then taking each other piece of paper...
Results 1 to 25 of 39
Page 1 of 2 1 2



HTML5 Development Center

Click Here to Expand Forum to Full Width