Click here to Skip to main content
15,906,708 members
Home / Discussions / C#
   

C#

 
GeneralI would like to create a button that allow to open html page. Pin
zoltix31-Jan-03 2:56
zoltix31-Jan-03 2:56 
GeneralRe: I would like to create a button that allow to open html page. Pin
TigerNinja_31-Jan-03 5:09
TigerNinja_31-Jan-03 5:09 
GeneralRe: I would like to create a button that allow to open html page. Pin
zoltix31-Jan-03 5:30
zoltix31-Jan-03 5:30 
GeneralRe: I would like to create a button that allow to open html page. Pin
Anonymous31-Jan-03 19:52
Anonymous31-Jan-03 19:52 
Questionis machine.config cached ??? Pin
Dato31-Jan-03 2:48
Dato31-Jan-03 2:48 
GeneralReusing closed/disposed forms Pin
31-Jan-03 0:58
suss31-Jan-03 0:58 
GeneralRe: Reusing closed/disposed forms Pin
leppie31-Jan-03 4:18
leppie31-Jan-03 4:18 
GeneralExcel automation Pin
Mauricio Ritter30-Jan-03 23:49
Mauricio Ritter30-Jan-03 23:49 
I´m creating an application that does some automation with excel. The problem is that Excel sometimes is busy doing some tasks and can´t respond to my method calls. To solve this I´m using something similar to this;
while(true)
{
  try
  {
      oWorkbook.Range(...);
  }
  catch(System.RunTime.Interop.COMException)
  {
    // wait a littel bit
    System.Threading.Thread.Sleep(100)
  }
  catch(Exception exp)
  {
      throw(exp);
      break;
  }
}


The problem is that I have TONS of this oWorkbook.Range(...); lines... and I don´t want to write this bunch of code to all of them. Does anyone know some alternative way to do this (some kinda template maybe) ? I know I can write a wrapper to do this... but it´ll give me a lot of work... and I´m trying to find a better solution.


Mauricio Ritter - Brazil
Sonorking now: 100.13560 MRitter


Life is a mixture of painful separations from your loved ones and joyful reunions, without those two we'd just be animals I guess. The more painful the separation, that much more wonderful will be the reunion - Nish

"Th@ langwagje is screwed! It has if's but no end if's!! Stupid php cant even do butuns on forms! VISHAUL BASICS ARE THE FUTSHURE!" - Simon Walton
GeneralCan't get MAC address using ManagementClass Pin
EnkelIk30-Jan-03 21:15
EnkelIk30-Jan-03 21:15 
GeneralRe: Can't get MAC address using ManagementClass Pin
EnkelIk4-Feb-03 23:11
EnkelIk4-Feb-03 23:11 
GeneralSystemMenu Pin
ShulapovMax30-Jan-03 20:50
ShulapovMax30-Jan-03 20:50 
GeneralRe: SystemMenu Pin
Roger Alsing31-Jan-03 1:03
Roger Alsing31-Jan-03 1:03 
QuestionCursor Change while UserControl Drag And Drop ? Pin
Paresh Gheewala30-Jan-03 15:43
Paresh Gheewala30-Jan-03 15:43 
AnswerRe: Cursor Change while UserControl Drag And Drop ? Pin
Paresh Gheewala31-Jan-03 10:56
Paresh Gheewala31-Jan-03 10:56 
QuestionHow do I get a file's REAL last modified date? Pin
lnong30-Jan-03 13:34
lnong30-Jan-03 13:34 
AnswerRe: How do I get a file's REAL last modified date? Pin
Todd Smith30-Jan-03 14:17
Todd Smith30-Jan-03 14:17 
GeneralPanel Repaint Pin
sv787430-Jan-03 12:25
sv787430-Jan-03 12:25 
GeneralRe: Panel Repaint Pin
Nick Parker30-Jan-03 16:02
protectorNick Parker30-Jan-03 16:02 
QuestionOwnerdraw context menu in traybar? Pin
anewmachine30-Jan-03 12:23
anewmachine30-Jan-03 12:23 
GeneralentryPoint of a PE file Pin
blacksun_damn30-Jan-03 11:52
blacksun_damn30-Jan-03 11:52 
GeneralSystem.Diagnostics Pin
jtmtv1830-Jan-03 11:49
jtmtv1830-Jan-03 11:49 
GeneralRe: System.Diagnostics Pin
Vasudevan Deepak Kumar30-Jan-03 17:29
Vasudevan Deepak Kumar30-Jan-03 17:29 
GeneralRe: System.Diagnostics Pin
jtmtv1830-Jan-03 17:57
jtmtv1830-Jan-03 17:57 
GeneralTextBox.Clear() Method Pin
Member 14906930-Jan-03 9:06
Member 14906930-Jan-03 9:06 
GeneralRe: TextBox.Clear() Method Pin
leppie30-Jan-03 10:04
leppie30-Jan-03 10:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.