|
Yes that's the control (AFAIR).
He can also populate a listbox but the FlexGrid is the father of the datagrid and therefore the more appropriate probably.
|
|
|
|
|
Like it says on the label.
I want to code up an add-in for internet explorer, which will have an icon on the tool bar.
How do I go about it and where can I find info
|
|
|
|
|
It's going to be done entirely with COM Interop, since IE wasn't written under the .NET Framework. Google is your best bet for Internet Explorer Extension[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
what is OLE . Why it is used in VB Please Can somebody tell me
|
|
|
|
|
Ever hear of Google[^]? It's quite easy to type "What is OLE" in the search box.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
Hi,
Can amyone tell me is there any way to save the dlls used by an application in windows\system folder rather than in bin folder and use them as reference in our project in order to protect my dlls from getting misused or deleted.
If yes please let me know
Thanks in advance
|
|
|
|
|
You can place the DLLs in any directory you like but it still won't save them from being misused or deleted. What exactly do you mean?
...Steve
|
|
|
|
|
Hi Steve,
First of all Thanks for the reply
I mean to say that suppose i have an application which uses say for example encryption dll now when add that dll reference to my project a copy is saved into my bin folder right so when i deploy that project i aslo get that dll in my bin folder after installation
Now what i want is i wand to store that encryption dll in my windows\system folder not in my bin folder so that no one can know where that dll is and misuse my dll so that my application can run secure. Can you please help me out in this regard.
Thanks in advance
|
|
|
|
|
You can choose where to deploy any of your applications components. It does not have to be the BIN folder.
Placing the DLL in Windows\System won't hide it from anyone, nor will placing it anywhere else.
What you'll probably need to do is secure the methods and properties within the DLL from unauthorized use.
Search The Code Project for "net assembly security". There are a couple of articles and msg board threads about that subject.
...Steve
|
|
|
|
|
Well your question has no "proper" answer because there's no straight way to accomplish that. I also remember exactly the same question on this forum a month ago or more ... maybe yours? Anyway you can check the replies there as well.
A DLL can be every where as long is referenced or in a common path (as the old PATH in MS-DOS). It's position in the filesystem doesn't make any difference in availability or visibility to anyone/any application.
A DLL is an open library per definition, thus if you want to close it you need a different approach. That can be done in at least three ways:
1) HW - Strong - i.e. with a USB Key
2) SW - Mid - i.e. an activation code
3) CC - Weak - Obfuscation and not documenting it
You probably want to evaluate a new approach to it.
|
|
|
|
|
Dear All,
I have a DataSet which has a relation, table A is parent table B. I want to show only data of A on Datagrid. But in front of each row of datagrid, have "+" mark. I want to hide the "+" for each row ( don't clear Relation in this Dataset).
Please help me solve this problem.
Thanks alot.
inew
|
|
|
|
|
Can't you set the Datagrid's datasource property to table A instead of setting it to Dataset ?
|
|
|
|
|
Hi all
I am writing an app at the moment that creates succesive jpg images of a video source (cctv/security).
I have made the app create a directoy full of jpegs (upto 10000) for a given section of time. What i would like to do is be able to create a video from these images, ideally an avi and a mpeg movie.
I want to be able to do this so that people without my application can view the footage, i have searched for a while no and found various entries for movie creation from screenshots etc but cant seem to find anything close to what i need
Any pointers people
Thanks
James
-- modified at 21:08 Friday 25th November, 2005
|
|
|
|
|
Hi!
Would like someone to assist me with sample codes to open a file (Picture in particular) and display it on a form in access program.
Thanks in advance.
Regards
Joseph
ffffffffffffffffffff
|
|
|
|
|
Hi all,
this is probably a very simple problem but I am new at socketprogramming so I could use some guidance.
From the client I will use MSMAPI. I send email and specify the port to use as I need to recieve the email on the server using a non standard port like 11001. This works as a SPAM filter as no username or passw will be used on the server to Relay I need to redirect the email on the server and locally send it through port 45 (standard) from server to reciepent.
Any input how to do this?
Thanks in advance! /A
|
|
|
|
|
This is hardly a very simple problem. If this is your first socket app, I think you've taken on a bit too much at once.
What you have to do is write your application as both a server AND a client, in essance, you're writing a proxy server that is both a POP3 client AND an SMTP server.
The client side of your application must talk to the real mail server, just like Outlook Express or any other email program. And YES, you still have to supply the username and password to this server. You'll have to download the emails and parse them up if you need to, then save them in some kind of local storage, again, just like any other email app.
Now, the server side is where your application gets a bit more complicated. You'll have to implement an SMTP server so your normal email application can pick up the email from your app. This means you'll have to read up on this type of server to find out what commands you have to supply support for.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I've recently developed an application for PDA's using VB6 and converting with AppForge. I've got the program deploy'd to multiple PDA's doing beta testing. Found a problem and I don't have a clue where to begin.
One of my beta testers opted to do a soft reset while he was not using my application. When he attempted to reenter my application it would not load giving him error messages like the form had been unloaded during load or something like that.
The only way to get the program back up is to remove the program and reinstall using a different activation key (which is stored in the registry). As long as we try to activate the program using the old activation key it has the problem.
Any suggestions?
Thanks
Will
|
|
|
|
|
I'm trying to pass and retrieve data from textbox to sql server.
I want to insert, delete, update, select from a table
I write the following code.
Can you help me for What I miss:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Try
sqlconn.Open() 'Insert command
sqlstr = TextBox1.Text
sqlcomm = New SqlCommand("insert into mytable name values sqlstr", sqlconn)
TextBox2.Text = ("New Record inserted into Mytable table in pubs.")
Catch
MessageBox.Show("The Connection could not be opened!", "Error message !", MessageBoxButtons.OK, MessageBoxIcon.Error)
Finally
sqlconn.Close()
End Try
End Sub
Thanks
|
|
|
|
|
Add this line
sqlcomm.ExecuteNonQuery()
after this line
sqlcomm = New SqlCommand("insert into mytable name values sqlstr", sqlconn)
|
|
|
|
|
Thanks for help:
When I add sqlcomm.executenonquery()
the code moves to catch and run the error message.
Any Explanation about this please.
Thanks
|
|
|
|
|
y_mmohd wrote: the code moves to catch and run the error message.
Any Explanation about this please.
Ask your application. It knows what the error was, but you don't ever find out.
Catch ex as SqlException
now, ex will contain the details of the error (ex.Message will give you a reason) - it probably isn't to do with the connection, so your existing error message is misleading.
My: Blog | Photos
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious
|
|
|
|
|
Its Done,
Thanks for Help
I need a to send string and retreive string to sql table using sql command. I write:
sqlcomm = new sqlcomman (insert into mytable (name) values ('string'),sqlconn)
Bu How can i do this using a textbox, I miss understand the syntax.
Thanks
|
|
|
|
|
I used DirectSound to record voice from microphone and the variable is set up as:
Dim voiceBuffer() As Byte
As the voiceBuffer is in byte format, I cannot play the voice using DirectSound through speakers.
Does anyone know how to create a stream and use it to play the DirectSound buffer?
Thank you.
Best Regards,
whineygrace
|
|
|
|
|
Hi guys!
need some help from u guys..
i m developing an application which retrieves MAC address from the provided IP addresses on LAN i tried using
SendARP class in which DAVE KRESKOWIAK Help me a lot
the code i used is
<dllimport("iphlpapi.dll")> _
Private Shared Function SendARP(ByVal DestIP As Integer, ByVal SrcIP As Integer, <out()> ByVal pMacAddr() As Byte, ByRef PhyAddrLen As Integer) As Integer
End Function
Private Sub Button13_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button13.Click
Try
Dim addr As IPAddress = IPAddress.Parse(TextBox5.Text)
Dim mac(6) As Byte
Dim len As Integer = mac.Length
SendARP(CInt(addr.Address), 0, mac, len)
Dim macAddress As String = BitConverter.ToString(mac, 0, len)
' MsgBox(macAddress)
If macAddress = "" Then
MsgBox("enter proper IPAddress")
Return
End If
TextBox6.Text = macAddress
Catch ex As System.FormatException
MsgBox("Enter an Valid IP Address...", MsgBoxStyle.Critical)
Catch ex As System.ArithmeticException
MsgBox("Cannot extract MAC address of the given IP Address as it is not a Windows OS.. ", MsgBoxStyle.Critical)
End Try
end sub
But the problem is that it only retrieves the MAC address of Windows Operating System Not any other OS like Linux Solorois. Some of our system are these only
it throghs an Arithmetic over Flow Exception.
can any one help me out in retreiving the other OS MAC address.
abhinav
|
|
|
|