Click here to Skip to main content
15,914,416 members
Home / Discussions / C#
   

C#

 
Questionchanging application icon at runtime without recompiling Pin
GunaChinna12-Dec-06 18:04
GunaChinna12-Dec-06 18:04 
AnswerRe: changing application icon at runtime without recompiling Pin
sno-114-Dec-06 3:12
sno-114-Dec-06 3:12 
Questionselecting a row in a data grid Pin
miteshjain12-Dec-06 18:03
miteshjain12-Dec-06 18:03 
AnswerRe: selecting a row in a data grid Pin
Bob Nadler12-Dec-06 18:32
Bob Nadler12-Dec-06 18:32 
GeneralRe: selecting a row in a data grid Pin
cheah8512-Dec-06 23:06
cheah8512-Dec-06 23:06 
QuestionTable Update Via Table Adapter Pin
mfcuser12-Dec-06 16:11
mfcuser12-Dec-06 16:11 
AnswerRe: Table Update Via Table Adapter Pin
mfcuser12-Dec-06 17:54
mfcuser12-Dec-06 17:54 
QuestionProblems deploying C# OpenGL project Pin
Jasmine250112-Dec-06 14:44
Jasmine250112-Dec-06 14:44 
See this.[^] I got a nice OpenGL/C# screensaver working but it won't run on other machines. Has anyone had this problem?

I'm using CsGL [^] to do my OpenGL stuff. The app works fine on my machine at home and on my office machine which both have VS2005. It doesn't work on another machine in the office which also has VS2005, even after I installed CSGL on that machine. On that machine, it runs for a bit and then freezes, making strange flashes, but it wakes up and quits when you move the mouse, so I don't think it's crashed. On two machines of some groovy CP folks, there is a System.TypeInitializationException when they try to preview the screensaver, but the options box works fine. This happens even after they installed CsGL from the SourceForge site.

What could be causing the Exception? It's failing somewhere in here...

this.view = new JazzyOpenGL.MyGLView(); //my subclass of CsGL.OpenGLControl<br />
this.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint, true);<br />
this.Capture = true;<br />
<br />
//// Set the application to full screen mode and hide the mouse<br />
Cursor.Hide();<br />
Bounds = Screen.PrimaryScreen.Bounds;<br />
WindowState = FormWindowState.Maximized;<br />
ShowInTaskbar = false;<br />
DoubleBuffered = true;<br />
BackgroundImageLayout = ImageLayout.Stretch;<br />
this.view.Parent = this;<br />
this.view.Dock = DockStyle.Fill; <br />
<br />


I would bet it's failing on that first line, but how could it be messing this up, when the DLL for that is right there in the same folder? How can I make an installer that will put this DLL where it can never be lost?


"Quality Software since 1983!"
http://www.smoothjazzy.com/ - see the "Programming" section for (freeware) JazzySiteMaps, a simple application to generate .Net and Google-style sitemaps!

AnswerRe: Problems deploying C# OpenGL project Pin
led mike13-Dec-06 6:05
led mike13-Dec-06 6:05 
GeneralRe: Problems deploying C# OpenGL project Pin
Jasmine250113-Dec-06 7:19
Jasmine250113-Dec-06 7:19 
GeneralRe: Problems deploying C# OpenGL project Pin
led mike13-Dec-06 7:36
led mike13-Dec-06 7:36 
GeneralRe: Problems deploying C# OpenGL project Pin
Jasmine250113-Dec-06 16:25
Jasmine250113-Dec-06 16:25 
GeneralRe: Problems deploying C# OpenGL project Pin
led mike14-Dec-06 5:00
led mike14-Dec-06 5:00 
GeneralRe: Problems deploying C# OpenGL project Pin
led mike14-Dec-06 5:12
led mike14-Dec-06 5:12 
GeneralRe: Problems deploying C# OpenGL project Pin
Jasmine250114-Dec-06 5:33
Jasmine250114-Dec-06 5:33 
GeneralRe: Problems deploying C# OpenGL project Pin
led mike14-Dec-06 6:19
led mike14-Dec-06 6:19 
GeneralRe: Problems deploying C# OpenGL project Pin
led mike14-Dec-06 6:30
led mike14-Dec-06 6:30 
GeneralRe: Problems deploying C# OpenGL project Pin
Jasmine250114-Dec-06 6:22
Jasmine250114-Dec-06 6:22 
GeneralRe: Problems deploying C# OpenGL project Pin
led mike14-Dec-06 6:38
led mike14-Dec-06 6:38 
GeneralRe: Problems deploying C# OpenGL project Pin
Jasmine250114-Dec-06 6:56
Jasmine250114-Dec-06 6:56 
GeneralRe: Problems deploying C# OpenGL project Pin
led mike14-Dec-06 7:22
led mike14-Dec-06 7:22 
GeneralRe: Problems deploying C# OpenGL project Pin
Jasmine250114-Dec-06 7:30
Jasmine250114-Dec-06 7:30 
GeneralRe: Problems deploying C# OpenGL project Pin
Jasmine250114-Dec-06 9:38
Jasmine250114-Dec-06 9:38 
GeneralRe: Problems deploying C# OpenGL project Pin
led mike14-Dec-06 10:13
led mike14-Dec-06 10:13 
GeneralRe: Problems deploying C# OpenGL project Pin
Jasmine250114-Dec-06 11:21
Jasmine250114-Dec-06 11:21 

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.