|
I always use a config file for remoting. It saves having to make changes, compile, and reploy if something has to change.
In your ChannelProps dictionary, you're specifying the port and secure properties as strings. Remove the quotes and let them be the types they actually are.
Dim props As New HashTable()
props("port") = 50000
props("secure") = False
You can get rid of the username and password properties. They're not valid properties for a server-side TcpChannel.
You can also get rid of the MsgBox in your OnStart code when you call RegisterChannel. You'll never see it if it does pop up. Replace this with either writing to your own log file or one of the Event Logs.
|
|
|
|
|
Dear Dave
The error I am Exsperiancing now is
No Connection could be made becase the target machine actively refused it
Is this type of setup possible for WorkGroup And if so what needs to be changed on the configuration for this to work.
Thanks in advance
|
|
|
|
|
Hi Dave
Sorry about all the questions
But if the remoting server is sitting on a domain and the client pc wants to connect through the internet is it possible.
Tanks in advance
|
|
|
|
|
Hi Dave
Can one get dot net remoting to work on a workgroup and a domain with out changing the code.
Thanks in advance
|
|
|
|
|
Hi I need to use a 2 dimensional array that stores a filed of type string in the first column and a field of type integer in the second. I tried using system.array but there is cast type problems. What can i use?
mr oizo
|
|
|
|
|
You can't combine those two in the same array, though you can create you're own class or structure to hold these.
Public Class MyDataItem
Private _someString As String
Private _someNumber As Integer
Public Sub New(ByVal name As String, ByVal number As Integer)
_someString = name
_someNumber = number
End Sub
Public Property SomeString As String
Get
Return _someString
End Get
Set(ByVal value As String)
_someString = value
End Set
End Property
...
End Class
And then you just create an array or collection of these little objects. I prefer to use a Generic List(Of T).
Dim myList As New List(Of MyDataItem)
myList.Add(New MyDataItem("Something", n))
|
|
|
|
|
Thanks for the help again.....
Mr Oizo
|
|
|
|
|
I need help with code.
The app I'm building I have a combo box for drive letters
I want the combo box to only have the cd/dvd drives listed instead of having A-Z
also when i change the selection I want it to display disc volume label and capacity to 2 separate text boxes.
The rest of app is in 1.1 so I'm looking for a 1.1 solution.
Please help me out.
|
|
|
|
|
What you're looking for comes from WMI and the Win32_LogicalDisk[^] class. All you need is the Windows Management Instrumentation classes in the .NET Framework under the System.Management[^] namespace.
|
|
|
|
|
Well that page is talking about windows script.
and not sure how I can convert it to .net 1.1
|
|
|
|
|
No, that page is talking about a WMI class. The example on it is in VBScript.
The second link is about using WMI in the .NET Framework.
|
|
|
|
|
Could anyone please make me a hotel management system using VB.NET.pLEASE ITS KIND OF AGENT.i WILL HIGHLY APPRECIATE.tHANK YOU.
|
|
|
|
|
For a reasonable fee, sure no problem - make me an offer.
Maybe you should have started your homework/assignment earlier, then it wouldn't be urgent.
|
|
|
|
|
Ok,what amount should it cost me?Make it fair and try me this time.I will help you one day.Its just that i was held-up abit.
|
|
|
|
|
Sure, i can do that for $3000
Next time dont tell us what to do, you dont pay us
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Why you complaining,i kind of requested and i used please!!!
|
|
|
|
|
you should not come here, and say "KIND OF AGENT"
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Lemme think about it. ehhhh....NO! This forum is for getting help, not doing projects for people! Get to work!
---------------------------
Both optimists and pessimists are important in technology. The optimist invented the aeroplane; the pessimist invented the parachute.
Regards,
Hesbon Ongira
Nairobi, Kenya.
|
|
|
|
|
i can never do it for him , am just annoyed when he comes here and ask us to do a Project for him "Urgently".
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Come on Hesbon,u kenyan like me,you know what it entails to work on multiple projects.I just needed help urgently.....
|
|
|
|
|
No, sorry, you DIDN'T MAKE YOUR REQUEST LOUDLY ENOUGH SO TRY ASKING LOUDER AND MAYBE ONE OF US WILL SAY YES!
"If you think of yourselves as helpless and ineffectual, it is certain that you will create a despotic government to be your master. The wise despot, therefore, maintains among his subjects a popular sense that they are helpless and ineffectual."
- Frank Herbert
|
|
|
|
|
I wish i could just hit the CAPS-LOCK and express how am really interested in that project.Am really requsting i didnt mean to be vulgar.HELP ME OUT PLEASE!!!!!!Thanks.
|
|
|
|
|
I know it gets bad sometimes, but surely I'm not the only one able to spot a troll here ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hehe I figured it probably was. So I thought I'd use the chance to post something using big red letters (been wanting to do that for awhile.. just to be silly..) when I wouldn't actually insult someone asking a real question
"If you think of yourselves as helpless and ineffectual, it is certain that you will create a despotic government to be your master. The wise despot, therefore, maintains among his subjects a popular sense that they are helpless and ineffectual."
- Frank Herbert
|
|
|
|
|
i am working in a VB Access application where a Business Object is used.
whenever i launch the appllication it gives me error on Business Object.
Is it that i dont have the Busines Object in my machine?
How does it actually works?
Do i need to download the business object from somewhere?
|
|
|
|