473,795 Members | 2,498 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Referencing "Forms" objects from a module

All,

(here's an easy one)...

This is probably a stupid question - please bare with me as I am new to
dotNet.

How does one reference objects on a form from a module? In 6.0 you could
simply provide the form name as a prefix to the object within the form and
that would do it (kind of like providing a fully qualified path name to a
file).

What is the mechanism for such a reference from a VB.net module?

Thanks in advance for any insight

-Paul
Jan 13 '06
17 18436
>> If possible, don't use a Module. See previous discussions in this group.

That's just your personal opinion.

Absolutely not, in my opinion exact the right answer from Armin

Cor
Jan 14 '06 #11
"Armin Zingler" <az*******@free net.de> schrieb
If possible, don't use a Module. See previous discussions in this
group.


To clarify this... :-)

It could be understood as: "Don't use a Module. That's the
conlusions of previous discussions.".

What I meant was:
"Don't use a Module. The usage of modules has already been discussed, so
look up the previous threads."

Thus, the last sentence was not to support my own opinion and give a (maybe
wrong) impression of what's the conclusion of previous threads, but it was
only to give a general hint to discussions about this subject (that also
mention advantages of modules).

(IMO, everything in a module is part of "*the* application". "*The*
application" is an object (singleton in this case) => "Class App" with
shared methods (my personal way of thinking only))
Armin

Jan 14 '06 #12
Huh ???

Well i guess it is your opinion , and it seems also to be Cor`s opinion so
Herrfried was right when he said that is just your opinion :-)

probably he said this, because if you read the comment someone might think
that it is bad coding practice to use a module at all

regards

Michel Posseth [MCP]


"Armin Zingler" <az*******@free net.de> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
"Armin Zingler" <az*******@free net.de> schrieb
If possible, don't use a Module. See previous discussions in this
group.


To clarify this... :-)

It could be understood as: "Don't use a Module. That's the
conlusions of previous discussions.".

What I meant was:
"Don't use a Module. The usage of modules has already been discussed, so
look up the previous threads."

Thus, the last sentence was not to support my own opinion and give a
(maybe
wrong) impression of what's the conclusion of previous threads, but it was
only to give a general hint to discussions about this subject (that also
mention advantages of modules).

(IMO, everything in a module is part of "*the* application". "*The*
application" is an object (singleton in this case) => "Class App" with
shared methods (my personal way of thinking only))
Armin

Jan 14 '06 #13
>Well i guess it is your opinion , and it seems also to be Cor`s opinion
so Herrfried was right when he said that is just your opinion :-)

Ik zal het voor jouw in het nederlands doen.

Als het Armin en mijn opinion is, dan is het niet *alleen maar* de
persoonlijke opinie van Armin, maar een opinie van meer personen.

Translated.

I'll do it for you in Dutch.

If it is the opinion of Armin and mine opinion, than it is not *just* the
personal opinion from Amrin, however an opinion from more persons.

For the rest is real developping a going on traject where what was yesterday
right is tomorrow wrong.

The pleasure of Visual Basic Net is that it is not so commanding as other
languages. Because I have read many messages from you, is my believe that we
share that opinion.

Cor
Jan 14 '06 #14
"m.posseth" <mi*****@nohaus ystems.nl> schrieb
Huh ???

Well i guess it is your opinion , and it seems also to be Cor`s
opinion so Herrfried was right when he said that is just your
opinion :-)

probably he said this, because if you read the comment someone might
think that it is bad coding practice to use a module at all


But that's what I wrote in my previous post!?? I saw that it could have been
misunderstood - as Herfried probably did - thus the clarification.
Armin

Jan 14 '06 #15
Armin , Cor

i just wanted to make clear that a opinion is not a fact , even if it is
shared by multiple persons

from my personal point of view this was not clear in the thread , it looked
to me as if it is bad coding practice to use a module
But that's what I wrote in my previous post!??
I missed the previous post that was indeed exactly the facto that i missed
before .
It arived on my computer after i wrote the response i read the newsgroup
through nova.planet.nl and through news.microsoft. com on different
computers , the planet server seems to be late with its delivery sometimes
..

I am with you if you say that , you should try to avoid the usage of modules
( although this is also a personal opinion ;-)

regards

Michel Posseth [MCP]


"Armin Zingler" <az*******@free net.de> wrote in message
news:O%******** ********@TK2MSF TNGP15.phx.gbl. .. "m.posseth" <mi*****@nohaus ystems.nl> schrieb
Huh ???

Well i guess it is your opinion , and it seems also to be Cor`s
opinion so Herrfried was right when he said that is just your
opinion :-)

probably he said this, because if you read the comment someone might
think that it is bad coding practice to use a module at all


But that's what I wrote in my previous post!?? I saw that it could have
been misunderstood - as Herfried probably did - thus the clarification.
Armin


Jan 15 '06 #16
"m.posseth" <mi*****@nohaus ystems.nl> schrieb
Armin , Cor

i just wanted to make clear that a opinion is not a fact , even if
it is shared by multiple persons

from my personal point of view this was not clear in the thread , it
looked to me as if it is bad coding practice to use a module
But that's what I wrote in my previous post!??
I missed the previous post that was indeed exactly the facto that
i missed before .
It arived on my computer after i wrote the response i read the
newsgroup through nova.planet.nl and through news.microsoft. com
on different computers , the planet server seems to be late with
its delivery sometimes .


Ok, I see. :-)
I am with you if you say that , you should try to avoid the usage of
modules ( although this is also a personal opinion ;-)

But isn't this your personal opinion only? ;-))) Don't answer, I do
understand. :)
Armin

Jan 15 '06 #17
Michel,

You probably have seen that I can as well use the nova newsserver.

However, I use direct the microsoft newsserver, it is quicker and has in my
opinion exactly the right retention time.

news://news.microsoft.com/microsoft....t.languages.vb

Why don't you try it yourself.

I can not remember me that I forever wrote something as a fact here in these
newsgroups. I have to often seen that what is a fact today was rubish
tomorrow. Maybe is that the reason that I react forever on people who write
things from which they tell it are facts.

Even 1+1 is not always 2 when option strict is off.

Cor

Jan 15 '06 #18

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1638
by: Woody Lemcke | last post by:
Hello all, Would you gurus please share your wisdom on any DB2 equivalents to the Informix "Forms" input form utility and "Ace" report generating utility? The input form will probably be accessed by telneting from a Linux shell or Windows command prompt and used for updating a lab database. Thanks and regards, Woody Lemcke
0
1220
by: gmarquez | last post by:
Hello, I am using "FORMS" authentication, without SSL the behavior is normal, everythings working very well. When in IIS I cheking "Require SSL" (in Secure Communications property), I can't to do login, after introducing the credentials, I am redirected to login's page again, If I take the SSL's Check off in the ISS property, everythings will work very well again. NOTE: I have a valid certificate well installed. What is happening?,...
1
1817
by: Anton ml. Vaheie | last post by:
How do I convince (what I have to set in asp.net server) that my program that is using <authentication mode="Forms" /> can write to, copy, etc. files in directories on local disk? I have given full permisions to local directory (IUSR_Machinename user), but I still get: "System.UnauthorizedAccessException: Access to the path "D:\Inetpub\wwwroot\". Any idea how to change it?
0
5616
by: Angel | last post by:
Hi I have a problem with my web applications. I believe the problem is somehow connected to HttpSession. I use form authentication in my project. Once I authenticate the user and redirect to default page I create an User object and assign this object to session. Then in other forms I access this object and use it to load data from database. Some times I keep data in the object as a property of object. For example let say my object is...
6
1531
by: Alan Silver | last post by:
Hello, I have a page that displays a data list with info from a database. The grid has the usual stuff, edit, update, delete etc. Below this I have a section where they can add a new entry to the list. This has some text boxes for the data, and a button to click when they are ready to submit. To the user, this looks like two separate forms, one containing a grid of existing data and one where they add new data.
1
1430
by: Dib | last post by:
Hi, how do I call a form to open from another form. example I have a frmLogIn and an frmError The frmError have a ListBox. If the frmLogin generated an error I want the error to show in the ListBox on frmError.
1
1824
by: Troy Bull | last post by:
Greetings I am trying to use a singleton to hold a group of forms. I have a MDIMaster form. I have a class called Forms; Forms is a singleton. I want to do something like the following. In MDIMaster (and other forms), I want to get an instance of Forms (the only instance). Inside Forms then there are public variables for each of the possible forms, if a "form" has never been accessed the Forms factory creates a new instance of the...
11
3166
by: eBob.com | last post by:
I have this nasty problem with Shared methods and what I think of as "global storage" - i.e. storage declared outside of any subroutines or functions. In the simple example below this "global" storage is ButtonHasBeenClicked. In this simple example code in Form1 calls a routine in Module1 which then calls code back in Form1 (subroutine WhatEver). WhatEver needs to access ButtonHasBeenClicked but the reference to ButtonHasBeenClicked...
3
7826
by: svdoerga | last post by:
I found a post with the same error here. I'm getting the same error. This code is run in a button click event: ........... DoCmd.OpenForm CurTabViewName, acNormal With Forms(CurTabViewName) ........... At the "With" statement I get the error. Weird thing is this code had been working fine a long time. I've been searching the net and haven't been able to find the solution yet. Does anyone know a solution?
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10213
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10163
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9040
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.