|
Dear Dev,
Tks very much. I still have a query.
The program runs on the server, client is used almost as a dumb terminal but COMM ports are to be used. As mentioned in my first posting, after running RDP from the TC, serial data from TC port is displayed on a hyper terminal running on TC (Pls note RDP on). Does this not mean data from TC COMM port available to be read by Server ? If affermative, we can explore further possibilities.
Once again tks. Shailesh
|
|
|
|
|
I take it, by RDP, you mean Remote Desktop? Is the server controlling the desktop of the thin client or the other way around??
sachin2 2010 wrote: after running RDP from the TC, serial data from TC port is displayed on a hyper terminal running on TC
So, you running HyperTerminal on the thin client machine and seeing the data that's on the thin client?? Obviously, this would work since they're both on the same machine.
sachin2 2010 wrote: Does this not mean data from TC COMM port available to be read by Server
To a point. The Remote Desktop software can expose the local serial ports to the machine being controlled, but only through the remote desktop software. RDP has its limitations, such as if a connection between machines is broken for some reason, you'll have to restart the RDP session. It won't recover by itself. All you're doing is adding a layer of complexity you don't need and you need.
If all you're doing is taking data from the serial port of each thin client and sending it to the server, you write an application that runs on each thin client and sends the data to whatever server software you have running on the server.
|
|
|
|
|
Dave,
Tks again.
RDP is Remote Desktop. Server is controlling the Thin clients.
sachin2 2010 wrote:
after running RDP from the TC, serial data from TC port is displayed on a hyper terminal running on TC
Dave wrote:
So, you running HyperTerminal on the thin client machine and seeing the data that's on the thin client?? Obviously, this would work since they're both on the same machine.
Sachin 2010 now writes:
Since TC is connected to sever as RDP, when hyper terminal is run on TC, it is an application running on the server. Is my understanding correct ?
or the application is running on TC RAM etc ? If application is on server, how does program read data from TC server ?
Your point about session disconnection is noted. It is an irritant.
Dave wrote:
If all you're doing is taking data from the serial port of each thin client and sending it to the server, you write an application that runs on each thin client and sends the data to whatever server software you have running on the server.
Sachin 2010 now writes:
Yes sir, that is what I want to achieve (amongst other things). The problem is TC has no hard disk, USB port is disabled. Then where do I load VB exe for data acquision from TC serial port?
If there is any other way, I am more than receptive.
Tks again. Kind regards, Shailesh
|
|
|
|
|
sachin2 2010 wrote: Since TC is connected to sever as RDP, when hyper terminal is run on TC, it is an application running on the server. Is my understanding correct ?
No. HyperTerminal is running on the TC. A RDP session remote controls the target machine as if the keyboard and monitor of the machine you were sitting at is connected to the remote machine. All applications you see running on running on the remote machine, not the local one.
sachin2 2010 wrote: Yes sir, that is what I want to achieve (amongst other things). The problem is TC has no hard disk, USB port is disabled. Then where do I load VB exe for data acquision from TC serial port?
The TC's can map a drive to a share on the server and get the apps to run from there.
|
|
|
|
|
In vb6.0, how can i check Internet connection.
that is. Is net connected or not.
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
|
|
|
|
|
You mean,goto the Internet or local connections?DO you want to get the state of local connection(NetCard's state)?
I am not a genius, but shed more sweat!
|
|
|
|
|
ya...
bez i want to send mail. so i have to check weather internet connection is avialable or not...
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
|
|
|
|
|
|
I am inexperienced in VB and have developed a VB version of an old simple turn based game that I used to play on an Apple II 30 years ago. I want to include a capability to communicate between two instances of the application so that small, simple packets of data can be passed between them to allow for the turn's moves and results can be passed between the two instances. The two instances will be on separate networks so I envision internet communications to pass the data.
I have been using Visual Basic Express 2008 and have not been able to locate help or code samples to assist me.
Is this a capability not supported by VB Express 2008?
Is there reference material or examples that might be helpful?
Any help would be appreciated. Thanks in advance
Bubba...
|
|
|
|
|
You might want to have a look at this article[^] on codeproject.
Socket programming link here[^].
There are only 10 types of people in this world — those who understand binary, and those who don't. |
|
|
|
|
|
Hello Everybody,
Actually i want to use my application to Full trust appliation. After a lot of searching i found some help from google. He says that Wintrust.dlll is used to perform this action.
So please help me how to use wintrust.dll to execute my application to Full Trust.
Thanks
If you can think then I Can.
|
|
|
|
|
The machine has to be told to trust the application. The best your app can do is to request FullTrust permissions. You cannot use wintrust.dll to force your code to run as "FullTrust". Telling the system to trust your code is normally done at installation time, not runtime. All code the user launches executes AS the user and cannot grant itself more permissions than it already has when launched.
Code can be run from various sources, either local, network, or whever. Each of these sources falls into several categories, called Zones, like MyComputer, LocalIntranet, Internet, Restricted, and Trusted. In a default configuration, if your code was installed on the local drive, it would be running from the MyComputer Zone and have more permissions to access machine resources than if the very same app was running from the LocalIntranet or Internet Zones.
I highly recommend reading up on Code Access Security so yuo understand what's going on and how to apply it to what you really want to accomplish. BTW: You never said why you want to do this.
|
|
|
|
|
Hi,
i want know hw to give folder permission in local/server system
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
Mail To : foreverkans@gmail.com
|
|
|
|
|
Assuming that you're referring to the local file-permissions;
SetAttr("C:\boom.bmp", vbReadOnly)
Giving rights to a specific user/group from the Active Directory is somewhat more work.
I are Troll
|
|
|
|
|
Hi,
I have with cp help and some other sites added t2s into my program. Unfortunately the only speech installed on the systems is Microsoft Sam. I want some others preferably Dutch and French. Someone has an idée where I can find them? (And yes I have look into Google but find nothing useful)
Jan
I'm working with VB.net 2008
|
|
|
|
|
|
Like I wrote. I have look into google. and the first site in your joke is the first one I have tryed. however after install I don't have a new voice.
|
|
|
|
|
Hi,
If anybody have an idea how to scan an image from scanner / how to write interface program to scanner in vb6? pls share here.
My company is not preferred to use any third party components.
Regards,
Rishi
WinCrs
|
|
|
|
|
|
try http://vintasoft.com[^]. They have an ActiveX control for scanning.
I have used the .NET version which worked perfectly, good support.
Tosch
|
|
|
|
|
Hi all
Happy new year.
Currently i am working on a project which required an Excel File to be opened at the run time in a Richtextbox.
i tried the following code
Richtextbox.loadfile(path,type)
it load the required file but content of the file was not readable.
kindly help me.
Thanks
rmshah
Developer
|
|
|
|
|
Hi,
Actually, Excel and RTF (RichTextFile) use different structure!Actually, you can use the Excel Object Library to access and manage your excel files (check this article Opening and Navigating Excel with C#[^] hope it helps.
Do you want to open it as read-only or for editing?
good luck and happy new year.
|
|
|
|
|
To put it simply you don't display an Excel file in a RichTextBox, this control is really only designed to display RTF and plain text files.
I think your best option would be to invest in a 3rd party control designed to display Excel files such as those from Spreadsheet Gear[^].
|
|
|
|
|
I am trying to build a VB.NET windows app which gets cars info from a webpage(webapplication) that has a username and password.
I was able to programmatically login to this webpage(by automatically populating the input boxes) And after I logged in, I could view the cars data in browser and I did "View Source" but the cars data (such as car model, brand, color etc..) were not viewable in the page source code. So how can I read these data with my application?
I hope my question was clear and literally need some help.
Thanks
|
|
|
|
|
This is an example of calling a webpage and getting the ip address from the source - i use it as part of my dynamic dns client that i made.
Dim Req As HttpWebRequest = WebRequest.Create("http://www.whatsmyip.us/")
*****************************************************************
** if you need to pass credentials then do this line **
Req.Credentials = New NetworkCredential("USERNAME", "PASSWORD")
*****************************************************************
Dim rs As New StreamReader(Req.GetResponse.GetResponseStream(), System.Text.Encoding.GetEncoding("utf-8"))
Dim s As String = rs.ReadToEnd 'you know now have the entire source in variable 's'
rs.Close()
rs.Dispose()
rs = Nothing
Req = Nothing
Dim IP As String = Regex.Match(s, "\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}").Value
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|