dcsimg

Search:

Type: Posts; User: Kram Kramer

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: [RESOLVED] How to convert following C# code to vb.net code

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

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

    So, you dont know the correct answer?
  4. 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.
  5. [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(() =>
    {
    ...
  6. Re: Minutes to Hours and Minutes Converter

    Deleted
  7. Re: Minutes to Hours and Minutes Converter

    Deleted
  8. Re: Excel to DataGridView with OleDbConnection using two DataAdapter

    Thanks to jmcilhinney my problem is solved.
    Thanks a lot jmcilhinney.
  9. Re: Excel to DataGridView with OleDbConnection using two DataAdapter

    Different SQL means different connections.
    Using more than one connection is not good idea.


    I am explaining what actually happens here:
    If my excel sheet has data with 1.048.576 rows and 20...
  10. Re: Excel to DataGridView with OleDbConnection using two DataAdapter

    If I use one data adapter then my app crashes with big data.
    So I try to use two data adapters and two data tables.
  11. Re: Excel to DataGridView with OleDbConnection using two DataAdapter

    I dont get OutOfMemoryExceptions with 30 rows of 5 columns.
    My code is just an example.
    I am getting OutOfMemoryExceptions with 1.048.576 rows and 20 columns.
  12. [RESOLVED] Excel to DataGridView with OleDbConnection using two DataAdapter

    1- Create C:\Book1.xlsx file into C disk.
    2- Ensure that you have one sheet in the C:\Book1.xlsx file named Sheet1.
    3- Fill Sheet1 cells from A1 cell to E20 cell with some data.
    4- Close...
  13. Re: Prevent user actions queuing-up while application is busy in WPF

    Following codes solve my problem thanks to PlausiblyDamp.


    AddHandler Application.Current.Dispatcher.Hooks.OperationStarted, AddressOf Hooks_OperationStarted
    AddHandler...
  14. Re: Prevent user actions queuing-up while application is busy in WPF

    Any solution here?
  15. [RESOLVED] Prevent user actions queuing-up while application is busy in WPF

    I have converted following vb.net codes from this link: https://stackoverflow.com/questions/17095888/wpf-prevent-user-actions-queuing-up-while-application-is-busy

    ViewModel:



    Class...
  16. Re: Get Excel sheet names ended with $ via LINQ / OleDbConnection

    Thanks a lot. Can I use OrElse instead of Or?
  17. Re: Get Excel sheet names ended with $ via LINQ / OleDbConnection

    Hi Paul,
    You are perfect. Solved. Thank you.

    My another question is here;



    Vb.net:
    If mySchemaTable.Rows(i)!TABLE_NAME.ToString.EndsWith("$") Then
    LINQ version:
  18. [RESOLVED] Get Excel sheet names ended with $ via LINQ / OleDbConnection

    I want to use following LINQ code


    var sheetNames = cn.GetSchema("TABLES").AsEnumerable().Select(r => r.Field<string>("TABLE_NAME")).Where(n => n.EndsWith("$'")).Select(n => n.Substring(1,...
  19. [RESOLVED] This question is deleted by owner.

    Cancelled
  20. [RESOLVED] TextBlock1.Background = “myBrush” & 1 is not working

    xaml codes are here;


    <Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow"...
  21. [RESOLVED] I want to be able to rollback to the value from xaml definition

    xaml codes are here:


    <Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow"...
  22. [RESOLVED] How to access ChildWindow TextBox from MainWindow in WPF

    I want to access ChildWindow TextBox from MainWindow.


    MainWindow xaml codes are here;

    <Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    ...
  23. Re: How To Handle Unhandled Exceptions

    I got the answer here. Solved.
    https://www.wpf-tutorial.com/wpf-application/handling-exceptions/
  24. Re: How To Handle Unhandled Exceptions

    Hi .paul,
    If programmer forgets to put Try Catch block then program crash.
    I dont want the program crash.
    I want first show an error message to the user then run Environment.Exit(exitCode:=0) in...
  25. [RESOLVED] How To Handle Unhandled Exceptions

    1- Create WinForm/vb.net application.
    2- Add one Button to the Form1 and give a name like Button1
    3- Copy following code and paste it to Form1's code behind.
    4- Run this project and click Button1...
  26. Re: Numeric KeyPad with buttons arranged randomly each time one is clicked

    I dont know if I prefer using your codes?
  27. Re: Numeric KeyPad with buttons arranged randomly each time one is clicked

    Hi kpmc,
    Hi jmcilhinney,

    Please check updated code and tell me if you can provide sample code without using GoTo statement?
  28. [RESOLVED] Numeric KeyPad with buttons arranged randomly each time one is clicked

    Please run the following codes and click ButtonShuffle in order to see what following code is doing.
  29. Re: Programmatically detect if MS Office is 64 Bit or 32 Bit

    Hi jmcilhinney,
    Please check following link and tell me if the codes in the following link could be used for Winform/vb.net application?...
  30. Re: Programmatically detect if MS Office is 64 Bit or 32 Bit

    Yes, I am trying to say that I am not 100% confident that the code will always work
  31. [RESOLVED] Programmatically detect if MS Office is 64 Bit or 32 Bit

    I have got code from this link https://stackoverflow.com/questions/27900574/detect-whether-ms-office-installed-is-32bit-or-64bit-by-using-registry
    The code is supposed to be told you if your MS...
  32. Re: [RESOLVED] Get specific Microsoft Word Object according to its program id

    Thanks to TysonLPrice's link, this question is solved. Thanks a lot.
  33. [RESOLVED] Get specific Microsoft Word Object according to its program id

    How can I get specific Microsoft Word Object according to its program id?


    Public Class Form1

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load

    Dim...
  34. Replies
    23
    Views
    1,075

    Re: Exclude Microsoft.Office.Interop if Microsoft Office is not installed

    Do you mean it is not possible to solve that error?
  35. Replies
    23
    Views
    1,075

    Re: Exclude Microsoft.Office.Interop if Microsoft Office is not installed

    Blank post
  36. Replies
    23
    Views
    1,075

    Re: Exclude Microsoft.Office.Interop if Microsoft Office is not installed

    Blank post.
  37. Replies
    23
    Views
    1,075

    Re: Exclude Microsoft.Office.Interop if Microsoft Office is not installed

    Hi Shaggy Hiker,
    Please read following article and tell me if your comment is correct or not.
  38. Replies
    23
    Views
    1,075

    Re: Exclude Microsoft.Office.Interop if Microsoft Office is not installed

    I dont understand this.
  39. Replies
    23
    Views
    1,075

    Re: Exclude Microsoft.Office.Interop if Microsoft Office is not installed

    Hi Shaggy Hiker,
  40. Replies
    23
    Views
    1,075

    Re: Exclude Microsoft.Office.Interop if Microsoft Office is not installed

    Hi Shaggy Hiker,
Results 1 to 40 of 106
Page 1 of 3 1 2 3



Featured


Click Here to Expand Forum to Full Width