Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: kokon
  • Order by date
  1. kokon

    Help with Timer and BackgroundWorker

    Hi, After starting below code, the output I got is: ------------- day minute day minute,minute day minute,minute,minute -------------- It should be: -------------- day minute, day minute day minute -------------- I don`t knowo why the backgroud worker starts more then 1 time on each steps, is...
  2. kokon

    Problem with refreshing textbox

    In the code below DayTicker is started by timer1.Tick += new EventHandler(DayTicker); void DayTicker(object sender, EventArgs e) { timer1.Stop() richTextBox1.Text += "\nTESTTTTTTT\n"; myProcess(0, 0, 0); CheckTheOutput(); public void myProcess(int first, int second, int third)...
  3. kokon

    Setting Timer interval

    When i put there timer1.Interval = 10000 it works all right
  4. kokon

    Setting Timer interval

    I have problem with setting timer interval propably because of the type conversion. Please see my code below. -------------------------------------- TimeSpan HourNow = CurrTime.TimeOfDay; TimeSpan HourScheduled = new TimeSpan (1,readint,RandomStartMin, 0); TimeSpan Duration = HourScheduled -...
  5. kokon

    Catch exception - Permision denied

    Please help me how to catch exception: VBScript runtime error: Permission denied after following code: objFSO.DeleteFolder(Patch)
  6. kokon

    Connection through proxy

    Hi, I`m using below code to connect to website. I want to connect to this site through the proxy server (I got servers with and some servers without authentification). Please help. use IO::Socket; $Mhost="www.google.com"; $Msock = new IO::Socket::INET(PeerAddr => $Mhost, PeerPort => 80, Proto...
  7. kokon

    Get info from "member of" tab in AD

    Thanks a lot, it works perfect. What about if in "User Accounts" folder i have subfolder "Special Accounts" whithin which i want to search only. Thanks
  8. kokon

    Get info from "member of" tab in AD

    Please help, how to list all information (especially "Name" and "Active Directory Folder") from the "User Account"/"Member of" tab in Active Directory. Thanks in advance.
  9. kokon

    Problem with absolute reference in excel vba

    yes it take place above row 119. All right so I will insert all necessery rows and than insert formula
  10. kokon

    Problem with absolute reference in excel vba

    Thx a lot SkipVought. Can you please give me little tip how to name the cell, and do reference to the range name...
  11. kokon

    Problem with absolute reference in excel vba

    Sorry I forgot that I have something like that For i = 1 To 2: For j = 1 To 2: For k = 1 To 2 Cells(i, j).Offset(k + Insert_row, 0).EntireRow.Insert Cells(i, j).Offset(k + Insert_row, 0).Offset(0, 8).Formula = _ "=" & Cells(i, j).Offset(k + Insert_row, 0).Offset(0, 5).Address(0, 0) & "/...
  12. kokon

    Problem with absolute reference in excel vba

    Hi I have the below code inside 3 "For" loops. I need to insert in few cells the same formula with absolute references to $J$119 cell. That code works but it inserts $J$119*100, $J$120*100, $J$121*100 like relative reference. Please help Cells(i, j).Offset(k + Insert_row, 0).Offset(0...
  13. kokon

    catch [x] button event

    Please can anyone tell me how to catch the closing event ( [X] button of my window) I need to kill all the threads running when someone would press [X] button.
  14. kokon

    richTextBox text color change

    Can somebody help me set the color priority of richtextbox to write one line in red color and the next one in for example blue. I tried: ------ richTextBox1.ForeColor = Color.Red; richTextBox1.Text = "hey"; richTextBox1.ForeColor = Color.Blue; richTextBox1.Text = "bye"; --------- But it change...
  15. kokon

    windows service

    May I launch it and put an icon in system tray, and when i would click this icon, GUI will apeared??
  16. kokon

    accessing variable

    Sorry but its not working, maybe because the : --------- if (kol.StartVPNIsChecked == true) { MessageBox.Show("VPN Checkbox Is Checked"); } --------- is called from another thread also.
  17. kokon

    accessing variable

    Please help me, I cannot access variable or checkbox state from another class. My code is: Form1 kol = new Form1(); if (kol.checkBox1.Checked) StartVpnCon(); MessageBox.Show(kol.checkBox1.Checked.ToString()); ----------- But MessageBox always show "false" no matter of the real checkbox state.
  18. kokon

    windows service

    Ok, so is it possible if my service will start gui application before login without visible gui and then after user login the gui will become visible?
  19. kokon

    windows service

    Hello! I have a problem with starting notepad.exe from windows service. It starts but i cant see any window. I can only see that it starts from windows task manager. Thx for help. My source is: ----------------------------- protected override void OnStart(string[] args) { Process notePad...
  20. kokon

    use network connection

    Hi, Please tell me how to start one of my vpn connection in control panel network connection from code?

Part and Inventory Search

Back
Top