I'm quite experienced with ASP.Net, so I know the language pretty well, but
this is my first significant windows app in VB.Net, so I haven't encountered
many of the quirks yet. I'm using VB 2003.
The form in question compiles perfectly and the application runs. However, I
cannot view the design page of the form, only the code page. This just
cropped up today. I've heard rumors of the Form_Load event being involved,
but I haven't found anything helpful.
Anyone come across this? Let me know what code might be helpful and I'll
post it.
BTW, it inherits from a base form that I created to house some standard
routines.
Thanks for any and all help! 13 4274
Hi Jeff,
I was thinking and thinking about what would be the problem, but I think I
got it. You are used to a seperate form and code. In windows form the code
and the page are the same. Not y.aspx and y.vb but only x.vb.
So push on that form.vb in the solution explorer and the windowform should
show up. (When you set the solution explorer to show all files you will see
behind the x.vb a x.resx, when you take it not to strict you can compare
that with the x.aspx)
The load event works almost the same as with a webform, but there is of
course no "ispostback".
Cor I'm quite experienced with ASP.Net, so I know the language pretty well,
but this is my first significant windows app in VB.Net, so I haven't
encountered many of the quirks yet. I'm using VB 2003.
The form in question compiles perfectly and the application runs. However,
I cannot view the design page of the form, only the code page. This just cropped up today. I've heard rumors of the Form_Load event being involved, but I haven't found anything helpful.
* "Jeff Molby" <JeffMolby@C_mc_st.n_t> scripsit: I'm quite experienced with ASP.Net, so I know the language pretty well, but this is my first significant windows app in VB.Net, so I haven't encountered many of the quirks yet. I'm using VB 2003.
The form in question compiles perfectly and the application runs. However, I cannot view the design page of the form, only the code page. This just cropped up today. I've heard rumors of the Form_Load event being involved, but I haven't found anything helpful.
Anyone come across this? Let me know what code might be helpful and I'll post it.
BTW, it inherits from a base form that I created to house some standard routines.
If it's not too much code, you may post the code of your form.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
It is all in one file, I guess I'm just using the wrong terminology. "Design
View" and "Code View" would probably be more appropriate, right?
"Cor" <no*@non.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... Hi Jeff,
I was thinking and thinking about what would be the problem, but I think I got it. You are used to a seperate form and code. In windows form the code and the page are the same. Not y.aspx and y.vb but only x.vb.
So push on that form.vb in the solution explorer and the windowform
should show up. (When you set the solution explorer to show all files you will
see behind the x.vb a x.resx, when you take it not to strict you can compare that with the x.aspx)
The load event works almost the same as with a webform, but there is of course no "ispostback".
Cor
I'm quite experienced with ASP.Net, so I know the language pretty well, but this is my first significant windows app in VB.Net, so I haven't encountered many of the quirks yet. I'm using VB 2003.
The form in question compiles perfectly and the application runs.
However, I cannot view the design page of the form, only the code page. This just cropped up today. I've heard rumors of the Form_Load event being
involved, but I haven't found anything helpful.
there is quite a bit of code, but I will post the Load event from both
forms.
Here is the link that got me thinking it might involve the Load event http://www.dotnet247.com/247referenc...21/109402.aspx
Private Sub frmInventory_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim uom As InventoryBO.UnitsOfMeasurement
Dim vend As InventoryBO.Vendors
uom = New UnitsOfMeasurement
With uom
.ConnectionString = CONNECT_STRING
.SelectFilter = InventoryDC.UnitsOfMeasurementDC.SelectFilters.Lis tBox
.OrderByFilter =
InventoryDC.UnitsOfMeasurementDC.OrderByFilters.De scription
.Open()
End With
Me.cbxSalesUOM.SetDataSource(uom)
Me.cbxPurchaseUOM.SetDataSource(uom)
uom = Nothing
vend = New Vendors
With vend
.ConnectionString = CONNECT_STRING
.SelectFilter = InventoryDC.VendorsDC.SelectFilters.ListBox
.OrderByFilter = InventoryDC.VendorsDC.OrderByFilters.Name
.Open()
End With
Me.cbxVendorNumPri.SetDataSource(vend)
vend = Nothing
End Sub
Private Sub frmDataClassBase_Load(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles MyBase.Load
Dim dc As PDSADAL.IPDSADataClassRW
Dim arg As New DataFormCurrentRecordEventArgs
Dim dt As PDSADAL.TableData
RaiseEvent GetTables()
RaiseEvent GetLookups()
For Each dt In hshTables
Call DisplayRecord(dt)
Next
End Sub
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bp*************@ID-208219.news.uni-berlin.de... * "Jeff Molby" <JeffMolby@C_mc_st.n_t> scripsit: I'm quite experienced with ASP.Net, so I know the language pretty well,
but this is my first significant windows app in VB.Net, so I haven't
encountered many of the quirks yet. I'm using VB 2003.
The form in question compiles perfectly and the application runs.
However, I cannot view the design page of the form, only the code page. This just cropped up today. I've heard rumors of the Form_Load event being
involved, but I haven't found anything helpful.
Anyone come across this? Let me know what code might be helpful and I'll post it.
BTW, it inherits from a base form that I created to house some standard routines.
If it's not too much code, you may post the code of your form.
-- Herfried K. Wagner [MVP] <http://www.mvps.org/dotnet>
On Thu, 20 Nov 2003 14:27:14 -0500, Jeff Molby wrote:
When you get the error, do you get a big red X across the form designer?
--
Chris
To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
Yup
"Chris Dunaway" <dunawayc@_lunchmeat_sbcglobal.net> wrote in message
news:1b***************************@40tude.net... On Thu, 20 Nov 2003 14:27:14 -0500, Jeff Molby wrote:
When you get the error, do you get a big red X across the form designer?
-- Chris
To send me an E-mail, remove the underscores and lunchmeat from my E-Mail address.
On Fri, 21 Nov 2003 08:50:56 -0500, Jeff Molby wrote: When you get the error, do you get a big red X across the form designer?
Yup
I get a similar problem on a new install of VS.Net 2003. ON any project
when I attempt to open the form designer, I get the big red X and a
NullReferenceException. I can add controls etc. to the form through code
and the program will run just fine, I just can use the designer.
So far, no one has offered any possible causes (or solutions). If I could
determine what the NullReferenceException was occuring on, it might help,
but I cannot.
Alas!
--
Chris
To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
Even on new blank forms? That's strange. VS03 has worked fine for me up
until the other day. The other forms in the project still work fine. It's
just this one that's giving me fits.
"Chris Dunaway" <dunawayc@_lunchmeat_sbcglobal.net> wrote in message
news:2m****************************@40tude.net... On Fri, 21 Nov 2003 08:50:56 -0500, Jeff Molby wrote:
When you get the error, do you get a big red X across the form
designer?
Yup
I get a similar problem on a new install of VS.Net 2003. ON any project when I attempt to open the form designer, I get the big red X and a NullReferenceException. I can add controls etc. to the form through code and the program will run just fine, I just can use the designer.
So far, no one has offered any possible causes (or solutions). If I could determine what the NullReferenceException was occuring on, it might help, but I cannot.
Alas!
-- Chris
To send me an E-mail, remove the underscores and lunchmeat from my E-Mail address.
I have no idea what I did to fix it. Oh well...
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bp*************@ID-208219.news.uni-berlin.de... * "Jeff Molby" <JeffMolby@C_mc_st.n_t> scripsit: I'm quite experienced with ASP.Net, so I know the language pretty well,
but this is my first significant windows app in VB.Net, so I haven't
encountered many of the quirks yet. I'm using VB 2003.
The form in question compiles perfectly and the application runs.
However, I cannot view the design page of the form, only the code page. This just cropped up today. I've heard rumors of the Form_Load event being
involved, but I haven't found anything helpful.
Anyone come across this? Let me know what code might be helpful and I'll post it.
BTW, it inherits from a base form that I created to house some standard routines.
If it's not too much code, you may post the code of your form.
-- Herfried K. Wagner [MVP] <http://www.mvps.org/dotnet>
Hi Jeff,
That is often with that error (I understood what it was when I saw it about
that cross).
Sometimes you only have to restart for that.
But I am glad you tell it to us, because I was looking for a solution for
you.
Cor
"Jeff Molby" <JeffMolby@C_mc_st.n_t> schreef in bericht
news:OA**************@TK2MSFTNGP12.phx.gbl... I have no idea what I did to fix it. Oh well...
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message news:bp*************@ID-208219.news.uni-berlin.de... * "Jeff Molby" <JeffMolby@C_mc_st.n_t> scripsit: I'm quite experienced with ASP.Net, so I know the language pretty
well, but this is my first significant windows app in VB.Net, so I haven't encountered many of the quirks yet. I'm using VB 2003.
The form in question compiles perfectly and the application runs. However, I cannot view the design page of the form, only the code page. This just cropped up today. I've heard rumors of the Form_Load event being involved, but I haven't found anything helpful.
Anyone come across this? Let me know what code might be helpful and
I'll post it.
BTW, it inherits from a base form that I created to house some
standard routines.
If it's not too much code, you may post the code of your form.
-- Herfried K. Wagner [MVP] <http://www.mvps.org/dotnet>
Hi Jeff,
Now I know what it was,
just unselect it from your IDE and select it again in your solution
explorer.
(for the next time)
:-)
Cor
I give up... everything works fine, so I'll just workaround it. I'm sure
it'll start working again before long.
"Cor" <no*@non.com> wrote in message
news:Oj**************@tk2msftngp13.phx.gbl... Hi Jeff,
That is often with that error (I understood what it was when I saw it
about that cross). Sometimes you only have to restart for that.
But I am glad you tell it to us, because I was looking for a solution for you.
Cor "Jeff Molby" <JeffMolby@C_mc_st.n_t> schreef in bericht news:OA**************@TK2MSFTNGP12.phx.gbl... I have no idea what I did to fix it. Oh well...
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message news:bp*************@ID-208219.news.uni-berlin.de... * "Jeff Molby" <JeffMolby@C_mc_st.n_t> scripsit: > I'm quite experienced with ASP.Net, so I know the language pretty well, but > this is my first significant windows app in VB.Net, so I haven't encountered > many of the quirks yet. I'm using VB 2003. > > The form in question compiles perfectly and the application runs. However, I > cannot view the design page of the form, only the code page. This
just > cropped up today. I've heard rumors of the Form_Load event being involved, > but I haven't found anything helpful. > > Anyone come across this? Let me know what code might be helpful and I'll > post it. > > BTW, it inherits from a base form that I created to house some standard > routines.
If it's not too much code, you may post the code of your form.
-- Herfried K. Wagner [MVP] <http://www.mvps.org/dotnet>
Didn't help :-(
"Cor" <no*@non.com> wrote in message
news:ek**************@TK2MSFTNGP10.phx.gbl... Hi Jeff,
Now I know what it was, just unselect it from your IDE and select it again in your solution explorer.
(for the next time)
:-)
Cor
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Yasutaka Ito |
last post by:
Hi folks!
I have a BaseForm class that inherits System.Windows.Forms.Form. It has a
property, whose value I need supplied by the class that inherits it. The
BaseForm usees the value supplied...
|
by: Kevin Myers |
last post by:
Hello,
Please forgive my reposting of this note with hopefully a more relevant
subject line.
On an Access 2000 form under Windows 2000 I would like to use a Kodak Image
Edit Control to...
|
by: ColinWard |
last post by:
Hi.
I have a form which has as its recordsource an SQL string. The SQL
String is as follows: SELECT * from CONTACTS where false.
this ensures that there is no data loaded in the form when the...
|
by: Raposa Velha |
last post by:
Hello to all!
Does any of you want to comment the approach I implement for
instantiating a form? A description and an example follow.
Cheers,
RV
jmclopesAThotmail.com replace the AT with the...
|
by: Chris |
last post by:
I have a winform base class in which I dynamically set a web reference Url:
myService.Url = <WebServer> + "MyService.asmx";
where <WebServer> is pulled from my App.config file.
There is no...
|
by: Diogenes |
last post by:
Hi All;
I, like others, have been frustrated with designing
forms that look and flow the same in both IE and Firefox.
They simply did not scale the same.
I have discovered, to my chagrin,...
|
by: Mike J |
last post by:
Hi i have a class running
how do i reference from within the class
the form
class myclass
{
}
public myclass(object ofrm)
i can't see the form at develop time to see its type
if i use...
|
by: menashay |
last post by:
Hello,
I am absolute beginner in C# so pardon me if the following question is
too easy.
I have a form with a one button. When I click the button I want to
display a message that reads...
|
by: RLN |
last post by:
I have a form that does not display correctly.
frm1 opens frm2 via a command button.
My three problems with frm2:
1. Displays in form view when called from the button.
(should be datasheet...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |