Jump to content

C# winform issue

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
Siten0308

Siten0308

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 302 posts
Hello,

I have made a nice winform app for a person that requested it, it involves 2 timers, a background worker, and a lot of methods, plus buttons, pictures boxes etc, the weird thing is, i ran this application on 4 computers, 3 of them worked fine, but the 4th didnt work, so i checked to make sure it had all the .net frameworks, sure enough it did, i am using only .net 2.0 with service pack 1, which all 4 computers had, but 2 of the 3 that worked had visual studio C# 2008 installed on it, now the funny thing is, what happens to not make it work is it stays in a loop of one of the timers i set it or start the timer, and it never stops looping or stops the timer even though i got it in the code to stop it after all the methods and everything is populated but instead it keeps going on forever,

now here is the kicker, the 4 computer that didnt work, which had all the .net framework 2.0, 3.0, 3.5, 1.1 and all service packs etc., even 4.0, all 4 computers again had, but the 4 still didnt work, so again here is the kicker, i decided to install the visual studio C# 2008 on the 4th computer that didnt work and guess what, it worked!! weird huh, has anyone ever experienced that before with any of the classes i am using or settings i need to do, or updates i need to get?
Its only funny till someone gets hurt.... THEN ITS HILARIOUS :)

#2
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
Did you use an Installer?
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#3
Siten0308

Siten0308

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 302 posts
Ya i using Inno Setup 5.3.8(a) version
Its only funny till someone gets hurt.... THEN ITS HILARIOUS :)

#4
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
Hmm sounds very weird, what if you use a different installer? like advancedinstaller?

A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#5
Siten0308

Siten0308

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 302 posts
i will try advanced installer i guess is it free and easy to use that has all features like inno?
Its only funny till someone gets hurt.... THEN ITS HILARIOUS :)

#6
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts

Quote



i will try advanced installer i guess is it free and easy to use that has all features like inno?


Well kinda you can make a basic install feature for free then for a thorough install you'll have a 30 day trial before you have to buy the program but if you use the install wizard thing its pretty easy to use.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#7
Siten0308

Siten0308

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 302 posts
thanks for the reply, sadly i have no computer to test this to make sure if its going to work or not, for the 4th computer because when i installed visual studio C#2008, it fixed the problem, when i uninstalled visual studio C# 2008 guess what, it still works!!! weird ya, i know, dont know what to say or do.... just wondering if anyone has heard of this or has experienced this issue that i am dealing with?
Its only funny till someone gets hurt.... THEN ITS HILARIOUS :)