Install Options For Users?
Oct 9, 2009he wants it to install for all users of the PC..do I control that ? or do you just change the install path tonot me the local users when you instal
View 7 Replieshe wants it to install for all users of the PC..do I control that ? or do you just change the install path tonot me the local users when you instal
View 7 RepliesI need a way to find out which options of ExitWindowsEx are supported by the users system (in Form1_Load).How can I do this?
View 7 RepliesI use ExitWindowsEx to shut down/reboot computers, or log off users.
View 3 RepliesI created a simple application that when a user logons onto their Windows account, the application pops up to display the computer usage agreement.آ The user at this time has the option of accepting it or declining it. If declined they are logged out of windows, and if they accept they can continue using windows. When I installed the application logged on as the administrator, it only installed in the administrator profile, thus not allowing the application to be run from startup under any other account except admin.آ My first question is, how can I install this application that is it accessible to all user accounts? The second question is how can I program the application to freeze windows until the user clicks the accept button, without puting a timer event that if the accept button is not clicked in a certain amount of time to log off the user.
View 2 RepliesI want to make a extractor/installer for example the users will press Install and it will extract myprogram.exe at C:/windows/system32/ automatically when they press install.
View 7 RepliesI am in need of a form that shows various options, exactly like the Options in Visual Studio. Since there are so many options I too want them categorized, with a TreeView to the left taking care of showing the right category.The usual 'easy' approach here would be to just place a TreeView control on the form, add some nodes, and give those nodes a tag or key that corresponds to a panel or UserControl with the options for that category.Since there will be a lot of options however, this is not really feasible design-wise; the form would be cluttered with possibly 50 panels, all of which I would need to select and bring to front from time to time to add controls to them that represent the options.
So I decided to create a custom control that does exactly that. The control is very similar to my Wizard usercontrol, users can add OptionsPanels at design time, which inherit Panel and simply represent one panel of options. When they do, the panel is added to a container panel, and at the same time a TreeNode is added to a TreeView. The control uses a custom ControlDesigner to handle design-time clicks in the Treeview, selecting a different node would select and bring to front the corresponding panel, allowing the user to add the controls he wants.
Due to the design time support the problem of having 50 panels is no longer present, only one panel will be visible at a time and selecting the right panel is as simple as selecting the corresponding TreeNode, just as during run-time. Anyway, I got all this working, but only for a single 'level' of categories. As you can see in the Visual Studio options, there can be multiple levels of categories. For example, the Environment node has a bunch of children, where each child represents one 'options panel'. There can even be deeper nesting, see the Text Editor node for example.Let me begin by drawing out the basics of how my control works so far.
The main control is an OptionsView control, which contains a SplitContainer with a TreeView to the left and a OptionsPanelContainer to the right. The OptionsPanelContainer is merely a Panel to which only OptionsPanel controls can be added, and which raises events when this happens, as well as when OptionsPanels are removed from it. An OptionsPanel also inherits Panel, and these are the actual panels the users will see in the control, one for each option category.For now, each OptionsPanel has exactly one corresponding TreeNode (and vice versa). In the Visual Studio options, each 'parent' category usually has a 'General' node as the first child, and the parent and this General node show the same option panel, but I am ignoring that for the moment.
The OptionsView control has a property Panels that returns the ControlCollection (Controls property) of the OptionsPanelContainer (in other words: it returns a collection of OptionsPanels that are in this container panel).
vb.net
<Editor(GetType(Designers.OptionsPanelCollectionEditor), GetType(UITypeEditor))> _ <DesignerSerializationVisibility(DesignerSerializationVisibility.Content)> _ Public ReadOnly Property Panels As Control.ControlCollection Get Return Me.PanelContainer.Controls End Get End Property
A custom CollectionEditor for this property takes care of the designer: even though the property type is ControlCollection, the CollectionEditor knows it should create instances of the OptionsPanel control instead of just Controls.When it does this, a corresponding TreeNode is also created and its Tag property is set to the OptionsPanel. Vice versa, the Node property of the OptionsPanel is set to the node. Hence the node and panel both know their corresponding object.
vb.net
Public Class OptionsPanelCollectionEditor Inherits System.ComponentModel.Design.CollectionEditor Public Sub New(type As Type) MyBase.New(type) End Sub Protected Overrides Function CreateCollectionItemType() As System.Type
[code]....
So far so good, this all works fine. I can add Panels via the designer and when I do a new TreeNode appears in the TreeView. I can select this node and the panel becomes visible (comes to the front).Now, I am a little stuck. How do I implement child option panels? And more importantly: how do I let the user add child panels?The most logical choice I think is to let each OptionsPanel have a property (ChildPanels or something) that returns the child OptionsPanels for that panel. Once the user selects an OptionsPanel then, he can look in the property grid to find its ChildPanels property and add child panels to that.
There is a problem though: what would this property return? It must return a ControlCollection of some container (this is, I think, a requirement for the designer features to work, otherwise panels are not added to the Form.Designer.vb file). But there is no container. I cannot add them to the OptionsPanel itself, that would make no sense because the parent OptionsPanel has its own set of controls (the options itself...), there cannot be another (fully docked) Panel on top of those obviously.The container of the main OptionsView then? That is not an option either, its Controls collection holds ALL OptionsPanels, not just the children of the selected panel. I cannot 'select' only the right panels either, that would require me to return a new instance of ControlCollection, it would be impossible to return the actual ControlsCollection that holds merely a small selection of its controls.
With the following piece of code
CODE:
The Or keyword is confusing me. So in the above example which variable gets set. Does options = options or does it set RegexOptions.none.
As i'm learning more and more about developing ive just got my head around creating classes and modules, i started wondering about something to do with configuration of applications where deployment is in a more diverse environment say in a company where different branches dont need access to all parts of a program, so i thought id throw the question out there in a basic sense and get some feedback. so i can go off and do some more reading and learning.
So the scenario in my head is like this.
So we have for arguments sake FrmConfig which is the master configuration form, then we have FrmMain which is the root menu our application general user interfaces with. So here based on what options are checked as enabled in FrmConfig effects what controls (like buttons/menu options) are enabled in FrmMain.
Is it possible to create a setup installer that will auto install fonts when user install the applications?
View 6 RepliesI have a project that i have created in Visual Studio express and SQL server express. i want to create an install file so that i can send to others to install. Currently it is requiring the user to install SQL server Express and 3.5 .net framework.what steps can i take to stop the user having to install these 2 so that it is a simple install for them.
View 2 RepliesI'm looking to make a simple install wizard to install my program (I know Visual Studio 2010 already has an installer) but anyway, I would like to make it myself, kind of line reinvent the wheel?
View 3 RepliesI have an asp.net web app that uses forms-based authentication, a SqlMembershipProvider (using an encrypted password format), and a SqlRoleProvider. I need to know if it's possible to administer the users (create new users, assign them to roles, etc.) from a windows application - the powers that be don't want any administrative functionality in the web app itself.Here is the membership provider definition from web.config:
<membership defaultProvider="MyProvider">
<providers>
<add name="MyProvider"
[code].....
I've got a code using SQLClient that loops though all users in a Users table inside each loop i want to preform another search in the UserOrders table, thus doing a count of all orders.
I get this error
HTML
There is already an open DataReader associated with this Command which must be closed first.
Here is my code
vb.net UserLists.Items.Clear()
Dim connection As New SqlClient.SqlConnection(My.Settings.ConnectString)
Dim command As New SqlClient.SqlCommand("SELECT * FROM Users ORDER BY PersonName",
[CODE]...
1.I�d like to publish a free vb.net desktop application for the users to download and use meanwhile I�d like to collect usage information ex: user ip address, user�s registration information, used features, time spent� if the user allows the report to be sent back.
2.Also , in order for the user to be able to use the application, he�ll have to register it then, everytime, before the application loads, it gets verified online that it was registered, maybe validate the registration information or a valid user name and password, no critical personal information. The target of this step is for the application to be used exclusively by the registered user and maybe on his computer only.
1. I�d like to publish a free vb.net desktop application for the users to download and use meanwhile I�d like to collect usage information ex: user ip address, user�s registration information, used features, time spent� if the user allows the report to be sent back. 2. Also , in order for the user to be able to use the application, he�ll have to register it then, everytime, before the application loads, it gets verified online that it was registered, maybe validate the registration information or a valid user name and password, no critical personal information. The target of this step is for the application to be used exclusively by the registered user and maybe on his computer only. Any alternative way to achive the target is just fine.
View 1 RepliesWith the on-line one click install feature will the application install on a MAC?
View 2 RepliesWhile trying to install my application, when system tries to install .Net Framework, it gives an error.Is there any source where I could download uninstalled .Net Framework 3.0 and provide my clients with application?
View 1 RepliesI cannot figure out how to get this call to work.I have searched EVERYWHERE.MSDN is no help at all and the only thing I can find is this vb6 code that doesn't work in .net.I tried to convert it over but I've had no luck.Specifically I'm trying to get the path of the "All Users" Desktop and the "All Users" Start Menu.It would rock if anyone could help me out with this one.
View 5 RepliesIs it possible to install VS 2010 first,then install VS2008?i am asking this because in many cases(specially while installing the O.S) i see that after installing the higher version the lower version of O.S cant be installed....and if want to install linux then it might be installed after installing all the windows O.S starting from xp,then vista,then win7 and finally fedora 12..
View 8 Repliesmy vb experience is fairly limited - I've only used it when supporting legacy applications or for small tasks so apologies if what I'm asking seems simple. I wrote a small vb install script which creates a new folder on a users desktop, copies over relevant files from the install folder to the users new folder and creates a shortcut on the users desktop.
This works great for giving stuff to QA to test. However, there's one dll included in the install folder which is also in the users GAC. The code looks in the GAC first for this dll and only looks in the install folder if none exists in the GAC.
What I want to do is include a line in my install script to copy this dll to the users GAC as well as copying it to the installation folder.Is there anyway to do this in VB? I did find the following on one of the MS sites for installing into the GAC gacutil /i a.dll
Is it possible to run this through VB or is there a cleaner way of doing this?
i am having a Visual Studio 2008 but it not install with crystal report when i open add new item-> its didnot contain Crystal Report how can i add crystal report and make crystal reports in visual studio 2008 how i install crystal report with visual studio 2008 only crystal reports 2008 install and its open with visual studio 2008 when we click Project->Add New Item-> and crystal reports shows in thiis file
View 1 RepliesI want to learn how to add the menu options that appear when you click your right mouse button.So far I have a normal menu strip control, rich text box control and I have added a ContextMenuStrip control.
I have not got a clue on how to set the properties for the contextmenustrip on the richtextbox control, so when the user clicks the right mouse button the contextmenustrip appears.
Ok lets say I have a combo box with like 3 options in.
Ex:
Combobox
Option 1
Option 2
Option 3
How could I make it so the timer like every 5 seconds it will change from option 1 and be highlighted to option 2? then after so long, to option 3? and loop this process?
I've got a project where each "person's profile" will have many options associated with them, they are broken into groups such as
"Hobbies"
"TV Shows"
"Dinners"
What I was going to do it tick each "group" that applies to each profile and show only the fields that apply to the user.I was going to display them on a panel or a tabpage but How would I show the user what panels need data entered? (there could be 3 or even 4) but would the panels 2-3(or 4) be hidden how would I promt the user to enter data.I don't like the "look and feel" of tabpages.
Well my project will basically involve a database of the sports info of students in my school. It has to work with about 1000 profiles, each containing a personal info record (basically an address book) and a Sports Info record which has some simple information like what sport they do for winter and summer but it also has some records like "Training Info" which will contain a some 10 fields. It'll wind up something like an array of records of records of records.
One of the key points for assessment is that we employ search and sort functionality explicitly using algorithms that have been provided to us. Essentially we'll have to write up our own subs for binary searches and stuff like that.
Now this is group work and I was put in charge of making the database, one thing I'm unsure of is what I should use. Most of the other groups are using .txt files to store their databases as they've been told that these are easier than Access files. However their databases don't appear to be quite as complex as the one my group's planning. Another random titbit of info I heard was that using our own search functions to search an Access file would not only be slower than using the inbuilt ones (another random something gleaned from conversation) [does it have inbuilt search functions?? I heard somewhere else it didn't] but also that it'd be slower than searching a .txt file with a similar sub.
I'm not sure of the veracity of those statements, however I still want to ask if you guys have any recommendations for what I should use to make the database with. The only ones I know of are CSV text files and MS Access, I'd be very grateful if you could point me in the of a good "thing" to use with VB.net for this kind of project.
I want to know what are the possible ways to print the data using vb.net?
View 8 RepliesI'm working alot with dates(more specificly the monthcalendar), and for the user's options I have a few features.I'm having some difficulty with letting the user choose their language. For the language I'm using CultureInfo(String), which I have copied and pasted the 2nd and 3rd column from the NLS API into a combobox.Is there anyway I can speed up language option.
View 1 RepliesJust wondering if it possible to save a form. I have a form with dgv and various other user selected options.
Is there a way to save this form on closing so that it will open again exactly as it was closed?
i want to be able to load form2 by pressing the right mouse button.
here's what i have so far:
Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress
If vbKeyRButton = True Then
[Code].....
e.KeyCode is giving me an error.
I need to create a program that will allow you to search for data via two different options. When radio button one is selected I need it to change the items in combobox to display dataset1 and when one of them is selected to show the corresponding array value. and two radio buttons to change between either searching by first set of data, or their corresponding values set two. and then display the value thats not being searched. like is you search by name it displayes age and if you search by age it displays name
Dim StatesInfo(,,) As String = New String(,,) {{"Alaska""AK"}, _
{"Alabama", "AL"}, _
{"Arkansas", "AR"}, _
[Code]....
thats all i have i cant find anything on the internet about this that makes sense, also it gives me an error Error1Array initializer has too few dimensions.