Click here to Skip to main content
15,908,175 members
Home / Discussions / C#
   

C#

 
QuestionHow to open a file in .dll Pin
Strategic_Thinker8-Dec-07 21:41
Strategic_Thinker8-Dec-07 21:41 
AnswerRe: How to open a file in .dll Pin
Christian Graus8-Dec-07 21:45
protectorChristian Graus8-Dec-07 21:45 
GeneralRe: How to open a file in .dll Pin
Strategic_Thinker8-Dec-07 21:53
Strategic_Thinker8-Dec-07 21:53 
GeneralRe: How to open a file in .dll Pin
Christian Graus8-Dec-07 22:34
protectorChristian Graus8-Dec-07 22:34 
AnswerRe: How to open a file in .dll Pin
Giorgi Dalakishvili8-Dec-07 21:50
mentorGiorgi Dalakishvili8-Dec-07 21:50 
AnswerRe: How to open a file in .dll Pin
Anthony Mushrow8-Dec-07 23:53
professionalAnthony Mushrow8-Dec-07 23:53 
GeneralRe: How to open a file in .dll Pin
Xmen Real 9-Dec-07 2:05
professional Xmen Real 9-Dec-07 2:05 
GeneralTimer Issue-Stack overflow exception Pin
Arun Abraham Jose8-Dec-07 21:31
Arun Abraham Jose8-Dec-07 21:31 
Hi
I created an windows application in C# which contains one form and one class file.In form I have one timer control and Timer1_tick event. In event I am calling a function in the class file. And in class file iam creating the object of form and calls the timer1.Enabled and Interval properties. When I refer this exe in other applications to perform Timer operations, I am getting two kinds of errors for two conditions.

If i am giving a "new" reference to the objects I created for the class and form in Timer exe, then - Stack overflow exception

If I am creating object without "new" and assigns null and uses to avoid Stack Overflow exception, then the error will be "Object refernce not set to an instance of object"

What is the solution to this problem?

NB: In VB they uses "friend" functions and Withevents to create object and avoids this situation
With Regards,

Abraham Chethuvelil
GeneralRe: Timer Issue-Stack overflow exception Pin
Christian Graus8-Dec-07 21:48
protectorChristian Graus8-Dec-07 21:48 
GeneralRe: Timer Issue-Stack overflow exception Pin
Arun Abraham Jose8-Dec-07 22:23
Arun Abraham Jose8-Dec-07 22:23 
GeneralRe: Timer Issue-Stack overflow exception Pin
Christian Graus8-Dec-07 22:35
protectorChristian Graus8-Dec-07 22:35 
GeneralRe: Timer Issue-Stack overflow exception Pin
Arun Abraham Jose9-Dec-07 17:10
Arun Abraham Jose9-Dec-07 17:10 
GeneralDATA GRID VIEW BINDING Pin
sindhutiwari8-Dec-07 20:22
sindhutiwari8-Dec-07 20:22 
GeneralRe: DATA GRID VIEW BINDING Pin
Christian Graus8-Dec-07 21:51
protectorChristian Graus8-Dec-07 21:51 
GeneralRegex pattern Pin
hamidkhan8-Dec-07 20:18
hamidkhan8-Dec-07 20:18 
GeneralRe: Regex pattern Pin
hamidkhan12-Dec-07 8:13
hamidkhan12-Dec-07 8:13 
GeneralChanging the this.height at run-time causes flickering Pin
Joe Tony8-Dec-07 19:59
sussJoe Tony8-Dec-07 19:59 
GeneralRe: Changing the this.height at run-time causes flickering Pin
Xmen Real 9-Dec-07 2:01
professional Xmen Real 9-Dec-07 2:01 
QuestionHow to use resources? Pin
I'm a beginner8-Dec-07 19:09
I'm a beginner8-Dec-07 19:09 
AnswerRe: How to use resources? Pin
Christian Graus8-Dec-07 21:52
protectorChristian Graus8-Dec-07 21:52 
GeneralRe: How to use resources? Pin
I'm a beginner9-Dec-07 2:35
I'm a beginner9-Dec-07 2:35 
GeneralBar Code Pin
hadad8-Dec-07 13:27
hadad8-Dec-07 13:27 
GeneralRe: Bar Code Pin
Christian Graus8-Dec-07 14:17
protectorChristian Graus8-Dec-07 14:17 
GeneralRe: Bar Code Pin
Luis Alonso Ramos8-Dec-07 16:54
Luis Alonso Ramos8-Dec-07 16:54 
GeneralRe: Bar Code Pin
Luke Lovegrove8-Dec-07 19:39
Luke Lovegrove8-Dec-07 19:39 

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.