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     Print This   

VB Classic Other Topic

All other VB posts go here.

 

 Show:
New Activity New Threads Oldest Unanswered Most Active Most Read
  


25 Threads:

Add New ThreadRandom Thread

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
11 years ago
1 Reply:

Anonymous
help---ian
17 months ago
Nothing New Since Your Last Visit
1460
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?
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
1976
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
12 years ago
1 Reply:

mprestwood
39 months ago
Nothing New Since Your Last Visit
862
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
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
1534
Hits

Thread 21 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,
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
1830
Hits

Thread 20 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
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
2522
Hits

Thread 19 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...
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
6130
Hits

Thread 18 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!
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
7945
Hits

Thread 17 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?
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
1886
Hits

Thread 16 of 25
Thread Starter  

deleted_member
Administering Session Pooling in Mts
I have created a com object in Delphi which is registered in COM+. The object contains the doa session and query objects which are used to connect to an oracle database and query the data., I am having trouble administering the session pool timeout which is supposedly supported by MTS (which is included in COM+). The connected sessions seem to be timing out after about 1 second of inactivity. I want to bump up this time., Any help on how to do this would be greatly appreciated.
10 years ago
Nothing New Since Your Last Visit
1098
Hits

Thread 15 of 25
Thread Starter  

Donnaa5dcp
easy to solve file question
IÆm only trying to complete a really simple picture viewer., The file list box (filGraphFiles) doesnt list any files and therefore not displayed the path in the label., Anyone know why?, , Private Sub dirCurrentDir_Change(), 'when the directory changes, set the path of the, 'file list box to the same value, filGraphFiles.Path = dirCurrentDir.Path, End Sub, , Private Sub drvCurrentDrive_Change(), 'when the current drive is changed set the path of the, 'directory list box to the same as the current drive, dirCurrentDir.Path = drvCurrentDrive.Drive, filGraphFiles.Path = dirCurrentDir.Path, End Sub, , Private Sub filGraphFiles_DblClick(), 'if the first char on the right of the path has a "\" symbol,, 'then no need to add one eg C:\, 'else the path lacks \, so add it to the path eg C:\WINDOWS, If Right(filGraphicFiles.Path, 1) = "\" Then, 'set the caption of the label control to the path of selected file, 'appending name of the file, lblImagePath.Caption = filGraphFiles.Path & f...
11 years ago
Nothing New Since Your Last Visit
1280
Hits

Thread 14 of 25
Thread Starter  

Vitaliy
need help with VB+Databse
Hi!, I need help on which Dtabase to use for my App., Shortly,I am developing an app. that will run in the LAN evironment with max.5 workstations that will run !!Windows98!!. The problem is what can I use as a Database? SQL Servers are too expensive., I could use desktop database and implement 3-tier architecture that uses DCOM,but Windows98 is a problem.put Access databse file in a shared folder? What else could you suggest., I really NEED HELP!!!, , thanks,Vitaliy
11 years ago
2 replies. Last post:

RobZ
Look at MSDE - a Royalty free SQL Sserver engine that comes with VB6.0, MSDN or MS Office 2000 premium., If you have one of these, you can use the MSDE engine free of charge! ( it's basically a Full Fledged SQL Server without the GUI ), Search for MSDE on MSDN.com
11 years ago
Nothing New Since Your Last Visit
1522
Hits

Thread 13 of 25
Thread Starter  

Donnaa5dcp
simple code problem
making a word processor, one button is named"Open" button, this opens a text file. After adding the CommonDialog1, the code entered:, , Private Sub cmdOpen_Click(), CommonDialog1.ShowOpen, Text1.Text = CommonDialog1.FileName, End Sub, , is suppposed to open a .txt file. I had a text file to test, and the text becomes the path to my file, ie C:/Ccourse1/test.txt instead of the actual text held in the file, Please help ASAP
11 years ago
2 replies. Last post:

RobZ
The CommonDialog Control will return the NAME of the file you have selected, , , Open the file using the File SystemObject as Follows ( you have to have added a ref to the Windows Scripting Runtime - NB! ) , , set fs = CreateObject("Scripting.FileSystemObject"), Set ts = fso.OpenTextFile( FileName , For Appending, False) , 'get File's Text, MyTextBox.text = ts.readall, 'Close Text Stream, ts.closeWarning - This will read the entire file into memo...
11 years ago
Nothing New Since Your Last Visit
1465
Hits

Thread 12 of 25
Thread Starter  

rez1
calling C dll from VB6: parameter passing
Hi,, I am calling a C dll function from VB6. It's not showing any error when linking to the dll and the function is called properly. But when I print the parameter values inside the dll function, correct values are not found. , , the C function prototype is:, void Analyze_Data (char* goldFile, char* capturedFile, int tolerance);, , I am calling from VB as:, , Private Declare Function Analyze_Data _, Lib "U:\new-Viewer\Viewer\analysis1.dll" ( _, ByVal gold_file_name As String, _, ByVal capture_file_name As String, _, ByVal Tolerance As Long _, ), , Analyze_Data(gfile, capfile, tol), , When I print the values from the dll function, the first parameter is always emtpy, the second parameter is getting the value of the actual first parameter that is passed and third parameter is garbage., , Please let me know if anyone knows why the parameters are not passed properly.
11 years ago
1 Reply:

RobZ
{Too Long}
11 years ago
Nothing New Since Your Last Visit
3253
Hits

Thread 11 of 25
Thread Starter  

Trisaor
NEED STRINGS HELP!!!!!! PLZ
Say the user will input an equation and i want to replace the Xs with other numbers in a loop, and then find the value of the equation. I got it to work, but for the value it gives me the very first number, how do i do this?, tnx for ur help.
11 years ago
2 replies. Last post:

RobZ
Look at this methodology, it allows U to execute a line of code @ runtime, , http://www.thescarms.com/VBasic/Scripting.asp , Hope this helps
11 years ago
Nothing New Since Your Last Visit
1369
Hits

Thread 10 of 25
Thread Starter  

thomaslai
sending mail use VB
Hi all professionals,, , how to send mail using VB? As I have to send a mail in HTML format, so CDONTS is not suitable. And I have tried controlling Outlook, but every time I sent a mail, a alert window will appear inform me about safety and I have to wait 5 seconds unitl I can cancel it. How to avoid the such annoying window?
11 years ago
2 replies. Last post:

RobZ
Check out the component called ASPEMAIL ( by [URL=http://www.persits.com]www.persits.com[/URL] ), enables U to send HTML emails etc. Awesome Component ( no I don't work for them Big Grin! !)
11 years ago
Nothing New Since Your Last Visit
1256
Hits

Thread 9 of 25
Thread Starter  

donna lee
ASP Mail
Mailer.AddCC Session("ownerName"),Session("email"), , The credit card number and information is captured and sent to the Mailer.AddRecipient However, we want a copy of the order - without the credit card number and information - to be sent to the ownerName and email, , Mailer.BodyText = strMsgHeader & strMsgInfo & strMsgFooter, , Our strMsgInfo is captured from a series of vbscript commands.
11 years ago
Nothing New Since Your Last Visit
1049
Hits

Thread 8 of 25
Thread Starter  

kramernd
Unique Random Number
I am working with access (not one of the DB that I know very well). I am trying to generate a 16 digit unique random number as the key. Anyone have any suggestions.
11 years ago
2 replies. Last post:

solinox
Access also has an AutoNumber field type, if you are actually building your database design in Access. This will automatically generate a unique number for each new record, without any coding on your part. I don't have Access in front of me right now, but I believe it's a type Long.
11 years ago
Nothing New Since Your Last Visit
1644
Hits

Thread 7 of 25
Thread Starter  

wrBodine
Unexpected Error (713)
This error is occuring when a VB6 project is run, before the first line of execution:, , Unexpected Error (713), , The project runs fine on another PC. The project uses Crystal Reports, maybe that has something to do with it.... Any ideas? , , Thanks,, Ray
11 years ago
2 replies. Last post:

solinox
Have you tried using the Err collection in an error handling routine to get a more detailed description of the error? Or does the error come up before you can even get to an "On Error" statement?, , What version of Crystal Reports are you using and what kind of database are you accessing and how?
11 years ago
Nothing New Since Your Last Visit
4608
Hits

Thread 6 of 25
Thread Starter  

bryansgirlalways
develop a case based reasoning
hi,, , could someone tell me how to develop a case based reasoning using VB and wht are the things to be considered in order to develop it? Confused , , thanks Roll Eyes
11 years ago
1 Reply:

rcbasie
What the hell is a 'case based reasoning system'?!?!?!? Is this just a bit of logic that uses the select .... case statement?, , R Harvey
11 years ago
Nothing New Since Your Last Visit
1689
Hits

Thread 5 of 25
Thread Starter  

GaMing
error when run the vb program in diff. language of
I have made a vb program in Eng. Windows NT. , The program read 2 excel files and compare them than create a excel file to store the result. , , It works very well in Eng. Windows but i get an error when run it in Windows which language is Korea. The error like "The inputted character string is not valid or defined name." (error 1004), , Anybody can help me to solve the problem. , Thx
11 years ago
Nothing New Since Your Last Visit
1062
Hits

Thread 4 of 25
Thread Starter  

VB Experience Team
VB Experience site
Please visit our web site at : [URL=http://www.vbxp.cjb.net]www.vbxp.cjb.net[/URL], , Currently, one of the best european web sites for VB Developers., Please send us your suggestions and comments to : vb_xp@yahoo.com, , Best regards,, VB Experience Team, http://www.vbxp.cjb.net , vb_xp@yahoo.com
11 years ago
Nothing New Since Your Last Visit
834
Hits

Thread 3 of 25
Thread Starter  

Zapotec
VB/Crystal Report/Recordset problem
cr_Report.Database.SetDataSource rs_Report, , Using that line returns the entire contents of the query table instead of, the items in the query., , If I assign the recordset to an array the array contains ONLY the items I, requested but when I assign the same recordset to the crystal report it contains, ALL the items in the table., , Any help would be greatly appreciated., , Thanks,, , Mike
11 years ago
Nothing New Since Your Last Visit
1029
Hits

Thread 2 of 25
Thread Starter  

maxstam
Wait timer
I need to find a way to create a wait function that I can pass the number of seconds I want it to wait for and then have the sub that passed the parameter, continue running after the timer ended., , I tried pasting the code i've tried but this site wouldn't let me
11 years ago
2 replies. Last post:

maxstam
Thanks, going there now, Max
11 years ago
Nothing New Since Your Last Visit
1107
Hits

Thread 1 of 25
Thread Starter  

Hoosier
Excel using VBA
I was trying to activate multiple workbooks by using a list on the current workbook. Specifically, I have a worksheet with the following names:, aa, bb, cc, dd, There are Workbooks that are called "aa", "bb", "cc" and "dd". Is there any way to build a macro that would activate the workbooks allowing the flexibility to change the workbook names at any time. So change from "aa" to "abcdef" for example. , , Please help., , e_shahrani@hotmail.com
11 years ago
1 Reply:

rt
Hi, You might stand more chance of a reply if you repost your question onto the appropriate board., rt
11 years ago
Nothing New Since Your Last Visit
1178
Hits

New Thread
-
  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


1,472 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