Jump to content
Xtreme .Net Talk

haseebhm

Members
  • Posts

    8
  • Joined

  • Last visited

About haseebhm

  • Birthday 10/29/1988

haseebhm's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I am using DateTimePicker in most of the forms of my application. Generally, the behavior of the DateTimePicker Control while typing is different from that of Masket Textbox Control. I want to create a User Control just like DateTimePicker Control in which just the typing behavior should be different. When user enters the month(first two digits) the cursor should move to the the date (the next 2 digits) portion and to year part after entering the date. How can I code that ? Please help by giving examples of code. I am using VB .NET 2008
  2. Didn't work.:confused: Didn't even show the text after second execution through this method. Please help. I am new with handling windows.
  3. Great! That worked for me but with a small error. First time the notepad window is opened without any text. But when the code is executed the second time the desired text appears in the first notepad window, and a new empty notepad window appears.:confused: Need your help pleaseeeeeeee Dim p As IntPtr System.Diagnostics.Process.Start("notepad.exe") p = GetHandle("notepad") SetNewText(p, log)
  4. I would prefer the "WM_SETTEXT" method. But its a bit new to me. Can anyone please give me a sample code ?
  5. Hello. I am using a bound MSHFLEXGRID Control on a form. When I click the "CLOSE" button, it works fine and the form closes. But when I press ESC or ALT+C, I get the following error. Please Help
  6. I want to display a string (stored in a variable) in notepad(or any other default text editor depending upon the system). Saving to a text file is not necessary. I just want to open Notepad with an unsaved file containing the text. Please help
  7. My clients upload excel sheets to the software which need to be validates. One of the validation steps is to check the sheet for duplicate records. The following code demonstrates the method I use to make this possible. For i = 0 To xlDtSet.Tables(0).Rows.Count - 1 xlCommand2 = New System.Data.OleDb.OleDbDataAdapter("select [COL1], [COL2] from [sheet1$] WHERE [COL1]=" & xlDtSet.Tables(0).Rows(i).Item("COL1"), xlConnection) xlCommand2.Fill(xlDtSet2) If xlDtSet2.Tables(0).Rows.Count > 1 Then 'LOG ERROR MsgBox("DUPLICATE") End If xlDtSet2.Clear() Next But this makes the validation process very very slow.Please suggest me other(faster) ways to do the same job. Thanks in advance. I am using VB .NET 2008
×
×
  • Create New...