Search:

Type: Posts; User: Kram Kramer

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. [RESOLVED] Using PNG image as cursor in WPF

    1- Create a Winform / vb.net project.

    2- Put a png file on your desktop and name it as myimage.png

    3- The following code changes the cursor.


    Public Class Form1
    Private Sub...
  2. Re: Loading data to Datagrid via Model-View-ViewModel (MVVM)

    jmcilhinney

    As you can easily understand creating items and adding them to collection takes time, not loading to DataGrid.

    So the article you linked which is regarding Data Virtualization is...
  3. Loading data to Datagrid via Model-View-ViewModel (MVVM)

    <Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="350"...
  4. Re: BackgroundWorker is not able to prevent ProgressBar freezing

    Thank you very much. Solved.
  5. Re: BackgroundWorker is not able to prevent ProgressBar freezing

    Hi passel,
    Thank you very much.
    Your solution looks okey.

    I want to know your comments regarding the other answers here: ...
  6. [RESOLVED] BackgroundWorker is not able to prevent ProgressBar freezing

    1- Copy and paste the following codes into MainWindow.xaml file.


    <Window x:Class="WpfApplication1.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    ...
  7. Replies
    12
    Views
    1,910

    Re: Licensing a .Net application

    I think best solution is creating my own web service for Licensing System.
  8. Replies
    12
    Views
    1,910

    Re: Licensing a .Net application

    Professional Licensing Applications have no solution if the User reformats the HDD, unless Licensing System is based on web service.
  9. Replies
    12
    Views
    1,910

    Re: Licensing a .Net application

    So there is no free Licensing System codes in the www.vbforum.com ?

    How could be difficult to retrieve user's computer harddisk serial number?
  10. Replies
    12
    Views
    1,910

    Re: Licensing a .Net application

    I prefer to use my own codes.
    So I dont want to pay for third party Licensing solutions.
    If we are not able to write our security codes by ourselves then we are not real developers...
  11. Replies
    12
    Views
    1,910

    Licensing a .Net application

    There is an example for licensing a .Net application in the following link.

    https://www.emoreau.com/Entries/Articles/2015/11/Licensing-a-Net-application--2015-edition.aspx

    But if User deletes...
  12. Re: [RESOLVED] Copy to Output Directory: Copy Always question

    The problem is the User or Someone else is able to delete Book1.xlsx file.

    I dont want the User or Someone else is able to delete Book1.xlsx file.

    I dont want the following code throws an...
  13. Re: [RESOLVED] Copy to Output Directory: Copy Always question

    Hi jmcilhinney,

    A developer puts Book1.xlsx file to the project and then deploy the application.

    Whenever the User runs the application one copy of Book1.xlsx file shows up in the Output...
  14. Re: [RESOLVED] Copy to Output Directory: Copy Always question

    Your understanding is correct.


    A developer puts Book1.xlsx file to the Solution Explorer then deploy the application.

    Whenever the User runs the application then Visual Studio copies...
  15. Re: [RESOLVED] Copy to Output Directory: Copy Always question

    I am not paranoid...

    There is no risk for me if the User trying to mess my application...

    I just want to understand if Visual Studio is poorly designed or not...

    If the User is able to find...
  16. Re: [RESOLVED] Copy to Output Directory: Copy Always question

    si_the_geek,

    Please look at #10 post.

    Do you know any vb.net code which copies Book1.xlsx file from Solution Explorer to Debug Folder when user click a Button?

    Please note that, Debug...
  17. Re: [RESOLVED] Copy to Output Directory: Copy Always question

    I dont care what the folder name is.

    I care if end user is able to delete/replace Book1.xlsx file which is copied whenever my application starts.

    So, is it possible that end user is able to...
  18. Re: [RESOLVED] Copy to Output Directory: Copy Always question

    Debug folder means Release Folder.
    So, the end user dont have Release Folder?
  19. Re: [RESOLVED] Copy to Output Directory: Copy Always question

    Whenever I start my application Book1.xlsx file is copied from Solution Explorer to Debug Folder automatically.

    I want to do same action with manuel code. So, do you know any vb.net code which...
  20. Re: [RESOLVED] Copy to Output Directory: Copy Always question

    Are you sure a bad person can not intervene to Debug Folder if I put my application to the ProgramFiles?


    Do you know any code which copies Book1.xlsx file from Solution Explorer to Desktop...
  21. Re: [RESOLVED] Copy to Output Directory: Copy Always question

    1- I put Book1.xlsx file to the Solution Explorer by doing following Add > Existing Item

    2- I set properties of Book1.xlsx in the Solution Explorer like following ;
    Build Action: Content
    Copy...
  22. Re: [RESOLVED] Copy to Output Directory: Copy Always question

    Thanks a lot. Solved.
  23. [RESOLVED] Copy to Output Directory: Copy Always question

    1- Put Book1.xlsx file to the Solution Explorer by following Add > Existing Item

    2- Set properties of Book1.xlsx in the Solution Explorer like following ;
    Build Action: Content
    Copy to Output...
  24. Re: [RESOLVED] Copy xlsx file from Debug Folder

    Thanks a lot. My problem is solved.
  25. Re: [RESOLVED] Copy xlsx file from Debug Folder

    I put Test1.xlsx file to the Solution Explorer.
    I have set the Build Action to Content and Copy to Output Directory to Copy Always.

    I run following code and everything looks great.

    ...
  26. Re: Copy xlsx file from Debug Folder

    Ok jmcilhinney,
    I will put my files into Solution Explorer.
    Thanks a lot.
  27. Re: Copy xlsx file from Debug Folder

    Hi jmcilhinney,
    Thanks for your detailed answer.
    I am indecisive putting files in the Debug folder myself or to the Solution Explorer.
    Do you have any documentation about this issue?
  28. Re: Copy xlsx file from Debug Folder

    I dont prefer to use full path because full path issue is very complicated.

    https://stackoverflow.com/questions/6041332/best-way-to-get-application-folder-path
  29. [RESOLVED] Copy xlsx file from Debug Folder

    I put Test1.xml file and Test1.xlsx file to the my project Debug folder.

    Following code is working.


    IO.File.Copy(sourceFileName:="‪‪Test1.xml",...
  30. Re: [RESOLVED] Generate a list with a specific range of numbers

    Here is an alternative code;


    Dim myList As List(Of Integer) = Enumerable.Range(start:=1001, count:=41).Where(Function(x) (x Mod 5) = 1).ToList()
  31. Re: Generate a list with a specific range of numbers

    If the Enumerable class is one of the centrepieces of LINQ then I am closing my question here.
  32. Re: Generate a list with a specific range of numbers

    Sorry I add this line very late.
  33. [RESOLVED] Generate a list with a specific range of numbers

    The following solution is okey.


    Dim myList As IEnumerable(Of Integer) = Enumerable.Range(start:=0, count:=9).Select(Function(x) 1001 + (x * 5))
    Dim result = String.Join(Environment.NewLine,...
  34. WinForms controls cannot be displayed in WPF windows when AllowsTransparency is true

    1- Create Wpf/C# project and named it as WpfApplication1.

    2- Add the following references to the project.

    System.Windows.Forms
    WindowsFormsIntegration

    3- Copy and paste the following codes...
  35. Re: [RESOLVED] How to convert following C# code to vb.net code

    Thanks to paulg4ije my question is solved.
  36. Re: How to convert following C# code to vb.net code

    Because I dont want to download exe file from third party sources.
  37. Re: How to convert following C# code to vb.net code

    So, you dont know the correct answer?
  38. Re: How to convert following C# code to vb.net code

    I have already tried to use http://converter.telerik.com/ but there is no successful conversion.
  39. [RESOLVED] How to convert following C# code to vb.net code

    How to convert following C# code to vb.net code?


    private void Button_Click(object sender, RoutedEventArgs e)
    {
    Task.Run(() =>
    {
    ...
  40. Re: Minutes to Hours and Minutes Converter

    Deleted
Results 1 to 40 of 143
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width