Changing An Existing Component?
Jun 3, 2009
I have a large project which consists of about 60 modules. It contains a lot of DataGridView components.
Recently I implemented cut-copy-paste functionality to one of the DataGridViews.
What is the best way to add same functionalities to all the other DataGridViews .
P.S. I don't want to create a new component which inherits DataGridView and re-define all the DataGridViews.
View 4 Replies
ADVERTISEMENT
Oct 12, 2009
I've tried to implement directory listing using the Webbrowser component, I dont need much, just to display some directories, be hable to click them and then be hable to see its contents and be hable to see the images and files inside. the problem is, the default behavior of the webbrowser component is, any directory link you try to click. it will inmediately make either IEXPLORER or MS Explorer to run (in a new window) and open the directory. I just want the webbrowser component to let navigate freely on directories. What can I do to implement this? Just to Clarify: I just want webbrowser to open the directories and files IN THE SAME WINDOW and to not run the MSexplorer like it does by default.
View 4 Replies
Aug 5, 2010
I have a purely XML database. It's stored as XML, there is no other database file. I did this by first creating a dataset in VB, then adding tables and relationships. I load the database by calling DataSet.ReadXml(FilePath), and save the database by calling DataSet.WriteXml(FilePath).
Now I need to make schema changes, but need to preserve existing data. How might I go about doing this? As soon as I load the database I loose all data if I change the schema in the dataset designer.
I have searched for changing database schema, but everything I find deals with real databases, not XML only ones, and the info doesn't apply because they are using db connections and then running sql against it and AFAIK XML databases have no way to "connect".
View 5 Replies
Aug 2, 2011
I have an Excel template that contains numerous pre-defined charts and a program that opens this template and collects data used to populate the charts. This works great but I now want to adjust the series length so that the charts only used the data collected (not a range of 32000). I'm trying to iterate through the charts and determine the range for each series of each chart but not having much luck. The snippet below allows me to see the xvalues but does not return any information as to where this data is located. Does anyone know how to extract the range for each series in a chart?
[Code]...
View 1 Replies
Mar 16, 2009
I would like to add a .dll into my existing vb.net application. When i was inserting it through Project -> Add References, it showed an error msg: "This is not a valid assembly or COM component." What is my problem?
View 2 Replies
Mar 1, 2010
I need to create unit testing project for my current website. The currentw ebsite si written in VB. All unit testing examples are using interface to create mock object. My current VB class does not implment any interface. Can I add interface and implement it to my current class and functions without affecting or changing codes to any pages in my website that call the functions? For examples my current class is like:
[Code]...
View 2 Replies
Dec 5, 2011
make objects from the ToolBox using code instead of changing existing objects invisible then visible later?
View 7 Replies
Jul 28, 2009
just wondering if it is possible to add a method to all forms in my project without having to do it on one form and Inherit all my other forms from that one
View 3 Replies
Feb 3, 2011
I am converting an old Vb6 solution to .net 2.0 in vs2010. I've been working in C# for about 3 years now and .net for 5. I don't recall having this problem in C#, but if I want initialize a readonly collection of DerivedControlFoo Is there a clean way to do it besides creating a sub to do it all off somewhere else? I'd love to be able to do it at the class level at the declaration for readability and simplicity.
View 1 Replies
Mar 1, 2010
Create a DLL component for database operation and use created component in another project. Required methods, events and properties
a. Connect
b. Add
c. Delete
d. Save
e. Record navigation (first, next, previous, last)
f. Properties for all database fields
g. Events for validation of database fields.
View 1 Replies
Jan 8, 2010
I've created a component whose name I'd like to be able to change while editing in the component tray. I've added a Designer action for a name property, but now I'm stuck.
Looking at the property grid, I can see that the name property is parenthesised, indicating that it's not a regular property.
View 1 Replies
Nov 11, 2010
I need to make a program in vb that takes a 1 page existing pdf that i specify and inserts that into another existing pdf that i specify.
View 4 Replies
Sep 21, 2010
I'm searching for a way to change the font size of selected text in a RichTextBox (rtf) having different font families (e.g. Arial and MS SansSerif) and font styles (underline, bold...) using the FontDialog, but without changing the families and styles. The following code resets all the font attributes, which is not what I want:
[Code]...
View 5 Replies
Aug 5, 2011
I have a workbook (Workbook1) that runs through some steps using visual basic, which ends up opening another workbook Workbook2). Once Workbook 2 is opened, I need to copy a section of data from it, into Workbook1 int a specific worksheet. I was able to do this by recording a macro, but the challange is, the name of Workbook 1, and Workbook 2, will vary by User. When I created the macro it uses the files as they are currently named. The section of code is below.
[Code]...
View 1 Replies
Jan 15, 2010
I'm trying to use a registered COM component in my ASP.Net web application. The application is written in VB.Net. I've added a reference to the Com component using the IDE.
Here's the
Try
Dim physicalToken As New PhysicalDevices2.PhysicalToken
Dim physicalTokens As New PhysicalDevices2.PhysicalTokens
[code]....
View 2 Replies
Apr 10, 2009
how to add FLV payer component in VB.Net..cz windows Media Player does't play the FLV player...
View 1 Replies
Apr 10, 2009
Its mine first post in this forum..I want to know that how to add FLV payer component in VB.Net..cz windows Media Player does't play the FLV player.
View 7 Replies
Sep 19, 2010
i got a error while using my app on other System class not registered i search for the solution and this just to register the ocx component i registered the component by using setup factory its working fine on XP but in Window$ 7 i got the same error what is the best way to register the component
View 4 Replies
May 20, 2012
Is there a good web browser component for VB.NET that has all the features of the regular one? This includes printing and progress bar support. I've tried WebKit.NET, but it didn't have progress bar support. I also tried xlurunner but it had no printing support. Is there another web browser component that has both printing support and progressbar support? I shouldn't have to omit features from my browser just to get a better rendering engine.
View 1 Replies
Aug 14, 2011
Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.OLE.Interop.IServiceProvider'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{6D5140C1-7436-11CE-
[code].....
View 5 Replies
Jan 1, 2009
May i know where can download or get OCR .net component for free?? or the cheapest one??
View 2 Replies
Jun 2, 2009
I'm making some archeology, dealing with COM+I managed to enlist a simple COM dll as a COM+ component, so far so good.So I've got this 'foobar' com+ component, with it's interface, and the method I'd like to call.My question is then rally simple: how am I supposed to make a call to this component?.NET or VB6 answer is accepted (I have to check the component is OK, don't care about the client)
Edit (06/03/09): Well, I'm confused. so as to work properly, my COM+ component needs it's dll to be registered. Why not? But then, how to be sure I'm making a COM+ call, and not a COM one?
View 4 Replies
Jan 29, 2009
I have a function to determine the correct time that appears to function correctly, but I must be making some mistake in the "calling" of the function. This is the first time I have tried use a component and it shows.
View 1 Replies
Jan 5, 2009
the best 3rd party component in vb.net.
The most important I want is listview / combobox
View 4 Replies
Aug 15, 2009
look at the following picture, which showing smart tag for DataGridView Now I'm creating new component and I want it to support showing some properties in Smart Tags, how to add the properties to the smart Tag?
View 2 Replies
Dec 20, 2009
i have just quick question (there's not much to elaborate from OP site). Have you any links or ideas, or experiences, what is to be done to class derived from System.ComponentModel.Component, in order to show its rectangle in designed form or control. I maybe satified with just making Component shapy. Anything else should be just game. But actually I have no idea how to draw component from its basics. Any idea or link, or bunch of links very welcomed! Even my capabilities of crunching google links are nothing here.
View 7 Replies
Jul 9, 2010
There's a number of postings about IMAPI in .NET, including these:
[URL]
But I can't say they're straightforward. First link looks good, though its C# WinForms realization doesn't allow simple re-using in VB.NET project without conversion.I only need to burn a list of files to a CD/DVD and that's it. Any thoughts? Freeware/open-source is preferred.
View 1 Replies
Nov 1, 2009
I didnt know if this was the correct location to post this kind of question. My code is in C# however I am using the visualBasic. Interaction. CreateObject to connect to a OCX file. I notice that this works great for a while but if it continues to do its job for lets say a few days then I get and exception... "Can not create an ActiveX component." I am 100% sure that the ocx and dlls are registed correctly to the system.
View 2 Replies
Jan 27, 2009
I am using the following code to send an email thru Outlook 2003:
Dim omsg As Object
Dim oRcp As Object
Dim objCDO As MAPI.Session
[Code].....
View 4 Replies
Jun 30, 2010
I am develpoing a small vb.net forms application. From that trying to load the Autocad using the following code.[code]When creating the application for first time, it works fine. Loads the Autocad correctly. But for second time if run the application the following runtime error is occuring. "Cannot create ActiveX component" at the CreateObject line.I cant predict what is the problem. I've included the following references in my program.[code]
View 1 Replies