IDE :: Importing Custom Made Controls From Another Project

Feb 26, 2009

I'm developing a solution that I'm going to split into two different directions.I've built custom controls for the first application, and now I'm creating a new solution where I'm importing all the Forms and Modules to the new solution I'm developing by using "Add Existing Item" from the Solution ExplorerWhen doing this, most of the errors I'm receiving I'm able to correct by "Find & Replace" with the new name of the new solution. (They seem to be references to the old name of the solution, that I simply replace with the new name. Example. Global.Xname..... I now replace with Global.Yname.

View 6 Replies


ADVERTISEMENT

3rd Party Scripting Editors As Controls In Custom Project?

Sep 4, 2009

Are there any third-party scripting editors that are available as controls (DLLs) for custom projects? I am interested in knowing what is out there and what scripts are provided?

View 1 Replies

Put A Conditional Variable In Project > Compiler Tab > Advanced > Custom Controls?

Dec 8, 2010

How is conditional compilation controlled for a VisualBasic web? For a VB Windows app, I put a conditional variable in Project > Compiler tab > Advanced > Custom controls.

How in a VB web app is a conditional compilation variable assigned that can be accessed by all the files of the web app?

View 1 Replies

Custom Made Bindable Structure?

Oct 1, 2009

As a coding exercise, I would like to know if it is possible to build a bindable data structure that would have a dynamic collection of field objects, in which each field not only would have a specific data type, but also would hold the value for that field. That is, is not like a DataTable where you can have many rows, I only want to manage a single collection of values.

View 4 Replies

Controls In .net Made By Hand

Sep 24, 2010

How do Microsoft make the controls for win forms, for example a grid ?

View 6 Replies

Display A CUSTOM MADE Bitmap On The Screen?

Jan 14, 2010

I created a bitmap, that is supposed to be displayed on the screen, in the middle. It will have to be on top of EVERYTHING!! Even if a full screen application is running, I want it to show. My questions are: Is it possible to even display a CUSTOM MADE bitmap on the screen?

Option Strict Off
Imports System.Drawing.Drawing2D
Imports System.IO[code]....

View 6 Replies

VS 2008 Run Java While Using A Custom Made Web Browser?

May 14, 2009

is it possible to run java while using a custom made web browser?what i mean by run java is when you play a game that is an applet, a jar file.Like runescape. When I try playing runescape with my browser, it dosen't let me, and says i don't have java. (the browser I made in VB)

View 3 Replies

Importing Forms From Another Project?

Jan 10, 2010

I have some form/vb in another project that I want to import to a new one. There are three files with these extensions - .vb, resx, and designer.vb. Which do I copy and how exactly?

View 3 Replies

Importing Database To Project (MS SQL)?

Feb 13, 2012

I have MS SQL Server Management Studio Express. I have create database with 6 tables. I want to import database in my project. When I open server explorer in VS i go to Data Connections (right click) then add new connection. Then I locate database .mdf file. After that I can see database in server explorer but only with one table (there must be six). I have try to remove/add database but tables are still missing.

View 5 Replies

How To Handle Controls Made At Runtime

Mar 19, 2012

If I have the following code, which adds combobox's to a tableControlPanel.How do I handle the index changing in the combobox?The second code shows what I am trying to do, except for multiple combobox's that are made on runtime.

[Code]...

View 4 Replies

.net - Not Retaining Changes Made To Values Of Properties In A Custom Class?

Jun 10, 2011

I created this function to remove vbCrLf from the values of properties in a Custom Class:(vTransaction)

Public Function ValidateTransaction(ByRef vTransaction)
Dim property1 As String
Dim value1 As String
For Each p As System.Reflection.PropertyInfo In vTransaction.GetType().GetProperties()
If p.CanRead Then

[Code]...

Throughout testing I can verify that vbCrLf is being replaced with a space as expected. When I re-examine vTransaction the changes have not been retained and the vbCrlf's are still there. What do I need to do to retain the changes being made to values in vTransaction.

View 1 Replies

2008 - Importing Forms From Another Project?

May 16, 2011

What i want to do is when button1 is clicked it disables tmr1 on the main form, and then opens up an instance of a new form, when that instance form is closed, the tmr1 on the main form is enabled again....how do i enable the timer control when the instance is closed?

View 2 Replies

IDE :: Importing Namespaces In Project Level?

Mar 16, 2009

i hav a problem in building a solution in vs 2008.I'm opening vb.net project in VSS repository.When i tried to build the application its giving lot of compile error.After examining the code i've found that the namespaces are not imported in *.vb file , hence the types used in the file are not accessible .I know that we can import namespaces at application level

View 1 Replies

Importing User Control Into New Project

Jun 12, 2011

I'm having a problem importing a user control into a new project.I've created and tested a user control using the guide at url...If I choose Debug>Build, a .dll file is created in the release folder.According to what I've read, I should be able to open the toolbox in my new project, right click>choose items, browse to the dll and then import. This all works, but the control is 'greyed out' in the toolbox, so I can't drag and drop it onto the userform in my new project.I also tried importing by 'Add Reference' in the solution explorer and got an error about using a later version of the .NET framework, so I've set both the user control and new project to compile with the .NET 3.5 framework.

View 3 Replies

Project For Importing Excel Data Into SQL DB?

Feb 16, 2011

Simple VB.NET project for the purpose of importing the data from Excel sheet into a SQL DB

View 2 Replies

VS 2010 Save Those Controls Made At Runtime

Jan 16, 2012

I'm making a video editor program and I'm getting kinda stumped at the save portion, I've worked with openfiledialog so I figured save would be sorta the same. What I'm doing is adding files(music,videos, and pics) to a flowlayoutpanel. I just don't know how to save those controls made at runtime, this code is my import code. It's pretty much the same for music, video and pics with the exception being the format and openfiledialog being used:

[Code]...

View 5 Replies

Invoke Form - Custom Made Messagebox Opens But It Freezes

Apr 14, 2012

I am having Socket server, and I have two forms. One is the main form for the server and the other one is a custom made messagebox. When a request comes to the server the main form has to invoke the second form (messagebox). When the main form is open for the first time everything works fine. But when I close the main form without closing the application and open it again and request comes to the server the custom made messagebox opens but it freezes and looks like this:

[Code]....

View 1 Replies

Importing The C++ Dll For Use In The VB Project - Runtime Error R6034

Jun 6, 2010

I have a VB.NET Console Application that depends on a C++ project in the same solution. I'm importing the C++ dll for use in the VB project. When I compile and then run the application, I get the runtime error R6034. Anything wrong going here?

View 2 Replies

How Can Made School Project In VB 6 Or 2008

Mar 29, 2010

how can made school project in vb6 and vb.net2008 with full sources code?How can Made School project in Visual Basic 6 or 2008?

View 2 Replies

Made A Project With Login And Register?

Aug 8, 2009

Ive made a project with login and register works 100%, but i want the users that after they login it will show their character data (money amount, name, how to make a read command?

View 1 Replies

Adding Controls Made At Design Time To Collection

Jun 2, 2011

I'm trying to make a collection class for buttons to address them as a whole, only I want to design the buttons at design time, and not add/set their properties programatically at runtime. Each button has its own image, so it doesn't seem right to add a bunch of lines of code which assign the properties when they're always going to be the same thing.Is it possible to create the controls at design time and then add them to an array at runtime? I did this, iterating through the buttons on the form and adding each of them to the class below.The problem is that once they're added they seem to be a different instance because changing their positions has no effect on the design-buttons on the form. Essentially i wanted the collection to be a reference to the items belonging to the form.Is that possible or should I be doing this a different way?[code]

View 2 Replies

VS 2008 Importing Excel Data Into Project Database?

Jul 20, 2010

Is there a routine that will allow me to import data from an excel spreadsheet into a database within my project? I only need to do this to populate the the database I have created in my project.

While the project was being developed I used junk test data for testing and debugging but now I wan to populate the database with the actual records.

Here is the skinny:

In the project database I have the following fields:
ItemID - Primary key
SamCode

[Code].....

Column B contains the Full Name Data where B1 in a column header Column C contains the UPC Numbers needed where C1 is a column header

As stated this is a one time deal and not something I need to run as part of the application.

View 1 Replies

Editing Dll File In A Ready Made Project?

May 3, 2012

I want to be able to use the core frotz library (dll) in a different project (no WPF front end). The dll needs to accept an entire string command as the input, and produce the entire output as a string. Produce this dll and the source of the class showing me how you did it.

View 1 Replies

Run A Project Made In .net On Another Computer Without Visual Studio?

Feb 15, 2012

Ok I have Googled for the answer but couldn't find one. I want to run my project on another computer without visual studio. I have created a setup file but after installing also i need visual studio.Isn't there any another way round?

View 2 Replies

Importing Microsoft.Reporting.WinForms Into Console Application Project?

Jul 26, 2010

I've created a VB Console Application Project and am trying to instantiate a Report Viewer object. To my understanding I need to import Microsoft.Reporting.WinForms however Visual Studio does not recognize this name space. Is there some reference I need to add?

View 4 Replies

VS 2008 Importing Existing Crystal Reports To A New VS2008 Project?

Jun 6, 2010

How do I go about importing existing Crystal Reports to a new VS2008 project?

View 1 Replies

Importing Project A Into Project B

May 17, 2011

Could someone point me in the direction of importing a project into a project. Any information on how to use it would be great as well. For example I have Project A that I could use to work within Project B. I have no idea what the correct form is for calling this in.I do have an add reference option, but no add project option. Im assuming i shall go with reference and see what I can do.

View 1 Replies

VB - How To Use Dll - Project Class Library, Named It MyFirstDll And Made A Public Shared Sub HelloDll

Apr 21, 2012

I am just testing how to use dll and after googling a lot, I made it work partially...Created new project Class Library, named it myFirstDll and made a Public Shared Sub helloDll to do something. Now since this is my first time, the dll is simply showing the input in a msgbox:

Public Shared Sub helloDll(ByVal msg As String)

If msg <> "" Then
MsgBox(msg, MsgBoxStyle.OkOnly, "WE HAVE SOME MSG")
Else
MsgBox(msg, MsgBoxStyle.OkOnly, "NO MSG")
End If

End Sub

After building the dll-file, I started a new project using normal windows forms, named it "useMyDll", I clicked Project -> Add Reference, and added my dll. The program file that I made needed a textbox and a button for using the dll:

Private Sub useDllButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles useDllButton1.Click
Dim msg As String = Nothing
msg = TextBox1.Text
myFirstDll.myFirstDLL.helloDll(msg) 'this will be in msgbox in dll-file
End Sub

And when running this I could write something in the textbox and a msgbox with that input would pop up. Really happy with that. My first attempt to make a dll and use it was very successful. Then I thought, what about running the dll from rundll32.exe? It would be handy to make a dll that could be run without my exe. After googling a long time, I tried to add a new button:

Private Sub useDllButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles useDllButton2.Click
'Now let us see if we can open it using rundll32.exe ?
Dim msg As String = Nothing
msg = TextBox1.Text

[CODE]...

Now the first button still works just fine, but the second button gives some error (translated to english would be) like "missing entry: helloDll" I also tried to open with command prompt, same result.

After googling again I read one place that you can't run a visual basic dll with rundll32.exe, so is this true? Or is there some way of doing it? I read one place that it works if you make the dll be "COM-Visible", but I don't really understand how to or what it means. I tried to open properties, clicked Assembly Information, and "Make assembly COM-Visible", but this doesn't change anything. Then I read somewhere that it has to be in a module to work. Could it be that I need to rewrite some codes and it would work, or would I have to start learning c++ in order to accomplish this?

View 13 Replies

Made A Listbox, And Also A Custom Class Called "Enemies"

Mar 26, 2010

So I made a Listbox, and also a custom class called "Enemies". I used a Bindingsource to Bind "Enemies" to the Listbox. "Enemies has three properties which are: "Name as String, Health as String, and Dead as Boolean".The thing I need is when I add a Enemy to the listbox, I want the BackColor of the item to either be Red or Green, depending on if the Item.Dead property is false or true.

View 2 Replies

Replacing The Tab Control's Tabs With Custom Tabs Made In Photoshop

Mar 16, 2009

I was wondering if there was a solution to replacing the tab control's tabs with custom tabs made in Photoshop. I know there are plenty of super expensive programs that can do it, but I was wondering if there was a way to do it programmatically. I was thinking that maybe it could linked in some way with a .DLL?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved