I.T. Discussion Community!
-Collapse +Expand
VB Classic
Search VB Classic Group:

Advanced
-Collapse +Expand VB Classic Store

Prestwood eMagazine

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

   ► MB LobbyVisual Basic Classic Board   Print This    All Groups  

Visual Basic Classic Most Read Threads

  


25 Threads:


Thread 25 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
17 years ago
5 replies. Last post:

AuberriesRW
{Too Long!}
14 years ago
Nothing New Since Your Last Visit
12242
Hits

Thread 24 of 25
Thread Starter  

tom78787de
cobo box with adodc
Hello, i am working on a GUI in vb6., I need to connet a combo-box with an ado-data -control., The normal combo box that you can find in the "data list" component only accesses normal containers, not this special ado one., Do you know which component contains such a combo-control?, Thanks a lot, tomek hibner
18 years ago
Nothing New Since Your Last Visit
12122
Hits

Thread 23 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
17 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
9 years ago
Nothing New Since Your Last Visit
11130
Hits

Thread 22 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
Posted to MB Topic: VB Classic Other
17 years ago
Nothing New Since Your Last Visit
10644
Hits

Thread 21 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
17 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?
15 years ago
Nothing New Since Your Last Visit
9003
Hits

Thread 20 of 25
Thread Starter  

-Fruz-
Send file with winsock
I'm trying to send a file with winsock, but met some problems trying. Can you help me?, , This is my "send" code:, ' Here I read from the file, Dim FileData, Open FileName For Binary As #1, FileData = Input(LOF(1), 1), Close, , ' Here I trie to send the file, Dim Data, Dim i As Byte, For i = 0 To Int(Len(FileData) / 1000) + 1, SENDFILE.SendData Mid(FileData, ((i * 1000) + 1), 1000), DoEvents, Next i, Do you see what I'm trying to do here? I'm trying to send part after part of the file until I'we sent the whole thing., , This is my "get" code:, Dim Data, GETFILE.GetData Data, FileData = FileData & Data, Here I get the data and put it inside the FileData variable., , This problem really bugs me, because I only get to send half of the file (i think). What is the problem? Please help me. Thanks!
Posted to MB Topic: VB Classic Other
17 years ago
Nothing New Since Your Last Visit
8149
Hits

Thread 19 of 25
Thread Starter  

jenEcis
Help on DataEnvironment-VB 6
{Too Long!}
Posted to MB Topic: VB Classic Other
14 years ago
3 replies. Last post:

heera
{Too Long!}
13 years ago
Nothing New Since Your Last Visit
7903
Hits

Thread 18 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
15 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.
15 years ago
Nothing New Since Your Last Visit
7353
Hits

Thread 17 of 25
Thread Starter  

DW
Datagrid cannot initialize data bindings
I have a VB app that uses a datagrid to display a recordset from a SQL Server DB. It's a 3-tier app with the user IF calling a function in a dll that returns the recordset with the following code:, , Set DataGrid1.DataSource = PD.LoadGrid(1, sConnect, 0), , The app and dll have been loaded on the DB server and on a user's system that accesses the DB over the network. The dll is registered on both. The app runs fine on the user's system but when trying to run it directly on the server, I get a msgbox with "Cannot initialize data bindings" and Datagrid as the title. The MSDATGRD.OCX file is registered on both machines. This is a problem because many of their users will run the app from a Terminal Server session to the DB server. Any ideas why this is happening?
17 years ago
Nothing New Since Your Last Visit
6352
Hits

Thread 16 of 25
Thread Starter  

Chris Neal
Send text to a CGI Script
Hi, I want to be able to open my VB program and have it ask the Server for a Number and then the number be sent to the VB Program. This is all gonna happen over the Net of course., Could any of you VB Wizkids give me a hand with this subject PLZ., Eek!
Posted to MB Topic: VB Classic Database Tasks
18 years ago
Nothing New Since Your Last Visit
6115
Hits

Thread 15 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.
15 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.
15 years ago
Nothing New Since Your Last Visit
5665
Hits

Thread 14 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 Allen 678-717-8590 allenbh *at* alltel.net
Posted to MB Topic: VB Classic Other
11 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
11 years ago
Nothing New Since Your Last Visit
5296
Hits

Thread 13 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.
Posted to MB Topic: VB Classic Other
17 years ago
1 Reply:

RobZ
{Too Long!}
17 years ago
Nothing New Since Your Last Visit
5090
Hits

Thread 12 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
10 years ago
Nothing New Since Your Last Visit
4744
Hits

Thread 11 of 25
Thread Starter  

rajeshjay
password character in input box
Before closing a particular form, i am using an input box to enter the password, and validate authentication. but how do i use password characters like '*', for the data entered in the Input box., Thanks., the present code is ->, Private Sub Form_Unload(Cancel As Integer), , Screen.MousePointer = vbDefault, Dim pwd As String, pwd = InputBox("Please enter the Password"), If (pwd = "raj") Then, Cancel = 0, Else, Cancel = 1, MsgBox "Sorry you dont have the authority to close this", endif
Posted to MB Topic: VB Classic Database Tasks
17 years ago
1 Reply:

dhoyle
{Too Long!}
17 years ago
Nothing New Since Your Last Visit
4665
Hits

Thread 10 of 25
Thread Starter  

aurera
Need help with this message in VB6: BadImplements.
{Too Long!}
Posted to MB Topic: VB Classic Other
18 years ago
1 Reply:

Goutam Gupta
If the project is on SourceSafe the first checkout the project and the class to be modified and then go to project property and change the virsion compatibility to no compatibility and make dll then again change the virsion compatibility to binary compatibility and make dll. It should work.
18 years ago
Nothing New Since Your Last Visit
4351
Hits

Thread 9 of 25
Thread Starter  

Vikas Athavale
MshFlexGrid ....Display Totals at the change of a
I Am using MshFlexGrid to display various summary details, , I want solution for following, , 1. I can merger a particular Column but I want to merge 2 columns and display the data accordingly., , 2. Dispay totals, Say I am displaying Customerwise Account receivable. I want to display TOTALS at the change of Customer., , I FOUND THIS FORUM AS BEST FORUM FOR THE ACCURATE INFORMATION AND PROMPT RESPONSE.
18 years ago
4 replies. Last post:

vikaspa
Please help me..., , Send me code so as insert summary totals as the customerchanges in flexigrip, , Thanking u in advance..., , Vikas Athavale
17 years ago
Nothing New Since Your Last Visit
4188
Hits

Thread 8 of 25
Thread Starter  

Chucky
Center MDI child forms
Hi,, , I have a main MDI form and lots of MDI childs. On the load of my main MDI i make it maximize..., , From then on i want all the MDI child forms to load in the center on the main MDI form., , I would have thought that the StartUpPosistion property on the MDI child forms would do this, but when i try selecting a different option on this property i get the following error "Invalid Property Value"., , How else can i solve this problem., Thanks, Chucky...
Posted to MB Topic: VB Classic Other
18 years ago
5 replies. Last post:

cheddar
anytime you move a form you want to use the move method for the following reason., , form1.left = 100, 'form moves and a paint event is called, form1.top = 100, 'form moves and paint event is called, , as opposed to , form1.move 100, 100, 'form moves and paint event is called
18 years ago
Nothing New Since Your Last Visit
3842
Hits

Thread 7 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
11 years ago
2 replies. Last post:

bartj1
{Too Long!}
11 years ago
Nothing New Since Your Last Visit
3702
Hits

Thread 6 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
15 years ago
1 Reply:

wpantoja
{Too Long!}
15 years ago
Nothing New Since Your Last Visit
3600
Hits

Thread 5 of 25
Thread Starter  

wildbill57
Editing text boxes in PDF with VB !
{Too Long!}
11 years ago
Nothing New Since Your Last Visit
3582
Hits

Thread 4 of 25
Thread Starter  

revit
run a program from my form
i want to run a program written in c from my VB form , what command should i use? if it possible, i would like to run the program with arguments it receives from the form and display the output on the form., thanks in advance.
18 years ago
2 replies. Last post:

bprestwo
If it is an EXE use the VB SHELL command. If it is a standard DLL use the VB Declare command to make it available. If it is a COM DLL just reference it.
18 years ago
Nothing New Since Your Last Visit
3536
Hits

Thread 3 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
17 years ago
1 Reply:

Anonymous
help --- ian
8 years ago
Nothing New Since Your Last Visit
3494
Hits

Thread 2 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
16 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?
15 years ago
Nothing New Since Your Last Visit
3449
Hits

Thread 1 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
11 years ago
Nothing New Since Your Last Visit
3293
Hits

Follow PrestwoodBoards on: 


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