Hi folks,
I recently got a blazingly fast new computer where I work, and so I installed VisualStudio.NET (Enterprise Architect Versions 2002) onto the computer. I am working on an ASP.NET project, and so I copied it from my old PC (running VisualStudio.NET Beta 2) to the new PC.
Now, when I...
Let's assume we have a form (Form1) that is bound to a table (Table1). In the Form Header put a textbox (txtSearch) and a command button (cmdSearch).
To show all entries in the table where addressn contains the text typed in txtSearch, use this code in the cmdSearch_Click() event method...
The way we accomplish this where I work is like so:
The developer database sits out on a network drive (I'll call it Program.mdb). Each user has a copy of the compiled MDE of the database (I'll call it User.mde). The data rests on the same drive as the developer database (I'll call it...
This is certainly possible.
Install a client program on each machine that will poll the IP address of the server on a certain port, sending perhaps its own IP address or PC name. The client would do this, say, every 30 seconds. The server program that listens on that port logs that PC as...
Well, you'd have to know the format of a Word document to do that. However, you can create a generic Rich Text Format document (which Word can read), and end the filename with .DOC so that Word is associated with the file.
You can do this with the RichTextBox control. After entering the text...
I think the DataReports require a table or query name (or a select statement). If you could create a temporary table in the database and dump your temporary recordset into that table, you could set the DataSource to the name of the temporary table. Be sure to remove any existing records in the...
Here's one way to do it:
--- Start Code ---
'*** Create your data files here.
'.
'.
'.
'*** Shell to PGP.
RetVal = Shell("<shell to pgp here>", vbHide)
'*** Wait for PGP window to close.
Do Until RetVal = 0
RetVal =...
Unless I'm mistaken, you would have to have the DLLs in one of two places: in the directory where the exe resides, or in the windows\system32 directory.
Jon
I couldn't test the code because I'm running Win2k and it requires Win9x, but here's a link where somebody posted some code to show network neighborhood info:
http://cuinl.tripod.com/source-code-9.htm
Search for "Network Browser" on the page.
Jon
Having seen SWI's code, this would be a simpler version of my code:
For i = 1 To Len(Text1)
'*** Make sure all characters are 0 through 9.
If Not Mid(Text1, i, 1) Like "#" Then
'*** Invalid character in textbox.
Cancel = True
End If...
Having seen SWI's code, this would be a simpler version of my code:
For i = 1 To Len(Text1)
'*** Make sure all characters are 0 through 9.
If Not Mid(Text1, i, 1) Like "#" Then
'*** Invalid character in textbox.
MsgBox "?"...
Here's one way to do it:
Private Sub Text1_Validate(Cancel As Boolean)
For i = 1 To Len(Text1)
'*** Make sure all characters are 0 through 9.
If Asc(Mid(Text1, i, 1)) < 48 Or Asc(Mid(Text1, i, 1)) > 57 Then
'*** Invalid character in textbox.
Cancel =...
Yes, you can lock the sum columns. On your VB form, right-click on the dbgrid control and select Properties. This will bring up the "Property Pages" builder. Select the "Layout" tab. Choose the column that you want locked and check the "Locked" check-box. This...
I'm afraid you can't make the tool tip text be three lines long. However, you can rig it (although not perfectly).
Here's the code I used:
---Start Code---
Private Sub Form_Load()
txtTip.Text = "This is a multiline" & vbCrLf & "tool tip."
End Sub
Private Sub...
Hi folks,
I would like to know how to decode PCL Raster Data, but
have not been able to find the format anywhere on the
web. If you know of a web site or document that explains
the format of the raster data, or if you can describe it
for me, I would be eternally grateful. :)
Jon
Hi folks,
I need to know how to decode the raster data in a PCL
document. I have found zilch info on the format of the
raster data and how to decode it (lots of info on the
PCL commands, which was great). Can somebody either
1) point me to a web site/document that will show me
how to decode...
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.