IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
VB Classic
Search VB Classic Group:

Advanced
-Collapse +Expand VB Classic Group Home
-Collapse +Expand Message Board
-Collapse +Expand VB Classic KB
-Collapse +Expand VB Classic To/From
To/FromCODEGuides
-Collapse +Expand VB Classic Study Test
PRESTWOODCERTIFIED
-Collapse +Expand VB Classic Store
-Collapse +Expand Members Only

Prestwood eMagazine

May Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyVisual Basic Classic Board   All Groups   Print This   

Visual Basic Classic New Activity

Switch to:  New Posts (ALL TYPES)
  


25 Threads:


Thread 25 of 25
Thread Starter  

cecilius
drive listbox and unc-network-path
Hi all,, i am trying to get unmapped Drives via unc( universal naming convention, like \\server\blabla..) into a drive listbox. Does anybody have an idea? Or perhaps the network neightbourhood? , Thanks a lot
Posted to MB Topic: VB Classic Other
11 years ago
1 Reply:

Anonymous
help---ian
17 months ago
Nothing New Since Your Last Visit
1473
Hits

Thread 24 of 25
Thread Starter  

steveoo0oo
breaking up a string in VB
heres my prob...the user inputs some info from a text box (they are two coordinates ie 200, 500) , , what i need to do it break this number up, so that i can assign 2 variables, ie one that is 200 and the other 500 , , , soooo basically the input is: 200, 500 , and the output i want is: 200 and 500 each thier own value, without the comma in there at all....can anyone help with the code? or just type the code for me?
Posted to MB Topic: VB Classic Other
11 years ago
2 replies. Last post:

mprestwood
Here's a little code snippet to demonstrate. Declare MyArray as an array, i as an integer, and pKeywords as a string.pKeywords = "VB,OO,C#,Delphi", MyArray = Split(pKeywords, ",", -1, 1) If UBound(MyArray) > 0 Then For i = 0 to UBound(MyArray) '...do something with MyArray(i)... NextEnd If
36 months ago
Nothing New Since Your Last Visit
2022
Hits

Thread 23 of 25
Thread Starter  

victorvdl
IP addreses
As part of an application I am trying to program, I need to find out the users internet IP address. As some of you no doubt know, their are two seperate IP address on systems connected to a LAN or the like, one for the LAN, and one for the internet connection if there is one. How do I find out the Internet one? Confused
Posted to MB Topic: VB Classic Other
12 years ago
1 Reply:

mprestwood
39 months ago
Nothing New Since Your Last Visit
864
Hits

Thread 22 of 25
Thread Starter  

juan@pcexperts.com
Reference the BDE in VB
Is there any way to reference the BDE in my Visual basic 6.0 project so that I can access Paradox data and create ADO recordsets, execute queries, etc.?, , Thanks, Juan
Posted to MB Topic: VB Classic Other
12 years ago
1 Reply:

mprestwood
Hi Juan, I hope all is going well!!! I just wanted to add to this old thread for those that end up here via a search. No, there is no easy way to work with the BDE with VB6. You could do it, but it would be a ton of work and totally not worth it. Instead, you can use an ODBC driver to access your Paradox tables from any non-BDE application including VB, Access, etc. The best ODBC Paradox driver in my opinion is still the Paradox ODBC driver tha...
39 months ago
Nothing New Since Your Last Visit
1546
Hits

Thread 21 of 25
Thread Starter  

khatib_b
No Subject
Hi every body I was able to designate an access Database as a custom source to a textbox to accomlish autocomplete property of the textbox. The problem is when I enter the first letter of a word I get about 15 autocomplete suggestions while in the DB there are more than 50 words beginning with that letter. Is there a way to make the whole words displayed in the autocomplete pop up box. Thanks for your help
Posted to MB Topic: VB Classic Database Tasks
50 months ago
1 Reply:

khatib_b
 RE:
{Too Long}
50 months ago
Nothing New Since Your Last Visit
2341
Hits

Thread 20 of 25
Thread Starter  

bartj1
Getting the windows registration number
Hi,Am using classic VB (5) and I would like to ba able to read the windows registration number. This is the one you see when you look at the properties of "My Computer".Anyone know of an API or other type of solution?Thanks,Bart,
Posted to MB Topic: VB Classic Other
56 months ago
2 replies. Last post:

bartj1
Hey,Thanks for the reply. Am just investigating a bit on this topic. A client was asking about how to secure an app I am working on. The extreme solution is a hardware dongle, but a less intensive solution would be to use a unique number on a PC that could be used to generate a public key etc. I would need to be able to read this value programatically.A bad aid solution while doing a beta release is to just kill the code if rolls past a hardcoded...
56 months ago
Nothing New Since Your Last Visit
1835
Hits

Thread 19 of 25
Thread Starter  

jason_robertson
Query Access 2.0 from VB6
Hi I am new to Classic vb I have a really challenging problem, and I would be very grateful for any help ideas suggestions that any of you gun vb6 developers might have I need to read data out of an Access 2.0 file format file from VB6 this has to be compiled and redistributed as part of a database upgrader, licensing constraints and the end user desktops prevent the use of a VBA runtime. Thanks in advance
Posted to MB Topic: VB Classic Database Tasks
59 months ago
Nothing New Since Your Last Visit
1990
Hits

Thread 18 of 25
Thread Starter  

wildbill57
Editing text boxes in PDF with VB !
Hey y'all,I need to fill in PDF files. There is a product available that does thid for the backflow community but I do not have it nor does it do the other half of things I do. (It is not especially user-friendly either.) I do backflow testing and calibrate test kits and pressure gauges. That means filling out forms for county offices with a lot of the same data on them from year to year. Sometimes there are several devices per customer. These are scanned PDF forms from the counties (have to be their original, typed format - computer printed is okay).  Calibration data sheets are currently in Excel - spreadsheets formatted to print out for the customer. I fill these out after a test. Copy and paste tends to lead to errors and boredom. Takes too long too!--> You can guess that I do a lot of typing over - because the data for test reports, calibration sheets, quotes and billing  is not easy to put into the form where it ultimately goes.  It can be stored together, ...
5 years ago
Nothing New Since Your Last Visit
1808
Hits

Thread 17 of 25
Thread Starter  

wildbill57
Can VB4 and VB6 coexist?
I uave Visual Studio with MSDN ver 6 installed on my main PC (W2K) and have to interface with a 16 bit DLL for a product that I am using. The product developers tel me that VB4 in 16 bit mode is required to access the DLL, since it was written in that mode (quite a while ago). I'd llike to upgrade the interface software but it would cost me about $500!I have VB4 and wonder if I can put it on the computer also - hence the question about having both VB4 and VS6 installed at the same time. Or should I use a different box then just copy the .exe when I have it ready?Thanks,Bill Allen678-717-8590allenbh *at* alltel.net
Posted to MB Topic: VB Classic Other
5 years ago
2 replies. Last post:

wildbill57
Hi Mike,Happy Easter!Thanks for the great reply! I want to avoid confusion or overwriting of controls, DLL's or other objects. A VB4 package is on its way (cheap$) and I will be time travelling to the past soon enough. I will make sure it installs in a distinctly separate folder.Thanks,Bill
5 years ago
Nothing New Since Your Last Visit
2530
Hits

Thread 16 of 25
Thread Starter  

gilgal
how to write script (correct my script) for MSFlex
How do I make the script run through the database and write down the records of rs("book_title"),rs("chapter"),rs("verse"),rs("text_data") in a MSFlexGrid?, , Private Sub MSFlexGrid1_Click(), 'Private Sub Form_Load(), 'the format string just lets you define a format for how, 'your flexgrid will appear, MSFlexGrid1.FormatString = "Book |" & _, "Chapter |" & _, "Verse |" & _, "Text", , Dim connectionString As String, Dim query As String, Dim cn As New ADODB.Connection, Dim cmd As New ADODB.Command, Dim rs As New ADODB.Recordset, Dim Text1, , 'Text1 = Request("Text1"), , 'connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\kjv.mdb;User Id=admin;Password=;", 'query = "SELECT * from bible", ''query = "SELECT * from bible WHERE text_data LIKE %" & Text1.Text & "%", , , 'make sur...
Posted to MB Topic: VB Classic Database Tasks
7 years ago
1 Reply:

mprestwood
Instead of doing rs("FieldNameHere"), you should do rs.Fields("FieldNameHere"). I actually prefer specifying the .value property on the end too.
6 years ago
Nothing New Since Your Last Visit
1666
Hits

Thread 15 of 25
Thread Starter  

jenEcis
Help on DataEnvironment-VB 6
im having a problem with data environment, , im supposed to generate reports using data environment and data reports wherein i can set specific dates using DTPicker,i came up with this codes:, , , DataEnvironment.Commands("Command1").CommandText = "SELECT DISTINCT POHead.PONumber, POHead.PODate, POHead.EmployeeName, POHead.POStatus, Suppliers.SupplierName, POHead.PODeliveryPlace, PODetail.RMTotal , FROM Suppliers, POHead, PODetail, WHERE Suppliers.SupplierNumber = POHead.SupplierNumber AND , POHead.PONumber = PODetail.PONumber and POHead.PODate BETWEEN #" & DTPicker1.Value & "# AND #" & DTPicker2.Value & "# ", , Set DataReport.DataSource = DETables, , DataReport.Sections("Section2").Controls("lblTO").Caption = Me.DTPicker1.Value, , DataReport.Sections("Section2").Controls("lblFROM").Caption = Me.DTPicker2.Value, , DataReport.Show vbModal, , the problem is after i generate a report and then change the DTPicker Values the generated report remains the same from the previ...
Posted to MB Topic: VB Classic Other
8 years ago
3 replies. Last post:

heera
[QUOTE]Originally posted by jenEcis:, [QB] im having a problem with data environment, , im having a problem with data environment, , im supposed to generate reports using data environment and data reports wherein i can set specific dates using DTPicker,i came up with this codes:, , , DataEnvironment.Commands("Command1").CommandText = "SELECT DISTINCT POHead.PONumber, POHead.PODate, POHead.EmployeeName, POHead.POStatus, Suppliers.SupplierName, POH...
7 years ago
Nothing New Since Your Last Visit
6138
Hits

Thread 14 of 25
Thread Starter  

nevets72
crystl32.ocx
Hi....hopefully someone has come accross these errors....I've posted this issue on a few VB sites, but haven't gotten anywhere! When I try to open up a project in VB, I get the following message...."crystl32.ocx could not be loaded--Continue Loading Project?" Additionally, when I do open the project, I can't open up one of the forms in the project.....I get the following message...."Path/File Access Error". Lastly, in a log file associated with the aforementioned form, I get the message...."Class Crystal.CrystalReport of control rptReport was not a loaded control class." , I recently downloaded 'Depends' and used it to see if I had some files missing, but when I checked for dependencies on the crystl32.ocx file, everything was fine. Also, I tried running the following commands 'regsvr32 crystl32.ocx' as well as 'regsvr32.exe crystl32.ocx' but to no avail...does anyone have any ideas? Thanks!
Posted to MB Topic: VB Classic Other
11 years ago
5 replies. Last post:

AuberriesRW
[QUOTE]Originally posted by Ron Soppeland:, [qb] Howdy once again,, I finally got it working on my own, I ended up uninstalling and reinstalling Crystal. It seemed an odd thing to have to do as I had just installed it before trying to use crystl32.ocx? Not sure why the first install didn't work?, , Thank You, Ron [/qb][/QUOTE]Afternoon Ron,, , Seeing the same problem on a Win2K box with VB6.0 Pro installed, and I was curious as to what Crystal ...
8 years ago
Nothing New Since Your Last Visit
7964
Hits

Thread 13 of 25
Thread Starter  

simelane2003
SSTabs
How do I change the color of the SSTab control in VB. (BackColor and Forecolor don't work)
8 years ago
Nothing New Since Your Last Visit
1985
Hits

Thread 12 of 25
Thread Starter  

raj74
How to save the data from MSFlexGrid into a databa
My doubt is i am using MSFlexGrid to display the invoice details (detail table data).User can able to see the invoice data and also to edit the present data in the MSFlexGrid and also user can add new data (rows) in the MSFlexGrid.How i can do that?.I also like to know how user can delete a row from MSFlexGrid?
Posted to MB Topic: VB Classic Database Tasks
11 years ago
3 replies. Last post:

mprestwood
My understanding is that Microsoft recommends you use an auxiliary Edit control for doing the task. When you want to edit the text in a cell, you retieve the cell's rectangle and place an edit control over it. It's a bit complex but here's a tutorial:, , [URL=http://www.codeguru.com/Cpp/controls/controls/gridcontrol/article.php/c5291/]MSFlexGrid Edit Tutorial[/URL], , Is there a reason you can't use a DataGrid?
9 years ago
Nothing New Since Your Last Visit
3931
Hits

Thread 11 of 25
Thread Starter  

Rolly T D
Crystal Repot Control loading problem
I have problem in loading VB application. The error shown is "Class Crystal.CrystalReport of control CrystalReport was not a loaded control class". I have crystal report also loaded in my XP machine., So please get me a solution to overcome this problem.
9 years ago
1 Reply:

Dan
Sounds like a version issue to me. Try deleting the reference to the Crystal ocx and rereferecing the control in your application.
9 years ago
Nothing New Since Your Last Visit
4056
Hits

Thread 10 of 25
Thread Starter  

roger_anderson
VB3 to VB6
We have a number of school admin programs that we wrote a year or six ago. We now have VB6., Can anyone tell me a good strategy for upgrading the existing VB3 programs to VB6?
Posted to MB Topic: VB Classic Other
10 years ago
1 Reply:

sx014
i have the same problems here as well. The gov i work for has old apps written in vb3 im trying to get vb4 and vb5 to upgrade the source 1 step at a time and ill see how it goes from there.i'll let you know?
9 years ago
Nothing New Since Your Last Visit
1888
Hits

Thread 9 of 25
Thread Starter  

garypark
Text Files and Text Boxes
Hello, , I am sure that this is going to be a simple problem to fix, but I have just started a very steep learning curve with Visual Basic 6 in that I have to alter a program that has already been written, and I am a complete novice to VB., , What I need to do is to read in a text file which has multiple lines. The information that is read in then has to be displyed in a text box for the user to read. i.e. one line in the text file should appear as one line in the text box. Is there a simple way of achieving this, or can someone point me in the right dircetion for finding a solution., , Thank you for your time., , Gary Park
9 years ago
Nothing New Since Your Last Visit
1198
Hits

Thread 8 of 25
Thread Starter  

Alex Diogo Moreira
OleDb or ODBC? Why to use one or another one?
Why to use one or another one?, , Since already I am thankful, consideration
9 years ago
1 Reply:

wpantoja
From a Visual Basic point of view, you will find that using OLEDB is a much easier implementation task then talking directly to ODBC. OLEDB, and more specifically, ADO is a COM-based data access control that is very easy to use in Visual Basic, Visual Basic for Applications, and VBScript., , If you are concerned with performance, then interfacing directly with database connection libraries (such as DB-lib for MSSQL) would be the best choice. Ho...
9 years ago
Nothing New Since Your Last Visit
1706
Hits

Thread 7 of 25
Thread Starter  

NewbCoder
Keystroke capture
I need a function that either disables every keystroke, and keystroke combination, other than keystrokes that I specify, or captures the keystrokes and sends them to any desired function. Any help is appreciated. Thanks in advance
9 years ago
1 Reply:

cheddar
the form keydown event is what you want. Set the form KeyPreview to true and this event will capture the key events first. From this event you can check the key that is down and make the decision about what function to call. You can then set the keycode to 0 to cancel the keypress.
9 years ago
Nothing New Since Your Last Visit
2189
Hits

Thread 6 of 25
Thread Starter  

akom
Dbase 7
I need to connect to a database that is in Dbase 7 can I do that from Visual Basic 6?
Posted to MB Topic: VB Classic Database Tasks
10 years ago
1 Reply:

cheddar
this is way late but maybe someone else can use it. You should be able to find what you need here: http://www.dbase.com
9 years ago
Nothing New Since Your Last Visit
1578
Hits

Thread 5 of 25
Thread Starter  

davidsplace
Text field remains blank
I'm working on a database program using VB6. The database has a field called ID which is an auto-incriment field. My problem is when I press a button to insert a new record the ID field in the database is auto-incrimented but the text field on the form isn't. The number will not show in the text field until I exit the program and restart it. Can anyone help?
Posted to MB Topic: VB Classic Database Tasks
10 years ago
Nothing New Since Your Last Visit
1315
Hits

Thread 4 of 25
Thread Starter  

fig000
Error: Control disconnecting from its clients
Hi,, , I'm getting an error that seems to be random. In the app several data controls are refreshed. The first time this process occurs one of them causes the following error:, , "The object invoked has disconnected from its clients", , Oddly, once the error occurs the first time, the same process of refreshing data controls works fine., , I've researched this on the net and found several similar circumstances with various other controls: embedded excel controls, crystal controls, etc. It seems all of these problems occur using Windows 2000, NT or, in my case, XP. These apps always work on earlier versions of windows., , The closest I came to a solution was something having to do with fixing a crystal dep file but that doesn't address my problem., , Any ideas would be appreciated., , Neil
10 years ago
Nothing New Since Your Last Visit
1077
Hits

Thread 3 of 25
Thread Starter  

thecrazedmonster
MsgBox
I am in need of some help with the MsgBox. At work we use Excel and I have a button that will clear certain Cells when you click on it, after you click on the button the MsgBox popsup and ask if your sure, I cannot get the "No" button to work. If you need more info plz e-mail me:, , [EMAIL]thecrazedmonster@yahoo.com[/EMAIL] Confused
11 years ago
3 replies. Last post:

Dante
Fisrt of is the ans variable declared as a integer, if so try this code, it just might work., , if msgbox("Are You Sure?",vbQuestion+VbYesNo) = vbYes then, , delete cells, , end if, , Or maybe you can set the buttons to vbOkCancel and then try to use the vbCancel = true statement in your if statement. Geek Alert!
10 years ago
Nothing New Since Your Last Visit
1457
Hits

Thread 2 of 25
Thread Starter  

Vikas Athavale
Click to dial a phone no.
I am displaying customer details viz., , Name, telephone no, address etc, , When clciked on a row (og the grid having customer details) i want to dial the telephone number displayed., , I am using mshflexgrid and I know mshflexgrid1textmatrix function to fetch telephone no., , I want to know the function which will dial the telephone no i wil pass on as parameter
10 years ago
2 replies. Last post:

Dan
You should be able to reference the TAPI library and use the COM interface. There is also a telephone COM interface available in the MS speech SDK.
10 years ago
Nothing New Since Your Last Visit
1241
Hits

Thread 1 of 25
Thread Starter  

fig000
Masked Edit control problem with XP
Hi,, , I have a vb6 app that runs fine under windows 95 to windows 2000. I've been testing our applications with windows XP and have found that the masked edit control in this particular application is displaying some strange behavior: It is black, making the black text unreadable. If I outline the text, it's visible but just barely. Do I need a new version of the ocx? Do I need to use a regular text box? Is there a fix for this?, , Thanks,, Neil
10 years ago
Nothing New Since Your Last Visit
874
Hits
-
  Load Time=1 seconds.
 
Print This
-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


392 People Online Now!!  
Online Now: Sign In to see who's online now!  Not a member? Join now. It's free!
Show More...


©1995-2013 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech