VS 2008 Let User Select A Form Theme?

Oct 27, 2011

Ok, so i am trying o make it so that a user can change themes, i have moved all major code to a module so it can be accessed but then i have a problem.

I have 6 forms, all forms are the same just different themes, The problem is that in the module it calls form1, like for example form1.webbrowser.blah.blah, if i user used form3 for there theme then this dones not work as in the module it calls form1.

Basically i need to add something else there like for example:

dim Cform as string
Cform = form1
Cform.webbrowser.blah.blah
But form1 can not be a string

View 4 Replies


ADVERTISEMENT

VS 2008 Use A Theme For Program, Regardless Of Global Theme?

Dec 12, 2009

I have a theme called 'Zune' on my computer, and like the way it looks.Is there a way too, make the program use the 'Zune' theme..even if the computer itself is using the default xxxx theme?I can simulate it by doing the graphics, but to make the program border less, then to do the move code when they click on the image box...etc... makes it for tedious work.

If I could somehow make the program use the theme..

View 5 Replies

VS 2008 File Upload Form - Allow A User To Select From Files

Jun 29, 2009

I am pretty new at VB but am trying to design an application that will allow a user to select from files on his or her PC, hit a '>>' button, and those files will appear in a list on the right side of the button (so I can then have the application upload those files via ftp). I am planning to use a TreeView control to act as a file explorer in the application. I have been unable to find any resources on the internet to populate the tree view with the user's local file structure, and was wondering if anyone could point me in the right direction.

View 1 Replies

Way To Determine What Theme That End User Is Using

Jun 26, 2009

is there a way to determine what theme that the end user is using.for example im making a program where the glass is extended so if the end user uses the program on a computer that is not using the vista aero theme then the program will look different then it would if they were using the aero theme.how would i check to see if they have the aero theme and could i set the theme to aero from my program?

View 2 Replies

Interface And Graphics :: Change The Theme Of The Form?

Jun 22, 2010

know that there is library which can change the theme of the form but i do not

View 1 Replies

Use A .msstyle File For The Form Theme/style?

Oct 3, 2010

My next question is how do i use a .msstyle file for the form theme/style? Preferably not using SkinSoft Visual Styler.net because this doesnt support some things like fixed single border. It also isnt free.

View 16 Replies

VS 2010 : Make A Custom Form Theme?

Jul 27, 2010

I wanted to know how you could make your own custom form border style.

View 4 Replies

Change Buttonstyles/form Style To Classic Theme?

Oct 9, 2009

Ok i am making a game in visual basic where its 1998 and you have windows 95 and you find time travel software and travel to different time periods with different operating systems...so far i have coded windows 95 and partly windows 98 into the game and have a good time travel sequence... (this will be a completely free game in the future)

View 9 Replies

Form(s) Location On Startup (error On Aeonhacks Theme)

Jun 8, 2012

I think there is something wrong with the themes i use, aeonhacks' by the my program is all okey now, except the startup even i set the location on centerscreen when i run it, it doesnt show up on the center screen? anyone encounter this before?

View 2 Replies

VS 2005 User Cannot Select Anything From The Main Form Until The Have Logged In?

Mar 28, 2009

Is it possible to be able to have a main form load, but then have a logon form load on top of it and the user cannot select anything from the main form until the have logged in.

View 4 Replies

Change Button Styles/form Style To Classic Theme?

Apr 11, 2010

Ok i am making a game in visual basic where its 1998 and you have windows 95 and you find time travel software and travel to different time periods with different operating systems...so far i have coded windows 95 and partly windows 98 into the game and have a good time travel sequence... (this will be a completely free game in the future)

Theres just one major problem i have. Whatever operating system you are using for your current computer (windows 7 in my case) the buttons and tabs and everything else (apart from the windows border... or whatever you all it which i made myself) everything has the modern buttons on it.Hes an in game screen shot :As you can see it looks totally horrible... even the start menu has the windows 7 blue glow effect...I recently found another application (universe Sandbox) and it has the classic buttons even though i am using windows 7.how can i actually make my buttons classic? (without making picture boxes of each button)

View 3 Replies

VS 2008 : Display Info In Textbox When User Select A Certain Node?

Aug 28, 2011

i have treeview.. in which i want to display info in textbox when user select a certain node..

View 10 Replies

Javascript - Code Giving The Msgbox If User Select Or Not Select The Checkbox?

Jan 27, 2011

IT STILL GIVES A MSGBOX IF I SELECT THE CHECKBOX BOX OR NOT ....My code below will redirect to Google in both conditions: If the user selects the checkbox, then it will redirect to www.google.com, but if a user forgets to check the checkbox then it shows the msg box with an ok button. When I click on ok it should redirect to www.google.com

I want When a user forgets to check any of the checkboxes to show a msgbox with an ok button and stay on the same page. Otherwise if user selects any of the checkboxes then redirect to google

[code]...

View 2 Replies

VS 2008 Regex Designer - Show The User The File - Allow Them To Select A Line To Match And / Or Extract From

Aug 23, 2010

This may take some explaining but the concept is pretty simple. A user will select a file which contains data that they wish to extract from, so keeping it simple they pick a file like so:

[Code]....

So, I need to show the user the file, allow them to select a line to match and/or extract from. So they select the first line ready for a match, they then select a word/s to mark as a constant for matching, so in this case it would be: MyGroup A simple version for text match would be like "MyGroup *" Now, I need to convert this to regex dynamically (I assume its the best method), its not a one off, the data that is selected is all open and up to user selection. There could be multiple selections and multiple extractions on the same line!

[Code]....

View 21 Replies

VS 2008 Form - 'Exit' Button - When User Clicks It, Another Form Is Displayed

Jun 2, 2012

On each of my form I have put an 'Exit' button. When user clicks it, another form is displayed (I don't want to use 'MessageBox') asking user whether he really wants to quit. If user clicks yes the form closes. If user clicks no, form is redisplayed.

However, out of 4 forms only one form refuses to redisplay. The code is exactly same on all forms. I have included 2 Express 2008 projects showing one form each in the zip file apps-ssk.zip

View 15 Replies

Allow User Select The Sign Name From A Combo Box If User Choose?

Jan 18, 2011

Write an application that tests the user�s knowledge of road signs. The application should display a random sign image and ask the user to select the sign name from a Combobox.

View 12 Replies

VB 2010 Validation - Form As Follows "Price Changer" - User Is Allowed To Select A Product And Enter Price

Apr 17, 2012

I have a form as follows "Price changer" The user is allowed to select a product and enter price . So when the change price button is clicked...the price is stored in a array which is later called

So what i am stuck is when the user selects a product from the drop down menu...the user can enter price . But i need to display a error message when the user enters text instead of numbers for prices. I tried try parse method but it displayed the error message but did not transfer the entered price to the array.

My code is as follows

The bolded intMediaprice() are arrays....

Private Sub btnPrice_Click(sender As System.Object, e As System.EventArgs) Handles btnPrice.Click
If cbMedia.Text = "8-Track" Then

[CODE]...

View 3 Replies

VS 2008 - Allow The User To Draw On The Form?

Nov 2, 2009

How would I be able, with the click of a button, allow the user to draw on the form? Maybe as if, taking a screen shot of the whole form, and then drawing on top of it? Dose not have to be a lot of colors, just a simple way to draw a line.

View 4 Replies

VS 2008 Form Still Showing For One User?

Jan 7, 2010

I have an MDI application. Upon starting it, the MDI form is instantiated, then it kicks off a Username/Password log-in form and makes itself invisible(user never sees the MDI form). If the user logs in, the log-in form becomes invisible and the MDI form becomes visible. This works fine, except for one user.When the log-in form comes up, the MDI form is also visible. If he clicks on something, it crashes(certain variables aren't set at that point). If he logs in, however, the log-in goes invisble and everything works fine. This guy is a network admin/IS type and has several versions/hotfixes of the .Net Framework installed. Could that be the problem? Does anyone know what could be causing this problem for this one user and no one else?

View 2 Replies

Allows A User To Select A Program To Run At A Certain Time For A Specific Amount Of Time All Choosen By The User

Jul 1, 2010

I have a program that allows a user to select a program to run at a certain time for a specific amount of time all choosen by the user. Everything works with the exception of if my program has launched the other program, my program become non-responsive. Meaning I am not able to look at that window again. Not that one really needs too, because when time is up my program closes the program it opened, then closes itself. I just want to be able to see my program when the other program is running. how to do this and perhaps drop me some links, that would be wonderful. This is what I have coded, but like I stated there are no code errors.

[Code]...

View 5 Replies

DB/Reporting :: (vb 2008) Log A User In Using A Login Form?

Jul 17, 2008

i am trying to log a user in using a login form. i have my connection to my database and there and it connects just fine but it will only read the first row. here is my code.

Code:
Dim ConnString As String = "Driver={MySQL ODBC 3.51 Driver};Server=dansoft.selfip.com;Option=131072;Stmt=;Database=elemental_battle; User=****;Password=*****;"
Dim objConn As New OdbcConnection(ConnString)

[code]....

there are two entries in the database. the first username and password are bagstoper and 1a2b3c4 the second is bagstoper2 and 1a2b3c4d. when i test it with the first username and password it works but when i try the second it doesnt work.

View 2 Replies

VS 2008 : Put A Control On The Form Which The User Can Resize?

Dec 16, 2010

I have a Mdi form and I need to put a control on the form which the user can resize. Now I need a container can be dragged by user to increase it's size. The split container will not work in my case as I have childforms and stuff. I want a container whose size can be increased by dragging it on one side.

View 8 Replies

VS 2008 : Start Form On User Login?

Aug 6, 2009

How can i set the form to startup when the user logs in? Like other things start up when u log in. Like Msn and xFire.

View 1 Replies

VS 2008 Allow The User The Option Of The Form To 'not Be Shown Again'

Apr 22, 2012

im hoping to be able to create a form that welcomes users to the application that i have created, however i want to be able to allow the user the option of the form to 'not be shown again'

View 13 Replies

VS 2008 Disable User From Dragging A Form?

Jun 28, 2010

Is there a way to disable a user from dragging a form other than setting the form border style to "None" ?

View 8 Replies

VS 2008 Have A User Type Something Into A Text Box On A Form?

May 15, 2010

I'm looking to have a user type something into a text box on a form and then on button press check that against values held in a single column of a single table in a database that I already have linked to the project. If it finds the item in the table Do X if not Do Y?

View 2 Replies

VS 2008 Making User Not Able To Resize Form

Aug 26, 2009

im trying to make it so the user not able to resize my form. i cant figure this out

View 1 Replies

VS 2008 Working With A Service - User Form?

Jun 25, 2009

I am jsut adding bits on to a Windows Service we are making here at our company, its an Asset Management tools with a few built in extras. It runs as a service on everyones machines but we can also do things like request a reboot etc through it.At the moment when We send a Reboot/shutdown etc command to it the Service on the machines calls 'C:WindowsSystem32Shutdown.exe' with the appropiate switches. This displays the windows shutdown warning to the users but nothing they can do about it.

What I was wondering if I create a seperate exe (or even better built into the service but I am not sure if this is possible) instead of the Service Calling 'shutdown.exe' it calls this form up to the user which states that we have requested a reboot etc but there is a 'Cancel' option. The Cancel can just end the form/program and nothing more, if the timeout that we specify is reached then that form/program then calls shutdown exe for an instant shutdown.

I know that the Service runs in a different user Space and we have no telling of who is logged on to that machine so I will need a way to just launch the form to any logged on users. Doesn't matter to much if there is no one logged onto the machine but if it does display this form while noone is logged on that is not a big deal.

View 7 Replies

VS 2008 - Changing User Control Values In Form?

Nov 22, 2010

I have a form which has a user control in it added dynamically. How can I change the values in that dynamically generated user control? All my functions are in a module and I will just call them in main form. So in module how can I find that user control and change its values? I tried writing a function in user control form. Like it has 10 txt box and I tried to pass a structure as argument in that user control form but I am unable to do so. when I tried to declare the structure outside function parameter in user control form it works well but not as function parameter..

View 6 Replies

VS 2008 Add A Custom User Control To A Form Or Project

Mar 19, 2009

I'm coming over from VB6 in which you could use 'user controls' to create reusuable custom controls. They were simple and contained and you can easily create several instances of a user control within the same or other apps. In vb2008 there are user controls but I can not figure out how to add them to forms or or other apps. Can someone please give me the the basic steps to add a custom user control to a form or project.

View 6 Replies







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