Hi,
We have some applications that run on a Citrix server. I would like to run
one of them, a reporting app, from within a VB.net application.
If I log into the Citrix server with remote desktop, I can type a command
line that will do what I want. My VB.net application is not on that Citrix
server. I'm afraid that if I map a drive to the Citrix box and shell out to
the reporting app that I'll take it over -- that is, my use of the
application won't be managed by Citrix.
I normally access the reporting app by running a "Citrix Neighborhood" on my
desktop. The app is publised there and I can click on it and run it.
Does anyone know of a way to run this in such a way that it will still be
managed by Citrix?
Thanks,
Art 5 11264
Hi Art, if you right click the app in your Citrix Neighborhood you can
choose Create Desktop Shortcut, if you then right click the shortcut on the
desktop you can see the shortcuts' target and the shortcut start in
directory. Next you can use this info to start up the program the same way
as citrix would by using a Process and ProcessStartinf o in vb.net
For example
Dim myProc As New Process
Dim myPsi As New ProcessStartInf o
'this is the info like it is in my desktop shortcut
'Target: "C:\Program Files\Citrix\IC A Client\pn.exe" /APP
"Profelmenu " /PNI "8a0f5291"
'Start in: "C:\Program Files\Citrix\IC A Client"
myPsi.FileName = "C:\Program Files\Citrix\IC A Client\pn.exe" 'First
part of the "target" part from the shortcut
myPsi.Arguments = "/APP ""Profelmen u"" /PNI ""8a0f5291" "" 'Second
part of the "target" part from the shortcut
myPsi.WorkingDi rectory = "C:\Program Files\Citrix\IC A Client" 'The
"start in" part of the shortcut
myProc.Start(my Psi)
hope this helps,
Greetz PEter
--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)
"Art" <Ar*@discussion s.microsoft.com > schreef in bericht
news:08******** *************** ***********@mic rosoft.com... Hi,
We have some applications that run on a Citrix server. I would like to
run one of them, a reporting app, from within a VB.net application.
If I log into the Citrix server with remote desktop, I can type a command line that will do what I want. My VB.net application is not on that
Citrix server. I'm afraid that if I map a drive to the Citrix box and shell out
to the reporting app that I'll take it over -- that is, my use of the application won't be managed by Citrix.
I normally access the reporting app by running a "Citrix Neighborhood" on
my desktop. The app is publised there and I can click on it and run it.
Does anyone know of a way to run this in such a way that it will still be managed by Citrix?
Thanks,
Art
Peter,
Two things...
First -- why didn't I think of a desktop shortcut?
Second, and this may cancel our the first -- I've never seen any of the
stuff in your code. I'll try it out and no doubt learn a whole bunch of
useful stuff.
Thanks very much,
Art
"Peter Proost" wrote: Hi Art, if you right click the app in your Citrix Neighborhood you can choose Create Desktop Shortcut, if you then right click the shortcut on the desktop you can see the shortcuts' target and the shortcut start in directory. Next you can use this info to start up the program the same way as citrix would by using a Process and ProcessStartinf o in vb.net
For example
Dim myProc As New Process Dim myPsi As New ProcessStartInf o 'this is the info like it is in my desktop shortcut 'Target: "C:\Program Files\Citrix\IC A Client\pn.exe" /APP "Profelmenu " /PNI "8a0f5291" 'Start in: "C:\Program Files\Citrix\IC A Client" myPsi.FileName = "C:\Program Files\Citrix\IC A Client\pn.exe" 'First part of the "target" part from the shortcut myPsi.Arguments = "/APP ""Profelmen u"" /PNI ""8a0f5291" "" 'Second part of the "target" part from the shortcut myPsi.WorkingDi rectory = "C:\Program Files\Citrix\IC A Client" 'The "start in" part of the shortcut myProc.Start(my Psi)
hope this helps,
Greetz PEter
-- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
"Art" <Ar*@discussion s.microsoft.com > schreef in bericht news:08******** *************** ***********@mic rosoft.com... Hi,
We have some applications that run on a Citrix server. I would like to run one of them, a reporting app, from within a VB.net application.
If I log into the Citrix server with remote desktop, I can type a command line that will do what I want. My VB.net application is not on that Citrix server. I'm afraid that if I map a drive to the Citrix box and shell out to the reporting app that I'll take it over -- that is, my use of the application won't be managed by Citrix.
I normally access the reporting app by running a "Citrix Neighborhood" on my desktop. The app is publised there and I can click on it and run it.
Does anyone know of a way to run this in such a way that it will still be managed by Citrix?
Thanks,
Art
Hi the code isn't that complex if you go by it step by step
'First we declare a new Process and ProcessStartInf o, you can use
ProcessStartInf o to provide the process more info about 'what and where to
start.
Dim myProc As New Process
Dim myPsi As New ProcessStartInf o
'We provide the processStartInf o the path to the exe to start
myPsi.FileName = "C:\Program Files\Citrix\IC A Client\pn.exe" 'First
'Next we provide the startup arguments for the exe
myPsi.Arguments = "/APP ""Profelmen u"" /PNI ""8a0f5291" "" 'Second
'Then we pass the workingdirector y
myPsi.WorkingDi rectory = "C:\Program Files\Citrix\IC A Client" 'The
'Finally we say start a process based on the processStartInf o
myProc.Start(my Psi)
Greetz Peter
--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)
"Art" <Ar*@discussion s.microsoft.com > schreef in bericht
news:B8******** *************** ***********@mic rosoft.com... Peter,
Two things...
First -- why didn't I think of a desktop shortcut? Second, and this may cancel our the first -- I've never seen any of the stuff in your code. I'll try it out and no doubt learn a whole bunch of useful stuff.
Thanks very much,
Art
"Peter Proost" wrote:
Hi Art, if you right click the app in your Citrix Neighborhood you can choose Create Desktop Shortcut, if you then right click the shortcut on
the desktop you can see the shortcuts' target and the shortcut start in directory. Next you can use this info to start up the program the same
way as citrix would by using a Process and ProcessStartinf o in vb.net
For example
Dim myProc As New Process Dim myPsi As New ProcessStartInf o 'this is the info like it is in my desktop shortcut 'Target: "C:\Program Files\Citrix\IC A Client\pn.exe" /APP "Profelmenu " /PNI "8a0f5291" 'Start in: "C:\Program Files\Citrix\IC A Client" myPsi.FileName = "C:\Program Files\Citrix\IC A Client\pn.exe"
'First part of the "target" part from the shortcut myPsi.Arguments = "/APP ""Profelmen u"" /PNI ""8a0f5291" ""
'Second part of the "target" part from the shortcut myPsi.WorkingDi rectory = "C:\Program Files\Citrix\IC A Client"
'The "start in" part of the shortcut myProc.Start(my Psi)
hope this helps,
Greetz PEter
-- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to
produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
"Art" <Ar*@discussion s.microsoft.com > schreef in bericht news:08******** *************** ***********@mic rosoft.com... Hi,
We have some applications that run on a Citrix server. I would like
to run one of them, a reporting app, from within a VB.net application.
If I log into the Citrix server with remote desktop, I can type a
command line that will do what I want. My VB.net application is not on that Citrix server. I'm afraid that if I map a drive to the Citrix box and shell
out to the reporting app that I'll take it over -- that is, my use of the application won't be managed by Citrix.
I normally access the reporting app by running a "Citrix Neighborhood"
on my desktop. The app is publised there and I can click on it and run it.
Does anyone know of a way to run this in such a way that it will still
be managed by Citrix?
Thanks,
Art
Peter,
I tried your suggestion and it did successfully launch the Citrix App. I
know have a followup problem. There are 3 parameters I need to pass to the
reporting app -- user ID, password and a report file. I can do this on a
command line by:
appname.exe -user xxxx -password xxxx report.rrr
When I use the shortcut as you described, I can't find a way to do this. I
did find that I needed to change what you had sent me slightly:
myProc.StartInf o=myPsi
myProc.Start
I then noticed all kinds of methods and properties for myProc. I thought
maybe somwthing using the window handler would let me fill in the ID and
password. Although this wouldn't let me get the report name in there.
The ideal solution would be to be able to use something that looks like the
command line that I would use to start the application.
Do you have any suggestions for that?
Even if not, I want to thank you for the help you've already given me.
Art
"Peter Proost" wrote: Hi Art, if you right click the app in your Citrix Neighborhood you can choose Create Desktop Shortcut, if you then right click the shortcut on the desktop you can see the shortcuts' target and the shortcut start in directory. Next you can use this info to start up the program the same way as citrix would by using a Process and ProcessStartinf o in vb.net
For example
Dim myProc As New Process Dim myPsi As New ProcessStartInf o 'this is the info like it is in my desktop shortcut 'Target: "C:\Program Files\Citrix\IC A Client\pn.exe" /APP "Profelmenu " /PNI "8a0f5291" 'Start in: "C:\Program Files\Citrix\IC A Client" myPsi.FileName = "C:\Program Files\Citrix\IC A Client\pn.exe" 'First part of the "target" part from the shortcut myPsi.Arguments = "/APP ""Profelmen u"" /PNI ""8a0f5291" "" 'Second part of the "target" part from the shortcut myPsi.WorkingDi rectory = "C:\Program Files\Citrix\IC A Client" 'The "start in" part of the shortcut myProc.Start(my Psi)
hope this helps,
Greetz PEter
-- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
"Art" <Ar*@discussion s.microsoft.com > schreef in bericht news:08******** *************** ***********@mic rosoft.com... Hi,
We have some applications that run on a Citrix server. I would like to run one of them, a reporting app, from within a VB.net application.
If I log into the Citrix server with remote desktop, I can type a command line that will do what I want. My VB.net application is not on that Citrix server. I'm afraid that if I map a drive to the Citrix box and shell out to the reporting app that I'll take it over -- that is, my use of the application won't be managed by Citrix.
I normally access the reporting app by running a "Citrix Neighborhood" on my desktop. The app is publised there and I can click on it and run it.
Does anyone know of a way to run this in such a way that it will still be managed by Citrix?
Thanks,
Art
Hi,
I won't be at work for a couple of days so I can't realy test anything,
but I think that you can specify command line parameters when you publish an
app on citrix, so I would publish the app with the parameters you need, then
again create a desktop shortcut and check it's properties to see how the
info get's passed to the app. I guess you probably need to add something to
the myPsi.Arguments = "/APP ""Profelmen u"" /PNI ""8a0f5291" "" piece of code
I hope this helps, greetz Peter
"Art" <Ar*@discussion s.microsoft.com > schreef in bericht
news:EE******** *************** ***********@mic rosoft.com... Peter,
I tried your suggestion and it did successfully launch the Citrix App. I know have a followup problem. There are 3 parameters I need to pass to
the reporting app -- user ID, password and a report file. I can do this on a command line by:
appname.exe -user xxxx -password xxxx report.rrr
When I use the shortcut as you described, I can't find a way to do this.
I did find that I needed to change what you had sent me slightly: myProc.StartInf o=myPsi myProc.Start
I then noticed all kinds of methods and properties for myProc. I thought maybe somwthing using the window handler would let me fill in the ID and password. Although this wouldn't let me get the report name in there.
The ideal solution would be to be able to use something that looks like
the command line that I would use to start the application.
Do you have any suggestions for that?
Even if not, I want to thank you for the help you've already given me.
Art "Peter Proost" wrote:
Hi Art, if you right click the app in your Citrix Neighborhood you can choose Create Desktop Shortcut, if you then right click the shortcut on
the desktop you can see the shortcuts' target and the shortcut start in directory. Next you can use this info to start up the program the same
way as citrix would by using a Process and ProcessStartinf o in vb.net
For example
Dim myProc As New Process Dim myPsi As New ProcessStartInf o 'this is the info like it is in my desktop shortcut 'Target: "C:\Program Files\Citrix\IC A Client\pn.exe" /APP "Profelmenu " /PNI "8a0f5291" 'Start in: "C:\Program Files\Citrix\IC A Client" myPsi.FileName = "C:\Program Files\Citrix\IC A Client\pn.exe"
'First part of the "target" part from the shortcut myPsi.Arguments = "/APP ""Profelmen u"" /PNI ""8a0f5291" ""
'Second part of the "target" part from the shortcut myPsi.WorkingDi rectory = "C:\Program Files\Citrix\IC A Client"
'The "start in" part of the shortcut myProc.Start(my Psi)
hope this helps,
Greetz PEter
-- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to
produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
"Art" <Ar*@discussion s.microsoft.com > schreef in bericht news:08******** *************** ***********@mic rosoft.com... Hi,
We have some applications that run on a Citrix server. I would like
to run one of them, a reporting app, from within a VB.net application.
If I log into the Citrix server with remote desktop, I can type a
command line that will do what I want. My VB.net application is not on that Citrix server. I'm afraid that if I map a drive to the Citrix box and shell
out to the reporting app that I'll take it over -- that is, my use of the application won't be managed by Citrix.
I normally access the reporting app by running a "Citrix Neighborhood"
on my desktop. The app is publised there and I can click on it and run it.
Does anyone know of a way to run this in such a way that it will still
be managed by Citrix?
Thanks,
Art This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: James Ng |
last post by:
I have posted this to the Citrix Developers' forum and have not heard
anything yet. So I'd like to see if any other Java developers have
experience this problem with their Java application in a Citrix Published
application environment.
We are running Citrix XP enterprise feature release 2 on windows 2000 server
sp4. We developed a Java...
|
by: Corey Burnett |
last post by:
I have a client that has a split database (front-end/back-end). They
are also using Access security - MDW file. The front end MDE file,
the back end MDB file, and the MDW file are all located on a shared
folder on the file server. They have two populations of users - local
and remote. *ALL* users currently get to the system via a Citrix...
|
by: Rob |
last post by:
I am an Access developer and have done many Access databases in the
standard Front-end on the workstations, backend on the server
(over a LAN) but have never worked with Access over Citrix, though
that situation is coming up for me shortly.
Question: When you run the front-end on the Server, does Citrix clone
the front
end application...
|
by: DFS |
last post by:
An application I wrote has been deployed on Citrix, and the Citrix admin
tells me all users run the same .mde file. There aren't a lot of concurrent
users, but even 2 could be cause for concern.
I think the use of globals is worrisome in this case. Anybody have any
experience with Access on Citrix?
(Al Kallal already griped me out about...
|
by: SK |
last post by:
Hi,
Would appreciate if anyone could help me on this. Basically my client
having
few branches across state. And they used Citrix in which to connect to the
server side for accessing application running on ASPNET (C# code behind).
Basically, all my form was coded as user control and loaded as component to
the IFrame.
The problem is when...
| |
by: Paul |
last post by:
I have a VB.NET form with a DataGrid. When I toggle to Excel (for
example) and then back to my application the repaint of the DataGrid is
really slow. You can see the repainting happening. When I toggle back
to Excel, it does not do that. The repaint is quick. I'm running this
within a Citrix environment. The scrolling of the DataGrid is...
|
by: roneon |
last post by:
This is the problem that the topic starter posted:
"we installed Oracle-Client 8.1.7 on a server with Windows 2000
Terminal-Services and Citrix Metaframe Xp. The Forms-Applications we
wrote are on a fileserver.
|
by: Peter |
last post by:
I have the following code which works fine in IE6 and IE7 and FireFox, but
when I run IE6 on Citrix I get "The page cannot be displayed" in the iframe.
We don't have IE7 on Citrix so I can't try it.
<span id="ShowReport" disabled="disabled"
style="display:inline-block;height:1200px;width:880px;">
<div>
<iframe src=../../WsiLogo.gif<frame...
|
by: =?Utf-8?B?QXJ0?= |
last post by:
Hi,
I'm putting together an application in vb.net. I will ultimately need
people to be able to run it from home (Normally we're in one office). I can
store it on a file server, but this raises the problem of a home user needing
the .net framework.
I seem to have 2 choices, and have no experience in either.
First, since we use Citrix...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |