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

Search:

Type: Posts; User: MMH

Page 1 of 18 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: Setting image source in only in runtime (Without define it in the XAML)

    Here have a look into the below code:

    Xaml contains the image tag without source.



    <Window x:Class="FetchResource_SampleApp_WPF.MainWindow"
    ...
  2. Re: WPF Combo Box doesn't rollup until the event is processed.

    What is the reason to wait for 10secs?
  3. Re: Setting image source in only in runtime (Without define it in the XAML)

    Look into the attached sample POC.
    It is developed in VS2010; so if you cant opn the solution, try looking into the files using the VS version that you have.

    I hope this will help.
  4. Replies
    3
    Views
    9,157

    Re: DOS command in VB.net and WPF

    Use Process.Start() method and pass the appropriate arguments/parameters.

    Refer to this link:
    http://msdn.microsoft.com/en-us/library/53ezey2s.aspx
  5. Re: Setting image source in only in runtime (Without define it in the XAML)

    You can fetch the image from other project using reflection.
    Note that this will work only when the images are embedded in the project dll.
  6. Replies
    15
    Views
    12,620

    Re: Windows service staying in "Starting" status!

    Have you tried installing your service on some other machine ?
    Also, you can try with the following command


    sc create Service1 C:\abc\service.exe
    Where "Service1" is your service name,
    ...
  7. Replies
    15
    Views
    12,620

    Re: Windows service staying in "Starting" status!

    Mate, when you try to run the service directly just by double clicking it, do you see any error message poping up ? saying you cannot run service from command line ?

    Also, can you please tell us...
  8. Replies
    3
    Views
    4,863

    Re: quiz program with C# webapplication

    WPF (Windows Presentation Foundation) is a subset of Silverlight. Using WPF you can make rich windows applications. If you want your application to be a browser based, then you can use Silverlight.
    ...
  9. Replies
    15
    Views
    12,620

    Re: Windows service staying in "Starting" status!

    Have you made a console appication ? or is it a proper windows service ?
    Does it show error message saying that it cannot start service from command line ? when you try to open it directly ?
  10. Replies
    3
    Views
    4,863

    Re: quiz program with C# webapplication

    Why dont you try ASP.Net with C# as code behind language ?
    OR may be you should look in to XBAP..

    Just google it....
  11. Replies
    1
    Views
    9,112

    Re: Socket programming and Wifi ?

    Well after a long and painful search, finally i figured it out how to communicate between two PCs using socket programming on Wifi network.

    I found a very nice article here on codeguru, which...
  12. Replies
    1
    Views
    9,112

    [RESOLVED] Socket programming and Wifi ?

    Hi All,

    I want to do communication between to PCs using the Wifi network. Can it be achieved using Socket programming in C#? and if yes then can someone please show me some pointers ?

    I am...
  13. Re: Getting redirected to the home page instead of the desired page.

    Thanks for your reply.

    We are adding additional functionality to the existing website.
    The additional feature has export functionality which exports data to excel sheet (template).
    It has links...
  14. Getting redirected to the home page instead of the desired page.

    Hello All,

    I am facing a very strange problem.

    I have a URL (Query String) in the excel sheet, which opens up the desired page (a website) and displays data according to the value in the...
  15. Thread: Send .exe

    by MMH
    Replies
    3
    Views
    1,004

    Re: Send .exe

    Do you mean, you are able to create a file but cannot run it?

    If so, what is the problem you are facing?

    Please check the below 2 things:

    1. What is the extension of the file that is...
  16. Replies
    5
    Views
    1,556

    Re: Textbox input validation

    Thanks "JonnyPoet" !
    i sincerely appreciate that.
  17. Replies
    5
    Views
    2,832

    Re: load settings.settings in an array and datagrid

    This will fill the array from your settings.
    Inorder to work this, you have to create properties with "Param1", "Param2", "Param3" and so on.



    string[] arr = new...
  18. Replies
    5
    Views
    1,556

    Re: Textbox input validation

    This looks interesting. Your condition seems to be proper logically, but it fails to validate the string with OR (||) operator.

    If you check just for "y" or "n" at a time, it will work. Whereas it...
  19. Thread: Send .exe

    by MMH
    Replies
    3
    Views
    1,004

    Re: Send .exe

    According to me, you cannot access the user's machine (local directory) directly though web site. One thing you can do is, create a program (exe) which will download your client from your site and...
  20. Replies
    13
    Views
    57,234

    Re: Menu Item color change in wpf

    Whenever you want to change the appearance of a control, consider using Control Templates. Put this code in App.xaml.

    I would recommend you to make a separate resource file and put the below...
  21. Replies
    13
    Views
    57,234

    Re: Menu Item color change in wpf

    Hi, Can you tell me whether setting Background = "White" for menuItem works? or doent not work completely?

    In your code i found that, for 2nd menuItem Background="White" is missed out.

    Please...
  22. Replies
    13
    Views
    57,234

    Re: Menu Item color change in wpf

    Can you paste the lines of code that you have coded for menu item ?
  23. Replies
    2
    Views
    4,785

    Re: trying to get 2 separate values in alert box

    In the above code, i see inspStartTime.StartTime and inspEndTime.EndTime is being set the btn.Text value.
    May be that it why you get the same value in the messagebox ? :confused:
  24. Replies
    13
    Views
    57,234

    Re: Menu Item color change in wpf

    Put Background as white: something like this.



    <MenuItem x:Name="mnuFile" Header="File" Background="White" Foreground="SteelBlue"/>


    It will remove Blue hovering effect.
    I hope this is...
  25. Replies
    1
    Views
    5,038

    Re: Problem with Interop on XBAPs?

    When you run the xbap application, check whether the outlook is running or not. If it is running, close the outlook app. then try running the xbap application. :rolleyes:

    And if this doesnt work,...
Results 1 to 25 of 429
Page 1 of 18 1 2 3 4





Click Here to Expand Forum to Full Width

Featured