Forms :: Part Of Window Whites Out At Runtime?

Jun 3, 2009

During runtime, while (hehe...pun ) doing some operations, part of my windows form turns white, and the buttons don't show, and it doesn't look so user friendly.I am running some processes and I wonder if If its because I am not using the process.waitForExit() function, and I have quite a number of loops...

I want my form to look normal, and preserve the user interaction and all, without whitening out.

View 1 Replies


ADVERTISEMENT

VS 2010 Find A Part Of Window?

Jan 6, 2011

Dim MainHwnd As IntPtr = FindWindow(Nothing, "NameOFtheSoftware - Trial Version (0 days)")
'MenuClick(MainHwnd, CType(2, IntPtr), CType(0, IntPtr))

I am using the name of the window to do the clickingaction, But the software is a trialversion and changes the days amount. So how to make it that it doesnt need to find the whole windowname, but just a part of it.For Example: NameOFtheSoftware

View 15 Replies

Forms :: Get Part Of String?

Sep 5, 2010

I want to make a function that takes a string and then returns only a specific part of that string.

The string the function will take is a path to a file such as

D:FolderFolder2Untitled Document_1_2.tif

What i want the function to do is return the

Untitled Document_1

Portion of the supplied string.

View 6 Replies

Forms :: Forms To Open As Part Of A "bigger" Program?

Mar 2, 2010

I would like my forms to open as part of a "bigger" program, where there is a screen that fills the monitor and inside this screen is my form, centered. When a new form is opened, only the new form will be displayed...it will not be form on top of form.It would look similar to the screen in the following link, except the form inside the bigger screen would not have the minimize, maximize, or close buttons.I am just wondering if there is a property in VB.NET forms that will allow this to happen.

View 8 Replies

Forms :: Using Variable As Part Of Control Name

Jul 25, 2009

Basically, I have a large number of text boxes. Within these text boxes, I'll be doing calculations based on user input and other things. These boxes will be grouped by numbers, eg Cost1, Profit1, Stock1... Cost26, Profit26, Stock26. Without too much explanation, I went to write a FOR loop to perform a repetitive calculation across multiple groups, and the following line came up.

FOR num = 1 TO 26
Cost(num).text = ItemCost

What I've tried to do is use a variable to decide which 'Cost' textbox, from the available 26, to use in the calculation. For whatever reason, it won't work. I would like to be able to use a variable to specify exactly which textboxes I want used, so that on the 3rd pass of the loop, the 3rd box is used, and on the 19th pass, the 19th box is used. Otherwise, I'd just have to do each calculation separately, and write the same thing 26 times, with slightly different numbers.

View 2 Replies

Forms :: Change The BackColor Of All Forms At Runtime?

Apr 29, 2011

I have a question how can I change the BackColor of all forms at runtime?

I tried to loop through each form but didn't work for me

View 4 Replies

VS 2008 : Set Location Of Window On Runtime?

Jan 30, 2012

I have 2 forms. I am calling form2 from a button click in form1. I want through the button click to set the location of form2 by setting X,Y cordinates. I have tried this but nothing happens:

form2.Location = New System.Drawing.Point(100, 15)
form2.Show()

View 8 Replies

VS 2008 Set Location Of Window On Runtime?

Aug 24, 2009

I have 2 forms. I am calling form2 from a button click in form1. I want through the button click to set the location of form2 by setting X,Y cordinates. I have tried this but nothing happens:

form2.Location = New System.Drawing.Point(100, 15)form2.Show()

View 2 Replies

Forms :: Force Textbox To Display Beginning Part Of Text?

Oct 20, 2009

'm currently having trouble with a textbox. If the text in the textbox is longer than the textbox itself, it will display the end of text to the user. I need it to display the beginning of the text to the user. Is there a possible way to force that to

View 2 Replies

Interface And Graphics :: Adding A A Form As A Child Form To A Third Part Window

Mar 24, 2011

As Autodesk is going to discontinue VBA for their Inventor product in the near future I have been looking at other ways to run VB.NET in Inventor. To date it doesn't look like VSTA will be the replacement. Automation from an External VB.NET app is certainly possible, but leaves something to be desired for speed and integration. Compiled Add Ins are the Cadillac of choice but can be a royal pain to debug and develop. Autodesk now provides a lightweight VB.NET script interface called iLogic. It's main purpose is to allow extreme customization of Solid Modeling parts. The code actually resides inside the Part Model file.

[Code]...

View 7 Replies

Stop The Forms Moving To The Back When They Are Open If Click In The Any Part Of The MDI Area?

Nov 20, 2011

I have an MDI running as the parent. How can you stop the forms moving to the back when they are open if you click in the any part of the MDI area. Also I notice if I have more than one form open it creates form instances on my windows task bar?

View 6 Replies

Forms :: Resize And Already Open Window To Automatically Accomodate A New Open Window?

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

Create Event Log Source As Part Of Installation - Windows Forms App, Vs Deployment Project

Mar 27, 2011

I have a vb.net windows form app that I am deploying as using the visual studio deployment project. The app needs to write event logs to the application log in the event viewer. For reasons explained here I need to create the event source during the installation process. Something like this to run as part of the installer

If Not EventLog.SourceExists(My.Application.Info.ProductName) Then
EventLog.CreateEventSource(My.Application.Info.ProductName, "Application")
End If

That code needs to be run during the installer with elevated privileges. So my questions are:

How do I execute that code above as part of the installer? How do I get the installer to do the UAC prompt to allow that code to run as part of the installation?

View 1 Replies

Provide A Status Window In VB2008 When Calling Access 2007 Runtime Modules?

Mar 25, 2012

I am looking for some help in finding the best way to display a progress window for a module I am working on.I have a VB2008 app using an Access 2007 db. One of the MODULES in the Access db does a masterfile update and I want to show the user what is happening in process.

The VB2008 app calls the Access module to do all the work which is FAR FASTER than having VB2008 do all the work.The goal is to have a small window popup and display the progress. Once the process is done, close the window. How would you do this? Use a Access form? That works but it not clean looking at all. Is there something else that might work better?

Something like a msgbox that opens and can be updated while the process runs. Once the process is done, it can be closed. The user will not need to interact with this window - it's just to show the applications progress.

View 11 Replies

Multi Form / Part Application Need To Make Part Protable For Transfer

Feb 22, 2011

im making an application in vb.net (duh!) anyway i have created and coded the whole project and it performs exactly as i want it to (i dont need code help). my problem lies with the fact that my project is 2-3 parts

1.a setup form that gathers inital data about the enviroment stores this data encrypted in a config file. after inital setup this form is not displayed again. but needs to be run on both computers

2. the second form is the real application form im in the process of turning this part in to a background service anyway this form is the one that establishes the connection between two nodes it works correctly

3. the config files

anyway here is my problem i want to make this application distributional with just one file the (.exe) and have this .exe make everything else happen. it runs the setup form and creates the first config file which it does then it needs to produce a copy of just the second form and the config file to transfer to workstation #2 that will run independtly without the whole application which i cant make happen then it needs to turn both workstations application on by only starting one on either computer and invoke the other computer to start its corrosponding app also no idea how to make this happen any ideas or suggestions as to where to look to try to find my answers.im thinking i might need to make two seperate applications (a setup app, and the running app) and include them both in a project and use the setup.exe to to package them together this is a little side project that im making for my self to use to make programming a little easier so i plan on giving it out to some fellow students to test and tell me what they think so im not really worried about ease of use or complicated procedures yet but if it turns out to work and actually be of use to anyone else i would be willing to rewrite it to distribute to the masses but for now i just want it to work for me.

View 4 Replies

Forms :: Creating Paragraph Styles Of Text In Window Forms Text Controls?

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

IDE :: Excluding Forms To Convert A Window Forms Application To Class Library Application

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

Create New Forms At Runtime?

Jun 16, 2010

I'd like to know how I can craete new forms at runtime.

Lets say I press Command1, a new form would open with a text box and a button on it. If I click Command1 again, another form would open with a textbox and a command button.

View 3 Replies

Changing Forms Title At Runtime?

Oct 9, 2011

I'm trying to change a forms title at runtime where it = my textbox's text. But I can't even get it to change to "test". When I try to google it, it comes up with vb6's
.caption = "test".
When I try to search it on the forum, it gives me a error message saying:
"Error 502 Bad gateway"

View 10 Replies

Create Multi-forms At Runtime?

Nov 24, 2010

Background: ok I have an app that hides in the system tray. During its operations in the background it can try to invoke an outside app several times.. and I need to track when the call errors out.. I was using messagebox's but for some reason if the app hidden the messagebox's dont come up and goto the forefront. So in reading about this I read I should just use a form to do it.. so I did.. works fine.. well works fine for one error.. but if the user tries to do 3 of the same operation.. and lets say first errors.. second works and third fails.. using one error form wont work.. since I diaplay the error one.. then need to display error 2.. I need 2 error forms so they can click OK on both.[code]...

View 2 Replies

Create Object In Forms During Runtime?

Oct 4, 2009

Trying to create an application where the objects in a form are created during Form.Load depending on the content in an ini-file.The objects I have in mind are textboxes and labels for a start.

View 5 Replies

Forms :: Accessing Objects At Runtime?

May 24, 2010

I need to dynamically access a bindingnavigator, is this possible? I basically want to have code in my Base form which enables or disables it's descendant's menu buttons depending on access rights.

View 2 Replies

Forms :: Button Selection At Runtime?

Nov 1, 2009

I use Microsoft Visual Basic Express edition 2008 on my Windows XP SP2 and in it, in a Windows Form project, I add a button to my default form and set it's flatstyle to flat and borderwidth to 0. At runtime, when I click that button, I get a black color hollow box on that button at it's center...

View 6 Replies

Forms :: Controls Added At Runtime

Jan 1, 2011

I'm just starting out using vb.net and i am writing my first application. I have added some comboboxes at runtime to my form using the code below.[code]Now my question is now that i have these controls added to the form, how can i iterate through them all and collect the values for sql injection. I have given each combobox a specific name when it was created such as Ball1, Ball2, Ball3.[code]

View 4 Replies

Change Text Of A Forms Buttons During Runtime

Feb 3, 2010

Just a quick question, using Visual Basic 2008, is there a way to change the text of a forms buttons and other objects during runtime so that the text sticks no matter if the form is closed and reopened or not? I can get the text to change, but after closing the window and reopening, the text resets. Is this possible?

View 2 Replies

Forms :: Adding And Removing Controls At Runtime

Jan 4, 2012

I am working with my project and I have difficulties in my program. This is the set-up: I put a textbox1 and a button1 in the form, textbox1 is for the property of the label text to be add
when I click the button1 I have another textbox, label and a button,I want the added button to remove the textbox, label and if possible the button itself, is there a way to delete a control by the added button?

View 1 Replies

Forms :: Draw A Textbox At Runtime Using Mouse?

Jun 15, 2009

I want to draw a textbox at runtime using mouse. I know I hav to use MouseUp,MouseDown and MouseMove events to do this. But i cant find the way to set textbox's height and width.

View 8 Replies

Forms :: Editing Label Font At Runtime?

Aug 29, 2011

Is it possible to edit a labels' font and size etc at runtime? If so how would I do this? apparently it is read-only? Im basically learning about decision structures at the moment and would like to change a label font based on a case statement?

View 1 Replies

Forms :: Error When Creating Panel At Runtime

Jun 23, 2010

When I want to create a new panel at run time when I clicked a radio button it displays an exception at panel2.location.

Dim panel2 As Panel
Private Sub RadioButton5_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton5.CheckedChanged
panel2.Visible = True
panel2.Location = New Point(200, 300)
panel2.Size = New Size(200, 300)
Me.Controls.Add(panel2)

View 2 Replies

Forms :: How To Create MouseOver Event At Runtime

Jan 6, 2012

I have a form that depending on results from a table would create a number of buttons using code at runtime. This could range from 1 to 20 buttons. What I am struggling with is creating a generic mouse over event for each of these buttons? The reason why I want a generic mouseover event is that depending on the text on the button I would do certain things, instead of duplicating the same code in individual mouseover events. I am writing in VB.Net.

View 1 Replies







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