Forum: Visual Basic 4 / 5 / 6 Oct 3rd, 2005 |
| Replies: 1 Views: 2,615 Re: How to set user rights in ms.access from vb6 I believe there is limited security in msaccess for what you are wanting. I don't believe it is with ado or dao though I think it is ADOX (Microsoft ADO Ext 2.8 For DDL and Security ). YOu would do... |
Forum: Visual Basic 4 / 5 / 6 Oct 3rd, 2005 |
| Replies: 6 Views: 1,447 Re: hi Text1.Text = MonthName(Month(DateAdd("m", -1, Date))) |
Forum: Visual Basic 4 / 5 / 6 Sep 24th, 2005 |
| Replies: 10 Views: 2,750 |
Forum: Visual Basic 4 / 5 / 6 Sep 22nd, 2005 |
| Replies: 6 Views: 1,447 Re: hi It looks like in the CopyMemory function the ByVal is the length of the data passed from destination to source or vice versa. Check this value debug.print byVal in the function to see what it... |
Forum: Visual Basic 4 / 5 / 6 Sep 22nd, 2005 |
| Replies: 2 Views: 975 |
Forum: Visual Basic 4 / 5 / 6 Sep 22nd, 2005 |
| Replies: 2 Views: 5,039 Re: Command Prompt and Visual Basic shell "cmd.exe /c"
will get you to the comamnd prompt. Shellexecute will give you more options and handling and return values, but if you just need the prompt, there you go. |
Forum: Visual Basic 4 / 5 / 6 Sep 22nd, 2005 |
| Replies: 10 Views: 3,336 Re: Adding pictures mediaplayer1.filename="intro.mpg
should be changed to
mediaplayer1.filename=app.path & "\" & "intro.mpg"
I ctually tried it. It might be my version of windows media player, but this did not work.... |
Forum: Visual Basic 4 / 5 / 6 Sep 20th, 2005 |
| Replies: 5 Views: 1,965 Re: send keys it will go whereever the cursor is located. If you want someone to push a button and have "COLOR" input in a text box, you must first change the focus.
Private Sub Command1_Click()
text1.setfocus '... |
Forum: Visual Basic 4 / 5 / 6 Sep 20th, 2005 |
| Replies: 6 Views: 1,447 Re: hi What object are you using for the ip information. There should be a method there to calculate the bytes used. |
Forum: Visual Basic 4 / 5 / 6 Sep 18th, 2005 |
| Replies: 3 Views: 1,931 |
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2005 |
| Replies: 3 Views: 1,931 Re: How can be a commond button's caption changed Public Sub Command1_Click()
if command1.caption = "SAVE" Then
command1.caption = "ADD COMMOND BUTTON"
'Put Save commands here
else
Command1.caption ="SAVE"
'put ADD COMMOND BUTTON Commands here
end... |
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2005 |
| Replies: 3 Views: 1,978 Re: Code for Find First ... Dim Conn As ADODB.Connection
Dim rs As ADODB.Recordset
Set Conn = New ADODB.Connection
Set rs = New ADODB.Recordset
conn.open {Connection String}
rs.Open "Select * FROM TABLE;", Conn, 3, 3, 1
use... |
Forum: Visual Basic 4 / 5 / 6 Sep 14th, 2005 |
| Replies: 4 Views: 2,374 |
Forum: Visual Basic 4 / 5 / 6 Sep 13th, 2005 |
| Replies: 1 Views: 5,257 Re: Crystal REport 9.0 Create a new colum for the revisions part numbers. I would also add a last modified date colum as well. Then the sql query will allow use to differentiate the two types of numbers.
Or you could... |
Forum: Visual Basic 4 / 5 / 6 Sep 13th, 2005 |
| Replies: 4 Views: 2,374 Re: Print Screen Put either a command button, image, or make it a hot key and teh use Me.PrintForm to print the form. |
Forum: Visual Basic 4 / 5 / 6 Sep 12th, 2005 |
| Replies: 10 Views: 3,336 Re: Adding pictures for just pictures, you can add textbox or variable values to the picture object to load a new picture if you use the correct format.
image1.picture =loadpicture("c:\vbrox.bmp")
image1.picture... |
Forum: Visual Basic 4 / 5 / 6 Sep 9th, 2005 |
| Replies: 2 Views: 1,260 |
Forum: Visual Basic 4 / 5 / 6 Sep 9th, 2005 |
| Replies: 3 Views: 3,063 |
Forum: Visual Basic 4 / 5 / 6 Sep 6th, 2005 |
| Replies: 2 Views: 1,492 Re: Pointers? it would help to have the function name.
basically you would use the function name and pass the variables to it.
{FunctionName} lptr,iwrite |
Forum: Visual Basic 4 / 5 / 6 Aug 31st, 2005 |
| Replies: 1 Views: 1,507 |
Forum: Visual Basic 4 / 5 / 6 Aug 31st, 2005 |
| Replies: 7 Views: 4,356 Re: VBA source code the languages are very similar witha few differences. Try planet-source-code.com |
Forum: Visual Basic 4 / 5 / 6 Aug 24th, 2005 |
| Replies: 3 Views: 7,412 Re: AutoClicker What program are you wanting it to "click" on?
What operating system?
Will you feed it the co-ords for the clicks or will it be prerecorded?
While moving the mouse to a particular location and... |
Forum: Visual Basic 4 / 5 / 6 Aug 23rd, 2005 |
| Replies: 2 Views: 1,525 |
Forum: Visual Basic 4 / 5 / 6 Aug 21st, 2005 |
| Replies: 2 Views: 3,119 Re: Global v/s Public That's correct. Global Variables defined in a mod use the global prefix. Global Variables defined on a form use public. That is about the only difference. |
Forum: Visual Basic 4 / 5 / 6 Aug 21st, 2005 |
| Replies: 1 Views: 1,709 |
Forum: Visual Basic 4 / 5 / 6 Aug 20th, 2005 |
| Replies: 1 Views: 1,226 Re: undo ctrl-Z will undo most operations in a text editor. other wise you will need to create an array to hold the previous changed information until the users are satisfied and submit the text. |
Forum: Visual Basic 4 / 5 / 6 Aug 20th, 2005 |
| Replies: 4 Views: 1,893 |
Forum: Visual Basic 4 / 5 / 6 Aug 19th, 2005 |
| Replies: 4 Views: 1,893 Re: pay roll Thats' a large project. If you are working on this alone and are fairly competent in vb you are looking at about six to twelve months programming.
Start with the database and the reports. Gather all... |
Forum: Visual Basic 4 / 5 / 6 Aug 18th, 2005 |
| Replies: 11 Views: 2,735 Re: need help with my final year project Well you have your choice. You can use VB to create any program you want, from games to complete hospital accounting systems to virus, to security analizers. Decide what you want to create, and we... |
Forum: Visual Basic 4 / 5 / 6 Aug 18th, 2005 |
| Replies: 3 Views: 17,096 |
Forum: Visual Basic 4 / 5 / 6 Aug 18th, 2005 |
| Replies: 5 Views: 3,595 Re: Need help in VB6 database programming txtMN.Text = dtaMember.RecordSource = "SELECT Name FROM Mem_Mast WHERE ((Mem_Code) = '" & txtMC.Text & "');" = ' " & txtMC.text & " ' ) ; "
needs to be seperated
dtamember.Recordsource = "SELECT... |
Forum: Visual Basic 4 / 5 / 6 Aug 17th, 2005 |
| Replies: 5 Views: 3,595 |
Forum: Visual Basic 4 / 5 / 6 Aug 17th, 2005 |
| Replies: 4 Views: 2,823 Re: How do i generate Emails free component call vbsendmail.dll makes sending mail with attachments very easy.
Ithink you can find it here.
http://www.freevbcode.com/ShowCode.Asp?ID=109
Public Function MailEOM(strFilename1 As... |
Forum: Visual Basic 4 / 5 / 6 Aug 17th, 2005 |
| Replies: 4 Views: 1,390 |
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2005 |
| Replies: 2 Views: 1,494 |
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2005 |
| Replies: 4 Views: 2,823 |
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2005 |
| Replies: 1 Views: 1,964 |
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2005 |
| Replies: 6 Views: 2,711 Re: Textbox To Label try using the text1.change() event That way it is automatically change whenever you type something
public Sub text1_change()
form1.label1.caption = trim(text1.text)
end sub |
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2005 |
| Replies: 3 Views: 7,489 Re: SQL Server 2000 and VB 6 same as using ado and ms access change the connection string :
"Driver={SQL Server};Server=BMC;Address=xxx.xxx.xxx.xxx:1433;Network=DBMSSOCN;Database=dbPos;Uid=SQL;Pwd=sql" |
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2005 |
| Replies: 3 Views: 6,732 Re: VB6 RTE '424' Object required. put this on a form. six command buttons one row on top,one textbox below buttons,one webbrowser window below textbox
Private Sub Command1_Click()
WebBrowser1.Navigate Trim(Text1.Text)
End... |