Create Hotspots (like On Webpages) On Window Forms?
Aug 1, 2009
I have a floor map of a buiding. It has cubicles. The application must display the floor area information of a cubicle when the user clicks on the cubicle?
I was thinking about use picture bixes for each cubicle but it seems complicated.
How to i create clickable areas on the form and load images to those areas?
View 2 Replies
ADVERTISEMENT
May 25, 2009
I have code that opens a new window but I want to be able to edit the same one. System.Diagnostics.Process.Start("iexplore.exe", "[URL]")
View 4 Replies
Oct 8, 2009
Is it possible to create an MDI application which have each MDI window in a separate processes like Chrome does?
View 1 Replies
Feb 25, 2009
how to create window based application in vb.net
View 2 Replies
Jun 21, 2009
I am building a simple windows form (using VB.NET) for a friend to use at work. His company has about 10 specific colors schemes (they have list of RGB values) that they use for the company logo, website etc.
I want to follow this color scheme in my application and, to simplify development, would like to build an enumeration of these colors to avoid hard coding the RBG value for every label, panel etc.
My initial thought was to do the following:
Enum ColorTypes
CompanyDarkBlue = Color.FromArgB(0,56,147)
CompanyBlue = Color.FromArgB(0,111,198)
CompanyLightBlue = Color.FromArgB(0,145,201)
End Enum
However, it's not that simple as a constant is required. I looked around on the internet and I found an example of how to achieve what I need but it seemed inordinately complicated for what seems like quite a common requirement for application development.
View 4 Replies
May 21, 2011
I'm making a program which will work minimized in the system tray.Now, what it have to do is to load a page [URL] and then input a specific string which i have stored, into this element:
HTML Code:
<input name="ctl00$ctl00$JobnetBaseMiddelContent$LoginContentPlaceHolder$txtUsername" type="text" id="ctl00_ctl00_JobnetBaseMiddelContent_LoginContentPlaceHolder_txtUsername" class="text required" style="width:183px;">
and another string into this one:
HTML Code:
<input name="ctl00$ctl00$JobnetBaseMiddelContent$LoginContentPlaceHolder$txtPassword" type="password" id="ctl00_ctl00_JobnetBaseMiddelContent_LoginContentPlaceHolder_txtPassword" class="text required" style="width:183px;">
and then press this button:
HTML Code:
<input type="submit" name="ctl00$ctl00$JobnetBaseMiddelContent$LoginContentPlaceHolder$btnLogon" value="Log ind" id="ctl00_ctl00_JobnetBaseMiddelContent_LoginContentPlaceHolder_btnLogon">
After that, it would login to the website, and would afterwards press on another button.Each week, i have to login to a website, and press a button in order to keep my current economic status. Which is quite meaningless. Therefore, having a program to press it for me, working in the background, would be so much easier, and make me not forget it?
Ps.The elements info's were received using Google Chrome's "View Element Details".
View 4 Replies
Aug 8, 2011
not too sure if i posted at the correct place. but anyway.. here's my problem. i'm using vb web developer 2008. i'm trying to pull out data and display using the imagemap/hotspots. for example, when i search for this item 1, it will pull out the data from the database and then shows me where the item is placed on the map.
View 1 Replies
Jun 2, 2009
Where should you start when your next application was a bluetooth hotspot implementation?
View 1 Replies
Jan 2, 2012
I need the ability to create a dynamic number of hotspots in an imagemap the pseudo code for what I want to do is below:
Protected Sub AddHotSpot()
Dim r1 New RectangleHotSpot
For Each Item as datarow in dataset
[Code]....
View 1 Replies
Dec 29, 2010
If I have a large number of classes, each similar to the other in certain aspects (they all share a common base class, but each does things differently), and I need to create Windows forms for each to allow easy changing of their values through a GUI? Create one matching form for each object in VS' forms designer, Or Use code to create the forms dynamically at runtime.
#2 makes the most sense to me, because a lot of these objects will share very common features of the form, notably "Ok" and "Cancel" buttons. But one object might need to draw a textbox on the form while another might need to draw a combobox. Not to mention, if I want to put icons on the "Ok" and "Cancel" buttons, I'd have to do this for each copy of the form in designer, and that sounds like it could get out of hand quickly.But is drawing forms through code sane? VS' forms designer is pretty sophisticated and designed to make life easier. Am I wise to consider ignoring its functionality and diving into the trench warfare of forms design through code? Or are there examples of automating form creation based on an existing object's properties?
View 1 Replies
Feb 24, 2009
if you guys have used office 2003 or better( i am sure all) then you would have seen that when the help window open it causes the active windows say of MS WORD to change accordingly so that this help windows fits with it along the right side and this functionality i want to implement in my VB windows application and have no idea how to do it Also i have seen this feature in GOOGLE DESKTOP GADGETS...
i want to implement that when my application opens which ever is the active window( of any application) snaps to the left and allows my application to fir in the right hand side i am developing my application in VS 2005 using Visual Basic.
View 1 Replies
May 8, 2010
I am trying to build a NOTEPAD/WORDPAD like application with vb.net on visual studio 2008.
I need an option to define and choose (MsWord, or CSS like) paragraphs styles, such as: "heading1", "green quotes", etc.
View 1 Replies
Jan 16, 2012
I am not able to find the Exclude Command in VB 2010 Express. I have no idea which version of Visual Studio it is working with. I've got one 217MB VB 2010 Express file and many 2008 VB Express files with one of them measuring 31 MB. There many other SQL files and .Net Files.
View 4 Replies
Jan 21, 2010
How to create a data forms with the data forms wizard in VB 2005
View 6 Replies
Aug 21, 2009
I am opening a PDF file in Acrobat then am sending the Menu keys using sendkeys.AcroHandle gets the value but the send keys always working with my .Net IDE. It is opening the .Net IDE file open menu. It supposed to open Acrobat File open.
AcroXAVDoc.Open(FileName, "Acrobat")
AcroHandle = FindWindow(vbNullString, "Acrobat - Adobe Acrobat Professional")
If (AcroHandle <> 0) Then
SetForegroundWindow(AcroHandle)
System.Windows.Forms.SendKeys.SendWait("%(FO)")
End If
View 1 Replies
Oct 22, 2010
I would like to hava an application in which I have several buttons on the main scream. Each button will open new screens (or forms) but I'd like them to open it in the same screen as the main form not in a new one.
View 3 Replies
Dec 1, 2010
I've designed my own encryption application in VB 2008 that has a free tools section where users can choose a particular wizard to use from the drop down. The javascript wizards display the code required to put in their own sites. I already created wizards that users can well, use.I see people have their own "contact form wizards" on their websites all the time. Where users can use the wizard and get the displayed code to copy and paste on their sites. But trying to locate source codes to these things is very aggravating on the web.So what I want to do is create my own "form wizard" like out of javascript, that allows the user to put in some information then get the displayed code to put in their own websites. I'm not looking for the generator such as the online form generators.But the javascript source code(s) for the generator itself.Then I could simply put a form generator inside of my VB-app, that will allow the user to use the wizard, then get the html code to paste in their own sites. Preferably not the PHP one because the php backend is very difficult to put in a VB app.I know that it can be done. For example copying a web pages source code then putting it inside a string, then calling that string from a button click that will open the javascript page in the webbrowser inside the VB app.
View 2 Replies
Jan 8, 2010
I've got to the stage where I want to make changes to my application so that all of my forms appear to the user as a single window.
I have a main Form with a menu bar which opens up three separate forms. Only one forms is visible at any time.
One way to do this, that I can think of, is to place all the controls from each of the "auxiliary" forms on a panel contained in the main form and then show and hide the panels, when needed. I can envisage this being a big headache though.
Another way would be to give each form a menu bar and make it look like the main form so that the user would not know the difference (with a bit of luck).
I just wonder if there are better ways to do this. Maybe if I could incorporate one form into another form?
View 2 Replies
Oct 1, 2010
I am just learning vb.net using vs 2008. I have a small forms app which I have conected to a small, single table 2 column database. I enter some numbers into a text box, press a button and the data gets entered into the dbase. However the only data that gets displayed in the data table I have on my form is the existing data.No new data entered is shown until I close down and restart the app. I have tried many times using statements such as [code]...
View 9 Replies
Dec 19, 2011
I am creating a small program that can automate the input to a web browser window, Like a survey filling bot but for my personal use,All I want to know is there any way to simulate a Mouse click for a particular element in a web browser window so that It can submit the form automatically ?
View 4 Replies
Jan 5, 2010
I have a border-less window made by this function:
Private Sub MiniWin()
Me.Visible = False
Me.Text = ""
[Code]....
and when is in this state I can't move it... so how can I move the form when is in this condition?
Second Q: how can I forbid the window form not to be re-size-ble and stay within the given dimensions?
View 2 Replies
Nov 4, 2010
I'm having a difficult time getting cursor's position within the window I tried using : Cursor.Position.X and Cursor.Position.Y but it returns the position of the cursor on the screen and not in the window...
View 10 Replies
Mar 4, 2011
I was wondering if there's a method to set the form as the active window (not topmost obviously), if it's currently not the active window (meaning another window is currently the active one). By active I mean "selected".
View 1 Replies
Jul 2, 2011
How to use control validators in vb.net window forms.....
View 1 Replies
Mar 12, 2012
I have an MDI window with multiple child forms. The user can hide or display child windows by checking/unchecking in a View menu on the main form, calling on either the Show or Hide methods for that form. Each time I call the show method do I also have to specify myForm.MdiParent = Me, or do I only have to specify that once, ie does vb remember that the form will always be a child? it doesnt appear to be a form property any more (from vb6).Second question relates to forms themselves. If I have created a form at design time, is it more efficient to create an instance of that form using New, or simply show the form as it is by just loading it.What are the pros or cons, memory and speed wise? In my case I will never need more than one copy of that form to appear, I'm using VB2005.
View 2 Replies
Nov 27, 2010
I need your help in printing multiple window forms in a project. I have about 8 different forms in the project. I can print individual form using PrintForm. What I need is a function that I can call to print all or anyone form I chose.
View 5 Replies
Mar 10, 2009
I amin process of developing a student database. Here i have many forms that are navigated through. The problem is what shall i do to have all the windows that are displayed are of same size???
View 1 Replies
Jan 16, 2012
I might be going about this the wrong way, but I'm trying to create a form that will include a single button, for instance "Enter". When "Enter" is clicked, I want the form to then display the contents of form 2, which might include more buttons and/or a textbox, etc. I want to do all this without ever opening or closing a form.
View 3 Replies
May 14, 2009
i am learning toolstrip and i have created my tool bar. one of my icon is "new window" my question is how can i create a new window?
View 9 Replies
Jun 12, 2009
I want to create a pop-up window in VB.net
View 14 Replies