Hi, there.
I have a localized form which inherits from other localized form. Everything works fine in runtime, but in designer, properties of base form/components are set from default resx of the base form no matter what language is chosen for the parent form design.
The base form itself behaves as expected in designer.
Any suggestion would be appreciated.
Visual C# Express 2010
.NET...
User Profile
Collapse
-
Inherited localized form is not rendered correctly in designer
-
Form couldn't be closed while handling Deactivate event, but it could be closed while handling Timer event.
Code:Private Sub Form_Deactivate() Me.TimerInterval = 1 End Sub Private Sub Form_Timer() DoCmd.Close acForm, Me.Name End Sub
-
FishVal replied to Creating a class with a variable which is an array of objects from an other class.in AccessJust a thought.
"PairArray" property is declared to return String and to obtain cPair. This could make VBA think that Get and Set procedures don't belong to the same property.Leave a comment:
-
- You may use program's StdOut stream to omit temporary file. However it isn't much more simpler.
- You may use WinAPI GlobalMemorySta tus() function. However you may find it too much messy too.
- You may accept this imperfect world and let your program do all messy job for you.
Leave a comment:
-
So, this means you have 4 (even 5 taking into account the requirement that at least one of 4 controls has to be not null) conditions.
A record should be fetched if all 4(5) conditions are True. So far , so good.
Now, each condition has to be true if correspondent comparison returns True or a correspondent control value is False. An example of how it could be done is in the thread I've posted link to (msg #7).
When combining all...Leave a comment:
-
-
-
The following code snippet will force new record creation and saving:
Code:With Me .fld1.SetFocus 'the following line will fail unless bound modifiable control has focus .Dirty = True .Dirty = False End With
Leave a comment:
-
I guess you could open port the printer is connected to as a binary file and send the code sequence to it. Ports associated with USB devices have names like "USBnnn".
Sending plain text printer portLeave a comment:
-
It won't be saved until you make change to any field of a record. Since autonumber field is not editable and date field already "shows" right value I guess no changes are made and no record is being created.Leave a comment:
-
FishVal replied to Movefirst not working nested loops,, movefirst is not working so that loop can restarin Access- What is the type of recordset cursor?
- Thwe code looks quite kludge. What does it actually do?
- If the aim is to find matches, then did you consider to use table join instead of recordsets nested iteration?
Leave a comment:
-
The obvious reason is that no record has been created in main form and thus no record has been saved into Invoice table.Leave a comment:
-
Just instantiate form class object and this will give you access to form's instance properties/methods.
See also this article
Regards,
Fish...Leave a comment:
-
-
A funny thing is that VB IDE is installed.
If it isn't then what exactly crashes? WTFLeave a comment:
-
VBA IDE Object browser fails on MSComctlLib
Hi, all.
I've installed Win7 and Object Browser causes application crash whenever I try to open MSComCtlLib. Controls themselves are working fine however.
MSComctl.ocx registering with regsrv32 runs fine however. MScomctl.ocx version is 6.1.95.45.
Regards,
Fish -
Maybe both code snippets together will do the job somehow. Did you try to combine the code altogether?
Kind regards,
Fish.Leave a comment:
-
You should assign SQL statement returning desired recordset to Form.RecordSour ce property, instead of assigning filter expression to Form.Filter property. To make the SQL expression to return a desired quantity of top records use "TOP n" predicate.
Regards,
FishLeave a comment:
-
You should use Date() function, which returns current date with zero time, if you want later to search/filter the table with criteria containing only m/d/y portion of date.
Regards,
Fish...Leave a comment:
No activity results to display
Show More
Leave a comment: