Application Running On Terminal Server?
Apr 29, 2009I have a VB 2005 application running on Terminal Server and I need the IP address, clientname and username from the client system.
View 1 RepliesI have a VB 2005 application running on Terminal Server and I need the IP address, clientname and username from the client system.
View 1 RepliesI have a Windows Forms application created in VS2005 which runs fine on the user desktop but when running in Terminal Server session it frequently locks up when the remote desktop window is minimised and the user is working locally.There is plenty of RAM on the server so this is not an issue, the only solution so far has been to force the user session to log off on the Terminal Server and then reconnect.
View 14 RepliesAn application loaded on a citrix server executes with no problem. When we try to run the same program files on a virtual server, we get silent errors and we do not even see the application window appear. The program runs for a moment in task manager, but then closes down. BTW other .net apps run on the virtual server. Here is the error we see in the event viewer application logs[code]...
View 2 RepliesWe are developing an application in VB.NET that will need to accomodate remote users logging onto a Microsoft Terminal Server using RDP through the MSTSC.exe client.
Is it possible to offer an 'Upload' button which will allow the remote user to pick a file from his/her local hard drive and upload to the server ?
I have an application that will run on a terminal similar to a micros terminal. The terminal is already running another vendors app that captures the users logon ID from a swipecard. I need to capture the same logon ID at the same time. This is no problem, I just hook it.
The problem is I have another app which also captures swipes. In development I am running both apps for testing. It appears that when I unhook one app it unhooks both. Rehook and all is fine. As my two apps will never be on the same terminal this is not a problem. What I am concerned about is the vendors app unhooking mine or the other way around.
I would of thought that each app would have it's own ID and that each hook would be independent. I have considered finding a way to determine if a global hook is present and then use some logic to decide on unhooking or not but can't find anything.
I'm looking for an API/function I can call to determine if software is running on Citrix, Terminal Services, or a stand-alone PC. Optimally, it would work something like this: [code]I would prefer something that worked from an API call as opposed to looking at something in the registry as we're having more and more customers that are locking down the registry.
View 3 RepliesWe want to set up a bunch of thin clients linked to a server running server 2003 using terminal services. When the thin client runs our app it needs to know which station it is so it can gather information unique to itself from the database. (IP address?). Our app is written in VB6.
View 3 RepliesI use VB.NET for a Windows application.
How can I find out if the application is now running on a server or client (programmatically)?
is there a way for a program to get a list of users that are logged into the terminal server that it is running on???
View 3 RepliesI've developed a VB.NET application with Visual Studio 2008. The application communicates with SQL Server and processes a text file.
My question is about performance. While I run it from Visual Studio 2008, it takes 3 sec to complete. The same is when I run the executable created by the Setup Wizard on my desktop (Windows XP sp 3). But if I run the executable installed on a Windows 2003 Server, it takes 15 sec to complete! What could be the reason of degrading performance on the server vs. the desktop? The .Net framework 3.5 SP1 is installed both on the desktop and the server.
I'm developing a Windows application that runs on a terminal server and users connect to it via remote desktop. Standard stuff. However, I would like to know something about the user and I was wondering if there's a way to get some information about the client that the user connects from (his local machine).
View 1 RepliesI am developing a program that send sms to cellphone using a datacard.I can read the com port from the server if i run the program from the server, but i run the program from the terminal y read the com port of the terminal, but i need to read the port from the server for use datacard. What can i do? My code for read com port.
Function checkPort() As String
Dim intPort, X As Long
Dim strAbierto As String[code].........
I have built an application in VB 2010 on my Windows 7 Pro desktop. I have a particular combo box with a datasource that is dynamically populated, depending on certain values entered by the user; it may or may not have any records in the datasource. When I run/install the application on my desktop, the combo box acts normal, if I click the dropdown button and the datasource contains no records, the combobox will show a single blank beneath the combobox (to indicate no records). When I perform the same action on server 2003, the combobox DOES NOT show a blank row, it does nothing! It act's like it's broken.
View 3 Repliesmy project work on server if inserted data from terminal A i need display the data on terminal B
View 1 RepliesI have created an application with 3 terminal windows for capturing data from 3 serial ports and outputting the data to a file. It seems to work well with one serial port, but when I fire all 3 serial ports at once, the application hangs. Here is the portion of the code that I believe is the problem. The code below is for Serial Port A. I have the same code for Serial Port B and Serial Port C
Private Sub ASerialPort_OnComm() Handles ASerialPort.OnComm
ReceiveBufferA.Append(ASerialPort.InputString)
Me.BeginInvoke(New EventHandler(AddressOf ReceivedTextA))
[code].....
how to start programming mobile application such Flex7000 which is a point of sale payment terminal. i want to use vb.net
View 1 RepliesI am in the process of converting vb6 assemblies to VB.NET.I am trying to overcome a particular design challenge.I have a vb6 EXE sitting on a Terminal Server which is shared between multiple customers.Each customer has customizations in the form of overrides to this EXE in custom business logic contained within DLL's.We know what DLL to look at based on a setting in the database.We use the CreateObject ("CustomerDLLName.CustomerClass") method to create late bound objects.If the object is "not nothing", we check for override code.For example, if my base EXE has a sub called PrintForm, based on the logged in user I may use the base sub within the executable, or I may need to use the sub in a custom DLL:
Dim oCustom as Object<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
Dim strSetting as String<o:p></o:p>
strSetting = "Customer1DLL.Class1"[code].....
I am struggling to come up with a comparable if not better way to do the same thing in .NET. I want to continue sharing the base EXE so I can't just have separate EXE's and DLL's in separate folders.They all need to live in the same c:/Program Files/[Application Name] root directory so I can take advantage of the Terminal Server's shared application memory.
Can anyone provide a script to close all open sessions in a Terminal Server?
Aldo.Everything is possible, impossible just takes longer
I had done one application using api which send the message to given number. The working of software is very fine without any error working on windows XP SP2. I heard that vista already contain the .net frame work so didnt installed .net frame work in machine. I checked in vista it shows .net frame work is in machine. But when same code i tried to run on Vista it gives the error. Error is as follows
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SmsSendingApplication.frmSingleMessage.InternetOpenUrl(Int64 hInternetSession, String& lpszUrl, String& lpszHeaders, Int64 dwHeadersLength, Int64 dwFlags, Int64
[Code].....
what account for this error message in ls beta 2?'' The last change wasn't successfully persisted.Please shot down the running application.
View 1 RepliesWhich is the best way to store application and user settings of an application running with multiple instances?My problem is that using the vb's "Application Settings" one instance would overwrite the other one.I want to identify each instance with a number passed via command line argument. I could use this number to identify the appropriate settings of the running instance, but I see in a local INI o XML file a better way to handle that.
View 1 RepliesLet's say 10 desktop shortcuts, all with different names/icons, point to and can start the same exe application from the same directory. Is there any means for the application to know the distinct name of the shortcut that was doubled_clicked. Also is there any means for a running application to know if it was started by command line, by a double_click on the exe, by a double_click on a shortcut that points to it, or by another process' call?
View 4 RepliesI am trying to use Setup project. Want my setup to create a desktop shortcut with my application.I donot understand how to do it. Clicked on User's desktop, I created Shortcut to User's desktop, changed the properties Target and Working Folder as 'Application Folder'But it does not connect with MyApplication.exe When I ran the setup and tested Desktop short cut, it took me to the folder where application was installed, instead of running the application.How to make the application run using this shortcut?
View 1 RepliesDim connectionString
As
String =
"Data Source=CarSqlServer;Initial Catalog=Msdb;Persist Security Info=True;User ID=sa;Password=whitehouse"
[code]....
I'm running into an issue with my application. If the laptop is just turned on and a user opens the application, the application attempts to hit a SQL server to do some work. The issue is that sometimes the SQL Server process hasn't started yet (slow laptop).
What is the preferred method for checking if this is running.
Do I check for it like a normal process?
Do I attempt to make a connection via ADO.NET and catch the error?
I'm trying to make an RTD server unicode compliant. It is written in VB .NET 2003, and to my understanding, Unicode characters are used internally, so no conversion should be required, right?
When I run this on an English Windows xp machine, it works fine, but when testing on a machine with a Portuguese version of Windows 7, a couple of the RTD server's dialog boxes will not open in the add-in section of Excel. Does anyone have an idea why this would happen in Windows 7 Portuguese?
I need to run an external JAR file (which is minecraft) within the window (form) of a VB.NET application, so like having the program in the center and additional text I like around it.
Is this possible, and if so, how?
My app sends an email (see code snippet below) but I want to check first if the SMTP server is running in IIS7.
mySMTPClient.Host = "localhost"
mySMTPClient.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network
mySMTPClient.Send(myMail)
results.Dispose()
Im using a MySQL Server and id like to know the date and time that its running...Here's the query:
SELECT GetDate
But im getting an error saying there's no such field in the database.Everything is fine i know how to connect im just bored writing the code here....Do i have to Execute the query or read it?Im using a Reader...
1. load gridview from an uploaded excel file (this would probably be about 300 records or so)
2. compare manufacturer, model and serial No to my MS SQL database (about 20K records) to see if there is a match.[code]is there a better way to find a match between the two?