Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




How To Register A Ocx Control If I Dont Have An Administration Previllege.


 
Hi,

  I developed a Applicaiton in VB6, Access is the database. I used the FarPoint Control version 7. I compiled the project and created the exe through Package and Deployment Wizard. I installed in a client machine. During the installation i recieve the error
 
Quote:Failure writing to the system regirstry. The registry may be corrupt or you may not have the required
permissions to write to the registry.

then if i contrinue after click the OK button for the above error the following error occurs next

Quote:Setup has encounered an error in the Registration Database.

and when i click OK , the following error occurs next

Quote:ODBC's SQLInstallDriverManager failed.

and when i click Ok then the following error occurs with the headin Setup Error 168

Quote:Setup has encountered a problem updating your system registry.

then the next error is

Quote:An error occured trying to update the Windows registration database.
 
when i click OK button , finally this error repeats for a very long time.

In this company all PC's has restrictions and only certain pervilleges. I think the administrator previlleges is need to register this control. Kindly suggest me is there any alternate way for this - to register controls. itried through regedit, but not suceeded.


I tried in another way, i used the Inno Setup Compiler and tried, still that too have problems but after the installation. But the problem occurs for the same control. fpspr70.ocx.

When i use InnoSetup and install and when i try to use the Form which has the FarPoint Control. the below is the error comes

Quote:Run-time error '339'
Component 'FPSPR70.ocx' or one of its dependencies not correctly registered: a file is missing or invalid.
kindly tell me to solve this.

Thankyou,
Chock.



Edited by - chs on 10/1/2005 4:24:11 AM




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Register A Ocx Control If I Dont Have An Administration Previllege.
Hi,

I developed a Applicaiton in VB6, Access is the database. I used the FarPoint Control version 7. I compiled the project and created the exe through Package and Deployment Wizard. I installed in a client machine. During the installation i recieve the error

Failure writing to the system regirstry. The registry may be corrupt or you may not have the required permissions to write to the registry.

then if i contrinue after click the OK button for the above error the following error occurs next

Setup has encounered an error in the Registration Database.
and when i click OK , the following error occurs next

Quote:ODBC's SQLInstallDriverManager failed.

and when i click Ok then the following error occurs with the headin Setup Error 168

Setup has encountered a problem updating your system registry.

then the next error is

An error occured trying to update the Windows registration database.

when i click OK button , finally this error repeats for a very long time.

In this company all PC's has restrictions and only certain pervilleges. I think the administrator previlleges is need to register this control. Kindly suggest me is there any alternate way for this - to register controls. itried through regedit, but not suceeded.

I tried in another way, i used the Inno Setup Compiler and tried, still that too have problems but after the installation. But the problem occurs for the same control. fpspr70.ocx.
When i use InnoSetup and install and when i try to use the Form which has the FarPoint Control. the below is the error comes

Quote:Run-time error '339'
Component 'FPSPR70.ocx' or one of its dependencies not correctly registered: a file is missing or invalid.

kindly tell me to solve this.

Thankyou,
Chock.

Dont Want To Register A Dll
Hi there,

I have an application which uses my own dll's but when I deploy the program I dont want register the dll's just place them in the program folder (not system) I have a few applications that use the dll and dont want to get unstuck with different dll versions in the future - any ideas?

I looked at Declare function but this only declares a procedure in the library and not the whole library. Is there any way of adding a referance with path at run time - or am i missing somthing here?

thanks

I Dont Knoe How To Register The Object In VB
Hii friends

i realy enjoyed urs nice mailsas i told u i m very new (just a beginner)for the VB
so i don't have much idea about VB Codes
so Ravi kindly FWD all the required steps for executing the given code
and Gurpreet thanx a lot for considering me as a friend
and yes kindly try it with speech recognition , i am also trying as well
regards
rani

Winsock Control - Remote Administration
Hello all again!

I was up late the other day, wondering of a way to contact my other computer downstairs and tell it to shut down. You know how lazy we peeps are, cant even be botherd to walk downstairs.

So I was wondering, if anyone knew of a way to use the Winsock Control to comunicate with a program running on my second computer. Using say, a port of 3539, probably wrong but i dont believe neither my or my other computer use that port.

We are on a constant connection, so I can easily send somthing to it without problem.

I have already written the code to start the winsock control and communicate, im just not sure of a way to send commands to it, which get activated with the code on it. Like say, there was the command, in the server program on my second computer, in the module, which was called Shutdown.
How would I send a message to that program to call Shutdown?

I appreciate any help, but please try to answer my main question, and not ask things which wont help. Like for my code which already communicates with the server. I will only do that privatly, not in a public forum.

Thanks,

Control Name... I Dont Know What It Is
whats the control in some programs that is like a toolbar but only has a close button on it with an "X" frequently seen on "panes" or other container like parts of the form that can be added or deleted

also, are there any "FRAME" controls that allow the form to be split up with a look like a frame in frontpage??? sort of like a border?

I Dont Know The Name For This Control
I cant find it under VisualBasic 6, can somebody help me?

Tab Control - I Just Dont Get It
The tab control supplied with Common Controls 6.0 is annoying. I set the amount of tabs i want, but like in the SSTab, how do you select the other tab to add controls? Is this done programmatically?

Thanks

I Dont Want My Control Resizable
I have a created an ActiveX control. When I resize, if keeps making my control bigger. How can I make it like the Timer where you cant change the size?

Thanks!!

Access Data Base Dont Work With Office Dont Installed.. =(
Hey guys!

I have an app that uses an access database.
Everything goes fine if the user have the office with the access installed.
But if someone try to use my app, in a computer that doesnt have the office installed, the file .mdb just cant be find by my app... My app return a message error telling me that the file was not found...But after that you install the access, if finds the file...

Why? =(

Theres a way to make the app works without the access installed?

Thanks for your time,

Elminster

WebCam Administration.
I want to make a program to view the Live footage of a cam, on a remote machine. bc when I am away I would like to be able to still sort things out on my cam as its recording the outside of my house so, What I need it to do is have live footage an be able to turn it on an off fully from the remote location this being where I am. I can't figure how to do this so I am asking some one to point me in the correct direction thx...

Needs soming like:

Server/Client.
Remote admin control (Being able to view/turn on or turm off the cam, )

I would be g8ful or all your help...

Exchange Administration
Are there any controls or modules available to administer Windows NT Exchange Server???

Remote Administration
Recently i used a Remote administration software.
EMCO Remote Desktop 1.0, a very nice program
Because so many reasons, 1 of them is it doesn't need a server program running, the client itself will copy the server program into the specified computer and run that in the specifief computer, amazing..!
It wondered me in so many ways.
i tried to make a program like that in vb6, but failed in so many things, that is....

1. I don't know to sendkeys CTRL+ALT+DEL
2. I don't know to capture screen with out taking into clipboard
3. i don't know to begin or end a task remotely.(because there is no server program
    at first time)
4. i don't know how to transfer mouse position and screen bitmap so fastly, i can work
    on a remote machine like a local machine, no difference.


Is all these are posible in vb or it possible only in VC++ ?

I posted this only because of my curiousness... ;)

Thank You for reading this..!

Faris

SQL Server 7.0 Administration
I know this is a VB forum - many of you guuyys use SQL.

My one log file has become so big it has filled up the whole disk! The software does not allow me to delete the logfile - says it cannot delete a primary file.

Any advice pse?

Thanks

I Dont Understand How Easy Counter Is? Dont Advertisers Know?
i was wondering how advertising works? at first i thought i need to get one of those counters and put it on my site but now im not so sure. it seems pretty easy to just make a program that goes to ur site all day so how would the advertisers know if it was a real person?

Database Administration Application
I need some assistance creating a Database Admin/Editing application.

The application must be able to edit multiple database tables, but only one at a time based on user input. I was thinking of implementing a drop-down selection box for them to choose which table to work with.

The Database viewing component will be a DB grid control.

I am open to any ideas and would appreciate all input.

NEED HELP:Internet Explorer Administration Kit
Using a Browse Control in a VB front end.
in the install program it was found that the front end was dependant on the user having IE4 or higher due to this browse control.
looking to use "Internet Explorer Administration Kit" to generate an install program to install the parts of IE4 i need (dll's & ???).
Got the IEAK kit and dont know what files i need to include.

has anyone had any experience of this, and if so what do i do?

Data Control Dont Recognize Database???
In my little project which have turned out to be something else what I intended to do when I started I have created an access database with tables,relations and all that.
Now I added a data control (I think that is what its called) to the form so I can pull the data from the db. Now it screams that it dont recognize the database, after some swearing I finally realized that my created DB is access 2000 and the data control don't know anything later than access 97. Can I somehow get the data control to understand access 2000 through code or do I miss something obvious here?
TIA!

Remote Administration Tool. Ideas!!
Hi Guys,
I am currently administering a network but now have to develop a tool to remotely view all the process on the server and stop and start them as necessary. I am wondering what I have to do for this. I have full admin access over the whole network. What topics do I have to learn, any areas in particular I should concentrate on, and any other ideas that I should include in the project??

Thanks for your help
JK

Register Control?
Hi!

I would like to register some controls on my PC. mschrt20.ocx and MSFlxGrd.ocx. I want to use them in UserForm

I have registered them using regsvr32. After executing this command it displayed that the succesfull registration was done.

After registration using additional control in toolbox I select these control, but trying to place them to UserForm the program still displaying "not properly registered" error message.

Please help.

Boris

Register Control
I need to know a way that I can have my user register my commercial controls.

I could use the registry or an ini file, but the problem would be on the computer of a user that uses their program. I'm going to have msgbox popup saying "This control is not registered." everytime it is initialized, except for after they register.

Is there a way I can store inside the .ocx whether or not it's registered, like in some kind of resource file that's part of the .ocx?

Or does anyone have a better idea?

How Do I Register A Control?
I am sure you are aware of the 'Microsoft form 2' control, for some reason my VB does not have it ?, I do have the DLL for the control on another machine, how do i go about setting it up???

Register Control
when i click on custom controls in vb4 I get the error message....

Object server not correctly Registered.

I can click on OK about 15 times and it will go away and i think this is causing me trouble making dist disk.

How can i find out which controls are not registered?

how do i go about registering them?

if this is a command..what is it and where do i put the command?

I am running VB4 in windows ME
850 mhz......256meg ram

thanks for any help

Register Control
I need register the control crystl32.ocx, but when i try with command
REGSVR32 c:/windows/system/crystl32.ocx
I can not it,
How I can do it ?

How To Register Control
I want to know how can i register controls like activex or other.
I m very new to this topic registering controls.

How To Register .OCX Control?
    I want to register one .ocx file of the Crystal Report. I took this file from another PC to my PC and then Registerd it with REGSVR32, but it is not registered.
    So plz help me how to register this crstl32.ocx file in my vb application.

SOS On The Picture1.picture I Dont Know How To End It And I Dont Know What Is Wrong
Dim path2 As String
Dim i As Long


Private Sub File1_Click()
Picture1.Picture = LoadPicture(File1.path & File1.List(File1.ListIndex))
End Sub

Private Sub Form_Load()
path2 = "C:Program FilesAmerica Online 7.0bdownloadRamah LTI"
File1.path = path2
End Sub



Private Sub Picture1_Click()
Picture1.Picture =
End Sub

Private Sub Timer1_Timer()
i = i + 1
If i = File1.ListCount Then i = 0
If condition Then
i = 0
End If
End Sub




(I dont know whats wrong im not sure what to put iun the "picture1.picture=" or what the load picture for the timer should be id really appreciate the help thanx..im making a screen saver proj for yr book this hsould be pretty easy im just not very good lol

How Do I Register A Hot-key To A Certain Form Or Control
im a noob (as u probably can guess) and i want to know how can i register a chosen hot-key to a form (to bring it into focus) or control

thanks for any help..

i also posted a question in the general section of the forum (because im a noob i dont know wht each section is used for) i want to know how to get rid of the X at the top of the title-bar (which closes the program) but NOT get rid of the Icon on the left side of the title-bar, because if i set control-box to false then it gets rid of the Icon and X

thanks for help on this matter too

How To Register And Run ActiveX Control?
Hello there,

I have made one ActiveX control and made ocx by compiling it.

Now, i want to distribute it to a client on a cd.

I will be embedding the ActiveX in a HTML page, so that client can see it.

It is working fine on my machine as i have registered the ocx on my machine and i know the class id.

However, when client registers the ocx how will he get class id?
(class id will change after client registers the ocx on his machine)

Pl. help....

Abhay Bakshi

How To Register A Control In Run Time
How to register a control in run time

I have use

Shell "regsvr32 /s C:TemporalNetExampMSFLXGRD.OCX"

But and error occur in other machine (win2000) with no administrator
section.

Hor To Register The MS-comm Control ?
hi

in my application i have class module. in that i have created ont object to MScomm control. here if we include the mscomm control we can't accees it from the class, so for that i have imported mscomm references from the project refrences. so when i load the VB its working fine...but with out VB the application is not working at all. so how can register the mscomm to get the reference in the class file.

this is an urgent requirement..please help me.

thanks



thanks
---------------------------------------------
Srinivas.

How To Register Activex Control Using EVB And EVC
Hi there

I wrote an activeX control using eVC. However, I'm unable to use it in
eVB or eVC ( a different project using eVC), the reason was the activex
component written was not registered.

I did every steps mentioned in "To create a design mode control to
correspond with an existing Windows CE–based run-time control " from
MSND.

Please help.


Thanks in advance.

Help - Can't Register An ActiveX Control
Hi - I need some help. I created an app in Access97. Found a new coustomer and went to instal it at his site. My Common dialog control was empty. His version of Access listed Common Dialog Control, but it was nto registered. I tried to register comdlg16.ocx and received the message "Unable to register control. You must use Add/Delete utility". Anybody want to help out a poor little fella? Thanks in advance

How To Register Activex Control In VB/VC++
hi

how to register activex control in VB/VC++.

i am waiting for u r reply.

thanx in advance.


bye

Mahesh

RATs (Remote Administration Tools) I.e. Controlling A PC Over Internet.
I am making a RAT and I was thinking of what sort of functions it should be able to do.
Can anyone give me some ideas of the sort of things i should put in it?

I Need A Solution For LAN Network Administration... How To Create An Unattended Concurren
I need a solution for LAN network administration...
How to create an unattended concurrent parallel account in WINDOWS XP HOME EDITION
IT WIN XP PRO it is easy but not in XP HOME, is there any way to solve this problem?

MFC ActiveX Control Wont Register
This is very strange. I'm developing a custom ActiveX control using VC++ v6.0, to be used in a Visual Basic 6.0 app. I've got the first part of it done, and I wanted to test it's basic funcitons. It runs just peachy in the ActiveX test app in VC++. I can see the '.ocx' file in Project/References, I can refer to it, and apparently load it, but no icon appears in the Toolbox, and I can't seem to figure out how to place it on my form.

Where Can I Register A License For Winsock Control?
Where can i register a license for winsock control?

I have reinstalled a windows system. And now i cant use the
winsock control anymore. Its there. But i need a lincense for it.
Real strange, why could i used before. And now i cant use it.
Men.. oh men.. Windows is strange.

Cannot Load( Or Register) Custom Control: 'comctl32.ocx'
Hi

While running exe of my application I come across following error
"Cannot load( or register) custom control: 'comctl32.ocx'"

I registered comctl32.ocx file with regsvr32 again, but it does not help.
But after opening VB Code and running application, it works fine.

Please help
Thanks in advance

Regards,
Abhijeet

How To Down Load The OCX Control From The Net And Register Then On To The Client Machine.
Hi Friends,

I have a problem with The Ocx Control if you can help me out
I Have a control in my Webserver I Have to Down load the that particular Control into the Client machine,
pl suggest how shall I proceed with the code. One more thing I have created a System DSN in my server
but whwn I open the particular applicaion in the Client its says that No dsn found, is it necessary to create DSN
in the Local machine aslo if Yes How shall i Automatically create the DSN from my webserver
as soon as i down laod the Control.
Do pl Help me out this is vert curtial for me.

Thanks you all in advance.

Stock Control VB Program With Cash Register Input
Dear All,

I have a Supermarket (shop) with 5 cash registers of model (Samsung SAM45).
I need to create a VB program that does Inventory control for the shop by
getting input from Cash Registers everytime a transaction is processed and
subtracting items purchased from inventory stock.

My main problem is how do I get the VB program on desktop PC to get input
from cash registers.
Can someone please help.

Thanks,
Farai

How To Detect A ActiveX OCX Registered Or Not Yet? How To Register And Un-register During
How to detect a ActiveX OCX registered or not yet? how to register and un-register during run-time?

I want to detect a OCX first, if not registered, register it, and un-register when program exit. if registered, just use it.

Can I do it like these? Thank you.

Please Dont Answer If You Dont Know
can anybody answer how can i close the msn messenger while executing my application?
Thanks

I Dont Know???
in this code what does stand for???

-0.75 * y

-x * 1.5 * -1


Private Sub Timer1_Timer()

Dim x As Integer
Dim y As Integer

Randomize
x = 45
y = 45
imgPuck.Left = imgPuck.Left + x
imgPuck.Top = imgPuck.Top + y
'Checks if the puck has touched bottom of rink'
If ((imgPuck.Top + imgPuck.Height) >= 5055) Then
y = -0.75 * y
imgPuck.Top = 840
End If
'Checks if the puck has touched left side of rink'
If ((imgPuck.Left) <= 0) Then
x = -0.75 * x
imgPuck.Left = 0

End If
'Checks if the puck has touched right side of rink'
If ((imgPuck.Left + imgPuck.Width) >= 8050) Then
x = -0.75 * x
imgPuck.Left = 1080

End If
'Checks if the puck has touched top of rink'
If ((imgPuck.Top) <= 0) Then
y = -0.75 * y
imgPuck.Top = 5055

End If
'Checks if toronto maple leaf paddle hits the puck'
If (imgPuck.Top + imgPuck.Height) > imgTorontoPaddle.Top And (imgPuck.Left + imgPuck.Width) > imgTorontoPaddle.Left And imgPuck.Left + imgPuck.Width / 2 < (imgTorontoPaddle.Left + imgTorontoPaddle.Width / 2) And imgPuck.Top <= imgTorontoPaddle.Top + imgTorontoPaddle.Height Then
y = y * 1.5 * -1
x = x * 1.5 * -1
imgPuck.Top = imgTorontoPaddle.Top - imgPuck.Height - 1


End If
If (imgPuck.Top + imgPuck.Height) > imgTorontoPaddle.Top And imgPuck.Left < (imgTorontoPaddle.Left + imgTorontoPaddle.Width) And imgPuck.Left + imgPuck.Width / 2 > (imgTorontoPaddle.Left + imgTorontoPaddle.Width / 2) And imgPuck.Top <= imgTorontoPaddle.Top + imgTorontoPaddle.Height Then
y = y * 1.5 * -1
x = x * 1.5 * -1
imgPuck.Top = imgTorontoPaddle.Top - imgPuck.Height - 1


End If
If imgTorontoPaddle.Left + imgTorontoPaddle.Width = imgPuck.Left Then
x = x * 1.5 * -1

End If
'Checks if detroit red wings paddle hits the puck'
If imgPuck.Top > (imgDetroitPaddle.Top + imgDetroitPaddle.Height) And (imgPuck.Left + imgPuck.Width) > imgDetroitPaddle.Left And imgPuck.Left + imgPuck.Width / 2 < (imgDetroitPaddle.Left + imgDetroitPaddle.Width / 2) And imgPuck.Top <= imgDetroitPaddle.Top + imgDetroitPaddle.Height Then
y = y * 1.5 * -1
x = x * 1.5 * -1
imgPuck.Top = (imgDetroitPaddle.Top + imgPuck.Height) - 1



End If
If imgPuck.Top > imgDetroitPaddle.Top And imgPuck.Left < (imgDetroitPaddle.Left + imgDetroitPaddle.Width) And imgPuck.Left + imgPuck.Width / 2 > (imgDetroitPaddle.Left + imgDetroitPaddle.Width / 2) And imgPuck.Top <= imgDetroitPaddle.Top + imgDetroitPaddle.Height Then
y = y * 1.5 * -1
x = x * 1.5 * -1
imgPuck.Top = (imgDetroitPaddle.Top + imgPuck.Height) - 1



End If

I Dont Want That DIV! Msg!!
Hi there!! its me again

you missed me?, I have another interesting (and of course easy) question about excel, I have a formula on a cell that divides value A by Value B, somethimes the value B have a value uper than zero, somethimes its zero, the quesion is how can I do (in preference not with macro) in order to when value B its zero appear in the cell where I have the formula other value but not the classic DIV! value...

thanks in advance, and also sorry for my bad english,

I Just Dont Get It....please Help
why doesnt this code work ??

visual basic code:Private Sub Command2_Click()
Dim aa As Integer
aa = 1
Dim ad(aa) As String
End Sub



iam in a situation where i have to declare an array that has a size based on a variable....so if the variable value is 1 then the array declared will be of size 1 if the variable value is 2 then the array declared will be of size 2 and so on.....how would i go about achieving this task....any help will be greatly appreciated

Please Help As I Dont Know How
hello all
i have been looking for a solution for days now, i dont know how to do some thing in excel.
at the moment i have a worksheet with about 30 columbs and 90 rows
i use a listbox and command button to select a certain row which is then transfered to another worksheet.
can i get user to input a number which will then look at worksheet and pick the row that matches the input data and then transfer to diff worksheet
hope this is clear
as i havnt got a clue how to do it
cheers
Doug uk
ps vba

Help, Im New And Dont Know How To....
Ok, im in a Intro to VB class and my teacher gave me this problem to do after we created a program to flash text in a label. Here is the original program

Private Sub cmdFlashTheName_Click()
tmrFlash.Enabled = True
End Sub

Private Sub cmdStop_Click()
End
End Sub

Private Sub Command1_Click()
If tmrFlash.Interval > 50 Then
tmrFlash.Interval = tmrFlash.Interval - 50
End If
End Sub

Private Sub tmrFlash_Timer()
Static Flashstate As Integer
If Flashstate = 0 Then
Flashstate = 1
lblMyName.Visible = False
Else
lblMyName.Visible = True
Flashstate = 0
End If
End Sub

Now our teacher wants us to add a button to slow the interval and I came up with this

Private Sub cmdBlinkSlower_Click()
If tmrFlash.Interval > 50 Then
tmrFlash.Interval = tmrFlash.Interval + 50
End If
End Sub

But it doesnt work. What happens is when you click the faster button, the slower one wont do anything and vice versa. Can someone please help me ive been stuck on this for hours and im still new to VB so please dont flame me. Thanks.

Dont Get This:
i read this code:


Code:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Const SW_SHOWNORMAL = 1
Private Sub Form_Load()
ShellExecute Me.hwnd, vbNullString, "mailto:KPDTeam@Allapi.net", vbNullString, "C:", SW_SHOWNORMAL
End Sub

i understand all this code but wot bugs me is this part:


Code:
ShellExecute Me.hwnd

what does Me.hwnd mean?

Dont Know What To Do?
I am working on a small project that requires user accounts. I have been hearing about using a hash file or creating one that way when a user saves his/her password the database will not display the actual password he/she enters in.

Right now I am using Access and I have two tables one for the admins and one for users. The fields are UserName and Password. I have the login form working fine right now. But, I wanted to do this with my program: At the first log-in notify the user that he/she must change there password. Then after they save it to the database they can continue using that as there new password.

I don't know much about hash files or if they even work with Access to hide the actual password? Any help would be greatly appreciated.

Copyright © 2005-08 www.BigResource.com, All rights reserved