User Control Created In Express Edition?
Jan 21, 2010User control created in vb.net 2003 can it be used in express edition ?
View 15 RepliesUser control created in vb.net 2003 can it be used in express edition ?
View 15 RepliesI created a Custom User Control at work using VS Express. It was added to my toolbox and then I added it to my form.When I created another one at my home use VS Pro, I think, it was not added to my toolbox and I'm not sure how to access it.
View 6 RepliesThis was my code .
Private
Declare
Function addelements
Lib
[Code].....
meeting the requirement i.e procedure to set environment variable and use/get that in my code. make necessary changes in my code accordingly.
I am on my way to create my own tabbed advanced webbrowser in vb 2008.I have collected most of the tools for that,but i have the following problem:
The webbrowser control in vb 2008 is an instanse of IE.But i want to build my 'own' webbrowser, with custom contextmenustrip, navigate error messages ,etc
I'm just using the default SQL Server Express in my vb 2008 express edition as my database server for my database operation. When I tried to update the records on my table I got a runtime error which indicates the error on this line 'myCommand.ExecuteNonQuery()'and it highlights a yellow background on it. The runtime error says "SqlException was unhandled: An expression of non-boolean type specified in a context where a condition is expected, near 'Number'. ".
Imports System.Data.SqlClient
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim myConnection As New SqlConnection
Dim myCommand As New SqlCommand
[code]....
I created a user control with a label and 2 combo boxes, and a public property called ControlDataSource that accepts a dataset - which it populates the combo boxes with. I added the reference to the VB project I want to use it on and to the toolbox. I was able to draw it on the form with no problem and use it. However, after changing the backcolor on the control and recompiling it, it is no longer seen by the form. When I bring up the form it's used on, I get a white screen with a bunch of xml. The problem seems to be in the designer, and I get an "object reference not set to an instance of an object" error. Here is the code from the designer:
[code]...
The reference error is pointing to the line: Me.UcDx1.ControlDataSource = Nothing
Here's the wierd part. If I hover the cursor over that property, it correctly identifies it as a dataset. So it does know what it is, but it can't seem to use it.
After taking a few years off from programming, I decided to start learning vb.net. I have created a user control that contains a picture box. I added some custom properties to the picture box that will hold general string data from a database.
My problem is that the user control is programatically created during run time, and during this time a DoubleClick event handler is added for the picture box that is within the user control.
I need to be able to set the custom properties for the picture box during the creation of the user control, so that when the control (picture box) is double clicked I can read these values but am unsure on how to access them.
The picture box is the entire size of the user control, or I would just add the custom properties right to the user control and add the DoubleClick event handler to that. However, double clicking needs to be done on the picture box since it takes up the entire user control, unless anyone has an idea to trigger the DoubleClick event of the user control when the picture box is double clicked.
[Code]...
I'm using VB.Net. I have a WPF User Control called "NavigationPanel" which I created with the Designer. By default, its scope is Public. When I change its scope to Friend in the file NavigationPanel.xaml.vb, I recieve the following error:
[Code]....
I have created a user control(button) which can flash by changing its backgroung color(I am using a timer).The control works Ok when its flashing property is set to true in form_load event. However it does not work when same is done elseware.
View 7 RepliesIs there any way I could add a user control to my VB 2008 Express project?
View 4 Replieswhen trying to declare variables to access a mdb database using DAO with VB Express Edition 2008 I get this error:
line:
Dim
miodb As DAO.Database
error: Error 4 Name 'OpenDatabase' is not declared.
I have put references to DAO 3.6 Object library Is there anything else I have to do before declaring the database?
My company currently has vb.net 2003. I am tasked with evaluating vb.net 2008. And suggest if upgrading to 2008 edition is necessary or if it will be beneficial. For this purpose I decided to experiment with vb.net 2008 express. I have some questions regarding this.
1) Will vb.net 2008 express edition will give me idea about new features etc. ?
2) If I install vb.net 2008 express edition on machine which has vb.net 2003, will it cause any problems to vb.net 2003 ?
3) If I code in vb.net 2008 express edition, on upgrading will this same code work ?
I'm using Visual Basic 2008 Express and am having problems making an install.It has been suggested that the Express (free edition) only allows you to install only on computers that also have Visual Studio.Do I need the Full version to be able to distribute my application to a variety of computers?
View 2 RepliesI was wondering what people who have used VS Express editions think of them.My wife is thinking about taking a class in VB .NET so I thought maybe it's worthwhile to install VS Express at home for her to get a headstart.
View 4 RepliesI know the express edition of Vb does not give a detailed publish but i want to ask something. I have made program that uses database (Sql), and also my program uses folders (Help, Pictures etc..) I tried to publish my program but the express edition does not have an option to add my folders. So i tried to publish with "inno setup" program. But this time my program does not work in computers which dont have "Sql Server 2008 express". I tried to put "Read me " file, that says "First setup Sql Server 2008 Express from internet then setup .Net Framework from internet then setup the program" but it is so hard for user to do those thing. Is there any way easier? (Does the computer must have Sql Server to work with my database?)
View 1 RepliesI want to use the free express edition but am concerned about limitations. Wikepedia mentions "Limited options for debugging and breakpoints" as one limitation. None of of the other limitations mentioned concerned me.
View 2 RepliesI tried installing VB.NET 2008 express edition and I had to stop it because there was no network connection.Now it just gets frozen half way through the install everytime. Where are the registry values so I can delete them and install the program. So irritating.
View 3 RepliesI am in need of Visual Studio 2003 Express Edition.
Specifically VS2003 C++ Express Edition.
I have a very specific need that cannot be accomplished with VS2005.(trust me...)
If anyone has an old install file for the express edition of VS2003 on their hard drive.
Does anyone know a) if it's possible and b) any sources of information about - writing plugins for the Express edition of Visual Studio?
View 1 RepliesI'm doing a project for school (I'm in Year 6, Primary School, Australia) and I'm trying to create a measurements converter with Visual Basic. Unfortunately I have a problem (and no teachers in the school have a clue on how to use visual basic).Basically the program just converts a specified amount of one unit of measurement and converts it to another unit of measurement.A message box then pops up telling the user the answer. Eg. A user specifies that they want 1 mile converted to 1 kilometre a message box will pop up telling them what the answer would be. In this case it would be about 1.6 kilometres.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim double1 As Double = TextBox2.Text
Dim cb1 As String = ComboBox1.Text[code].....
I would like to have one combo box associated with another combo box. When the first one is selected the price is displayed in the next one. The information is got from a txt file and the item name loads in the first combo box and the price loads in the other combo box. What I want it to do is to show the correct price when the first box is selected for the item Here is a copy of my code at the moment. [code]
View 14 Repliesi'm not able to open the project and run the source code of the bellow link to treelisi'm trying to open with vb 2008 express edition and visual studio 2008, and several error are displayed.
View 1 RepliesI just installed Visual Basic 2008 Express Edition with SP1 on my computer.When I first launched it, it directed me to the registering site.
View 1 RepliesI did the registration process from the computer I installed this soft, and when I copy the serial number that it gives me, the software doesnīt recognizes it... Can it be a problem that the PC is in a LAN? Can I generate a new serial number?
View 3 RepliesI found a forum post about Visual C++, Visual C++ 2008 Express Edition And 64-Bit Targets , but how do I develop x64 applications under Visual Basic 2010 Express Edition?
View 1 RepliesI have downloaded VS Express 2010 edition from Microsoft website. I want to convert a VB 6.0 project into VB.Net using VS Express 2010. Is it possible to do it without the "Upgrade Wizard"? How much will it cost me to get basic VS 2010 Professional with the "Upgrade Wizard" option? What other tools (that I might require during conversion) are missing in the VS Express edition?
View 9 RepliesI have almost finished working on a small application using VB.NET 2008 Express Edition as front end and SQL Server Express as back end. Now my next step is to generate reports for the application. Is there ANY way I could create reports in VB.NET Express Edition?
View 3 RepliesI use vb 2008 express edetion but i find error in it and no answer yet .when i choose the choice : Dont save any changes from the tools menu and then project and solution then run and debug then choose that choice then when create a new project by a new form1.vb with a new buttum then presss F5 or run the msg error appeare is : Form1.vb cannt be modified at this time ?
View 1 RepliesI have a form application created with Visual Basic Express Edition 2008 which has a Binding Navigator that navigates through records in a database (Access .mdb file Added with the "Data Sources" wizard). My problem is thus: I need to run code straight after the form controls have been updated with the particular records data. Is there any way of doing this? I'm stuck because all the backend database code is hidden.
View 3 Repliesi am newto visual basic. i am want to import vc++ dll in visual basic. need to pass a function pointer as parameter to the one of the methods in vc+ can we import vc++ dll in vb2008?if no, could you suggest me the alternative for it?
View 4 Replies