guys what should I do?
I have a project with .ocx, I need to present it in our school,
but when I open my project in our school's pc even if the .ocx is in the same folder, it's not working,
Need some help, I don't want to remake my project without the ocx, I spend a lot of time making this project T_T
project not working in other computer
Page 1 of 19 Replies - 838 Views - Last Post: 17 October 2012 - 03:42 PM
Replies To: project not working in other computer
#2
Re: project not working in other computer
Posted 06 October 2012 - 06:58 AM
You Can Create Setup Of Your Project with the help Of Package and Deployment Wizard.The Package And Deployment Wizard can Contain all Files of Your Project including .OCX file.
#3
Re: project not working in other computer
Posted 06 October 2012 - 07:11 AM
I'll try your suggestion, thanks for the tip mister
#4
Re: project not working in other computer
Posted 06 October 2012 - 07:56 AM
any other suggestion?
#5
Re: project not working in other computer
Posted 07 October 2012 - 08:33 AM
what you need to do is to register the file.
i would recommand Install Creator, its a free, easy and safer than package&Deploy wizard.
when you make install file to your program it would automatically register any ocx,dll and any other kind of file needed to your program.
you could register it without making install file: press start->run and write
regsvr32.exe - filepath
filepath is the full path to the ocx or dll you want to register, example: C:\some folder\file.ocx
bare in mind this option may not always work and if the file is removed or placed in different location your program wont run.
i would recommand Install Creator, its a free, easy and safer than package&Deploy wizard.
when you make install file to your program it would automatically register any ocx,dll and any other kind of file needed to your program.
you could register it without making install file: press start->run and write
regsvr32.exe - filepath
filepath is the full path to the ocx or dll you want to register, example: C:\some folder\file.ocx
bare in mind this option may not always work and if the file is removed or placed in different location your program wont run.
#6
Re: project not working in other computer
Posted 09 October 2012 - 05:00 AM
I use PDW and its now working,
can you guys help me again,
with this
i keep getting "operation is not allowed when the object is open." error
thanks in advance!
can you guys help me again,
with this
Private Sub Label18_Click()
If rsevaluate.RecordCount > 0 Then
G8.Execute "Delete from Evaluate"
rsevaluate.Update
End If
With rsevaluate
If Check1.Value = 1 Then
.AddNew
.Fields(0) = Label22.Caption
.Fields(1) = Label32.Caption
.Fields(2) = Label42.Caption
.Update
End If
If Check2.Value = 1 Then
.AddNew
.Fields(0) = Label23.Caption
.Fields(1) = Label33.Caption
.Fields(3) = Label53.Caption
.Update
End If
If Check3.Value = 1 Then
.AddNew
.Fields(0) = Label24.Caption
.Fields(1) = Label34.Caption
.Fields(2) = Label44.Caption
.Update
End If
If Check4.Value = 1 Then
.AddNew
.Fields(0) = Label25.Caption
.Fields(1) = Label35.Caption
.Fields(2) = Label45.Caption
.Update
End If
If Check5.Value = 1 Then
.AddNew
.Fields(0) = Label26.Caption
.Fields(1) = Label36.Caption
.Fields(3) = Label56.Caption
.Update
End If
If Check6.Value = 1 Then
.AddNew
.Fields(0) = Label27.Caption
.Fields(1) = Label37.Caption
.Fields(2) = Label47.Caption
.Update
End If
If Check7.Value = 1 Then
.AddNew
.Fields(0) = Label28.Caption
.Fields(1) = Label38.Caption
.Fields(3) = Label48.Caption
.Update
End If
If Check8.Value = 1 Then
.AddNew
.Fields(0) = Label29.Caption
.Fields(1) = Label39.Caption
.Fields(2) = Label49.Caption
.Update
End If
If Check9.Value = 1 Then
.AddNew
.Fields(0) = Label30.Caption
.Fields(1) = Label40.Caption
.Fields(2) = Label50.Caption
.Update
End If
If Check10.Value = 1 Then
.AddNew
.Fields(0) = Label31.Caption
.Fields(1) = Label41.Caption
.Fields(2) = Label51.Caption
.Update
End If
End With
Dim rs As New ADODB.Recordset
Set DataReport2.DataSource = Nothing
Set rs = G8.Execute("SELECT Code, LecUnits, LabUnits, CompUnits, Description FROM Evaluate")
Set DataReport2.DataSource = rs
DataReport2.Show vbModal
End Sub
i keep getting "operation is not allowed when the object is open." error
thanks in advance!
#7
Re: project not working in other computer
Posted 09 October 2012 - 05:07 AM
I think it's the if's inside the With statement. Probably needs to be reversed (If <thing> Then
With
End With
End If)
With
End With
End If)
#8
Re: project not working in other computer
Posted 09 October 2012 - 05:22 AM
like this?
still getting the error
If Check10.Value = 1 Then
With rsevaluate
.AddNew
.Fields(0) = Label31.Caption
.Fields(1) = Label41.Caption
.Fields(2) = Label51.Caption
.Update
End With
End If
still getting the error
#9
Re: project not working in other computer
Posted 09 October 2012 - 11:54 PM
Perhaps if you highlighted which line causes you the error, then you might get a more specific answer.
#10
Re: project not working in other computer
Posted 17 October 2012 - 03:42 PM
It's a little hard to tell when you don't tell us where the error is.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote





|