Search:

Type: Posts; User: luckydead

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    572

    VS 2019 Re: C# convert multi bytes to VB.NET

    you mean will become like this:


    Public Shared Function GetSRP6RegistrationData(username As String, password As String) As Tuple(Of Byte(), Byte())
    Dim salt As Byte() = New Byte(32) {}...
  2. Replies
    3
    Views
    572

    VS 2019 C# convert multi bytes to VB.NET

    Hello can someone help me how i can convert this line: (byte[] salt, byte[] verifier) = GetSRP6RegistrationData(username,password);



    public static void Main(string[] args)
    {
    string username...
  3. Replies
    1
    Views
    1,579

    Javascript translation not working

    Hello i'm having issue how i can manage the translation of text inside javascript to be used by language file


    KTApp.blockPage({
    overlayColor: '#000000',
    state:...
  4. Question regarding .htaccess file optimization

    Hello, can someone more advanced to confirm me this setting is it okay or what needs change/edit/remove

    # Expires headers (for better cache control)
    <IfModule mod_expires.c>
    ExpiresActive on
    ...
  5. Replies
    7
    Views
    2,132

    VS 2019 Re: Compare two excel files using ClosedXML

    I have issue with the code. I receive error message: System.IndexOutOfRangeException: 'Cannot find column 21.'
    and it stops here
    dt.Rows(dt.Rows.Count - 1)(i) = cell.Value.ToString()

    The column...
  6. Replies
    7
    Views
    2,132

    VS 2019 Re: Compare two excel files using ClosedXML

    your advice is kind similar to what i want to achieve
    but i have a different stuff that i need to do.

    1. In File1 i need to get from column "F" words that contain "connector" inside and then get...
  7. Replies
    7
    Views
    2,132

    VS 2019 Re: Compare two excel files using ClosedXML

    any suggestions?
  8. Replies
    7
    Views
    2,132

    VS 2019 Compare two excel files using ClosedXML

    Hello,
    Can someone help me how i can compare two excel files.

    What i want to do is to take from File1.xlsx file specific columns to read
    Then to check does in File2 in specific column exists...
  9. Replies
    2
    Views
    1,054

    VS 2019 VB.net Append text in the end of txt file

    Hello, can someone advice me how i can make correct to add new value string in text file at specific location.
    I will give full example

    So let's start i have a file File1.txt
    Inside i have this...
  10. Replies
    7
    Views
    14,819

    Re: Improve code with better syntax

    i got a question regarding my last 2 rows codes


    batFile.WriteLine($"icarls ""{FileSavePath}TestFolder"" /grant {TxtAutoUser.Text}:(OI)(CI)F /T /grant {TxtTabletUser.Text}:(OI)(CI)F /T")...
  11. Replies
    7
    Views
    14,819

    Re: Improve code with better syntax

    the problem is that cmd needs to have the "Text" for the reg command that's why i input like that
  12. Replies
    7
    Views
    14,819

    Re: Improve code with better syntax

    thank you, forgot about {TxtField.Text} option
  13. Replies
    7
    Views
    14,819

    Improve code with better syntax

    Hello, can someone help me improve this query syntax to be better input without so much """ i use



    Using batFile As New StreamWriter(batFileName)
    'User1 Create
    ...
  14. VS 2019 Re: VB.net execute powershell script

    great hint advice for the start
  15. VS 2019 Re: VB.net execute powershell script

    found a small solution to my issue:


    Dim combined As String = Path.Combine(My.Application.Info.DirectoryPath, Path.GetFileName("\Script.ps1"))
    Dim powerShellPath =...
  16. VS 2019 Re: VB.net execute powershell script

    yeah i will clear more my question.
    So basically i have a file at some folder.
    So i need to execute the PowerShell to read that file and do his things what is inside the file .ps1.
    But i want to...
  17. VS 2019 [RESOLVED] VB.net execute powershell script

    Hello can someone help me how i can make from my .net winform to execute the powershell script as admin

    here is what i try, but also when open the window of powershell to display results what the...
  18. VS 2019 Re: Export to Excel from TabControl Tabs

    Edit: fixed
  19. VS 2019 Re: Export to Excel from TabControl Tabs

    i got stuck with this how to fetch the datagridview from each tabpage and export it, cant figure out a way
    someone can help in this forum eh?
  20. VS 2019 Re: Export to Excel from TabControl Tabs

    in code receive error in header


    For Each tp As TabPage In TabControl1.TabPages
    For Each ctl As Control In tp.Controls
    If TypeOf ctl Is DataGridView Then
    ...
  21. VS 2019 [RESOLVED] Export to Excel from TabControl Tabs

    How can i export to excel from datagridview from TabControl Tabs and save all tabs names as sheet name and fill the information from all tabs in one excel file?
    I prefer ClosedXML library but if you...
  22. VS 2019 Re: TabControl add controls from text file

    Dim Lines() As String = IO.File.ReadAllLines(My.Application.Info.DirectoryPath & "\Lines.txt")
    For Each line As String In Lines
    Dim LineParts() As String = Strings.Split(line,...
  23. VS 2019 Re: TabControl add controls from text file

    Example??
  24. VS 2019 Re: TabControl add controls from text file

    the code above works fine it creates tabs with names from the txt file, but i got stuck on how to create the datagridview to each one tab created (mostly nobody give even 1 code example or support me...
  25. VS 2019 Re: TabControl add controls from text file

    something like that?


    Dim Lines() As String = IO.File.ReadAllLines(My.Application.Info.DirectoryPath & "\Lines.txt")
    For Each line As String In Lines
    Dim LineParts() As...
  26. VS 2019 Re: TabControl add controls from text file

    i have started with this


    Dim tab As New TabPage() With {
    .Text = IO.Path.GetFileName(My.Application.Info.DirectoryPath & "\Lines.txt")
    }
    Guna2TabControl1.TabPages.Add(tab)...
  27. VS 2019 [RESOLVED] TabControl add controls from text file

    Hello,
    Can someone help me out cause i cannot find good information on google about this.

    How can i create this stuff:
    When form loads to create in TabControl tabs names from the text file.
    ...
  28. VS 2019 Re: Datagridview values create folder names

    okay here is what i created until now to store the information inside .txt file


    Using writer As New StreamWriter(My.Application.Info.DirectoryPath & "\Test\Info.txt")
    For i As...
  29. VS 2019 Re: Datagridview values create folder names

    Yes i plan to use it more than 1 time, example later i would like to fetch what was created (so possible i need to store them in a file this way right? )
  30. VS 2019 Re: Datagridview values create folder names

    i was just thinking what would be the best method to get the information from the datagridview1 column 0 rows and use the rows information to create the folders with that information text.
    So i was...
  31. VS 2019 Re: Datagridview values create folder names

    edit my previous post, maybe with list would be better?
  32. VS 2019 Re: Datagridview values create folder names

    okay, how to make to read from datagridview column0 the rows information and create folders with that names in specific location



    For Each row As DataRow In YourDataGridView.Rows
    Dim...
  33. VS 2019 [RESOLVED] Datagridview values create folder names

    Hello can someone help me out how to create from datagridview values in rows in column 0 are the names that i want to create folder

    Example:
    Datagridview1 has 2 columns :

    NameFolder ...
  34. Replies
    5
    Views
    1,517

    VS 2019 Re: VB.net change system locale

    the problem is that the specific software comes from external company from Japan.
    The software requires system locale to be set to Japan to work correct.
    And this way i want to make an tool that...
  35. Replies
    5
    Views
    1,517

    VS 2019 Re: VB.net change system locale

    yes, i need to create a tool that will configurate all new created vps servers to work with specific software
  36. Replies
    5
    Views
    1,517

    VS 2019 [RESOLVED] VB.net change system locale

    Hello,
    can someone help me out how can it be made to change windows system locale option using vb.net application.

    Example:
    1 combobox - inside 3 languages ( English, Japan, Romania )
    1 button...
  37. Replies
    4
    Views
    1,554

    VS 2019 Re: How To Check If Remote Port Open?

    possible take a look at this:


    Call CheckPort(IP,PORT)

    Dim SockObject
    Function CheckPort(Byval Server,Byval Port)
    set SockObject=CreateObject("MSWinsock.Winsock.1")
    SockObject.Protocol=0 '...
  38. VS 2019 Re: Check valid email and multiple emails support

    possible Trim to use to remove spaces i think would be good?


    For Each recipient In txtTo.Text.Split(",")
    Mail.To.Add(recipient.Trim())
    Next

    or
  39. VS 2019 Re: Check valid email and multiple emails support

    okay found it how it should be


    ^(\w([-_+.']?\w+)+@(\w(-*\w+)+\.)+[a-zA-Z]{2,4}[,;])*\w([-_+.']?\w+)+@(\w(-*\w+)+\.)+[a-zA-Z]{2,4}$

    Seems do all tricks :)
    Now last question is it correct this...
  40. VS 2019 Re: [RESOLVED] Send email body support new lines

    i found one more mistake here : Mail.Subject = txtBody.Text
    Should be Mail.Subject = txtSubject.Text

    now even with HTML false is display as normal newline *** :D
    means it display:
    - Message1
    -...
Results 1 to 40 of 199
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width