I made an application that requires you to log-in to be able to use the search features and profile. How would I write the code to be able to log-out without closing out the application and just return to the log-in page?
when building my application I am getting some temporary files shown in Solution Explorer under Miscellaneous Files lie App_Web_YDKG.VB with following code block in that generating error
Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile Get Return CType(Me.Context.Profile,System.Web.Profile.DefaultProfile) End Get End Property
Error : Error 58'Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile' has multiple definitions with identical signatures.C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesinfinityvb2ae71c27d560144bApp_Web_pwduczex.38.vb456
I have a datagridview with 2 columns, 1 is Batch_Number and another is Existing_Stock, there is about 6000 rows.My question is, I want to be able to write in a TextBox and hit a Search Button to search the Batch_Number column and filter out or highlight the row with the matching number to see the Existing_Stock
I�ve a datagridview which is filled with data at form load. Then via a textbox I�d like to search in the Name column. The code below fills the grids but the search part of it doesn�t work
Public Class SearchBox Public ds As DataSet = New DataSet Public adapter As SqlDataAdapter
I am using MS Access 2007 as database and VB 2008 to build an application to show the content of 2 tables as a single table.I have two tables in MS Access and i have linked both the tables using "ID" as primary key(1st Table),foreign key(2nd Table). I used Query Wizard to show the data of both tables in a single table(3rd Table).I am able to view the content of all 3 tables using datagridview in vb 2008(Using Code), but i am unable to add,delete,save and search the content of the table using code. My concern is,i will be able to do all these operations using codes only.Would you please help me out in this.
I want to be able to type text in a search box (textbox1) and have the datagrid adjust at the same time. My datagridview is called DGEstudent and the data source is dataset2 and is pulling from the student table. As soon as I start typing in the textbox my datagrid just goes blank. Private Sub TextBox1_KeyUp(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.KeyUp
Dim dv As DataView = New DataView() dv.Table = DataSet2.Student dv.RowFilter = "First_Name like '" & TextBox1.Text & "%'" DGEstudent.DataSource = dv
In interface-based programming we normally define a set of functions inside an interface, and use that interface as a contract between 2 or more modules.What happens when we need to add more features to the system?How do we handle such system evolutions ?
I am thinking of giving mono develop a try. I have some questions. Visual Studio 2008 Professional has options for creating controls and services. This is not available in Visual Basic 2008 Express. This relationship between the different editions, is there something limiting like this with mono develop? I figure since it's open source, everything is implemented like Visual Studio 2008 Pro.
Another question. Does anyone have experience with mono. Is it a production level serious environment for commercial work? Is there something I should know about it?
Any mono developer that has anything good or bad to say, please drop a post in here. I would like to get as much info as possible from vbforums. This has always been the best help site for me using Visual Basic Express.
The most important thing, to reiterate is if I can make Windows Services with Mono Develop and if it supports full threading features that are limited or not available in express.
As a last question, what is the story on managed directx for mono. On Linux, there is no such thing, so would you plan an opengl library to start with? or does that work out in a different way?
i just started programming with visual basic express 2010 and i am making a program but i get stuck at this point..is it possible to have difference profile settings? 60 textboxes saved each time or reloaded depending on what profile the user is asking for.the first time the user opens the program textbox1 = ""the user wil make it hello and he will have the option to save that to a profile.so if he close the program and opens it the next time he can choose to load that profilie or fill in something new agian and save that to profile2.so if he loads profile1 textbox1 will display "hello" and when the user loads profilie 2 textbox1 will display "goodbye"
I'm trying to use a custom profile in ASP.NET using VB.NET according to this post: [URL]
I created my profile class under the folder /class/Usuario.vb using the Locus namespace. The class inherits ProfileBase as specified in the post above.
The problem is that when I try to make a reference to that class on my web.config it gives me this error message:
Description: An error occurred during the compilation of a resource required to service this request. review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0246: The type or namespace name 'Locus' could not be found (are you missing a using directive or an assembly reference?)
list of URL for the web pages requested by the user should be maintained. The user should be able to navigate previous pages requested by clicking on the links in the History list. On the browsers start up, the History list should be loaded to the browser.
I have a large .NET source tree (185 C# and VB projects, of which 60 are apps or websites) that i want to create a wix setup for. The general idea is to have 1 setup msi and to make each executable a feature, and to have each app be installed in a separate directory. like
%progfiles%/company/app1 /app2 /app3
[code].....
Some libraries are used by multiple apps, so the DirectoryRef would have to be pointing to multiple directories, and multiple DirectoryRefs (with different ids) would have to be pointing to the same directory (found directory alias trick), both of which seem impossible.I get the distinct impression I'm going about it the wrong way, or that I'm missing some deeper insight. (No suprise as my wix-fu is a full 3 days old)
Is there a way to disable visual basic 10 language features in VS 2010.our Dev team has moved to Visual studio 2010, but we still have to keep backwards compatibility with Visual Studio 2008. is there a way to disable the new language features to avoid any issues.
I was creating GTA SA save editer in c++ but due to less features in c++ I converted my whole code vb.net Private Sub Save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Save.Click
I even have it set up so I can filter through the DataGridView by sorting though a specific company in the database. However, now I want to link specific cells from the DataGridView to other VB features such as a text box and check box. I am a bit lost as to the coding. In the DataGridView, there are numerous columns that contain a check box and I need them to correlate to actual check boxes I have in the form. I can do it through binding the check box on the form to the data source and it works but if I run a filter or sort through the company, the check boxes from the DataGridView no longer carry over to the actual check box on the page.
i wanted to know what are all the GUI features available in VB.NET for creating a nice UI. The requirement is that, we have screens which were developed in VC++, and now we wanted develop the same screens from scratch, Is it just the way of Drag & Drop all the controls which were present in VC++ screens or something else is available there ?
I have created a custom Profile Provider that is integrated with the API of a CMS. It works fine when pulling data for an authenticated user (Profile.FirstName), but errors when creating a new user's profile.
I need to implement some (maybe 10) custom properties for logged in users for my MVC3 vb.net web app. These will define how certain data is displayed within my views. I can think of a couple of possible solutions..
I am trying to get Profile properties in the code behind. But I am not getting any intellisence like Profile.Homephone or Profile.CellPhone. When I try:
Dim memberprofile As ProfileBase = HttpContext.Current.Profile Dim homePhone As String = memberprofile.GetPropertyValue("HomePhone").ToString()
My first question is. is this possible to add new Dial-up profile using vb.net? And make that as default dialup with this strings..Connection Name: Any Profile Name Dial #: *99***1#2nd question is:
I tried to code to dial my DUN using .net. But How can I dial that without prompting me the dial window.
Here is my code.
CODE:
That code display only the dial window and not automatically dial a connection.
Or point me to correct link to study.. I know RAS API, it's most of the RAS tut are in C++.. even in MSDN
how I can control the access of various modules of a program, based upon Active Directory group. The program uses windows authentication to avoid login, but the user ends up having to enter his or her password a second time in order to continue.
Public Function GetGroupMembership(ByVal username As String, ByVal password As String) Return GetGroups("LDAP:mycomp", username, password)
I actually found a fairly good pong tutorial on this site which I've linked to at the bottom of this post. I used the code as my base and I'm starting to implement my own new features. I'm currently working on making the ball move faster after each hit of the paddle, but I can't get it working! I thought it would be as simple as adding 1 to the 'speed' variable during the test to see if the ball has hit the paddle. Doesn't work! I also tried various other methods, including adding an extra timer to the form and having the speed increase a certain number every tick on the timer. Didn't work! Is there some special way that I need to reference that variable in order to manipulate it? Code below.
Private cs As New SqlConnection("Data Source=ANKIT-PC;Initial Catalog=mrks_analysis;Integrated Security=True") Private da As New SqlDataAdapter("select * from sbs", cs)
[Code].....
i used the above mentioned command to get data from db to my datagrid.
Currently the complete grid is editable.
i want that the Sno field to become non editable + and the rest rows i want a combobox from which user selects the data and which gets stored in db.
I have a service installed. I would like to install this service (but with different features) twice on the same server but cant as the second service recognises it as the first. How could i avoid this?
I like the new intellisense enhancements for finding members, however, there are 2 problems i have;
1) You can't resize the intellisense window when it pops up? This one is really annoying.
2) There seems to be a fixed font for the intellisense list? Why does it not match the rest of my code window like it used to? I've noticed the same with tooltips.
I am looking for a way to obtain some additional features on a treeview. Both, to show as to be able to input some data with a particular hierarchical structure For that on each node I need next to the nodetext a entrypossibility to input some data or to make a selection. This input possibility should be either a textbox, a combobox or a chechbox. An example of what I wisch is almost this article, except that the comment column is only a fixed text, and that I need there a input control like a textbox, or combobox.
I using vs2008/vb. I want to provide my users with the ability view files in a specified directory and allow them to drag-drop to e-mail. I don't want to allow them to delete files in the directory or to even change directories. Is there a way to restrict the filedialog boxes to not allow deletes and directory changes?