Search:
Type: Posts; User: Aaron Young
Search:
Search took 0.25 seconds.
-
April 17th, 2005, 12:32 PM
You can do this many different ways; here's one:
Public Class frmCountDown
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
...
-
April 10th, 2005, 12:02 PM
There isn't a Columns collection accessible from the DataGrid (at least not in VS.NET 2003),
You access the layout of the Grid via the TableStyles and GridColumnStyles properties, i.e.
//...
-
April 9th, 2005, 11:01 PM
I've not been able to replicate this at all, could you post a zipped copy of a solution which replicates this behavior?
Regards,
- Aaron.
-
April 9th, 2005, 10:55 PM
The problem is when you're populating the collection you're not creating a new instance
of the ProvState class, so instead of adding a new instance, you're actually modifying
the same instance and...
-
January 10th, 2003, 04:34 PM
You can use the GetAsyncKeyState() API within the
MouseDown event to simulate such an event, i.e.
Option Explicit
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As...
-
January 10th, 2003, 02:10 PM
Use the For Each .. Next loop, i.e.
Private Sub dbcIngredients_Change()
Dim oText As TextBox
Dim bFound As Boolean
For Each oText In txtQuickIng
If Len(oText.Text) = 0 Then
...
-
March 10th, 2002, 01:16 PM
You mean you right-clicked on the DBList control??
That would just give you the "Property Page" you want to look in the "Property Sheet".
Here's a Step By Step, incase I'm misunderstanding what...
-
March 9th, 2002, 11:26 PM
Have you tried:
Report.RecordSelectionFormula = "{RO2a.Year} in '2000' to '2001'"
If the field isn't a string, then is should beReport.RecordSelectionFormula = "{RO2a.Year} in 2000 to 2001"
...
-
March 9th, 2002, 11:23 PM
Set the Movable property of the form to False
Aaron Young
Senior Programmer Analyst
ajyoung@charter.net
Certified AllExperts Expert: http://www.allexperts.com/displayExpert.asp?Expert=11884
-
March 9th, 2002, 11:21 PM
You could use the Microsoft Data Bound Lists Controls component which will give you a Data Bound List, just set it's RowSource to the Data control and the ListField to the field to list.
Aaron...
-
June 22nd, 2001, 09:00 PM
Make the Calculation a part of the SQL used as the source for the report, i.e. (Using NWIND.MDB as example):
SELECT *, (UnitPrice * UnitsInStock) as TotalPrice FROM Products
This way you can...
-
June 22nd, 2001, 08:34 PM
You just need to reset the Textbox's Modified status, i.e.private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (byval hwnd as Long, byval wMsg as Long, byval wParam as Long, lParam...
-
June 22nd, 2001, 08:27 PM
Try:
sSQLString = "SELECT medicineid, medicinename, companyname, saltname, medicinetype, mfddate, expdate, rackno, distributorid FROM medicine WHERE expdate >= #" & Format(DateAdd("d", -5, date),...
-
You could use the "NET TIME" DOS command by wrapping it in a batch file and using it through VB, i.e.option Explicit
private Sub Command1_Click()
Dim iFile as Integer
Dim sResults as...
-
You could use the FindWindowEx API to find the window handle of the Statusbar if you know the Caption for the application and the parent windows classes down to the Statusbar (use something like...
-
March 3rd, 2001, 10:10 AM
You can use the ODBC API call SQLConfigDataSource(), i.e.private Declare Function SQLConfigDataSource Lib "ODBCCP32" (byval nHwndParent as Long, byval nRequest as Long, byval cDriver as string, byval...
-
February 26th, 2001, 05:51 PM
You can use the TopRow property to make the row you want visible and the Row/Col/RowSel/ColSel properties to select that row, i.e.private Sub MoveToRow(byval lRow as Long)
With MSFlexGrid1
...
-
February 25th, 2001, 08:24 PM
If you want all the characters to appear in the Textbox use SelText not Text.
Text replaces all the Text in the Textbox, where as SelText inserts Text at the current Textcursor location.
Also,...
-
February 17th, 2001, 09:03 PM
Mod is a very simple calculation for larger numbers use the following: Function ModEx(byval X as Long, byval Y as Long) as Long
ModEx = X - (Int(X/Y) * Y)
End Function
Aaron Young...
-
February 17th, 2001, 12:51 PM
Try:option Explicit
Const CSIDL_DESKTOP = &H0
Const CSIDL_PROGRAMS = &H2
Const CSIDL_PERSONAL = &H5
Const CSIDL_FAVORITES = &H6
Const CSIDL_STARTUP = &H7
Const CSIDL_RECENT = &H8
Const...
-
February 16th, 2001, 06:44 PM
I took a brief look and it didn't seem that the SSTab supplied a Window Handle for each pane, so you could only make the parent the 1st tab, however, if you add a Picturebox (or other container...
-
February 16th, 2001, 06:33 PM
You can use the CommonDialog control or use the DLL directly via the API, i.e.'CommandDialog Control:
'
private Sub cmdOpen_Click()
on error Goto Canceled
With CommandDialog1
...
-
February 16th, 2001, 06:16 PM
After printing/showing the report try closing the recordset, i.e.DtaReports.rscomHourlyRpt.Close
Aaron Young
Senior Programmer Analyst
ajyoung@charter.net
Certified AllExperts Expert:...
-
February 16th, 2001, 06:11 PM
Try something like:private Sub chkSound_Click()
mnuSound_Click
End Sub
private Sub mnuSound_Click()
static bRecursing as Boolean
If bRecursing then Exit Sub
bRecursing =...
-
February 16th, 2001, 06:11 PM
Try something like:private Sub chkSound_Click()
mnuSound_Click
End Sub
private Sub mnuSound_Click()
static bRecursing as Boolean
If bRecursing then Exit Sub
bRecursing =...
|
Click Here to Expand Forum to Full Width
|