473,698 Members | 2,295 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OT How much knowledge is enough?

If one looks at job listings one will read the requirements of for it;
..Net, SQL, C#, etc.

How much skill, if years experience in the discipline isn't listed, is
needed. Could one simply get the C# program, read a book on it, do a
"Hello World" program, and feel comfortable on the topic and apply for
the job?

How much knowlecge is enough, if you've got a developer background, on a
new language or subject to go for it?
Aug 7 '06
37 1808
On Fri, 11 Aug 2006 22:09:48 GMT, Lyle Fairfield <ly***********@ aim.comwrote:
>"David W. Fenton" <XX*******@dfen ton.com.invalid wrote in
news:Xn******* *************** ************@12 7.0.0.1:
>But the drawback of that approach is that it's limited to forms not
opened modally.

I think this is not so, as I previously explained.
I pass values to and set properties in modal forms all the time without any
problems.
Wayne Gillespie
Gosford NSW Australia
Aug 12 '06 #31
The Split statement, or one of the multitude of Split functions documented
in this newsgroup before the statement was included in VBA, has worked
nicely for me when using OpenArgs -- but I am usually passing just one item,
so even that is not often needed.

I don't have any particular gripe about defining and using properties, but
it does seem to me to entail extra work, most of the time.

Larry Linson
Microsoft Access MVP
"David W. Fenton" <XX*******@dfen ton.com.invalid wrote in message
news:Xn******** *************** ***********@127 .0.0.1...
"Larry Linson" <bo*****@localh ost.notwrote in
news:vCSCg.8609 4$Lh4.31865@trn ddc02:
>"Lyle Fairfield" <ly***********@ aim.comwrote
I guess this explains why I am unemployed.

Possibly, if you sought subcontract work from my colleague. <GRIN>

What is the advantage of creating and using a custom property to
pass information, versus using the supplied-with-the-product,
builtin OpenArgs property?

Well, for one, it makes it much neater to pass multiple values.
Second, by setting the values themselves, you can trigger actions
based on those (just as you can in any class module custom
property).

But the drawback of that approach is that it's limited to forms not
opened modally. I don't have too many of those, so I use standalone
data structures for passing information.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Aug 12 '06 #32
"Larry Linson" <bo*****@localh ost.notwrote in
news:qsdDg.1867 $5M.1464@trnddc 02:
The Split statement, or one of the multitude of Split functions
documented in this newsgroup before the statement was included in
VBA, has worked nicely for me when using OpenArgs -- but I am
usually passing just one item, so even that is not often needed.
But there is no data type validation until you get into the form.
I don't have any particular gripe about defining and using
properties, but it does seem to me to entail extra work, most of
the time.
With custom properties, you can easily handle data type validation.

With Split() you'd have to put your data validation in the code that
parses the input.

You wouldn't write a function/sub that you pass a single string
argument and then parse it in the function/sub -- you'd use
individual parameters.

This is another reason why I prefer a standalone class module,
because then you'd get compile time data type checking.

On the other hand, if you could pass an array or a collection or a
custom type through OpenArgs, I wouldn't have a problem. With arrays
or collections, you'd still have to check the data types, but it
would be a very neat way to pass multiple values.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Aug 12 '06 #33
Wayne Gillespie <be*****@NOhotm ailSPAM.com.auw rote in
news:f7******** *************** *********@4ax.c om:
On Fri, 11 Aug 2006 22:09:48 GMT, Lyle Fairfield
<ly***********@ aim.comwrote:
>>"David W. Fenton" <XX*******@dfen ton.com.invalid wrote in
news:Xn****** *************** *************@1 27.0.0.1:
>>But the drawback of that approach is that it's limited to forms
not opened modally.

I think this is not so, as I previously explained.

I pass values to and set properties in modal forms all the time
without any problems.
You pass values to modal forms opened with acDialog? As in this:

DoCmd.OpenForm "dlgMyDialo g", , , , , acDialog
Forms!dlgMyDial og.MyProperty = "Foo"

How exactly does that work? Code pauses at the DoCmd.OpenForm line
and so the things you set won't be set when the user gets control of
the dialog.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Aug 12 '06 #34
Lyle Fairfield <ly***********@ aim.comwrote in
news:Xn******** *************** **********@216. 221.81.119:
"David W. Fenton" <XX*******@dfen ton.com.invalid wrote in
news:Xn******** *************** ***********@127 .0.0.1:
>But the drawback of that approach is that it's limited to forms
not opened modally.

I think this is not so, as I previously explained.
How, exactly, do you usefully set values/properties of a form opened
by this code:

DoCmd.OpenForm "dlgMyDailo g", , , , , acDialog

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Aug 12 '06 #35

David W. Fenton wrote:
How, exactly, do you usefully set values/properties of a form opened
by this code:

DoCmd.OpenForm "dlgMyDailo g", , , , , acDialog
When you use this method you don't use that code:

Public Sub OpenForm1()
With Form_form1
.Modal = True
.Visible = True
.Blah = "Wrong"
End With
End Sub

The form is open.
The form is modal.
The form is visible.
The form's property("Blah" ) = "Wrong"

Larry is confused in thinking that this setting of a custom property
has something to do with the method. It does not. It was simply an
example of how one might pass information to a form when opening it by
using this method. One could have set or let the value of any writable
control, property of the form, or run any of its public procedures.

If Form1 has

Public Sub ShowaMessage()
MsgBox "Message"
End Sub

Then Form_Form1.Show aMessage displays "Message" whether or not the form
is modal.

My recommendation is that the form's instance be created with a pointer
as we would deal with any object as in (air code)

Dim frm as Form_Form1
Set frm = New Form_Form1
frm.ShowaMessag e
Set frm = Nothing.

What we have is something similar to a class. But with this "class"
there is always a default instance available to us by using Form_Form1.
And this "class" has it's own GUI (the visible form). We can use this
syntax to create multiple instances of our form>

Sub tempasdf()
Dim aFrm(0 To 9) As Form_form1
Dim z As Long
For z = 0 To 9
Set aFrm(z) = New Form_form1
aFrm(z).Caption = z
Next z
Erase aFrm
End Sub
.....

Erase aFrm ... presto ... all our instances are closed and their
pointers set to nothing.

I have written quickly here and off the top of my head. But you will
get the idea. Sometimes if Form_Open initial code makes a form
invisible then the .Visible Property will have to be set to true. I
think this is good standard practice. Of course, if you want to use a
normally visible form as invisible you have only to
From_Form1.Visi ble = False
provided it's initial code doesn't set it back to visible.

And as previously noted the form must have HasModule set to true or it
must have a module (the only way for Access 97 I believe).

Aug 12 '06 #36
On Sat, 12 Aug 2006 14:21:25 -0500, "David W. Fenton"
<XX*******@dfen ton.com.invalid wrote:
>Wayne Gillespie <be*****@NOhotm ailSPAM.com.auw rote in
news:f7******* *************** **********@4ax. com:
>On Fri, 11 Aug 2006 22:09:48 GMT, Lyle Fairfield
<ly*********** @aim.comwrote:
>>>"David W. Fenton" <XX*******@dfen ton.com.invalid wrote in
news:Xn***** *************** **************@ 127.0.0.1:

But the drawback of that approach is that it's limited to forms
not opened modally.

I think this is not so, as I previously explained.

I pass values to and set properties in modal forms all the time
without any problems.

You pass values to modal forms opened with acDialog? As in this:

DoCmd.OpenForm "dlgMyDialo g", , , , , acDialog
Forms!dlgMyDial og.MyProperty = "Foo"

How exactly does that work? Code pauses at the DoCmd.OpenForm line
and so the things you set won't be set when the user gets control of
the dialog.
You did not mention opening the form acDialog. That is another kettle of fish.

Your statement above and in previous post in this thread is that - "it's limited
to forms not opened modally" is not correct.
Wayne Gillespie
Gosford NSW Australia
Aug 13 '06 #37
Wayne Gillespie <be*****@NOhotm ailSPAM.com.auw rote in
news:hl******** *************** *********@4ax.c om:
On Sat, 12 Aug 2006 14:21:25 -0500, "David W. Fenton"
<XX*******@dfe nton.com.invali dwrote:
>>Wayne Gillespie <be*****@NOhotm ailSPAM.com.auw rote in
news:f7****** *************** ***********@4ax .com:
>>On Fri, 11 Aug 2006 22:09:48 GMT, Lyle Fairfield
<ly********** *@aim.comwrote:

"David W. Fenton" <XX*******@dfen ton.com.invalid wrote in
news:Xn**** *************** *************** @127.0.0.1:

But the drawback of that approach is that it's limited to
forms not opened modally.

I think this is not so, as I previously explained.

I pass values to and set properties in modal forms all the time
without any problems.

You pass values to modal forms opened with acDialog? As in this:

DoCmd.OpenForm "dlgMyDialo g", , , , , acDialog
Forms!dlgMyDial og.MyProperty = "Foo"

How exactly does that work? Code pauses at the DoCmd.OpenForm line
and so the things you set won't be set when the user gets control
of the dialog.

You did not mention opening the form acDialog. That is another
kettle of fish.
How else do you open a form modally?
Your statement above and in previous post in this thread is that -
"it's limited to forms not opened modally" is not correct.
The modal flag does not open the form modally from code, i.e.,
causing the code to pause. Thus, I don't ever set the modal flag in
forms.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Aug 14 '06 #38

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

Similar topics

12
3511
by: windandwaves | last post by:
Hi Folks I have just completed a project for an accommodation finder in New Zealand - much with your help - thank you again. I would appreciate any constructive or deconstructive comments. The url is http://switch.hosts.net.nz/~admin64/index.php
20
2929
by: wolftor | last post by:
Would anyone be willing to beta test my application for me and give me some feedback? I can give you feedback in exchange (ie. if there are parts you're interested in knowing how it was done) or I can give you a free license if you want to use it. It should install OK but that is part of the problem that needs to be verified on all platforms so that people can just download it in the future, install and use it. It has an mde front...
11
1362
by: rhett | last post by:
Hello friends, Sorry if u find my post somewhat lenghty . I m 29 , and have taken up a 3 years course in computer science , and i love C for arts' sake. i have been learning C language for almost last 8 months, i have referenced more than half a dozen of books.In every book i find some new and intersting point.But my problem is I just seem to be learning the LANGUAGE and not PROGRAMMING. At moment, i came to know that C language and C...
3
3706
by: samadams_2006 | last post by:
Hello, I'm interested in taking the following exam for an upcoming job. Exam 70-315: Developing and Implementing Web Applications with Microsoft Visual C#â„¢ .NET and Microsoft Visual Studio .NET. Since the job is being offered soon I need to know the "quickest" and "best" way to prepare for this exam. Are there any books, practice exams, etc. that are considered "THE BEST"?
30
3818
by: Medvedev | last post by:
i see serveral source codes , and i found they almost only use "new" and "delete" keywords to make they object. Why should i do that , and as i know the object is going to be destroy by itself at the end of the app for example: class test { public: int x;
6
1306
by: Alan Mailer | last post by:
As an ex-VB6 person, I remember often having to make sure that my code set to "Nothing" objects I created throughout my programs. My cursory reading of some VB.Net info is that this may no longer be as necessary due to the Garbage Collection capability. I wanted to hear from you experts. I notice VB.Net has methods like "Dispose" and such. So, if Garbage Collection works, when, if ever do you write in code that specifically destroys...
1
1836
by: efittery | last post by:
I need to modify the following code to handle a vector of pairs of floats. I was just thinking of casting my vector of floats into being a vector of pairs of floats. Alternately, I have looked into using the instream iterator to initialize the vector of pairs of floats. Any thoughts would be appreciated. given the test.txt file which contains:
0
8674
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8604
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
9028
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
8895
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,...
1
6518
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
4369
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...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3046
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
2001
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.