Forms :: Hide Hidden Devices
Dec 9, 2009
Been a long time since my last thread but here we go.I'm using VS.NET 2010 Prof Beta at the moment and I'm trying to list all Nic Cards and their settings into a text box. I succeeded with a script from the web (which had an error in the first place) and some adjustments to it.
It lists all hidden devices too (as to be shown in Device manager: Show hidden devices) I worked my way around it and let it jump to next if it doesn't have a IP address, but I find this a bit clumsy and want to really skip them if they are hidden and not just the way I did this now.
Plus it still does show the same NiC (different name, same MAC#) in the list because it has an IP, but in Device manager this one is hidden.[code...]
View 8 Replies
ADVERTISEMENT
Feb 24, 2012
I'm writing a Windows Forms application in VB.Net 2010. The application's purpose is to recreate the Device Manager in VB.Net. The idea here is to capture the information provided by Device Manager and store it in a database. In turn this information could be used as a configuration management tool.
My device tree is coming along nicely, with one minor exception. There are hidden devices that Device Manager does not display by default. Show Hidden Devices causes Device Manager to display these devices. My Device Manager displays them by default. I want to duplicate the Device Manager behavior of being able to hide and display these devices in my appilcation. I have had some success with this task in that I am able to hide the Plug and Play devices that are marked as hidden by windows by use of the "Don't Display In DM" flag. There is the small issue of the Non Plug and Play Device Class. My question is this... Is there a similar flag for Non Plug and Play devices? I have found a reference to the PNP_DEVICE_STATE and IRP_MN_QUERY_PNP_DEVICE_STATE IRP. It contains a flag
PNP_DEVICE_DONT_DISPLAY_IN_UI. My problem is that I cannot find any guidance as to the structure of this API declare and the coding needed to use it. I'm not even sure if this API will be helpful in accomplishing my task. I want to hide the Non Plug and Play devices and device class in my tree. Can someone please assist me with the locating an API that will accomplish this and the proper coding of the API in VB?
I am using Visual Studio 2010 Ultimate and Running Windows 7 Ultimate with all Service Packs and updates applied.
View 7 Replies
Feb 25, 2012
I'm writing a Windows Forms application in VB.Net 2010. The application's purpose is to recreate the Device Manager in VB.Net. The idea here is to capture the information provided by Device Manager and store it in a database.In turn this information could be used as a configuration management tool.My device tree is coming along nicely, with one minor exception. There are hidden devices that Device Manager does not display by default. Show Hidden Devices causes Device Manager to display these devices. My Device Manager displays them by default. I want to duplicate the Device Manager behavior of being able to hide and display these devices in my appilcation. I have had some success with this task in that I am able to hide the Plug and Play devices that are marked as hidden by windows by use of the "Don't Display In DM" flag. There is the small issue of the Non Plug and Play Device Class. Is there a similar flag for Non Plug and Play devices?
I have found a reference to the PNP_DEVICE_STATE and IRP_MN_QUERY_PNP_DEVICE_STATE IRP.It contains a flag PNP_DEVICE_DONT_DISPLAY_IN_UI.My problem is that I cannot find any guidance as to the structure of this API declare and the coding needed to use it. I'm not even sure if this API will be helpful in accomplishing my task.I want to hide the Non Plug and Play devices and device class in my tree.I am using Visual Studio 2010 Ultimate and Running Windows 7 Ultimate with all Service Packs and updates applied.
View 2 Replies
Jan 20, 2010
I have to hide the VIEWSTATE and EVENTVALIDATION hidden fields on my ASP.net page at RUN time.
I managed to remove the EVENTVALIDATION like so.............
<%@ Page enableEventValidation="false" EnableViewState="false" %>
But the VIEWSTATE is still there and I cant get rid of it and I need to. (hard to explain why)
View 5 Replies
Jan 25, 2012
I have a new application, and for some unknown reason, it's hidden behind other opened applications. It is shown when launched on desktop only if desktop is empty. How do I force my application to be in front of desktop ?
View 1 Replies
Aug 3, 2006
In v2003 setting the form property 'ShowInTaskbar' to FALSE would hide the form from the task bar but also hide the form if I did a 'ALT-TAB'. This is not the case in v2005. WHY and how can I hide the form for 'ALT-TAB'. The form has to be border-less.
View 7 Replies
Apr 4, 2010
how do I make the contents of txtPassword.Text when they type their password in. I need it to be hidden, like dots, when you log into your computer.
View 1 Replies
Apr 21, 2009
I have a windows form that I bind to a datatable via a binding source. The binding is done in code at run time. Eg;Me.txtCode.DataBindings.Add(New System.Windows.Forms.Binding("Text", bsForm, "ToolCode", True)) (bsForm is the binding source)This works well except if the form control is hidden (I have a couple controls on the form that hold Record ID and Version numbers that the user doesn't need to see). Databinding doesn't seem to work reliably for hidden controls.
View 10 Replies
Feb 17, 2010
I have a combobox populated from the DB with:
-ID
-State
-Tax
State is the only value that is shown.I'm trying to get the hidden value, Tax, from the combobox based on the selection but can't figure it out.
View 5 Replies
Jan 24, 2010
I am using a Windows Dialog form in my VB 2008 project. I bring up the dialog form no problem with the following
Dim resultNewInc As DialogResult
resultNewInc = frmDialog.ShowDialog()
If resultNewInc = DialogResult.OK Then
...some code here ...
End If
And in the Dialog Form, the OK button has code
Me.DialogResult = System.Windows.Forms.DialogResult.OK
Me.Close()
But there is one problem. If I call up the dialog form again, the form controls have the text values that were typed in during the previous instantiation and a class which is part of the form was not disposed. So it looks like the form is being "hidden" and not closed. I tried to use the code form.dispose but it didn't work.
View 4 Replies
Mar 13, 2012
I want to make 5 attachment options in that 4 out of the 5 are hidden.but when he clicks "more attachment" link it will show the other 4.Im using ASP.NET with VB?
View 2 Replies
Dec 23, 2009
How can i hide a borderless form from alt tab? Right now i have 3 borderless form in my app and i want all of them to be visible on screen but only 1 form listed in alt tab.
View 4 Replies
Sep 14, 2011
I was wondering if there is a way, I can hide the forms edge. By "edge" I meen the blue/gray half-transperrant edge. Like in the spotify login menu, for example. There is no edge.
View 3 Replies
Jan 13, 2012
I am successfully hiding a combobox, based on the selection of another combobox. However, I can not get the label of the combobox to hide as well. The code I am using, which is basically the same code for hiding the combobox itself returns the following error:
Error 1 'DOCUMENT_EVALLabel' is not a member of 'WindowsApplication1.Form1'
Here is the code I am using for the label:
Me.DOCUMENT_EVALLabel.Visible = (EVALUATIONComboBox.Text = "Text")
View 1 Replies
May 23, 2010
I want to hide an item in a combo box with out changing indexes of other items..the collection of the combo box is hard coded. ex: if I logged as a username ABC then combobox shouldn't have a item called ABC and want to remain other items' indexes as previous.
i can't use cbxOption.Items.RemoveAt(index) becouse indexes will change.
View 7 Replies
Dec 14, 2010
I developed a WebBrowser which loads a certain web-site for me. The next task, I would like to see only a certain info on that web-site which acts like a table serving as special informational news for me. So, I don't want another things to be appear on my loaded web-site. I need to hide html elements, so that don't appear on my loaded web-site. So, then the form will be like smaller and it will be more convenient to use. Maybe, I need also to hide or remove some java scripts. Do you have any recommendations for it?
View 3 Replies
Dec 18, 2009
I have a form (Form1 class) which has got a "next" button (like we have setup wizards) which shud take me to other form. Now that other form has two buttons , next and back , and it shud take me to the previous and the next form. And I want to preserve the states of each form. What I did was that I instantiated the Form2 class in the click event of the next button : [code]That does the job of showing the second form . In the click event (of the back button) handler of the second form , I have the following [code]Now , when I press the back button , the program hangs. And nothing happens. how to hide/show forms with .NET. In VB6 it's quite easy using Show/Hide methods.
View 6 Replies
Feb 22, 2011
I have noticed that whilst in the past using MS Access you could have a primary key field on a form and have it not visible. You could still use it for Dlookups etc using the value in the field no problem even though it is not visible. In Vb if i hide a textbox that is bound to a PK field in a datasource and try to use its value in code i get an error. Making the field visible again prevents the error. My goal is to use a PK bound textbox not visible to the user but still read its contents.
Also, what is the equivalent of a simple DLOOKUP in VS2010? EG. You have the PK and want to know, say 3 other pieces of information from the record based upon the PK you have.
View 6 Replies
Jan 17, 2010
I am working in VB. I have a fairly long and detailed explanation that I'll avoid posting but what I'm looking to find is quite simple. I'm looking for information how the command line executable LAME.EXE (the Mp3 encoder) returns information to the host program/form.
I am a VB novice and a novice to programming in general and am looking to learn more about as much as I can on the whole but basically I have a Windows form that gathers all the necessary information as a front-end:
The input .wav file path
The output .mp3 file destination
The encode settings (bitrate, frequency, etc)This information is pooled in to a string like this: lame.exe -v -b 112 input.wav output.mp3 or any variant on the settings selected in the GUI which is then in turn used to execute LAME.EXE with the set of parameters in a command line console...That's all well and good and it is quite functional but what I'm looking to do is to 'hide' the console in itself and have the encoder feed back its progress, say as a percentage inside the GUI.
The problem is that it doesn't appear that LAME in itself has this kind of functionality explicitly built in. I know it's possible however, as every single front end in the world has this functionality.I have tried a few ways of doing this with avoiding the issue of not being able to find the functionality within the codec. Perhaps I'm looking in the wrong place entirely or I'm not thinking correctly 'outside the box' as it were.
what I'm looking for is to use a command like this within the script itself: lame(v,b,112,"C:input.wav","c:output.mp3") or even pass the parameters obtained from the GUI a string formatted dynamically on the fly itself.I expect of course that this kind of functionality won't be available anywhere at all, what I'm really looking for as a workaround that reports the actions/progress/console output of the executable back in to the VB program somehow.
View 1 Replies
Mar 30, 2010
I have an application with a main form, on loading the main form asks the user to select a file to work with. I have now been asked to add a splashscreen to the project so did the following:
* Right clicked in solution explorer and added the splashscreen
* Went into project properties and added the splashscreen to the dropdown for splashscreen and then clicked "View Application Events"
Within here I have added the following
Protected Overrides Function oninitialize(ByVal commandlineargs As System.Collections.ReadOnlyCollection(Of String)) As Boolean
Me.MinimumSplashScreenDisplayTime = 5000
Return MyBase.OnInitiallize(commandlineargs)
End Function
Now when I run the application the splash screen shows but within, a second the openfiledialog has appeared and hides the splash screen.
View 3 Replies
Dec 2, 2009
I am using the 2005 Power Packs Print Forms, I need to hide the filetoolstripmenu in order to print because it come through on my client page So I am using filetoolstripmenusitem.visible= false, then calling print but i think its happens to fast so part of the filetoolstripitem is still coming through on my print image Is there something i can do to pause it for a second?
View 14 Replies
Dec 3, 2010
I have a program with which I can open a second form on a beamer, this works perfect, but what I do notice it that on the taskbar (I have windows 7) I see the main icon of the app but also the form that is created.What I would like is that the second icon is not displayed on the taskbar thumbnails, this way I can't close the second form by the X but only by a button on the main app.
View 2 Replies
May 5, 2012
I'm curious if it is possible to hide a group of text boxes from view in a form until a particular condition is met, and to have a custom set of text boxes for that condition. To give an example; I want radio buttons offering choices for a manner of searching records, the user selects one and then a specific set of text boxes are displayed for the user to utilize, if a different option is chosen a different set of text boxes will be shown. Is this something that can be done?
View 7 Replies
Apr 24, 2009
I am using Process.Start in my application, which is working great.My only problem is, the program it "starts", is an installer, which takes about 5 minutes to install. I woud really like to hide all my forms and only show one that says "please wait", but i cant seem to get it to stay there till the process has finished.
View 2 Replies
Sep 11, 2011
I have a simple GUI form to hide / show / minimize / terminate / force terminate Processes. i can do all well but for show and hide i need the MainWindowHandle to show or hide it
So here is hide process code:
Dim Proc As New Process = Process.GetProcessesById(List.SelectedRows(0).Cells(1))
Dim hwnd = Proc.MainWindowHandle
ShowWindow(hwnd,0)
If i try the same with show code:
Dim Proc As New Process = Process.GetProcessesById(List.SelectedRows(0).Cells(1))
Dim hwnd = Proc.MainWindowHandle
ShowWindow(hwnd,9)
The MainWindowHandle become 0 cuz its hidden is there is any other way to get the MainWindowHandle of Process ?
View 6 Replies
Jan 10, 2011
i need to get all sound device on pc as input and output after that i want to create a comobox to make the user select once of sound device
View 6 Replies
Mar 5, 2012
how to hide exe into task-manager in windows 7 using vb.net windows application?I want exe is hide into task-manager in windows 7 & windows vista machine using vb.net(windows application)
View 3 Replies
Oct 28, 2010
i am trying to enumerate all IPs on my local network, but i am not having any luck. The only thing i have came up with so far is a really tedius "get my own ip and scan the subnet with pings" which surely isn't the best way? I am really only trying to get the ip of a tivo box, and i can determine it's a tivo by mac address or name. My router lists the "computer name" of the tivos as a long string of numbers with the prefix "tivo".What about broadcasting a ping packet? I could also attempt to connect with telnet to port 31339 on every one of them.
View 8 Replies
Apr 3, 2007
I'm writing a media management tool and want to add support for MTP based devices.I've been reading through the SDK docs and with the help of some C# examples have managed to make a start on getting some VB code working.
I've come across a few anomolies that I hope someone can help me with!In the examples IPortableDeviceManager.GetDevice appears in C# to receive a string array. But in VB.NET it appears to only receive a string. I have a similar issue with IPortableDeviceManager.GetDeviceFriendlyName which according to the C# samples appears to receive a char array, whereas in VB.NET it is accepting a UShort.
[Code]...
View 1 Replies
May 17, 2011
i have a question about detecting some usb devices. I use two different usb devices : Safenet HASP and Maxim iButton.Is it possible to detect that these usb devices are connected.
View 1 Replies