473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Variablen an Form übergeben

Hallo !

Ich hab schon einiges in den Newsgroups bzgl. Variablenübergabe an ein
Formular gelesen.

Public Sub in Formular, die vom Modul aus aufgerufen wird.

Unter
http://www.aboutvb.de/khw/artikel/khwshowdlg.htm
ist dies ja schön erklärt.

Das Ganze funktioniert bei mir auch mit einfachen Datentypen, wie z.B.
Integer, String u.s.w.

Ich möchte aber ein Object (Outlook-Email) übergeben, dann geht nichts
mehr.
Ist dies überhautp möglich ?

Dim frmAb As frmABmanuell
Set frmAb = New frmABmanuell
frmABmanuell.Anzeigen (objEmail)

Im Form dann
Public Sub Anzeigen(pObjX As Object)
objX = pObjX
Me.Show vbModal
End Sub

Danke.

gruss
paul
Nov 21 '05 #1
4 6311
* lv****@gmx.net (aaapaul) scripsit:
Ich hab schon einiges in den Newsgroups bzgl. Variablenübergabe an ein
Formular gelesen.


Aufwachen! Das ist eine englischsprachige Gruppe zu VB.NET.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #2
Paul,

The used language in this newsgroup is English
Maybe can keep you as well too that convention.

Special for the German language there is the newsgroup
microsoft.public.de.german.entwickler.dotnet.vb

I hope this helps?

Cor
Hallo !

Ich hab schon einiges in den Newsgroups bzgl. Variablenübergabe an ein
Formular gelesen.

Public Sub in Formular, die vom Modul aus aufgerufen wird.

Unter
http://www.aboutvb.de/khw/artikel/khwshowdlg.htm
ist dies ja schön erklärt.

Das Ganze funktioniert bei mir auch mit einfachen Datentypen, wie z.B.
Integer, String u.s.w.

Ich möchte aber ein Object (Outlook-Email) übergeben, dann geht nichts
mehr.
Ist dies überhautp möglich ?

Dim frmAb As frmABmanuell
Set frmAb = New frmABmanuell
frmABmanuell.Anzeigen (objEmail)

Im Form dann
Public Sub Anzeigen(pObjX As Object)
objX = pObjX
Me.Show vbModal
End Sub

Danke.

gruss
paul

Nov 21 '05 #3
Sorry, I thought its a german newsgroup.

aaapaul
Nov 21 '05 #4

"aaapaul" <lv****@gmx.net>
Sorry, I thought its a german newsgroup.

microsoft.public.de.german.entwickler.dotnet.vb

You would expect it is a newsgroup for the part of Deutschland who are
speaking German, however I know there is as least one from Austria active.

:-)

Cor
Nov 21 '05 #5

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

Similar topics

3
by: John | last post by:
Dear all, It been more than 3 days I am trying to debug this program, I interpret it using activePerl and it is giving (perl -wc code_process.pl) no error syntax but when I put it online, change...
4
by: Andrew Williams | last post by:
Does anyone know of a way to quickly validate an HTML web form? I need to make sure that certain fields on my form actually contain data and are not submitted blank. I have tried using...
5
by: David Cairns | last post by:
Hi can anyone help me i am new to asp and going mad, why would the following only display the last line in the email, i.e the history text. thanks David Cairns <%@ Language=VBScript %> <%
2
by: Nick | last post by:
Loop to create an array from a dynamic form. I'm having trouble with an application, and I'll try to explain it as clearly as possible: 1. I have a form with two fields, say Apples and...
2
by: Citoyen du Monde | last post by:
Trying to get some ideas on a simple javascript project (to teach myself the language). I want to develop a client-side vocabulary practice application that would allow users to enter their own...
5
by: Richard Cornford | last post by:
I am interested in hearing opinions on the semantic meaning of FORM (elements) in HTML. I have to start of apologising because this question arose in a context that is not applicable to the...
13
by: genetic.error | last post by:
I'm moving from Vb6 to VB.Net. I have a feeling this has come up before... The VS.Net MSDN file seems to state that the following should work: Form1.Show Form1.Visible = True Form1.Hide...
10
by: Gregory A Greenman | last post by:
I'm trying to write a program in vb.net to automate filling out a series of forms on a website. There are three forms I need to fill out in sequence. The first one is urlencoded. My program is...
8
by: max | last post by:
ich finde nicht heraus, wie ich drei variablen zu einer zusammenfassen kann: 3 existierende variablen: var aa = "einseins"; var ab = "einszwei"; var ac = "einsdrei"; ich möchte die 3...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
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 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.