Search results for query: *

  1. borris83

    Available SQL and ASP.NET developers needed in various parts of US

    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 -...
  2. borris83

    using wmi, ldap vs inbuilt objects

    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...
  3. borris83

    System.AccessViolationException while in a loop

    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...
  4. borris83

    System.AccessViolationException while in a loop

    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...
  5. borris83

    textbox questions

    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...
  6. borris83

    DateAdd function - Arithmetic operation resulted in an overflow

    Thanks a lot... That's exactly what I was looking for...
  7. borris83

    DateAdd function - Arithmetic operation resulted in an overflow

    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...
  8. borris83

    How to dynamically add checkboxes in a foreach loop

    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...
  9. borris83

    How to dynamically add checkboxes in a foreach loop

    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...
  10. borris83

    How to dynamically add checkboxes in a foreach loop

    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 =...
  11. borris83

    Where to find Microsoft.win32 namespace?

    Thank you all.. typing "Imports Microsoft.Win32" works
  12. borris83

    How to dynamically add checkboxes in a foreach loop

    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 =...
  13. borris83

    What object can I use to read and write to windows registry?

    Atlast I made it to work the way I wanted.. Thanks for your help.. This imports microsoft.win32
  14. borris83

    Where to find Microsoft.win32 namespace?

    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?
  15. borris83

    What object can I use to read and write to windows registry?

    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...
  16. borris83

    Tooltip in checkbox not showing properly

    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...
  17. borris83

    Tooltip in checkbox not showing properly

    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...
  18. borris83

    What object can I use to read and write to windows registry?

    In vb.net, What object can I use to read and write to windows registry? (in vbscript, I use 'regread' in wscript.shell)
  19. borris83

    Question A question about form position

    I am able to center the form with Me.SetDesktopLocation(250, 250).. I think this should be good
  20. borris83

    Question A question about form position

    Thanks... Can you suggest a value for X and Y to load the form in center.. I am not sure what to put in there
Back
Top