|
No this is VB.NET 2005 I m using VB6 component.
|
|
|
|
|
Go to your setup project and Right click -->View--> FileSystem-->And in your application Directory right click and -->Add-->File and go and locate MSChrt20.OCX and after that you can compile.
Hope this Helps
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Ya I added. Now few systems are execute my package properly but some of systems it is not working. Previous error coming.
|
|
|
|
|
Make sure that in the Systems that are not working , go to Solution explorer and make sure that the problem project have reference of that ocx file.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
This means that the OCX requires other file(s) to operate that are not included in your deployment. Some of the old MS OCX file assume you have the entire office suit installed on every client and therefore do not encapsulate all their functionality inside themselves.
There used to be a tool called dependency walker[^] that was useful in identifying additional resources for deployment. I have not needed this in years so I have no opinion on its relevance.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Your project requires the MSCHART.ocx and MSCHRT20.ocx because you uses these conponent in your project.
And at the time of setup building these files are not found.
If you can think then I Can.
|
|
|
|
|
I was added Mschart.ocx and MSchrt20.ocx.
and I tried Mschart.dll and MSchrt20.dll (using converter).
But still error is coming.
|
|
|
|
|
You should register those assembly or dll.
If you can think then I Can.
|
|
|
|
|
I done using regsvr32 MSchrt20.ocx
Any other ways to register?
|
|
|
|
|
i don't know whether this can be done using visual basic 2005 express edition...liking to microsof Access as the database...
i want to add the item brought by customer in to my data grid view,one item per one item..the at the end,add up the total price for those items brought by the customer..
my problem is i don't know how to add stuff into that data grid view n how to calculate it...
i hope tat u all can help me..i really need your help...Thanks a lot...
|
|
|
|
|
If you have the grid bound to a datasource, it's just a matter of going through the rows in the table that you boud the grid to and adding up those values.
|
|
|
|
|
How to close a parent form before loading a child form
thanks
|
|
|
|
|
You can't if you close the parent form the child form will close as well.
|
|
|
|
|
Unless you change the "Shutdown Mode" in the project's properties
If everything was not true, would it be not true that everything is not true? So by saying everything is not true, you are automatically denying that everything is not true. Im so confused...
|
|
|
|
|
You could try setting Visibile to false before showing the Child form.
|
|
|
|
|
or Form1.Hide?
------------------------------------
"When Belly Full, Chin Hit Chest"
Confucius 502BC
|
|
|
|
|
This also depends if the parent form is the main form of the application, if this is the case then your design is probably wrong. If it is not either user .Hide() or move the child form opening to the parents parent.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hey, not too sure this is the right Message Board for this...but here goes:
I want a macro to automatically open an email as HTML format rather than rich text. I have my send emails defaulted to HTML, yet when I run this macro it comes up as rich text. Any help would be appreciated.
Dim objAppl As Outlook.Application
Dim objNS As Outlook.NameSpace
Dim objContact As Outlook.ContactItem
Dim objNewmail As MailItem
Dim objDrafts As MAPIFolder
Dim objVorlage As MailItem
On Error Resume Next
Set objAppl = CreateObject("Outlook.Application")
Set objNS = objAppl.GetNamespace("MAPI")
Set objDrafts = objNS.GetDefaultFolder(olFolderDrafts)
'Checking all contacts in standard conta
' cts folder
For Each objContact In objNS.GetDefaultFolder(olFolderContacts).Items.Restrict("[MessageClass] = 'IPM.Contact'")
'checking birthday of each contact
If (Day(objContact.Birthday) = Day(Date)) And (Month(objContact.Birthday) = Month(Date)) Then
'creating new mail
Set objNewmail = Application.CreateItem(olMailItem)
With objNewmail.....
My new mail comes out rich text always, is there coded way so that it opens as html?
|
|
|
|
|
how to apply a range validation to a textbox in a datagrid? pl advise!
|
|
|
|
|
what have you tried so far?
|
|
|
|
|
Hi Experts,
I would like to capture Harddisk and processor serial No. apply some algorithm over it and generate a new encrypted ID. Further I like to embed this ID to the installed exe. So that it check everytime the same hardware when it run.
Can anyone tell this by any example.
I am using VS2005 and my project is on Vb.Net.
Thanks in advance.
Jay Khatri
|
|
|
|
|
you could use WMI for both, or for example, this get Physical HDD serial number without WMI[^] for the disk, serial number is likely out there somewhere.
Similarly, encryption code is easy to find - if you look here on CP you'll find most of what you need including building keys, look for articles by Jeffrey Walton for-instance
We dont in general supply code to people - you have to do the research/grunt work yourself - once you have difficulties with a particular piece of code you can ask back here.
'g'
|
|
|
|
|
obtaining hard disk serial No. and processor will be done there. I was having the code you had suggested. My issue is how will I embed the encrypted code in exe at install time so that any person who copy the exe will not be able to run on his pc and even if someone extract exe from my setup will also fail to do so.
I would like to have your comments upon it.
Thanks
Jay
|
|
|
|
|
Yup, well, that's the hard part - there are a number of options ... basically as pointed out in Tamper Aware and Self Healing Code[^] you can store them in the exe itself as a binary resource - here's one technique Adding and extracting binary resources[^]
You could also use hidden registry keys, files .. I would seperately encrypt the resource data/registry key/file anyway ..
Another place to store your product key is on a 'USB Dongle' or such, so the Dongle has to be present etc to start the software - SafeNet and UniKey market such products (no Im not affiliated with either of them) - these offer benefits that they offer some level of encryption themselves, negating the seperate encryption/hiding of the data required to check a product key
Eventually it all comes down to the same, someone with enough time and motivation will crack your software.
|
|
|
|
|
Yes exactly Hardware lock is a gud option but I will not be able to select due to company's policy, cracking exe is also possible, if someone know assembly lang. Even I had cracked Xara 3D for educational purpose. It was as easy as to change je to jre.
So will it be better to enter an encrypted code separately. I like to encrypt my software as much as possible. Further I would like to make my exe tamper aware and self die.
Thanks for you prompt reply.
Jay
|
|
|
|