Search Results

Showing results 1 to 40 of 775
Search took 0.07 seconds.
Search: Posts Made By: vb5prgrmr
Forum: Visual Basic 4 / 5 / 6 2 Hours Ago
Replies: 2
Views: 50
Posted By vb5prgrmr
two different ways are shown in the following...

Option Explicit

Private Sub Command1_Click()
OpenShowFile
End Sub

Private Sub OpenShowFile()
Forum: Visual Basic 4 / 5 / 6 2 Hours Ago
Replies: 4
Views: 100
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 1 Day Ago
Replies: 7
Views: 158
Posted By vb5prgrmr
J2, read the forum rules...

AND, if the OP would download the WIA SDK they would have all the example code they would need. It is that simple!

By the way, Classic VB or Visual Basic 6.0 has...
Forum: Visual Basic 4 / 5 / 6 1 Day Ago
Replies: 4
Views: 100
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 1 Day Ago
Replies: 4
Views: 118
Posted By vb5prgrmr
Well sorry you feel that way but I figured that since the second and third link in that search solves your problem in two different ways, I guess I just figured that you were smart enough and...
Forum: Visual Basic 4 / 5 / 6 2 Days Ago
Replies: 4
Views: 115
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 2 Days Ago
Replies: 8
Views: 150
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 2 Days Ago
Replies: 2
Views: 93
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: VB.NET 2 Days Ago
Replies: 2
Views: 146
Posted By vb5prgrmr
First, PM a mod and have this thread moved to the .NET forum since this is the "classic vb verision 4/5/6 and not versions for versions2002/2003/2005/2008/2010.

Then, there are several ways in...
Forum: Visual Basic 4 / 5 / 6 2 Days Ago
Replies: 4
Views: 118
Posted By vb5prgrmr
Use your friends... (yahoo, google, ask, answers, bing)...

http://search.yahoo.com/search;_ylt=A0oGkxqMPvZKW1IAgxBXNyoA?p=vb6+ado+retrieve+table+names&fr2=sb-top&fr=yfp-t-701&sao=1



Good Luck
Forum: Visual Basic 4 / 5 / 6 2 Days Ago
Replies: 7
Views: 158
Posted By vb5prgrmr
Look at this search of MS's web site....

http://search.microsoft.com/results.aspx?form=MSHOME&mkt=en-US&setlang=en-US&q=WIA+SDK

See the second one down? When you click on that go to the bottom...
Forum: Visual Basic 4 / 5 / 6 2 Days Ago
Replies: 8
Views: 150
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 2 Days Ago
Replies: 9
Views: 191
Posted By vb5prgrmr
Okay, the reason you are getting the index out of bounds is because of something like this...

Dim MyVar(1 to 2) As String
MyVar(0) = "Whatever" 'throws error because there is no zero (0) element...
Forum: Tech / IT Consultant Job Offers 3 Days Ago
Replies: 1
Views: 201
Posted By vb5prgrmr
Couple of notes right off. While you english writting skills are fairly good they need to be brushed up on. If you have office/word, set it up so its spell checking and grammer checking is...
Forum: Visual Basic 4 / 5 / 6 3 Days Ago
Replies: 9
Views: 191
Posted By vb5prgrmr
Okay, for future reference you need to be in the .NET forum...


Now, I see where you redim preserve strNames and intLevels but no where do I see where you...


ReDim Code(LBound(strNames) To...
Forum: Visual Basic 4 / 5 / 6 3 Days Ago
Replies: 9
Views: 191
Posted By vb5prgrmr
Have you dimed the code variable to the same number of elements as the strNames array? Look up redim and redim preserve if needed.



Good Luck
Forum: Visual Basic 4 / 5 / 6 3 Days Ago
Replies: 2
Views: 117
Posted By vb5prgrmr
Just a note... VB2008 IS VB.NET...


As for unique systems...
Resellers database (Middle man sales)
Fake stock trade with all the formulas to teach people how to trade stocks and what to look...
Forum: Visual Basic 4 / 5 / 6 3 Days Ago
Replies: 5
Views: 213
Posted By vb5prgrmr
Just a note here. What you are talking about is called fraud. I have flagged this thread and will leave it up to the admins to keep it open or close it. You have some splainen to do lucy (okay...
Forum: Visual Basic 4 / 5 / 6 3 Days Ago
Replies: 3
Views: 160
Posted By vb5prgrmr
Let me reiterate, if you want the bat file to run in the servers process you will need to run it from the server, which means you will have to have a program on the server to shell the bat file. So,...
Forum: Visual Basic 4 / 5 / 6 3 Days Ago
Replies: 7
Views: 158
Posted By vb5prgrmr
First, you have created this thread as a code snippet asking how to do something. Second, I gave you the leads you need to solve your problem, and now third you are demanding code??? Well, I don't...
Forum: Visual Basic 4 / 5 / 6 4 Days Ago
Replies: 2
Views: 108
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 4 Days Ago
Replies: 2
Views: 124
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 4 Days Ago
Replies: 9
Views: 191
Posted By vb5prgrmr
mainForm.StockDisplay.Caption = mainForm.StockDisplay.Caption & vbNewLine & intLevels(lngPosition)




Good Luck
Forum: Visual Basic 4 / 5 / 6 4 Days Ago
Replies: 3
Views: 160
Posted By vb5prgrmr
Connecting to the server is not the problem but when you do, any batch files will be run against the connecting computer and not against the server. To have the batch files run in the servers...
Forum: Visual Basic 4 / 5 / 6 4 Days Ago
Replies: 2
Views: 156
Posted By vb5prgrmr
What is the version of the database you are having problems with? You may have to convert it to a previous version...

Another thought. Did you add the reference to the data access object?


...
Forum: Visual Basic 4 / 5 / 6 4 Days Ago
Replies: 7
Views: 158
Posted By vb5prgrmr
On win2k and earlier you can use the Wang/Kodak imaging controls (image edit, image admin, etc), on xp and later you can use WIA (Window Image Acquisition). Search MS for the SDK download...


...
Forum: Visual Basic 4 / 5 / 6 4 Days Ago
Replies: 1
Views: 160
Posted By vb5prgrmr
Welcome!

>Randomly getting data populated with first record information.

Please explain a little more...

Do you know how to retrieve data from database? How are you accessing this data?...
Forum: Visual Basic 4 / 5 / 6 11 Days Ago
Replies: 2
Views: 184
Posted By vb5prgrmr
Not a simple solution as you have to subclass the textbox. Please see this example...

http://vbnet.mvps.org/index.html?code/subclass/contextmenu.htm

or this that says you don't need to...
Forum: Visual Basic 4 / 5 / 6 11 Days Ago
Replies: 4
Views: 211
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 11 Days Ago
Replies: 2
Views: 215
Posted By vb5prgrmr
and...???

You are not giving us a whole lot of information. What school book? what is your problem? Where is your problem?
Forum: Visual Basic 4 / 5 / 6 11 Days Ago
Replies: 5
Views: 285
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 11 Days Ago
Replies: 5
Views: 285
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 12 Days Ago
Replies: 7
Views: 448
Posted By vb5prgrmr
You know what!!! If you really want someone to do this for you, then go over to rentacoder.com or odesk.com and hire someone to do it for you, else learn how to do it yourself by at least opening up...
Forum: Visual Basic 4 / 5 / 6 12 Days Ago
Replies: 1
Views: 177
Posted By vb5prgrmr
Look up the shell function...

Shell "C:\mybat.bat", vbHide

and see if it will work for you...



Good Luck
Forum: Visual Basic 4 / 5 / 6 13 Days Ago
Replies: 6
Views: 399
Posted By vb5prgrmr
Then neither is try catch finally...
Forum: Visual Basic 4 / 5 / 6 13 Days Ago
Replies: 3
Views: 320
Posted By vb5prgrmr
Conver database to access97 and use the data form wizard, which you can find under Add-ins>Add-In Manager. I would suggest that you run the wizard for each type of form and with each type of data...
Forum: Visual Basic 4 / 5 / 6 13 Days Ago
Replies: 5
Views: 251
Posted By vb5prgrmr
>u need think before u act

You need to know how to spell, and use correct grammer!

By the way. What were you thinking posting your question four times? Did you not think before you took action...
Forum: Visual Basic 4 / 5 / 6 13 Days Ago
Replies: 6
Views: 399
Posted By vb5prgrmr
I use the standard error handling scheme but then again I also code defensivly...

The basics for debugging are as follows...

Option Explicit

Private Sub Form_Load()

On Error GoTo...
Forum: Visual Basic 4 / 5 / 6 14 Days Ago
Replies: 2
Views: 181
Posted By vb5prgrmr
Please stop posting the same question... I have reported this and the rest of your duplicate threads

http://www.daniweb.com/forums/thread233750.html...
Forum: Visual Basic 4 / 5 / 6 14 Days Ago
Replies: 6
Views: 399
Posted By vb5prgrmr
I believe you have posted this before and now that you have actually asked for opinions, here we go.

This is not like VB.NET's Try, Catch, Finally as you explicity tell the compiler to ignore...
Showing results 1 to 40 of 775

 


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

©2003 - 2009 DaniWeb® LLC