I'm trying to create a modeless form with one textbox on
it and one progress meter. Nothing else. I am not
passing it any parameters. It will be called from a
module which is the startup object. I have the following
statements in the module:
Friend form as New Form1
form.txtMessage .Text = "Displayed Text here .."
form.pbar1.Valu e = 0
form.Show()
When I run it, just the form displays, but not the
controls. All the controls display fine using ShowDialog,
but I need the form to be modeless.
Thanks for any help. 5 1021
* "KenR" <an*******@disc ussions.microso ft.com> scripsit: I'm trying to create a modeless form with one textbox on it and one progress meter. Nothing else. I am not passing it any parameters. It will be called from a module which is the startup object. I have the following statements in the module:
Friend form as New Form1
form.txtMessage .Text = "Displayed Text here .." form.pbar1.Valu e = 0 form.Show()
When I run it, just the form displays, but not the controls. All the controls display fine using ShowDialog, but I need the form to be modeless.
The code should work. Which code are you executing directly after the
call to the 'Show' method?
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
I just go on to process a text file. I want to refresh
the screen every 100 records as to the progress. In VB6,
there was the DoEvents but I can't seem to find the
correct .net statement which can be called by the module. -----Original Message----- * "KenR" <an*******@disc ussions.microso ft.com> scripsit: I'm trying to create a modeless form with one textbox
on it and one progress meter. Nothing else. I am not passing it any parameters. It will be called from a module which is the startup object. I have the
following statements in the module:
Friend form as New Form1
form.txtMessage .Text = "Displayed Text here .." form.pbar1.Valu e = 0 form.Show()
When I run it, just the form displays, but not the controls. All the controls display fine using
ShowDialog, but I need the form to be modeless. The code should work. Which code are you executing
directly after thecall to the 'Show' method?
-- Herfried K. Wagner [MVP] <http://www.mvps.org/dotnet> .
* <an*******@disc ussions.microso ft.com> scripsit: I just go on to process a text file. I want to refresh the screen every 100 records as to the progress. In VB6, there was the DoEvents but I can't seem to find the correct .net statement which can be called by the module.
'Application.Do Events'.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
<an*******@disc ussions.microso ft.com> schrieb I just go on to process a text file. I want to refresh the screen every 100 records as to the progress. In VB6, there was the DoEvents but I can't seem to find the correct .net statement which can be called by the module.
Have the IDE search for DoEvents and you will find Application.Doe vents.
--
Armin http://www.plig.net/nnq/nquote.html http://www.netmeister.org/news/learn2quote.html This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 to
the appropriate mode and test the html form it gave me an 500 internel
server error.
I really need it to be done soon, I would not post here before I test
it as much as I can,
|
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 Internet. Specifically, marking up a
document that will contain multiple related form controls (intended
exclusively for client-side scripting) that would never be intended to
be submitted. I realise that that concept is a non-starter in an
Internet...
|
by: Targa |
last post by:
Trying to total some price fields in a form but doesnt work when all the
referenced form fields dont exisit.
This is for an invoice - pulled prom a database and the form doesnt always
contain the same amount of Line Items.
If I have all 20 Line Items, it works great.
var sub1 = form.Line_Item_Subtotal1.value
var sub2 = form.Line_Item_Subtotal2.value
var sub3 = form.Line_Item_Subtotal3.value
var sub4 = form.Line_Item_Subtotal4.value
|
by: Lyn |
last post by:
Hi,
I am working on a genealogy form. The only table (so far) lists everybody
in the family, one record per person. Each record has an autonum ID.
The parent form (frmMainForm) displays the data in each record, which
includes the ID of the father and the mother (who also have records in the
table). One record per form.
I have a Tab Control in the form, and in one of the tabs I have a subform
(sfmSiblings) in which I wish to list...
|
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 thing you know ;-)
After discovering that access 2000 support form properties (I'm a
| |
by: Jozef |
last post by:
I have some old code that I use from the Access 95 Developers handbook. The
code works very well, with the exception that it doesn't seem to recognize
wide screens, and sizes tab controls so that they are too big and wind up
covering up some of the fields on the main form.
Is there any good code out there that works in a similar fashion that will
also either a) stretch the form width wise on widescreens or b), rely on
height rather than...
|
by: RAJ |
last post by:
hi
plz tell me how to know "how window is going to close"...
i have to right code for X button of forms...
plz telll me
thanks
bye
|
by: Bruce A. Julseth |
last post by:
With VB.NET, how do I define a form to be Modal?
Thank you..
Bruce
|
by: bhappy |
last post by:
Hi
I want to close a modeless dialog window on the click of submit button .During click of submit button i am saving data to database and Postback the data entered in child window to parent window and close the child window which is a modless window.
Thanks in Advance
|
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,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |