Windows State Control In WindowsApplication?
Jul 27, 2010i have created a windows application, which contains buttons that open up a new browser and points it at various different links, here's a sample of it, from the top :
[Code]...
i have created a windows application, which contains buttons that open up a new browser and points it at various different links, here's a sample of it, from the top :
[Code]...
I am trying to find a way to accurately verify if a Windows 7 machine is currently using an active license and activated. I believe I can initiate a 'cmd.exe' command to run a cscript (slmgr) and parse that information but that seems like an inefficient method.I have came across an unmanaged windows API called SLGetGenuineInformation [url] however I am not familiar with how to call this in VB.NET or what the variable types should be. I believe VB6 came with some sort of APIViewer that Visual STudio 2010 does not seem to contain.
View 2 RepliesWhat does it mean?What is the difference from WindowsApplication.exe?
View 1 Replieshow can I add a spreadsheet into my form
View 3 Replieshow to remove the blue windows state in VB application?I am curently on a project and grapchicly it looks nicer without, is it posible to remove it, without the X button and the maximaze box and the mimize box?And how to remove the windows taskbar while running an application?thx-pbandov-
View 4 RepliesI would like to know the correct procedure to deploy windows application in VS-2005.
There are some specific issues I am facing after deploying the project to the client machine.
- I have a CMS (ContextMenuStrip) in one of my forms associated with a TreeView and its not showing.
- Another form that contains a custom DataGridView which i created by subclassing default DataGridView is not showing this control.
DETAILS:-
- Everything works fine on my machine.
- I BUILD the project in the RELEASE mode
- From the bin\Release folder copied the .exe to the client machine in the root, also copied the Reports to the root on client. Is this correct way to deploy?
- Instead of setting the CMS property of the TreeView, I instantiated a CMS in my form, assigned it to CMS property of TreeNodes when TreeNodes are populated programmatically.
i wanted to know the primary output and other types of files listed when u add project output what exactly they are how they r used.Another thing what comes under detected dependencies.?
View 4 RepliesI need help making this code work better. Currently, what happens is when it reloads, I loose the third value which is a calculated value . I would like for my page to reload without loosing the values for each property and each instance of the user control on the page.
[Code]...
Ok everyone knows that you can get the visibility of a control by control.visible...now my question is this: how can i get the visibility of a control without taking parent controls into account ...ie. if i have a button in a picture box ... and the picture box is invisible (even though the button property is visible in the designer) the value returns false.How can i return the visible value for the control that is displayed as it would be in the designer?
View 1 RepliesI am using a webbrowser control to login to a website.[code]On successful login I have to navigate to another page. This will happen only if the login is correct. The issue here is as son as the login page is loaded the readystate of webbrowser control becomes complete and even before the I login to website the next line of code gets executed and results in an error as I am not logged in.url...How can I make my application wait for the login to be complete and then execute the above line of code.
View 2 RepliesI Have a web form in a asp.net web form 3.5. The listview has a checkbox on the item template, I am trying to retain the state of the checkboxes through pagination . Once I can page through records and preserver this state I need to send this to a print page which takes those ids...I have this working, but it will print only the records on each pagination. [URL]
how can this be done, the code below is not working.
Protected Sub ListView1_ItemCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ListViewCommandEventArgs) Handles ListView1.ItemCommand
Dim myButtonPrint1 As Button = CType(ListView1.FindControl("printButton1"), Button)
If e.CommandSource Is myButtonPrint1 Then
[Code].....
Essentially what I want to do is copy a WebBrowser object such that I can do the equivalent of "Open In New Tab" or "Open In New Window" actions, maintaining any posted data. I don't just want to navigate to the same URL as in the original WebBrowser object, rather I want to repeat the HttpWebRequest.
View 1 RepliesCan any one tell me how to read or write the control property values that has been saved as ocx state value in the XML? I have some controls. I am assigning a property values for that controls and it is saving as binary64 format. I need to automatically assign property values in the binary64 format in xml.
View 1 Repliesis it true that if the AllowEdit property is set to false, any DataGridViewComboBoxColumn that my DataGridView has will be in a "disabled state" (will not allow the user to change the value of the DataGridViewComboBoxColumn) AND there is no way i can make it in an "enabled state" unless i switch the AllowEdit to true?
View 5 RepliesI want to set control position relative to other control so when i make one control hide then other control move up like this.
View 1 RepliesAdditional Information: Im using Visual Studio 2008 (VB) I have experience with C# I cant see where to define the Main Sub, here is my problem: I created a WindowsApplication in Visual Studio, it created a Form for me, when i click 'View Code', something like this appears.
[Code]...
While navigating to a series of sites at one site the WebBrowser control's DocumentCompleted EVENT is tripped and no other recorded Browser events occur after that. When this happens the hour glass cursor indicates the browser is waiting. From this point it take 120 to 250 seconds of wall clock time before the browser resumes. I am looking for a way to force an abnormal termination without destroying the control. I have tried "Stop", "nav to about:blank" repeatedly without success. How can I force an abnormal termination when the Cntrl is in a wait state?
Consider the following: The last known Browser event to be tripped is a Document Complete event; nothing else occurs after this. When this transpires the Cntrl is waiting.
1:50:657: ============================= ENTER WebBrowser1_DocumentCompleted EVENT ========================================
31:50:657: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^THE NEW WEBBROWSER STATEMENT
[code]....
It is possible to create windows service using windows form control in vb.net. give me the url or links. The windows forms control such as, Timer control, list-box, notify-icon control etc.
View 1 RepliesI Need Build a user control which works as a Login control using Windows Class Library or Component Template:The user control returns the user name and the password It means that the control has minimum two ReadOnly Property procedures. You let the user of your control (he/she which uses your control in his/her software) to set the background colour of the two labels. Create a Windows application to test your control.
View 10 RepliesI have the code which checks if there is a selected tab
Private Function GetBrowser() As WebBrowser
If TabControl1.SelectedTab IsNot Nothing Then
For Each c As Control In TabControl1.SelectedTab.Controls
If TypeOf (c) Is WebBrowser Then
Return c
[Code]...
Is it possible? Apparently yes but... how?
View 8 RepliesI installed my old Visual Basic programmes in Windows 7 and I have two problems.
1- VB itself which apparently is not compatible.
2- I used some controls which are not supported anymore but I used vbusc.exe for Windows XP and it worked. Now for Win7 what can I do?
where can I get a bar chart control for visual basic.net and windows 7. Mschart.ocx doesn't work.
View 2 RepliesI have a need to open 10+ Unix windows and run 5 or 6 commands on each window. I would like to set up a VB application with a menu so that I can select which Unix windows to open, and which commands each window needs to run. What VB 2008 commands (1)run otherapplications on the same PC; (2) set the focus to another window (3) allow a VB application to send acommand scriptthat will be used by the Unix window as if
View 1 Repliesi want to make a simple application to stop or start the Services in Windows XP. I'm using Vb.net 2005. I've googling and find that I should use "System.ServiceProcess.ServiceController". Does anyone have example for this?
View 2 RepliesI have a User Control that contains a System.Web.UI.WebControls.FileUpload control as well as a button to 'Submit'.
When the button is clicked code similar to the following is executed:
If FileUploadControl.HasFile Then
'Save the file and do some other stuff
End If
This code works just fine with Windows XP. However, if I run it from a Windows 7 64-bit machine using IE8 32-bit the HasFile property always returns false and nothing is saved?!
I have the need to embed what I want to call an ActiveX component into a webpage on my intranet. The reason I want to do this is, I'd like to check if a USB security token is inserted on the end users PC.
My question is: what do I need to be researching to accomplish creating a control which can be embedded into Internet Explorer when programming in VB.NET?
I have been searchingall day to find out it, but did not find the best way, all but I found one forvb. That framework can not beused on 4, but can be used in the framework 3.5 and below.
View 4 RepliesWhere in VS2010 can I find a horizontal separator control, as can be found in Outlook settings (screenshots below)?[URL]..
View 3 RepliesI have an application in visual basic .net 2008 that allows us to configure our application on different servers, as part of this I need the ability to start/stop windows services on remote machines from the application.I am currently using the following code
[code]...