|
Thanks progload! It's working great
|
|
|
|
|
My application works fine on my computer, but when I try to run it on someone else computer I get the following error.
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in system.windows.forms.dll
Additional information: Class not registered
This error occurs at a line within the Windows Form Generated Code. My form contains an Adobe Control for ActiveX 1.3.
CType(Me.PDFViewer, System.ComponentModel.ISupportInitialize).EndInit()
Can someone point out how to fix this COMException? Or point me in the right direction to trouble shoot this error?
|
|
|
|
|
It looks like the COM Component is not registered (Your Adobe ActiveX Control)
You'll need to register it from a command line like: regsvr32 <ControlName>
|
|
|
|
|
Thanks...I just figured it out on my own
|
|
|
|
|
How to make a variable active in 2 forms within the same project?? how can i use a variable called intNumber in two forms? answer me pls!
|
|
|
|
|
You can't put a variable in two classes. You can share it via a third class, or pass it between the two. If you use a third class, you need to pass an instance of that class, or make it static.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
Hello, I am doing an address book and i want to read the first word of every line in a textfile. How can i loop in every line throgh vb
Adrian De Battista
|
|
|
|
|
|
Thanks Very Much My Friend!!!
|
|
|
|
|
How can I write code in Visual Basic to send data using SNMP over the network to a network manager
|
|
|
|
|
I haven't seen any pure vb snmp trap code.
Most folks use a commercial snmp activex control.
But, here's some places to start if you realy want to build your own.
Simple Network Management Protocol (SNMP) is a widely used protocol for monitoring the health and welfare of network equipment (eg. routers), computer equipment and even devices like UPSs. Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6.
http://net-snmp.sourceforge.net/
http://sourceforge.net/project/showfiles.php?group_id=12694
SNMP Packet Library
The SNMP Packet Library is a C++ library for encoding and decoding SNMP packets. Extremely easy to use. Create those useful SNMP applications without worrying about the underlying protocol details. Includes classes to support UDP tranmission and a Poller class with asynchronous callbacks
http://www.ncomtech.com/download.htm
http://www.ncomtech.com/software/PktLib/Nt/pl295.zip
http://www.ncomtech.com/software/PktLib/pktlibmanual.pdf
Jul 23, 2002 - Creating an SNMP Component
Ben Garcia sheds some light on the Simple Network Management Protocol (SNMP). First he provides a history of SNMP, then he dives right into its architecture. Finally, he shows how to build a COM component that communicates with SNMP-enabled devices.
http://www.15seconds.com/issue/020723.htm
Sep 4, 2002 - Creating an SNMP Component - Part 2
In part two of this intriguing article series, Ben Garcia shows how to build an updated and improved SNMP component in VC++ AND VB, and he briefly explains why limitations in VB make VC++ a better language for developing this type of application.
http://www.15seconds.com/issue/020904.htm
How to develop a SNMP extension agent DLL
By T.YogaRamanan
http://www.codeproject.com/internet/SNMP_Agent_DLL__Part1_.asp
How to install SNMP extension agent DLL
By T.YogaRamanan
http://www.codeproject.com/internet/SNMP_Agent_DLL__Part2_.asp
and
http://www.wtcs.org/snmp4tpc/links.htm
hope this helps you out.
|
|
|
|
|
Sorry Forgot one...
CSocketMaster & CSocketPlus Web Page
CSocketMaster class is a Winsock control substitute for Visual Basic that attempts to mimic it's behavior and interface to make it easy to implement. With CSocketPlus you can accomplish the same things CSocketMaster does plus you can create sockets at runtime.
http://www.geocities.com/anshoku/
|
|
|
|
|
I hope someone can help me with this strange error.
I created an install with a reference to the Excel 11 Object Library. Then I installed it on a test pc that has Excel 10 (2000) and the Excel 9 Object Library installed.
Now when I try to create a new instance of the object the error 'Error in loading Dll' is returned.
I have tried referencing the Excel 9, 10, and 11 Object Libraries to no avail. However when I do late binding it works fine.
Dim xlApp as Excel.Application<br />
<br />
set xlApp = New Excel.Application ' Error here
Dim xlApp as Object<br />
<br />
set xlApp = CreateObject("Excel.Application") ' Works
Yes, I am using an old VB6 project.
Any Ideas on this will be helpful. I have tried reinstalling Excel also.
Thanks,
Steve
|
|
|
|
|
I did something similar with Word and VB6.
If you want to early bind it, you have to bind to the earliest version possible i.e., Excel 9 Object.
Don't forget to copy and register the Excel 9 Dll to the user's PC (I don't quite remember which file it is).
|
|
|
|
|
How can I add another field onto a combo box?
Private Sub PopulateComboBox()
Dim i As Integer
For i = 0 To 4
ComboBox1.Items.Add(i)
Next i
End Sub
The result as above would be
0
1
2
3
I want something like this to be displayed
ID Username
0 User1
1 User2
2 User3
3 User4
|
|
|
|
|
How can I add another field onto a combo box?
Private Sub PopulateComboBox()
Dim i As Integer
For i = 0 To 4
ComboBox1.Items.Add(Cstr(i) & " user" & crst(i))
Next i
End Sub
The result as above would be
0 User1
1 User2
2 User3
3 User4
If you want two database fields just combine them in you SQL query.
"People who never make mistakes, never do anything."
My blog
http://toddsnotsoamazinglife.blogspot.com/
|
|
|
|
|
Hi,
I want to check what .wav file is currently playing in the system. For example if any message received in Yahoo messenger, it plays a sound file(if sound is enabled). I want to check or record the sound produced by the system. I could not get any idea how to detect this. If anyone knows help me.
Thanks in advance.
Suresh VS
|
|
|
|
|
Hi
Im trying to import text in hebrew from word and excel into a string variable.
The text I receive is not encoded correctly (LTR instead of RTL).
I cant change the files and I need to show this text in an XML file.
I need som kind of convertion function.
Please Help !!!
Alex
|
|
|
|
|
Hi Guys & Gals, I am a beginner and used these commands to insert user input from textbox to MS Access database. Whenever the submit button is clicked, the database Autonumber increases but the "Name" field is blank. Really need help guys. Thanks in advance.
Me.OleDbInsertCommand2.Parameters.Add(New System.Data.OleDb.OleDbParameter("Name", System.Data.OleDb.OleDbType.VarWChar, 50, "Name"))
Me.OleDbInsertCommand2.CommandText = "INSERT INTO Name (Name) VALUES ('" & InputName.Text & "')" <<<<<<<<< declaration of the INSERT command
Me.OleDbInsertCommand2.Connection = Me.OleDbConnection1
.
.
.
.
PrivateSub Submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Submit.Click
Try
OleDbConnection1.Open()
OleDbInsertCommand2.ExecuteNonQuery() <<<<<
|
|
|
|
|
Greetings,
I used different approach on data entry, I hope this helps, try this:
Dim conDBConnection As ADODB.Connection
Dim sDatabaseName As String
Set conDBConnection = New ADODB.Connection
sDatabaseName = "C:\Entry.mdb"
conDBConnection.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & sDatabaseName & ";Persist Security Info=False"
conDBConnection.Execute "INSERT INTO Name (Name) VALUES ('" & txtName.Text & "')"
conDBConnection.Close
Set conDBConnection = Nothing
|
|
|
|
|
How-to program DirectShow in Vb.net i have found some tutorials and also some samples on this site but they are all in C# or C/C++. Can anyone tell me from where i can get its tutorial in vb.net.
AliAmjad
|
|
|
|
|
|
I want to configure an environment where i can have a single .net server accessed by multiple developement system.
All the development system should be able to access server's GAC.
All the web project as well as window based projects should run on the server.
Can someone send me technical requirements for the server and if possiable some link to the design approach for the environment.
|
|
|
|
|
nitin_ion wrote:
All the development system should be able to access server's GAC.
All the web project as well as window based projects should run on the server.
The only way to do this is to have all your users remote controlling the one machine. I dunno what OS's allow multiple users logged in at once, but it sounds like an incredibly bad idea to me.
Christian Graus - Microsoft MVP - C++
|
|
|
|