I do not think Crystal comes with VB6 but I know it gets integrated into VB on install so can be used within your projects....I think they have demo that you can download to try it out some if you are interested.
Mavors
Cincinnati, Ohio
My company has just setup up Windows Server 2000 and we are testing so work can be done from home through the Terminal Services.
We have been fooling around with access to the system and such and can not seem to be able to view a visual basic projects references while accessing the system...
I am trying to get the masked edit textbox to use the mask = "(CCC) CCC-CCCC" for input and to display based on entry. Example: If user enters 555-5555 then I don't want the "()" to be visible when the masked edit box looses focus, but if the user does type in the area code...
The Recordcount propert should work fine even if you are not using a data control.
A tip though with the recrodcount that I've found is that if you do not open with the correct cursortype you will not have a recordcount. In this situation I'd advise to check the recordset.EOF to see if it is...
Hello everyone.
I am trying to use the DataSource and Datafield properties of this control. Using the ADO control to open a recordset I am binding the mask edit text box to the ADO control. I have a problem though with the bind and get an error. I am connecting to an Access database if that is...
I'd just place in the command buttons click event...
form.show
Where form is the name of the form you would like to load.
Not sure what you mean by wanting to link, but this will load the form you want when you click on the button.
Hope this helps out some.
Mavors
Cincinnati, Ohio
Thank you Strongm and StewartGW for the replies. I am not sure all the users of my application will be using Outlook so I think the API will work the best for my situation.
Thank you for all the help. Mavors
Cincinnati, Ohio
I am trying to open the default email program on the system my application is running on through the clicking of an email address on one of my forms. Does anyone happen to know of an easy way to open a new email compose through code?
Thanx in advance,
Mavors
Cincinnati, Ohio
Yeah I guess I should have been a little more focused here. I am writing an application in which I need to gather the current modem settings (ie: Baud rate, Port, Parity, Connection strings like if needs to dial a 9 to get outside lines, ect.) If I can gather the information setup on the...
Tim,
Need a little more information. Is your recordset just in memory or is it linked to a table in Access? If it is linked to a table in Access while you are AddNew and update then what kind of connection are you setting up?
May be able to assist you more once these become clear.
Mavors...
Quest4,
I just found your first post. So you are programming from within Access.
try setting your recordset = Database.openrecordset("tablename")
this will give you access to the table or query you want.
Also can use an SQL in place of that name.
the looping is the...
A few hints.
Your general ideas are good. one thing is that CurrentDB is a VBA item. Look up some information in the help on ADO database recordsets and connnections or if you are using an Access database strictly maybe DAO will be good for you. Both of these provide access to tables and...
Amarti44,
You have the right idea. On that Set statement check this out...
Set button = Toolbar1.Buttons(index)
In the above statement though you need to know the index of the button. I am not sure on the statement but if you can find the statement that returns the index with the use of...
Anyone think of maybe using the SetParent API?
'Global declare
Public Declare Function SetParent Lib "USER32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
Private sub Form1_Load()
SetParent form1.hWnd, frmMain.picture1.hWnd
end sub
Now I am not sure how...
Sepas,
I think it is fairly infinite depending on how you set it up. Meaning that if you send the all variable by variable I think there is a limit, but if you use all the ways possible like declaring types and such you may find you can send more than you could ever possibly imagine
Just my...
Anyone know of an API or other way that I can get the modem settings that have been setup in windows? I need to be able to do this in Win98,WinME,Win2000, and Win NT.
If anyone has any tips or suggestions they will be greatly appreciated.
Thanx, Mavors
Cincinnati, Ohio
I am trying to automate a process that dials up a system through the modem to modem connection. It needs to provide a User Login name, then a password. After successful login then I can transfer a file and logout.
I know a script of some sort will do this, but I am unsure where to start.
I am...
How is this for easier...
private sub Command_Click()
Shell ("start http://www.webpage.com")
end sub
If that isn't easy enough then I can not help much more.
Give that one a try Mavors
Cincinnati, Ohio
Have you tried to do an ADO connection?
I am a fan of ADO since I use it all the time to connect to Access.
Try this out:
Dim cn as ADODB.Connection
Set cn = New ADODB.Connection
cn.CursorLocation = adUseClient or
cn.CursorLocation = adUseServer
strCNText =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.