|
|
My first question would be what are you trying to do with it?
Since the proc is switched to 32-bit flat addressing, the segment and offset address you specified doesn't have any meaning. Also, you can't just read any memory you want from anywhere. Various areas are protected, such as the kernel. And, each process get's it's own address space, essentially making it think it's the only one running on the system.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
|
Hello friends,
How to find datagrid keypress event. i have set readonly for datagrid.
Any idea?
Thanks,
Ganesan.
|
|
|
|
|
Hi All,
I am developing a single project application using VB.Net. I have added a “resx” file to the same project. But I don’t know how to create instance of that file. One of my friend has told me that I can create instance using Resources.ResourceManager. But I don’t know how to use it. Can anybody help me in this regard.
Regards,
Krishnaraj
|
|
|
|
|
|
thanks buddy.... but i am very sad that i did not get answer..
|
|
|
|
|
I gave you 19.700 anwsers. Just click on the link.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
queuing server(using vb create multiple access to the database-oracle with queuing mechanism)
|
|
|
|
|
Yes?
---
b { font-weight: normal; }
|
|
|
|
|
So, what's the question?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hello,
I have added a notify icon component along with a context menu. I'm using these to be able to hide/show the main form of my application. I was wondering is it possible to make the window appear with a shortcut key (e.g. by pressing F11)? The problem is that when the main form is hidden [Me.Hide()] the KeyPress events are not working. I think this is because the form is "out of focus" and therefore can't monitor keypresses. Can you come up with a solution? Maybe with a timer?
With best regards,
R.I.
|
|
|
|
|
Here's a small example. I hope it does what you're looking for.
Try this using 2 forms. In Form1 add a button control & this code
Private Sub Button1_Click(...) Handles Button1.Click
'open form2 & hide the startup form (form1)
Dim f2 As New Form2
Me.Hide()
f2.Show()
End Sub
Then in Form2 on the KeyUp event add this code
Public f1 As Form1
Private Sub Form2_KeyUp(...) Handles Me.KeyUp
'show the main form after pushing F11
If e.KeyCode = Keys.F11 Then
f1 = Application.OpenForms.Item("Form1")
f1.Visible = True
End If
End Sub
Hope that helps.
|
|
|
|
|
Another way to accomplish this is to use a menu control. Make a menu item that uses a shortcut key, and then set that menu item's visible property to false. This will cause it not to show up in the menu, but whenever you press the shortcut key you assigned to it, the on_click event will fire.
|
|
|
|
|
|
Hi everybody,
i m new in vb.net. I am writing a an ASP.net application with codebehind in vb. I need to find a word in a multiline textbox filled from a table and then point to it or select it in the textbox so the user could see it. to find it is position. SERVICE is the textbox(multine) FINDTXT is a textbox containing the string to be fetched in the multine textbox
r = SERVICE.Text.IndexOf(FINDTXT.Text)
If r > 0 Then
tst.Text = "Found word, " & r & " characters into the search string."
Else
tst.Text = "Sorry, could not find the search text"
End If
but there is no features that seems to point or select the found text.
If anyone can help I d be more than gratefull
Sabinette!!!
|
|
|
|
|
hi
hope this will help you
Dim index As Integer = TextBox1.Text.IndexOf(strSearch)
TextBox1.Select()
If index <> -1 Then
TextBox1.Select(index, strSearch.Length)
End If
Tamimi - Code
|
|
|
|
|
Thank you for your answer.
however, this only works in windows form in webforms textboxes do not have any type of select property and that 's why i was stuck.
If you know any workaround I d be grateful
Sabinette
|
|
|
|
|
hi,
how can we import data from an excel file to dataset using VB.Net
can u send the code
can u help me
|
|
|
|
|
Something like this:
Dim DS As System.Data.DataSet
Dim MyCommand As System.Data.OleDb.OleDbDataAdapter
Dim MyConnection As System.Data.OleDb.OleDbConnection
MyConnection = New System.Data.OleDb.OleDbConnection( _
"provider=Microsoft.Jet.OLEDB.4.0; " & _
"data source=C:\myData.XLS; " & _
"Extended Properties=Excel 8.0;")
' Select the data from Sheet1 of the workbook.
MyCommand = New System.Data.OleDb.OleDbDataAdapter( _
"select * from [Sheet1$]", MyConnection)
DS = New System.Data.DataSet()
MyCommand.Fill(DS)
MyConnection.Close()
NOTE: You will need to provide the correct Excel version for the Extended Properties Value. Needs reference to System and System.Data Namespaces.
To reference the complete used range of a worksheet, specify the sheet name followed by a dollar sign:
select * from [Sheet1$]
To reference a specific range of addresses on a worksheet, specify the sheet name followed by a dollar sign and the range:
select * from [Sheet1$A1:B10]
To reference a named range, use the name of the range:
select * from [MyNamedRange]
If you need to retrieve worksheet formulae, you will need to use Excel automation.
Steve
|
|
|
|
|
thanks a lot.
how can we save these dataset values to a a database
|
|
|
|
|
Do you need to create a new table each time you import this data or is there a table that needs to be updated with the new data?
Steve
|
|
|
|
|
hi,
thanks
i have an existing table.
i want to add the excel data to the existing table .
|
|
|
|
|
I'm having trouble when I want to retrieve password from my user table.
I have web application and windows application sharing the same user table.
I store the password in the user table using the function :
FormsAuthentication.HashPasswordForStoringInConfigFile
and now I want to retrieve the decrypted password using the windows form.
is there is anyone who can tell me what function should I use?
thanks in advance
agus_f
|
|
|
|
|
You cannot decrypt a hashed password.
The method to use is to compare the password entered by the user with the hashed password in your database. When the user enters a password, hash it and compare that hashed value with the values in your database to authenticate your user.
Steve
|
|
|
|