Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
2 Endorsements
Ranked #622
Ranked #44.3K
Ranked #4K
~8K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.

4 Posted Topics

Member Avatar for Kostas Theof

An alternative to a JavaScript resolution (if for whatever reason you want to or even just to have another way) is simply set the target of your form to a hidden frame which is much the way the AJAX lifestyle had its roots before anyone took the collection of things …

Member Avatar for yahya al salman
0
3K
Member Avatar for shena

Also, Have you set the KeyPreview property of the form to true? (in the properties dialog of the gui or directly in the *.frm file under "Begin VB.Form" set "KeyPreview = -1" for true) otherwise, I believe, the KeyPress events get digested before they can filter through to the handlers …

Member Avatar for AndreRet
0
2K
Member Avatar for shena

Shena, I believe that the form must be fully shown for the SetFocus command of any of that form's children to work. Placing "Me.Show" in your Form_Load() on a line above your textbox1.SetFocus ought to clear that up. [CODE]Private Sub Form_Load() '.... me.Show textbox1.SetFocus '.... End Sub[/CODE]

Member Avatar for AndreRet
0
3K
Member Avatar for nmakkena

VB.Net makes a task like that quite simple: [code] Public Sub text_combine( _ ByVal path_to_read_file As String, _ ByVal path_to_append_file As String _ ) System.IO.File.AppendAllText( _ path_to_append_file, _ System.IO.File.ReadAllText(path_to_read_file) _ ) End Sub [/code] A little error checking may prevent hangups: [code] Public Function text_combine( _ ByVal path_to_read_file As String, …

Member Avatar for robert_c_guy
0
195

The End.