Architect-.Net Developer/Consultant (IL)
The selected candidate will perform the following duties:
- Create and maintain web applications using DotNetNuke, ASP, ASP.NET, VB, VB.NET, Java, Ajax, and HTML
- Create web applications, posting data and reports from a source of SQL Server Databases
-...
Looks like there are a few things which can be accomplished by two ways...
For things like querying registry, eventlog etc I make a connection to wmi services and then query for information.. But for querying event log there is an object called geteventlogs and also there is a class for...
I got it working now... I declared the variable dwvalue inside the 'For Next' loop... I didn't know why it worked and why it wasn't before, but it simply occured to me because this one variable was little suspicious...
Hi everyone,
Here is a part of my code which loops through the items in a checkedlistbox.. The text of each item is the name of a computer...
When the loop runs for the first time, it runs fine, but when it goes through the loop the second time I am getting the following exception...
1. I have a multiline texbox and want to know if there is a way to search for a text in the textbox... The user should be able to input a search string and click a button to search all the entries of the string in it, just like ctrl+f
2. Is there anyway to make the textbox 'read only'? The...
Hi everyone,
I am using the following code to add some value to a date:
Dim strdate As Date
Dim numinterval As Double
numinterval = 149548.720386359
strdate = DateAdd(DateInterval.day, numinterval, #1/1/1601#)
MsgBox(strdate)
The value numinterval is the...
Thanks..
I simplified the code:
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim item As String
For Each item In chkb.CheckedItems
MessageBox.Show(item)
Next
End Sub
and set the...
I found the answer for my second question, and didn't think it was this easy:
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim i As Integer
For Each i In chkb.CheckedIndices...
Thank you so much... I created a checkedlistbox with name 'chkb' and set the 'visible' to false. Then modified the code as below:
Dim returnValue As RegistryKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run")
Dim keyname As String =...
I have the following for each loop which loops through a registry key and reads all the values:
Dim returnValue As RegistryKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run")
Dim keyname As String =...
I read in msdn that registrykey class is found in Microsoft.win32 namespace
But when I try to add a reference to my project, I couldn't find Microsoft.win32 in the list.
What should I do?
Thanks..
It looks like using My.Computer.Registry.GetValue, I can get the data of a single value from a registry key, provided I know the value name...
But what if I don't know the value name and loop through all the values in a key and want to read the data for each and every value?
For...
I actually went to the properties window for checkbox1 and in 'Tooltip on Tooltip1' I added my tooltip...
And it works as many times as I hover the mouse over the checkbox before I check it. If I check the checkbox once, then the tooltip never comes
I just noticed one more thing. I actually...
I added a tooltip control in my form and set a tooltip for a checkbox.
The tooltip shows fine until I check the checkbox... If I check the checkbox once and uncheck it, the tooltip never shows up when I hover the mouse over it...
How to make the tooltip to show on mousehover no matter the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.