Search Results

Showing results 1 to 40 of 121
Search took 0.03 seconds.
Search: Posts Made By: jwshepherd
Forum: Visual Basic 4 / 5 / 6 Oct 3rd, 2005
Replies: 1
Views: 3,910
Posted By jwshepherd
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
hi
Views: 1,806
Posted By jwshepherd
Text1.Text = MonthName(Month(DateAdd("m", -1, Date)))
Forum: Visual Basic 4 / 5 / 6 Sep 24th, 2005
Replies: 10
Views: 3,620
Posted By jwshepherd
the dtpicker seems to work best for most of my applications.
Forum: Visual Basic 4 / 5 / 6 Sep 22nd, 2005
Replies: 6
hi
Views: 1,806
Posted By jwshepherd
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: 1,262
Posted By jwshepherd
use instr.

if instr(text1.text, "little") Then variable = yes
Forum: Visual Basic 4 / 5 / 6 Sep 22nd, 2005
Replies: 2
Views: 8,286
Posted By jwshepherd
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: 4,917
Posted By jwshepherd
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...
Forum: Visual Basic 4 / 5 / 6 Sep 20th, 2005
Replies: 5
Views: 3,845
Posted By jwshepherd
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
hi
Views: 1,806
Posted By jwshepherd
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: 3,380
Posted By jwshepherd
Option Explicit

Public Sub Command1_Click()
If Command1.Caption = "SAVE" Then
Command1.Caption = "ADD"
'Put Save commands here
Else
Command1.Caption = "SAVE"
'put ADD COMMOND BUTTON Commands...
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2005
Replies: 3
Views: 3,380
Posted By jwshepherd
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...
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2005
Replies: 3
Views: 3,376
Posted By jwshepherd
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
...
Forum: Visual Basic 4 / 5 / 6 Sep 14th, 2005
Replies: 4
Views: 4,189
Posted By jwshepherd
public sub command1_Click()
Me.PrintForm
End Sub
Forum: Visual Basic 4 / 5 / 6 Sep 13th, 2005
Replies: 1
Views: 6,362
Posted By jwshepherd
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: 4,189
Posted By jwshepherd
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: 4,917
Posted By jwshepherd
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,944
Posted By jwshepherd
make sure the stretch property is set correctly
Forum: Visual Basic 4 / 5 / 6 Sep 9th, 2005
Replies: 3
Views: 4,889
Posted By jwshepherd
Debug.Print TextWidth("XXXXX"), TextWidth("iiiii")
Forum: Visual Basic 4 / 5 / 6 Sep 6th, 2005
Replies: 2
Views: 1,910
Posted By jwshepherd
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,860
Posted By jwshepherd
public Sub Die()
dim f as form
for f in forms
unload f
next
end
end sub
Forum: Visual Basic 4 / 5 / 6 Aug 31st, 2005
Replies: 7
Views: 6,298
Posted By jwshepherd
the languages are very similar witha few differences. Try planet-source-code.com
Forum: Visual Basic 4 / 5 / 6 Aug 24th, 2005
Replies: 4
Views: 10,108
Posted By jwshepherd
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...
Forum: Visual Basic 4 / 5 / 6 Aug 23rd, 2005
Replies: 2
Views: 2,349
Posted By jwshepherd
I would probably shell it out.

shell "net.exe time \\server"
Forum: Visual Basic 4 / 5 / 6 Aug 21st, 2005
Replies: 2
Views: 4,784
Posted By jwshepherd
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: 2,624
Posted By jwshepherd
update inventory set location=NULL where x=y
Forum: Visual Basic 4 / 5 / 6 Aug 20th, 2005
Replies: 1
Views: 1,966
Posted By jwshepherd
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: 2,378
Posted By jwshepherd
an Undo operation on what?
Forum: Visual Basic 4 / 5 / 6 Aug 19th, 2005
Replies: 4
Views: 2,378
Posted By jwshepherd
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...
Forum: Visual Basic 4 / 5 / 6 Aug 18th, 2005
Replies: 11
Views: 3,488
Posted By jwshepherd
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: 29,534
Posted By jwshepherd
try using this instead.
it will unload all forms and then end all processes.
dim f as Form
for each f in forms
unload F
next
end
Forum: Visual Basic 4 / 5 / 6 Aug 18th, 2005
Replies: 5
Views: 4,505
Posted By jwshepherd
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: 4,505
Posted By jwshepherd
post the sub where you are getting the error and we'll see if we can figure it out.
Forum: Visual Basic 4 / 5 / 6 Aug 17th, 2005
Replies: 4
Views: 3,619
Posted By jwshepherd
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...
Forum: Visual Basic 4 / 5 / 6 Aug 17th, 2005
Replies: 4
Views: 2,080
Posted By jwshepherd
might try form2.setfocus . POst the source and we'll see what we can do.
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2005
Replies: 2
Views: 1,891
Posted By jwshepherd
Try using different widths of lines
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2005
Replies: 4
Views: 3,619
Posted By jwshepherd
Ar eyou still needing help?
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2005
Replies: 1
Views: 2,406
Posted By jwshepherd
www.planet-source-code.com
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2005
Replies: 6
Views: 4,579
Posted By jwshepherd
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: 12,836
Posted By jwshepherd
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: 8,332
Posted By jwshepherd
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 Sub...
Showing results 1 to 40 of 121

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC