Search Results

Showing results 1 to 37 of 37
Search took 0.01 seconds.
Search: Posts Made By: techniner ; Forum: Visual Basic 4 / 5 / 6 and child forums
Forum: Visual Basic 4 / 5 / 6 23 Days Ago
Replies: 2
Views: 262
Posted By techniner
You will first want to include the winet.ocx

Then write code acordingly.

Some very helpful standard modules:

http://www.thevbzone.com/s_modules.htm
Forum: Visual Basic 4 / 5 / 6 Feb 14th, 2009
Replies: 1
Views: 314
Posted By techniner
What exactly are you calculating?

Dimensions? Size?

Can't see why its not possible. Just not enough info to help further.
Forum: Visual Basic 4 / 5 / 6 Feb 14th, 2009
Replies: 2
Views: 703
Posted By techniner
Essentially what you want to do is create an array of images and hide them off the form to start.

Now on load or on push of a button simply run a rand() function and call to array image[x]
...
Forum: Visual Basic 4 / 5 / 6 Mar 25th, 2008
Replies: 2
Views: 528
Posted By techniner
Ok, can you start by speaking English, then post some code so I can review this?
Forum: Visual Basic 4 / 5 / 6 Mar 24th, 2008
Replies: 2
Views: 1,257
Posted By techniner
Store the database on:

\\yourserver\yoursahrename

Now make the adjustments in VB6 program to call the correct path.

Apply the correct permissions for your users to allow access to the db.
...
Forum: Visual Basic 4 / 5 / 6 Feb 28th, 2008
Replies: 2
Views: 931
Posted By techniner
Put this in a command button or Macro then call macro from command button:


Dim Msg, Style, Title, Help, Ctxt, Response, MyString
Msg = "Do you wish to proceed?"
Style = vbYesNo + vbCritical +...
Forum: Visual Basic 4 / 5 / 6 Feb 20th, 2008
Replies: 1
Views: 1,606
Posted By techniner
See you original post. I replied there.


Application.DisplayAlerts = False
Application.Quit
Forum: Visual Basic 4 / 5 / 6 Feb 20th, 2008
Replies: 1
Views: 1,662
Posted By techniner
Add this:


Application.DisplayAlerts = False
Application.Quit
Forum: Visual Basic 4 / 5 / 6 Feb 19th, 2008
Replies: 1
Views: 1,284
Posted By techniner
What version of MDAC are you using?

Also Google for:

adExecuteNoRecords

This should suppress the error and allow the update to continue but you should really find out the root cause.
...
Forum: Visual Basic 4 / 5 / 6 Feb 19th, 2008
Replies: 11
Views: 1,480
Posted By techniner
Make sure that you define these variables integer based.

it might be doing a text comparison because of data type.

Store the variables into a temp var that is defined as integer and then run...
Forum: Visual Basic 4 / 5 / 6 Feb 17th, 2008
Replies: 3
Views: 535
Posted By techniner
Create a transaction id on both sides.

Then just do a simple update/insert on one side and then do a delete on the other side once the update/insert is successful on the original.

pretty simple...
Forum: Visual Basic 4 / 5 / 6 Feb 15th, 2008
Replies: 10
Views: 6,075
Posted By techniner
Basically do a validation check before running the function.

So let's say you do:


if isnull (somevariable) = True then
msgbox "This cannot be blank"
else
#run your function
Forum: Visual Basic 4 / 5 / 6 Feb 14th, 2008
Replies: 3
Views: 1,089
Posted By techniner
Are you using a trigger to do so?

Because reading all the results in off the base query then filling in the boxes is way faster then passing it and have it query the db each time.
Forum: Visual Basic 4 / 5 / 6 Feb 14th, 2008
Replies: 3
Views: 1,089
Posted By techniner
20 fills in 1-3 seconds is really not that bad.

However YOU can improve this by using indexes and unique fields.

Try calling by the numeric value of an ID versus full text.

Should get that...
Forum: Visual Basic 4 / 5 / 6 Oct 13th, 2005
Replies: 3
Views: 5,085
Posted By techniner
You are going to have to create and apihook to watch for a whnd of any kind in any widow.

A good starting point would be here:

http://www.oreilly.com/catalog/subhookvb/chapter/ch01.html

Then...
Forum: Visual Basic 4 / 5 / 6 Sep 8th, 2005
Replies: 4
Views: 2,603
Posted By techniner
Please paste me the error message word for word.
Forum: Visual Basic 4 / 5 / 6 Sep 6th, 2005
Replies: 4
Views: 2,603
Posted By techniner
Forum: Visual Basic 4 / 5 / 6 Sep 2nd, 2005
Replies: 10
Views: 3,673
Posted By techniner
http://www.vbcodemagician.dk/resources/vcdtp.htm
Forum: Visual Basic 4 / 5 / 6 Sep 1st, 2005
Replies: 10
Views: 3,673
Posted By techniner
Just setup an input mask or set the field type to a DATE field.

If you mean three sep boxes then thats even easier just say:

Day number must be greater then 0 but less then or = 31 but account...
Forum: Visual Basic 4 / 5 / 6 Aug 23rd, 2005
Replies: 4
Views: 1,925
Posted By techniner
Man I am two for two today!!

HAHA Posted PHP code in VB just now.. and earlier I posted Javascript in C#

I am calling it a day some one stick a fork in me...
Forum: Visual Basic 4 / 5 / 6 Aug 23rd, 2005
Replies: 2
Views: 2,426
Posted By techniner
http://www.daniweb.com/techtalkforums/thread31011.html

I was under the impression you wanted to do this as a procedure Call.
Forum: Visual Basic 4 / 5 / 6 Aug 23rd, 2005
Replies: 2
Views: 5,397
Posted By techniner
API DECLARTIONS

Option Explicit

'API Structures
Type TIME_OF_DAY_INFO
tod_elapsed As Long
tod_msecs As Long
tod_hours As Long
tod_mins As Long
Forum: Visual Basic 4 / 5 / 6 Aug 23rd, 2005
Replies: 4
Views: 1,925
Posted By techniner
What programming language are you using?
You could use

http://us2.php.net/manual/en/function.strlen.php

And then create an if statement to use this display with this font or that display with...
Forum: Visual Basic 4 / 5 / 6 Aug 15th, 2005
Replies: 2
Views: 2,098
Posted By techniner
Set Rst = MyDB.OpenRecordset("select * from tblFont where fieldname=SearchText") <-- not sure if this is going to be an integer or string so format it properly.

Then do if row count > 0 do...
Forum: Visual Basic 4 / 5 / 6 Aug 3rd, 2005
Replies: 5
Views: 7,124
Posted By techniner
Why not just use DAO?

Much Cleaner in my opinion



Dim rst As DAO.Recordset
Dim db As Database
Set db = CurrentDb()
Set rst = db.OpenRecordset("select [field1],[field2] from table where...
Forum: Visual Basic 4 / 5 / 6 Jul 15th, 2005
Replies: 5
Views: 6,972
Posted By techniner
You need to handle the creation of the midi file then in aseprate program.

Example use a midi keyboard and automate a sound on it.

Then change the tone and automate another sound.

Like you...
Forum: Visual Basic 4 / 5 / 6 Jul 7th, 2005
Replies: 5
Views: 6,972
Posted By techniner
GLad I can help and contribute abck to the #1 community on the net.
Forum: Visual Basic 4 / 5 / 6 Jul 7th, 2005
Replies: 7
Views: 26,038
Posted By techniner
Ahh, Ok...

OK what he is saying to do is add module.bas


Decalere your code a s a function...

So when you goto command_button1 you can say

fucntion1()
Forum: Visual Basic 4 / 5 / 6 Jul 7th, 2005
Replies: 7
Views: 26,038
Posted By techniner
See the Attached file.

Study the code and read the comments and it will walk you through creating a class
Forum: Visual Basic 4 / 5 / 6 Jul 7th, 2005
Replies: 2
Views: 13,492
Posted By techniner
Compare your code to this or simply use this code as a starting point.



Option Explicit


Public Enum Enum_adscAccessType
adscDenyedAccess = 0
adscDataReader = 1
Forum: Visual Basic 4 / 5 / 6 Jul 7th, 2005
Replies: 5
Views: 6,972
Posted By techniner
Play a MIDI file
If you want to play a MIDI file from VB you have to use MCI functions. The main MCI function is mciSendString, that sends command strings to the system and execute them:

...
Forum: Visual Basic 4 / 5 / 6 Jun 28th, 2005
Replies: 4
Views: 1,851
Posted By techniner
It means the data you are pulling is blank.

Mayeb connection is not really being made?

Maybe your criteria is not being met?

In either case you are not getting any results back therfore it...
Forum: Visual Basic 4 / 5 / 6 Jun 24th, 2005
Replies: 2
Views: 5,080
Posted By techniner
Private Sub Command1_Click()

'Define the three objects that we need,
' A Connection Object - connects to our data source
' A Command Object - defines what data to get from the data...
Forum: Visual Basic 4 / 5 / 6 Jun 17th, 2005
Replies: 9
Views: 21,703
Posted By techniner
Forum: Visual Basic 4 / 5 / 6 Jun 14th, 2005
Replies: 9
Views: 21,703
Posted By techniner
Forum: Visual Basic 4 / 5 / 6 Jun 13th, 2005
Replies: 9
Views: 21,703
Posted By techniner
Ok First off:

http://www.microsoft.com/downloads/details.aspx?FamilyID=6C050FE3-C795-4B7D-B037-185D0506396C&displaylang=en


Second..
Add these librarys in your project
Microsoft Activex Data...
Forum: Visual Basic 4 / 5 / 6 Jun 13th, 2005
Replies: 11
Views: 13,133
Posted By techniner
Well whats known as a solution in .NET is a project in VB6.

Just INCLUDE the 1st project in the second.. or compile the first exe and ADD THE reosurce. A Dependacy will work fine.
Showing results 1 to 37 of 37

 


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

©2003 - 2009 DaniWeb® LLC