|
Thanks for your advice but I had already creating both of them.
please tell me how to combine it ?
Thanks
|
|
|
|
|
You need to match the entries in the two dictinaries so you get them in the correct order, probably by using an index value and a single loop.
|
|
|
|
|
I have no idea for this, could you give me a sample ?
Thanks for your help
|
|
|
|
|
I cannot see an easy way of doing what you want, and I don't know where the original data comes from. It would be better if you found a way of getting all the values together rather than the two disconnected dictionaries.
|
|
|
|
|
Hi
I am trying to capture a pic from an ip camera in VB6,
i have been told it uses onvif
has anyone got any ideas or sample code that i could look
at.
Regards
Trevor
|
|
|
|
|
I haven't used VB6 in a very long time as its a depreciated language.
but a quick google brings back these VB6 IP Camera example[^]
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Hi Simon
thnaks a mil, i will give it a bash
Regards
Trevor
|
|
|
|
|
Hi Simon
That was a big help, i only have one small problem
i need to find LNCActivex.ocx. the link to install it doesnt work.
I have searched the net and find plenty of apps that want to check all your files
and tidy them up.
Any idea where i could find it ?
Thanks a mil.
|
|
|
|
|
|
HI Simon
Thanks for that, i will have a look. hopefully it works.
Regards
Trevor
|
|
|
|
|
Hi Simon
sorry to bug you.
I tried that, it seems to install someting on my pc but no sign
of LNCActiveX.
I have tried looking elsewhere but nothing.
Any other idead,
regards
Trevor
|
|
|
|
|
Sir can you send me source
|
|
|
|
|
hi, im new here and i have a question. i wanna to make a fb chat.
I can make to send from textbox to fb message, but i can't make it to read from fb message to textbox.
Please can help me someone.
this is my code: http://www.mediafire.com/download/08k0hhrha78sy6q/FBCP.rar
|
|
|
|
|
Your code is a download, and not in readable text. I cannot even download from mediafire as it is blocked here.
It seems that XMPP[^] is deprecated. What API are you using to send a message? If you don't know, can you list the references in your project or show an example of the code you use to send a message?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
with no API, i tryed somethink like this:
Form Load:
WebBrowser1.Navigate("https://www.facebook.com/messages/")
TextBox3: Press_key:
If e.KeyChar = Chr(Keys.Enter) Then
WebBrowser1.Document.GetElementById("message_body").SetAttribute("value", TextBox3.Text)
WebBrowser1.Select()
SendKeys.Send("{enter}")
TextBox3.Text = Nothing
End If
Timer1_Tick:
If TextBox3.Text = Nothing Then
TextBox3.Select()
End If
i inspect element with FireBug and i sea message are in:< p> Exeamle Message < /p>
I decode all WebBrower1.Document in a TextBox.text
But Message are not decode in textbox
but ideea was like this:
Then in timer to read all lines: <p.>Exeamle Message
Dim allelements As HtmlElementCollection = WebBrowser1.Document.All
For Each webpage As HtmlElement In allelements
ListBox1.Items.Add(webpage.GetAttribute("< p >"))
Next
Hope u understand me
|
|
|
|
|
Are you sure the document is already updated when the timer fires? Does the amount of characters in the document change, after a message is received?
Doesn't seem like a scenario that FB supports; there's multiple mentions of chat, but not by manipulating the existing webpage.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
Hello !
I have this code :
Public Class myclass
....
Private cont As MyentEntities
.....
.....
Public Sub New( ByRef cnx As MyentEntities)
.....
cont = cnx
.....
End Sub
Public Sub test
.....
If cont.mytable1.Count=1 then
.....
end if
End Sub
End class
And on my main form :
.......
Dim E1 as MyEntEntities
Dim m1 as myclass
Private Sub MainForm_Load(sender As System.Object, e As System.EventArgs)
Handles Me.Load
E1=New MyentEntities
m1=new MyClass(E1)
........
End Sub
Private sub fill_entity
E1.MyTable1.Tolist
....
End sub
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs)
Handles Button1.Click
m1.test
End Sub
When I click the button , I get an error :
....the entity of type 'MyTable1' does not exist in the context.
But this entity type is added to E1.
What's wrong ?
Thank you !
|
|
|
|
|
|
Hello !
I'm using vb.net 2013.
I have a situation when I need to pass as parameter some controls like Buttons. checkboxes and also a Bindingsource and an Entity.
Both Byref and Byval are working in my case.
but I'm asking :
- Which of them is faster and consume less memory ?
Thank you !
|
|
|
|
|
That doesn't matter; if byval works, use it.
|
|
|
|
|
PIEBALDconsult wrote: That doesn't matter Performance does not matter?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Performance is not a reason to choose between those options.
|
|
|
|
|
Hello !
But I'm telling you that both works for me.
Now I want to choose considering performance.
Thank you !
|
|
|
|
|
Not recommended. Use ByVal regardless, because it's correct.
|
|
|
|