|
I have tried running the individual forms, I have changed the start up object for the project setting it to a different form. When I run the program, a different form from the one I selected as the start up object is being displayed. The forms I altered and built when I had changed the date are not being loaded.
I hope u will be able to help me
|
|
|
|
|
Wow. OK. I'd probably start by Cleaning the solution (under the Build menu) and do a Rebuild after that.
If that doesn't take care of it, I'd look into getting every file in the solution's Modified date/times back into the past and then redo the above procedure.
|
|
|
|
|
Do "Rebuild All" to get rid of object files that seem younger than their source files, but
actually got created some time ago (due to your date faking).
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Didn't even think of that. He just said "it" didn't work, but didn't say what "it" was.
|
|
|
|
|
Yeah, date cheating can have a lot of consequences...
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
I never do that, so it's no surprise I haven't run into the problem!
|
|
|
|
|
Hi
Thanks for the quik reply. I have just tried that, & it seems even that has failed. I am still getting a different form to the one that I have set as the start up object.
If anyone can help me, I would be most greatful
|
|
|
|
|
Hi,
how many projects? is it the right project that is running?
how many forms? which one is showing? which one would you expect? show the code that
justifies this.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Hi
Thanks for the help, I deleted the bin and obj folders and then rebuilt, and the app is now working fine.
Thanks a million
|
|
|
|
|
Set the date back to where it was. Build all. Delete your bin and obj folders. Set the date back. Never do this again.
In fact, just deleting the bin and obj folders should do it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote:
In fact, just deleting the bin and obj folders should do it.
Just what i was going to say -- the Obj folder is making its own choices... it sees a "newer" version and tries to use that but it cant because the dates dont match.
Thats what I call a "clean all"
----
Morgan Gangwere
Lead programmer, Unknown Software
"Pinky, are you thinking what im thinking?"
"I Dunno brain, how many licks DOES it take to get to the tootsie roll center of a tootsie pop?"
"You want me to calculate that? or should we take over the world?"
"ooh! OooooOOOooH! lets find out!"
|
|
|
|
|
Hi i have a qweuastion.
wgen i play a game like 18 wheels of steel :P
and i press Shift my left flash light ghose on.
now how do i put this in a vb.net project i have a black screen with a green button.
or a check box no mather.
i just want if i press W then the check box must go on/off or the green button must go ON/off.
any body have a solution for this.
Greats
Antonius
p.s. sorry for my bad english
|
|
|
|
|
Turn on KeyPreview for your form. Then handle it's KeyDown and KeyUp events to get the notifications.
|
|
|
|
|
Hi,
I was just wondering if it was possible play system animation (For example: When you copy a file the dialog box appears with the progress bar, the animation just above it) inside a windows form? I've seen this done before in the Delphi programming language and wanted to know if it could be done with VB.NET and if so could someone please point me in the right direction of how to do this.
Thanks
Lloyd J. Atkinson
|
|
|
|
|
You'd have to launch the shell's file copy routine to get it's dialog to show up, then your code would have to wait for the window to pop up, get it's window handle, then you can change it's parent window to a control on your form.
You can use this[^] wrapper library to use the shell API to do that copy, BUT be warned! Since the animation window only pops up if the copy operation exceeds a couple of seconds, you might never see the window show up!
The other possibililty is to write you own file/folder copying code on a seperate thread, then put up your own file copy animation graphic, which, of course, you'd have to make yourself.
|
|
|
|
|
Hi,
Thanks for replying to my question, I will try doing that.
Thanks
Lloyd J. Atkinson
|
|
|
|
|
Hi there
I have a line that is drawn from point A to point B. Point B has a label control.
the line is supposed to be reflected in the opposite direction when it hits the label control
What i am trying to do is to make the label control look like a mirror on the form but in 2D
Any ideas/codes will be highly appreciated
Regards
Yasin
|
|
|
|
|
Why do you keep asking this, instead of taking the advice you've been given ? A libale shows text. If you want it to look like a mirror, you need to draw a mirror, and you may as well do that directly on your form.
As I've told you before.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
You really need to abandon this approach. It's never going to get you anywhere. The only way you're going to get a line to bound off a mirror is to figure out the math to calculate a second line based on the angle of your mirror.
So what's the difference between drawing a line on a label control and drawing one on the form?? The simplicity of not having to worry about yet another control is what!!
For the last time, you need to stop what you're doing, figure out how you're going to represent the data and how you're going to manipulate that data. THEN you can write the code to draw the image that's going to represent this "laser and mirrors" data.
A game is nothing more than a visual display of a very specialized, interactive database.
Since you continuously ignore the advice you're givien, any further attempts at asking the same questions will do nothing more than beg for replies of silence.
|
|
|
|
|
Angle of incedence = the angle of reflection.
Thats all you need to know - not sure why you are doing it the way you say though.
Dan
|
|
|
|
|
Im going thru a very weird problem, maybe im not familiar with it...i tried using controlpaint.drawborder3d for a normal form to create a border for the borderless form, and it worked. I'm trying the same thing for an MDI form but it wont work, is there something im missing? im using version 2005
|
|
|
|
|
Without seeing you're painting code (and the sub that it's in), it's impossible to tell you what's going on.
|
|
|
|
|
below is the code im using on the MDI form, i used hte same thing for the normal form on which it worked, but on the MDI it doesnt seem to be working
<br />
Private Sub frmMdi_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint<br />
ControlPaint.DrawBorder3D(e.Graphics, Me.DisplayRectangle,Border3DStyle.Raised)<br />
End Sub<br />
|
|
|
|
|
If this is all you're doing, why are you even doing it?? Just set the form's BorderStyle property and it paints itself.
|
|
|
|
|
i want a borderless form cos i want to design my own titlebar and stuff...tats not the question...the question is why wont it work?
|
|
|
|