Search Results

Showing results 1 to 40 of 244
Search took 0.02 seconds.
Search: Posts Made By: vb5prgrmr ; Forum: Visual Basic 4 / 5 / 6 and child forums
Forum: Visual Basic 4 / 5 / 6 17 Hours Ago
Replies: 4
Views: 90
Posted By vb5prgrmr
I thought that might be the problem. Glad you got it solved. Now, if you don't mind could you please mark this thread resolved.

Thanks and Good Luck
Forum: Visual Basic 4 / 5 / 6 1 Day Ago
Replies: 4
Views: 90
Posted By vb5prgrmr
Place a breakpoint at the line and hover the mouse over the variable. Do you see if you actually have a full path and file name in the variable? Or goto the immediate window and type in ?gf_strDbPath...
Forum: Visual Basic 4 / 5 / 6 1 Day Ago
Replies: 7
Views: 235
Posted By vb5prgrmr
You can't! At least not with Visual Basic. You can however with RealBasic...



Good Luck
Forum: Visual Basic 4 / 5 / 6 1 Day Ago
Replies: 7
Views: 235
Posted By vb5prgrmr
3 Okay, the MDAC is the Microsoft Data Access Components and yes you need it.
2 Those 3 are one in the same...
1 Yes, as previously stated you need those three files...

Tell users to right click...
Forum: Visual Basic 4 / 5 / 6 2 Days Ago
Replies: 7
Views: 235
Posted By vb5prgrmr
Okay, there are three files you need to distribute you application. The Cab, the lst, and the exe. (You did create a standandard deployment package, didn't you?) The support directory you do not need...
Forum: Visual Basic 4 / 5 / 6 4 Days Ago
Replies: 6
Views: 232
Posted By vb5prgrmr
Okay, I don't know what kind of code you have in the resize event but here goes...

Option Explicit

Dim BusyResizing As Boolean

Private Sub Form_Resize()
If Me.WindowState = vbMinimized Then...
Forum: Visual Basic 4 / 5 / 6 5 Days Ago
Replies: 6
Views: 232
Posted By vb5prgrmr
I would check for an interval delay or use a boolean value to prevent the called sub/function from being called repeatedly, or perhaps a timer control would do...



Good Luck
Forum: Visual Basic 4 / 5 / 6 5 Days Ago
Replies: 3
Views: 264
Posted By vb5prgrmr
Add a module, and add...

Sub Main()

End Sub

Then add the code you need to inside of sub main but don't forget to put in your Form1.Show or your program will look like it does not even run....
Forum: Visual Basic 4 / 5 / 6 6 Days Ago
Replies: 3
Views: 264
Posted By vb5prgrmr
In module...

Public Const MyVar As Integer = 5

However, you will not be able to change this value if you are wanting to have this value change.

Now, there is another way if you have your...
Forum: Visual Basic 4 / 5 / 6 8 Days Ago
Replies: 2
Views: 202
Posted By vb5prgrmr
something like...

If j Mod 42 = 0 Then Me.cls
Print ...


This will clear the form of the printing you have done to it and reset the currentx and currenty properties to 0. Look it up in help...
Forum: Visual Basic 4 / 5 / 6 10 Days Ago
Replies: 3
Views: 385
Posted By vb5prgrmr
Well since OP does not have the source, the OP cannot check references, and I'm betting that the "Error Creating Letter: Cannot Create Object" is our best clue as to what might be going on. I'll also...
Forum: Visual Basic 4 / 5 / 6 14 Days Ago
Replies: 7
Views: 293
Posted By vb5prgrmr
Either rewrite as an ASP application or convert it to activex.



Good Luck
Forum: Visual Basic 4 / 5 / 6 17 Days Ago
Replies: 4
Solved: time
Views: 307
Posted By vb5prgrmr
Capture start time into a variable and use datediff function to test the difference returning seconds mod 60 returns minutes mod 60 returns hours. Understand?



Good Luck
Forum: Visual Basic 4 / 5 / 6 18 Days Ago
Replies: 8
Views: 389
Posted By vb5prgrmr
And??? I'm still not understanding but good luck anyways...
Forum: Visual Basic 4 / 5 / 6 18 Days Ago
Replies: 4
Solved: Get drive icon
Views: 344
Posted By vb5prgrmr
What do you think I pointed you to with that search and suggested sites?
Forum: Visual Basic 4 / 5 / 6 19 Days Ago
Replies: 2
Views: 304
Posted By vb5prgrmr
In form1 create a public sub so when you hide form2 you can call it...

Form1.MyPublicSub
Me.Hide

then in the form1's mypublicsub you instruct whatever data access method you are using to...
Forum: Visual Basic 4 / 5 / 6 19 Days Ago
Replies: 4
Solved: Get drive icon
Views: 344
Posted By vb5prgrmr
Not quite sure what you are asking but I do know you will need to use ExtractIconEx. Now, in these search results ...
...
Forum: Visual Basic 4 / 5 / 6 19 Days Ago
Replies: 8
Views: 389
Posted By vb5prgrmr
Why not just use the DriveListBox???
Forum: Visual Basic 4 / 5 / 6 19 Days Ago
Replies: 2
Views: 364
Posted By vb5prgrmr
by use of the rnd function (see help) and the randomize statement in your startup object.



Good Luck
Forum: Visual Basic 4 / 5 / 6 20 Days Ago
Replies: 6
Views: 459
Posted By vb5prgrmr
Don't think so but look at Project>References. You should have these four at the top and in this order...

Visual Basic For Applications
Visual Basic runtime objects and procedures
Visual Basic...
Forum: Visual Basic 4 / 5 / 6 21 Days Ago
Replies: 6
Views: 459
Posted By vb5prgrmr
Well first off you need to make sure the directory exists by using the dir function and if it does not exist then you need to use the mkdir statement. HOWEVER, if you are on vista or win7 and in the...
Forum: Visual Basic 4 / 5 / 6 22 Days Ago
Replies: 4
Views: 346
Posted By vb5prgrmr
Jupiter2,

Here is a way to shorten you comman1_click code...

Image1.Visible = Not Image1.Visible



Just a piece of knowledge I thought I would pass along.
Forum: Visual Basic 4 / 5 / 6 22 Days Ago
Replies: 8
Views: 406
Posted By vb5prgrmr
Yes it is possible by testing the C.Container.Name = "Frame1" or ...

Dim C As Control

For Each C In Me.Controls
If C.Container.Name <> "Frame1" And C.Name <> "Frame1" Then
C.Visible =...
Forum: Visual Basic 4 / 5 / 6 22 Days Ago
Replies: 2
Views: 285
Posted By vb5prgrmr
Okay, in your first post you set the lock type with the second code snippet but I don't see it in the first code snippet, which means if you have not explicitly set it, it defaults back to its...
Forum: Visual Basic 4 / 5 / 6 22 Days Ago
Replies: 8
Views: 406
Posted By vb5prgrmr
If you are talking about design time... then,... Drag mouse over all the controls you want to make visible = false. OR, you could put these controls in a frame, picture box, or other container...
Forum: Visual Basic 4 / 5 / 6 24 Days Ago
Replies: 2
Views: 271
Posted By vb5prgrmr
Yes...

For readability, I try to keep my subs and functions as small as possible. So, if I can break a piece of code out and put it somewhere so I can call it, then so it is done. If there is a...
Forum: Visual Basic 4 / 5 / 6 24 Days Ago
Replies: 2
Views: 292
Posted By vb5prgrmr
Use the query_unload event, set cancel to true and hide the form with me.hide or me.visible=false



Good Luck
Forum: Visual Basic 4 / 5 / 6 31 Days Ago
Replies: 4
Views: 339
Posted By vb5prgrmr
So you are using the ADODC (ActiveX Data Objects Data Control) right???

adodc1.Recordset.Update




Good Luck
Forum: Visual Basic 4 / 5 / 6 31 Days Ago
Replies: 5
Views: 459
Posted By vb5prgrmr
Hey V, if you look closely you will see that is the same code that I labeled as 2.) (Push)... and if you read my post that is not just one example but three...
Forum: Visual Basic 4 / 5 / 6 31 Days Ago
Replies: 5
Views: 459
Posted By vb5prgrmr
Several ways in which to do this and here are three...

1.) (Pass) Add a module and declare a public string variable and when user hits ok, you set the variable with the string you want. Then when...
Forum: Visual Basic 4 / 5 / 6 34 Days Ago
Replies: 2
Views: 336
Posted By vb5prgrmr
Celt.Max,
the code you are using is for the VBA Listbox control found in Excel, access, etc. and while it is usable from VB6, it is not redistributable...

IvanKenny,
There are two ways in...
Forum: Visual Basic 4 / 5 / 6 Oct 26th, 2009
Replies: 8
Views: 496
Posted By vb5prgrmr
Lida_Pink,

Lets make sure of our definitions first... The sum of numbers is, those numbers being added together, while the product of numbers is, those numbers being multiplied together. So if you...
Forum: Visual Basic 4 / 5 / 6 Oct 25th, 2009
Replies: 1
Views: 369
Posted By vb5prgrmr
None Case Sensitive

Option Explicit
Option Compare Text

Private Sub Form_Load()
Dim S As String
S = "This is a test"
If Left(S, 1) = Right(S, 1) Then MsgBox Left(S, 1) & " matches"
End Sub
Forum: Visual Basic 4 / 5 / 6 Oct 24th, 2009
Replies: 1
Views: 356
Posted By vb5prgrmr
Okay, let first start by reminding you of code tags...

Then let me say where are you getting this error? What line and what are the state of your variables?

Next up is how do you add, i.e. the...
Forum: Visual Basic 4 / 5 / 6 Oct 23rd, 2009
Replies: 2
Views: 327
Posted By vb5prgrmr
OldQ, for future reference you are using .NET code and are presently in the wrong forum. You need to post your Q's in the .NET forum...

In vb6 there are two different ways to accomplish what you...
Forum: Visual Basic 4 / 5 / 6 Oct 21st, 2009
Replies: 2
Solved: help me, learn
Views: 349
Posted By vb5prgrmr
As for tutorials for either vb6 or any of the flavors of vb.net, you can use your friends (yahoo, google, ask, answers, bing) to find them. So you keywords would be vb6 read write consol.

Then in...
Forum: Visual Basic 4 / 5 / 6 Oct 21st, 2009
Replies: 6
Views: 393
Posted By vb5prgrmr
VB's IDE Menu>Project>Add Module



Good Luck
Forum: Visual Basic 4 / 5 / 6 Oct 20th, 2009
Replies: 2
Solved: label caption
Views: 357
Posted By vb5prgrmr
If Val(Text1.Text) < 0 Then
Text1.Text = "-" & Text1.Text
Else
'...




Good Luck
Forum: Visual Basic 4 / 5 / 6 Oct 20th, 2009
Replies: 5
Views: 430
Posted By vb5prgrmr
But that was not what the OP was asking there elkhartlynn...
Forum: Visual Basic 4 / 5 / 6 Oct 18th, 2009
Replies: 2
Views: 217
Posted By vb5prgrmr
rs.addnew
rs.fields("somefield") = somevalue
rs.update



Good Luck
Showing results 1 to 40 of 244

 


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

©2003 - 2009 DaniWeb® LLC