Options To Create WebSite?

Jun 13, 2012

To avoid juggling with PHP for web apps and VB.Net for desktop aps, I'd like to investigate writing web apps in VB.Net.

What are my options? For instance, do I have to use Windows as the OS, .Net as the framework, and VS as the development tool, or is it OK to use Linux + Mono + some other IDE?

View 5 Replies


ADVERTISEMENT

How To Create Property Options

Mar 27, 2010

I have created a new user control (ctlMyBox) with a bunch of labels, textboxes, and a picturebox. I learned how to add simple custom properties (strings, integers..etc) to it using the "Public Property..etc" method.

However, as an example, I also want to add a "Theme" property with only three options (Light, Dark, and Colorful). Depending on the theme chosen for the control, the colors of the different labels will change.My current (primitive) solution to this is making the Theme property as a String, like so:

Code:
Private strTheme As String = "Colorful"
Public Property Theme() As String
Get

[code].....

This would require the user to know the exact names of the available themes. What I want is that when someone is coding to change the theme, a list of options would appear after writing ctlMyBox1.Theme = . The user would then select one of the three options, similar to when you select the checked state property of a checkbox for example. Unfortunately I don't know how to do this?

View 2 Replies

VS 2008 Best Way To Create An Options Menu?

Mar 31, 2010

i have various options in my app, some complex some not, these 2 save on application exit and reload on application start themes, and layouts. There selected via a comobox each.So onto the question, how does everyone create options menus? With out using a menustrip/toolstrip?

The method i was using , was to have a picture box show a panel when it was clicked on, the panel had all the various options etc on it. This idea worked great, but meant working in design mode was a pain because the panel and everything on it had to be moved round to see the items under it on the form.

So today i decided to see what other ways i can implement a menu, and i changed it so the picturebox/button now opens a dialog, and all the options etc are on that dialog, this works great except options such as the combobox 1 and combobox2 last used setting (text data binding) doesn't load when the application is started, they only load when you go into the options. Which defeats the point, if a users going into the options just to load the settings its useless them been saved.

The time to initialize the dialog (for it to appear and be click able) is 5 - 15 seconds, not alot i know but the 1st method of using a panel it initializes instantly, but then its never really closed just made hidden, so i uses more system resources.So how does every one else implement there options menu?

View 6 Replies

Create Custom MessageBox With List Of Options?

Oct 15, 2009

I want to create my own custom MessageBox.
The default message box from VB contains a few options (as a parameter) like:
MessageBoxButtons.OK
MessageBoxButtons.RetryCancel
MessageBoxButtons.YesNo
MessageBoxButtons.OKCancel
etc...
How can I create a sub that also has a list of options the user can choose from??

View 3 Replies

VS 2010 Options View Control - Child Options?

Aug 20, 2011

I 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.

View 5 Replies

C# - Create Visual Studio Style Options / Settings Dialog

Sep 13, 2011

I am currently in the process of improving my options dialog for a winforms application. At the moment I am using a tab control. I would like to create a form/dialog for settings that is similar to Visual Studio's. How is this done? I can see a treeview like control on the left hand side but what control are they using to display each of the options pages, it doesn't appear to be a tab control. I would like to be able to build the controls for each of the settings at design time.

View 1 Replies

Create Website Or Delete One / But Not How To Create List

Oct 28, 2009

I am trying to create a VB.Net windows application that will list out IIS websites from a remote server when the user pushes a button as a means of verifying that a website got installed (from a previous section of the app...that part already works).I have googled all over the place and all I can seem to find is how to create a website or delete one, but not how to create a list.

View 1 Replies

Or Keyword - Does Options = Options Or Does It Set RegexOptions.none

Feb 28, 2010

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.

View 9 Replies

Options To The User In A Menu - Create Sub-string - Replace A Word In The String

Feb 28, 2010

Problem: Your task is to take input from the user in string and give the following options to the user in a menu.

1- Find a String
2- Create sub-string
3- Erase a portion of a sting
4- Replace a word in the string
5- Count number of words and characters in the string without spaces.
6- Capitalize first character of each new sentence and convert the rest
of the characters to lower case.
7- Sort all the words in alphabetical order. (Use Bubble sort algorithm to perform sorting).

To perform all the above mentioned tasks you can only use pointers. Create a function to perform every task.

View 1 Replies

Hypothetical Controls - Options Checked As Enabled In FrmConfig Effects - Controls (like Buttons/menu Options) Are Enabled In FrmMain

Nov 26, 2010

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.

View 2 Replies

Asp.net - How To Create HTTPS Website

Aug 5, 2011

I want to create a HTTPS (Secure) Website. And how to create a Asp.net website using vb.net?

View 1 Replies

Create A Website Blocker?

Sep 27, 2011

I'm trying to create a website blocker. I have it where it will add a site/ip address to the host file, now I'm working on the part where you'd remove a site from the blocked list(HOSTS). I know that I gotta 1)Read it 2)Replace it 3)Save Here's what I have so far:

Dim FileName As String = "C:Documents and SettingsPC #6My Documentsfda"
Dim read As String = File.ReadAllText(FileName)
Console.WriteLine(read)

View 9 Replies

Create A Website With Program Developer?

Sep 26, 2009

My home page contains three Dropdownlist controls, the lists are populated from my database i created ie. (From three tables)- Courses, Grades and Schools.

I want a situation whereby a user clicks on any of the Courses, or the Grades, or any of the Schools from my dropdownlist controls, and selects the search button, the names of the students that took the course, their grades in that course, and their schools should appear in a table form. if its a Grade that is selected, the names of the students with the grade, their courses and their schools should also appear in a table form. And likewise the School.

View 3 Replies

VS 2008 Create Log File On Website?

Oct 24, 2009

how would I go about creating log files on my website? With my exception handling, along with creating a log file on the users hdd I want it to upload a log file to my website. Also how would I be able to make the name of the log files the time + date that the error occured so that all logs are seperate in my website directory?

View 4 Replies

Create Website And My Document Link In Form?

Dec 30, 2009

I want to link some website and mydocument from vb.net form's button, i am using VS2008 pro

View 5 Replies

How To Create Image Of Website Displayed In WebBrowser

Dec 7, 2011

I have a form with a web browser inside it. When the form loads I want to be able to create a .jpg file of the whole website displayed in the browser. Alternatively, can you show me how to display the web browser site in a picture box?

View 2 Replies

Php - Create A System That Is Connected A Website With The Same Database?

Feb 4, 2012

I have a thesis project. it is composed of a webpage created on php and a system using vb.net 2008. As of now , they are both connected to the same database. I am wondering if it is possible that if i packaged the system and live the website, will still be connected with one database?

View 1 Replies

Create A .Net Windows Form Application Which Logs Onto A Website?

Jun 8, 2010

I would like to create a VB .Net Windows form application which logs onto a website and then retrieves some data. Currently when i navigate to the website it presents a dialog box to enter my details into. So in short how could i do this, what namespace would i need to look at?

View 3 Replies

Use A Website Url To Create An HtmlDocument Object That Contains All Html From That Webpage?

Dec 15, 2009

I was trying to use HtmlDocument and a given url to pull in the html contents of a website to use. However there is no constructor for HtmlDocument and it's Url property is readonly. Is there any way to create an object that contains the entire DOM for a given url?

View 2 Replies

VS 2005 Manully Configure Aspnet.2.0 - Create New Website

Oct 26, 2011

I have a probleam to create new website in visual studio 2005. The error which i got is You need to configure manually configure this site for Asp.net 2.0 in order for your site to run correctly.. Please show me step by step how to configure this site in visual studio 2005..

View 1 Replies

Create A Shortcut For Program That Sends The User To The World Map Of A Website With The Press Of A Button?

Jun 7, 2011

I'm trying to create a shortcut for my program that sends the user to the world map of a website with the press of a button, but it isn't working. Here's my code:

Private Sub Game_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Game.KeyDown
If e.KeyCode = Keys.M Then
Game.Navigate("http:fallensword.com/index.php?cmd=world")
End If
End Sub

"Game" is a WebBrowser control.

View 4 Replies

VB 2008 - Create A Label That When Clicked By The User It Will Open A Website Using The Default Browser?

Jun 12, 2011

how do I create a label that when clicked by the user, it will open a website using the default browser. I have seen the control LinkLabel but I do not know how it works or how to use it.

View 3 Replies

VS 2008 Select Website In Combobox Open Form2 With Website Preview?

Feb 19, 2010

What Im making is like a face book and tagged login from my app

1. I have Combobox with 3 urls in there ( Facebook.com Tagged.com and Bebo.com )
2. I have a Form2 with webbrowser
3. I have a Button when clicked it should open up my form 2 and preview of the website which I selected in my combobox in form1

All I'm trying to do is when I select lets say facebook in my form 1 and click load it should open up my form 2 with facebook website in it.[code]Now when I click my button in form 1 it will load Form2 ( named Explorer1) but my form2 is not showing me facebook or tagged page for some reason

View 13 Replies

Creating A Website That Allows People To Upload Images To The Website In A Folder?

Feb 26, 2011

i'm creating a website that allows people to upload images to the website in a folder called images on the Site. But I don't know how to upload a file and I'v searched everywhere Please Note: In this Website were not Using the asp:fileupload, were developing our own interface

View 1 Replies

VS 2008 - Website Scanner - Scan A Website Every 15 Mins

Apr 6, 2009

What I want is: To scan a website every 15 mins or so, (craigslist in this case), and email myself any new posts that come up. I know I need to use WebClient, but I never used that before. Another question would be how to only email when a new post is up and not receive the same email every 15 mins.

View 2 Replies

Administer Website (create New Users, Assign Users To Roles) From A Windows App?

Feb 9, 2010

I 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].....

View 3 Replies

Create Website Involving Payments Plus Some Data Entry Eg Booking Of Some Facilities With The Main Data Kept At A LAN Window System?

Oct 26, 2010

create website involving payments plus some data entry eg booking of some facilities with the main data kept at a LAN window system.

View 4 Replies

Create A .net Program And Allow Visitors To A Website To Download This Program?

Nov 15, 2009

I am very very new to VB.NET and would like to ask a simple question. I want to create a vb.net program and allow visitors to a website to download this program. However, I prefer not to have visitors download a zip folder. I would like to have a program that just gives a prompt to save in a selected folder, once the saved file is selected it prompts the person to download, and then when finished prompts the person to run the program. The reason is twofold:

1. I don't like the extra step involved with unzipping the file. and 2. I don't like the visitors having to look for the "main" file program within the new downloaded folder. So is there any way to have just one file for others to download without having it in a zip folder?

View 4 Replies

Integrating ASP.NET C# Website As Subsite To A VB Website?

Jan 25, 2011

I have a ASP.NET 2.0 website created in C# that acts as a completely independent site and I am looking to integrate this into an existing ASP.NET 2.0 website created in VB.NET. Unfortunately I just don't know much about the server management side of ASP.NET yet so too much I'm unaware of when it comes to IIS configuration etc. Does anyone have any advice as to how I can go about integrating this? Basically I want to host it in a subdirectory from root so when you hit example.com/myindependantsite/ it will pull up my C# site.

One possible solution I came across mentioned just dropping the project folder into the root directory and setting up that directory as an application virtual directory in IIS? A few other random questions were small things like would my application relative links (~/for-example.aspx) stay relative to my root subdirectory if it's made into an application virtual directory? Just trying to get this running on their site but like I said it's completely independent so want to preserve my websites environment.

View 4 Replies

Add The Menu Options That Appear?

Aug 26, 2010

I 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.

View 4 Replies







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