Unable To Use ObjectListView?
Oct 2, 2010just downloaded ObjectListView. After adding the dll file when the objectListView is placed on my vb.net form it shows an error Type 'BrightIdeasSoftware.ObjectListView' is not defined.
View 6 Repliesjust downloaded ObjectListView. After adding the dll file when the objectListView is placed on my vb.net form it shows an error Type 'BrightIdeasSoftware.ObjectListView' is not defined.
View 6 RepliesI need something like ObjectListView and LGPL, BSD or some license that allow its uses in commercial applicatioTo use ObjectListView commercially, companies normally buy a license. A license to use ObjectListView commercially is 100 euros for small companies or 500 euros for medium sized companies. This license gives the company permission to use ObjectListView in any and all of its closed source applications. The license fee covers the current and all future versions -- there are no upgrade fees
View 1 RepliesI am trying to programmatically add in a ModelFilter to my ObjectListView that will look at two (or more) columns and filters on each separately. Currently, I think that ObjectListView only supports one filter, but I may be missing something in the code/documentation.
[Code]...
How do I use a ObjectListView to show all the images in a image-list ? In the home-site of ObjectListView they have shown how to do this in C# (I am not that good with c# and delegates). But I can't get it to work in VB.net.
View 1 RepliesI have added a freshly compiled ObjectListView.DLL to my VB.NET project and I've added a ObjectListView control to my form. But, thus far I have been unable to do anything with it except make it throw exception errors of various kinds. I know I'm not supposed to use it using the same syntax that ListView uses, but the documentation for this control is as well developed as MSDN's for ListView--which is to say vague to nonexistent. I can't use ListView because it gives me no control over row height and cell padding. Both need to be minimal, but with the defaults used by ListView, you could move in and and make a living between the entries. Too much space. I need things compact because the application I'm developing needs all the real estate it can get for other purposes.
View 3 RepliesI have a property which is an array of items but when I come to add an item to the array it says I must use the new keyword, but I can't use a new keyboard with a property.
(item is a custom class)
Private itemsvalue As item()
Public Property Items() As item()
Get
[Code].....
how I can add the xx item to the array of items.
Theres no error that is stroked with red but when i try draging a icon i just dont work ::(
heres the code:
Imports System.Runtime.InteropServices
Imports System.IO
Public Class Form1
Public rowz = 50
[code].....
I have a form that is first displayed as 425 x 66. When you press a button, the form expands to 425 x 398 and a message appears (a label prooperty) with the text: Processing Files. When the files are finished prosessing, a listbox appears and summarizes which records were added to the database.
The label begins as Not Visible. After I change the size of the form, I change the label property to Visible.
This used to work, but now, for some reason, the text simply doesn't appear.
I tried changing the lblproperty to Visible at startup but when I do this I get a black bar where my lable should appear.
I've migrated a VB6 Windows based system into VB.NET (version 2008) thru the use of wizard. I'm able to run the program and generate ralated reports at the development PC BUT when I installed it on a server, the system seems not runing at all (no report being generated) and without any error. I tried to install it at another 2 different servers and having the same result...no report being generated and without any error.When I installed it at a PC (NOT server), the system able to generate reports.
[Code]...
I am trying to add a Handler, but it do not work. what am I missing? I getting this error.
Dim EditingTextBox As New TextBox
Dim Save_Button As New Button
Dim Cancel_Button As New Button
Private Sub Labels_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
[code]....
I have a form with several listviews. 1 master with two columns and 10 other all with two columns. I have been able to do a drop from 1 to the others and among the others. I want to move the second column around also. I can't read the subite.
[Code]...
I'm passing some values to another site to get the values from it.below mentioned is the code which I used in VB.NET
Dim status As
String
Dim strHTML As String
Dim xml = xml.open("GET", "http://www.xyz.com", True)
xml.send()
[Code]...
I'm running a 32-bit vista home, and I'm trying to instal Visual Basic 6.0 Enterprise Edition, but I seem to be having problems.
View 1 RepliesI am developing a project that is dealing with CCTV camera made in china. I am provided by some DLLs from the company. Now i want to consume that dll into my application. I have tried default Visual studio's ADD REFERENCE features. then I have tried tlbimp.exe but it doesn't work.[URL]..I have search a lot about dll, some says "Check the dll header" and CLI Header. I opened this fine in notepad and I found only like "This will not work in DOS mode...". what to do next. Is there any way I can consume this file in .net.
I have already tried to add it as reference in Visual Studio 6.0 VB. even it says this is not a valis library.
Still dumpbin.exe is listing the function inside that dll.
I am confused about this scenario. Please guide me what to do with thi.
I am trying to create a Windows Forms control in VB.Net to wrap around a control in an old DLL I created in VC++ 6. I am trying to make a call to an API entry in my control:
Code:
<DllImport("myctrl.dll")> _
Protected Shared Function InitMyControl() As Boolean
End Function
However, when I add a call to InitMyControl to my control's code and try to load the form on the test project, the following error shows up:
Quote:
Unable to load DLL 'myctrl.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I have tried putting a copy of myctrl.dll into the Debug and Release folders of both the control library and the test project, but I continue to get the error. I even copied it to my WindowsSystem32 folder, but still no luck.
I have a program that I have written using 2005 and .Net Framework 2 SP2. I went ahead and created the snk file placed it in a shared folder on the same server that I will be running the app from. In my AssemblyInfo file I added point to where the snk file is located as follows.
View 7 RepliesI have a problem on sending sms which it only send only one letter to the receiver. For example, I have sent the word "Hello" and the receiver only receive "H". I am using the serial port to send the sms.[code]....
View 11 RepliesI have a Form class with a property defined as[code]...
View 4 RepliesI'm accessing a router using Webbrowser, to get some information from it.After logging into the main page, you click on a link which runs a script to display the info you want. I can do this OK in Firefox or Internet Explorer.In my VB program, having navigated successfully to the router's main page, I try to do this by using InvokeMember ("click") on the appropriate link element in the document and get this error in the script that runs:
"Unable to set the value of the property 'location': value is null or undefined".I don't know how to see the source code of this script, so any ideas on what the error may mean?When I hover over the link in Firefox, the status bar shows it as: javascript:MainFunction('./cgi-bin/v2x00.cgi?fid=168')
I was dabbling in pure Word VBA here and it occured to me that mixing the 'Set'-lessness of .NET with VBA might be confusing to programmers doing .NET Automation. Beyond that, the ambiguity example for Set here (near the bottom of the page) didn't seem to apply to the reason I had to correct the OPs code to include it. Further amusement came from reading some comments by one of the architects of VB here.
View 5 RepliesI have written an application that uses a DataGridView to display 740 rows, there are currently around 25 columns in my list. Have noticed in Win 7 64 bit that when I scroll the final row repeats, say 20 times, before it refreshes, its as if the display of my laptop cant keep up. Now this is a brand new Dell XPS i7 lappy with Radeon 4670 graphics so that should be fine.Also, the rows in the DGV seem to flicker a little, like it is constantly trying to refresh.My DGV works fine on Win XP.
View 1 RepliesI am trying to use a 3rd-party Interop assembly called SmartWIM.
I have added it as a reference and added an Import statement
Imports SmartWIMLib
I then initilalise it with
Dim objSmartWim As New SmartWIM
All pretty standard stuff, I've done this countless times with Interops. However, whenever I try and use any methods I get the following error [code]...
I face a problem with some strings They are coming from a database so no question why are like that the strings are like that:
"Some_text_here %0%,%1%,%2%"
"Some_text_here %2%, %1%, %3%"
"Some_text_here ,,,%2%,%1%,%2%"
"Some_text_here %0%"
"Some_text_here %0%%1%%2%"
What I want to take is an array like that
[0][1][3]
[2][1][3]
[ ][ ][ ][2][1][2]
[0]
etc.
My code can catch everything except the last one ("Some_text_here %0%%1%%2%")
CODE:
Dim intPos As Integer
Dim strParams() As String
Dim strParamsTrimmed() As String
[code].....
I want use stylesheet in vb
View 2 Repliesfor some reson stream reader is failing, i have made a simple program that creates opens and edits files but the open, save as is not working for some reson here is my code:
open:
Private Sub OpenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click
Dim ofd As New OpenFileDialog
Dim fl As String
ofd.ShowDialog()
[code]....
I am trying to check this app. and make sure only numbers are placed into the textbox, but my tryparse isn't working.
Private Sub btnConvertC_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnConvertC.Click
Dim intTemp As Integer 'holds the text input
If Integer.TryParse(txtTemp.Text, intTemp) Then
[code].....
I'm having some problems writing a sub. Below are some screen prints I made a on screen keyboard using all labels This app. is for a touch screen. The first pic is the code for all 40 labels using the If Then statement.(Screen print is for Label2 only). Second pic is the Sub I wrote so when you click on anyone of the labels, the labels text appears in the textbox with focus. As you can see the error I keep getting.
View 5 RepliesIs there a good example on using C# with vb.net 2008 or above. I am looking for the simplest example. A class library I would be able to write with C# and use from vb.net. Probably a .dll I would imagine.
Could someone recommend some search strings for this forum I can try? I am looking for the shortest simplest example.
I'm trying to add a reference to the LAME MP3 encoder in my VB.Net (3.5) App.The DLL I'm using (lame_enc.dll v3.98.2) was downloaded from here:[URL]When I try to add the DLL reference to my project, I get an error:"A reference to C:\Lame_Enc.dll could not be added. make sure this file is accessible and that it is a valid assembly or COM component" I would just assume this was a corrupt download/similar but...
The archive passed an integrity test in WinRAR I tried re-downloading it JIC Next thought - the DLL is b0rked but...I've tried the SDK tools "genasm"(3.5) and "TlbExp"(2.0) and both say it's not a valid DLL.Previously when I've added non-.Net DLLs, VS has created an INTEROP Class for me. I'd ideally like to achieve similar with this DLL.
I have created a visual basic class library named dataLibrary and have added it as a reference in a visual studio tools for application program in infopath 2007, and imported it.
Now when I try using a class defined in the library, I get the following error:"Unable to emit assembly: Referenced assembly 'dataLibrary' does not have a strong name"