Re: [U2] Uniobjects.Net Compact Framework and Visual Basic - Mystery Solved!
How very strange - in the non compact version I always pass this argument anyway, but i had thought that if it was not passed, "defcs" was assumed which would be configured correctly on the 2 server. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 17 May 2011 16:18 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic - Mystery Solved! My VAR and IBM have responded to this issue and it seems that in the compact framework DLL an additional argument is required in OpenSession defining the service you wish to connect to. Apparently Unirpc is "uvcs" so the session open should look like this: sess = UniObjects.OpenSession(logsys, logname, logpass, "/u1/local", "uvcs") Thanks to all who responded. Symeon Breen wrote: > It kind of sounds like a .resx file is missing > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny > Sent: 11 May 2011 15:48 > To: U2 Users List > Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic > > OK, so here is the entire message: > > System.Resources.MissingManifestResourceException: > MissingManifestResourceException > at System.Resources.ResourceManager.InternalGetResourceSet() > at System.Resources.ResourceManager.InternalGetResourceSet() > at System.Resources.ResourceManager.InternalGetResourceSet() > at System.Resources.ResourceManager.GetString() > at System.Resources.ResourceManager.GetString() > at IBMU2.UODOTNET.UniObjects.OpenSession() > at GetScanInfoMobile.ScanForm.ScanForm_Load() > at System.Windows.Forms.Form.OnLoad() > at System.Windows.Forms.Form._SetVisibleNotify() > at System.Windows.Forms.Control.set_Visible() > at GetScanInfoMobile.LogForm.Button1_Click() > at System.Windows.Forms.Control.OnClick() > at System.Windows.Forms.Button.OnClick() > at System.Windows.Forms.ButtonBase.WnProc() > at System.Windows.Forms.Control._InternalWnProc() > at Microsoft.AGL.Forms.EVL.EnterMainLoop() > at System.Windows.Forms.Application.Run() > at GetScanInfoMobile.LogForm.Main() > > Symeon Breen wrote: > >> Thanks, the full error will hopefully provide more info - the thing to >> remember about .net is it it not just about the code - there are a number >> > of > >> config files that need setting up correctly as well and these can cause >> errors in applications if settings are missing. I think we have all been >> there confused why something does not work, only to find out one line is >> missing from the app.config ;) >> >> >> > > -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1375 / Virus Database: 1509/3642 - Release Date: 05/16/11 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic - Mystery Solved!
My VAR and IBM have responded to this issue and it seems that in the compact framework DLL an additional argument is required in OpenSession defining the service you wish to connect to. Apparently Unirpc is "uvcs" so the session open should look like this: sess = UniObjects.OpenSession(logsys, logname, logpass, "/u1/local", "uvcs") Thanks to all who responded. Symeon Breen wrote: It kind of sounds like a .resx file is missing -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 11 May 2011 15:48 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic OK, so here is the entire message: System.Resources.MissingManifestResourceException: MissingManifestResourceException at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.GetString() at System.Resources.ResourceManager.GetString() at IBMU2.UODOTNET.UniObjects.OpenSession() at GetScanInfoMobile.ScanForm.ScanForm_Load() at System.Windows.Forms.Form.OnLoad() at System.Windows.Forms.Form._SetVisibleNotify() at System.Windows.Forms.Control.set_Visible() at GetScanInfoMobile.LogForm.Button1_Click() at System.Windows.Forms.Control.OnClick() at System.Windows.Forms.Button.OnClick() at System.Windows.Forms.ButtonBase.WnProc() at System.Windows.Forms.Control._InternalWnProc() at Microsoft.AGL.Forms.EVL.EnterMainLoop() at System.Windows.Forms.Application.Run() at GetScanInfoMobile.LogForm.Main() Symeon Breen wrote: Thanks, the full error will hopefully provide more info - the thing to remember about .net is it it not just about the code - there are a number of config files that need setting up correctly as well and these can cause errors in applications if settings are missing. I think we have all been there confused why something does not work, only to find out one line is missing from the app.config ;) -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
Or A namespace is incorrect -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen Sent: Wednesday, May 11, 2011 2:35 PM To: 'U2 Users List' Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic It kind of sounds like a .resx file is missing -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 11 May 2011 15:48 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic OK, so here is the entire message: System.Resources.MissingManifestResourceException: MissingManifestResourceException at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.GetString() at System.Resources.ResourceManager.GetString() at IBMU2.UODOTNET.UniObjects.OpenSession() at GetScanInfoMobile.ScanForm.ScanForm_Load() at System.Windows.Forms.Form.OnLoad() at System.Windows.Forms.Form._SetVisibleNotify() at System.Windows.Forms.Control.set_Visible() at GetScanInfoMobile.LogForm.Button1_Click() at System.Windows.Forms.Control.OnClick() at System.Windows.Forms.Button.OnClick() at System.Windows.Forms.ButtonBase.WnProc() at System.Windows.Forms.Control._InternalWnProc() at Microsoft.AGL.Forms.EVL.EnterMainLoop() at System.Windows.Forms.Application.Run() at GetScanInfoMobile.LogForm.Main() Symeon Breen wrote: > Thanks, the full error will hopefully provide more info - the thing to > remember about .net is it it not just about the code - there are a > number of > config files that need setting up correctly as well and these can > cause errors in applications if settings are missing. I think we have > all been there confused why something does not work, only to find out > one line is missing from the app.config ;) > > -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1375 / Virus Database: 1500/3630 - Release Date: 05/11/11 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
It kind of sounds like a .resx file is missing -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 11 May 2011 15:48 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic OK, so here is the entire message: System.Resources.MissingManifestResourceException: MissingManifestResourceException at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.GetString() at System.Resources.ResourceManager.GetString() at IBMU2.UODOTNET.UniObjects.OpenSession() at GetScanInfoMobile.ScanForm.ScanForm_Load() at System.Windows.Forms.Form.OnLoad() at System.Windows.Forms.Form._SetVisibleNotify() at System.Windows.Forms.Control.set_Visible() at GetScanInfoMobile.LogForm.Button1_Click() at System.Windows.Forms.Control.OnClick() at System.Windows.Forms.Button.OnClick() at System.Windows.Forms.ButtonBase.WnProc() at System.Windows.Forms.Control._InternalWnProc() at Microsoft.AGL.Forms.EVL.EnterMainLoop() at System.Windows.Forms.Application.Run() at GetScanInfoMobile.LogForm.Main() Symeon Breen wrote: > Thanks, the full error will hopefully provide more info - the thing to > remember about .net is it it not just about the code - there are a number of > config files that need setting up correctly as well and these can cause > errors in applications if settings are missing. I think we have all been > there confused why something does not work, only to find out one line is > missing from the app.config ;) > > -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1375 / Virus Database: 1500/3630 - Release Date: 05/11/11 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
OK, so here is the entire message: System.Resources.MissingManifestResourceException: MissingManifestResourceException at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.GetString() at System.Resources.ResourceManager.GetString() at IBMU2.UODOTNET.UniObjects.OpenSession() at GetScanInfoMobile.ScanForm.ScanForm_Load() at System.Windows.Forms.Form.OnLoad() at System.Windows.Forms.Form._SetVisibleNotify() at System.Windows.Forms.Control.set_Visible() at GetScanInfoMobile.LogForm.Button1_Click() at System.Windows.Forms.Control.OnClick() at System.Windows.Forms.Button.OnClick() at System.Windows.Forms.ButtonBase.WnProc() at System.Windows.Forms.Control._InternalWnProc() at Microsoft.AGL.Forms.EVL.EnterMainLoop() at System.Windows.Forms.Application.Run() at GetScanInfoMobile.LogForm.Main() Symeon Breen wrote: Thanks, the full error will hopefully provide more info - the thing to remember about .net is it it not just about the code - there are a number of config files that need setting up correctly as well and these can cause errors in applications if settings are missing. I think we have all been there confused why something does not work, only to find out one line is missing from the app.config ;) -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
Thanks, the full error will hopefully provide more info - the thing to remember about .net is it it not just about the code - there are a number of config files that need setting up correctly as well and these can cause errors in applications if settings are missing. I think we have all been there confused why something does not work, only to find out one line is missing from the app.config ;) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 10 May 2011 22:34 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic I can't run a web service on the machine I'm communicating with because it is in scope for PCI compliance. I can't grab the whole error right now because I'm running in the emulator. I'll deploy the thing to a real device tomorrow and save the whole error to a file. Symeon Breen wrote: > Can you post the full exception trace ? > > It may be easier to write a webservice on a web server, and write your > mobile device code to connect to that rather than directly to unidata. > > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny > Sent: 10 May 2011 15:12 > To: U2 Users List > Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic > > I'm not using either of those. Good thought though. Here's some more info: > > No matter which combination of Windows platform (Mobile 5, Mobile 6, CE) > and .NET Framework (2.0 or 3.5) I attempt to use in creating the app it > builds and deploys just fine but when the programs is run either in the > emulator of on a device I get the same error message: "Cannot open > UniObjects Session Error = MissingManifestResourceException" > > When running this "try" loop > > Try > sess = UniObjects.OpenSession("**machine**", "**username**", > "**password**", "c:\local") > Catch ex As Exception > MsgBox("Cannot open UniObjects Session Error = " & ex.Message) > Close() > End Try > > Googleing "MissingManifestResourceException" brings back a large number > of results. All of which basically say "Something seems to be missing". > > Holt, Jake wrote: > >> Are you using a secure connection or connection pooling? I don't think >> either are supported yet with UniObjects on the compact framework. >> >> -Original Message----- >> From: u2-users-boun...@listserver.u2ug.org >> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny >> Sent: Tuesday, May 10, 2011 8:32 AM >> To: U2-Users@listserver.u2ug.org >> Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic >> >> Has anyone successfully written a VB application using the compact >> framework .dll? I attempted to convert on of my working >> Windows/Uniobjects applications and have never been able to get a >> session open under Windows Mobile. All of the example apps are C# which >> really does me no good. Case number 470569*US was opened with Rocket on >> 12/01/10 which has resulted in total silence. >> -- >> >> Jeff Schasny - Denver, Co, USA >> jschasny at gmail dot com >> >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> >> >> > > -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1325 / Virus Database: 1500/3628 - Release Date: 05/10/11 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
Hi Jeff I suspect that you may not have included all the components to be carried across to the device. They are on your workstation, hence why it runs, but fails on the device. I believe there is a description of the items that need to be included in the sdk in the ibm or rocket directory. You can put the web service on a different machine and talk to the server hence isolating the data. The U2 webservice can encrypt and provide security connection to that server and is fairly easy to set up. With Web services your application runs on any device where .Net limits you to Microsoft. Regards David Jordan ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
I have a working VB application which I literally cut and pasted the code from into a new project on the Windows mobile platform rather that straight windows. The only difference is the use of the uniobjects for compact framework .dll in the windows mobile application. This is an internal non routable subnet with symbol guns connecting to a server. I can not run a web service because I can't run an http service on the server due to PCI requirements. Yes, I could probably take the demo C# app apart and insert my own code but why should I have to do that? It should work in VB as I have it constructed. It works in windows and as an ASP web application so why should it not work on this platform. Tony Gravagno wrote: While a direct connection from UO sounds elegant, I would advise that such connectivity should be carefully considered. If you're coming into U2 from the outside world via UO, then you may have a direct and insecure connection to your DBMS exposed to the world. I recommend instead using a web service to a middle-tier web server, which then communicates with U2 via UO. Doing this is dirt-simple, and examples are plentiful. BTW, if you get web services working then you can use the same middle/back-end code for any device/client. As far as languages go, C# and VB.NET both target the .NET Framework, and as such the calls are exactly the same, just with different syntax. What one should take from "examples" is not working code, but a guide of how the process works. With that you should be able to implement in any language. Respectfully, I don't care what language you use, but if an example in another language in the same framework does you no good, then you need to better grasp on the framework rather than focusing on the language. This may be why you got total silence from Rocket. Also, BTW, there are free C#/VB language converters on the 'net, if you really need to do that. T From: Holt, Jake Are you using a secure connection or connection pooling? I don't think either are supported yet with UniObjects on the compact framework. From: Jeff Schasny Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
I can't run a web service on the machine I'm communicating with because it is in scope for PCI compliance. I can't grab the whole error right now because I'm running in the emulator. I'll deploy the thing to a real device tomorrow and save the whole error to a file. Symeon Breen wrote: Can you post the full exception trace ? It may be easier to write a webservice on a web server, and write your mobile device code to connect to that rather than directly to unidata. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 10 May 2011 15:12 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic I'm not using either of those. Good thought though. Here's some more info: No matter which combination of Windows platform (Mobile 5, Mobile 6, CE) and .NET Framework (2.0 or 3.5) I attempt to use in creating the app it builds and deploys just fine but when the programs is run either in the emulator of on a device I get the same error message: "Cannot open UniObjects Session Error = MissingManifestResourceException" When running this "try" loop Try sess = UniObjects.OpenSession("**machine**", "**username**", "**password**", "c:\local") Catch ex As Exception MsgBox("Cannot open UniObjects Session Error = " & ex.Message) Close() End Try Googleing "MissingManifestResourceException" brings back a large number of results. All of which basically say "Something seems to be missing". Holt, Jake wrote: Are you using a secure connection or connection pooling? I don't think either are supported yet with UniObjects on the compact framework. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Tuesday, May 10, 2011 8:32 AM To: U2-Users@listserver.u2ug.org Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
Can you post the full exception trace ? It may be easier to write a webservice on a web server, and write your mobile device code to connect to that rather than directly to unidata. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 10 May 2011 15:12 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic I'm not using either of those. Good thought though. Here's some more info: No matter which combination of Windows platform (Mobile 5, Mobile 6, CE) and .NET Framework (2.0 or 3.5) I attempt to use in creating the app it builds and deploys just fine but when the programs is run either in the emulator of on a device I get the same error message: "Cannot open UniObjects Session Error = MissingManifestResourceException" When running this "try" loop Try sess = UniObjects.OpenSession("**machine**", "**username**", "**password**", "c:\local") Catch ex As Exception MsgBox("Cannot open UniObjects Session Error = " & ex.Message) Close() End Try Googleing "MissingManifestResourceException" brings back a large number of results. All of which basically say "Something seems to be missing". Holt, Jake wrote: > Are you using a secure connection or connection pooling? I don't think > either are supported yet with UniObjects on the compact framework. > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny > Sent: Tuesday, May 10, 2011 8:32 AM > To: U2-Users@listserver.u2ug.org > Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic > > Has anyone successfully written a VB application using the compact > framework .dll? I attempted to convert on of my working > Windows/Uniobjects applications and have never been able to get a > session open under Windows Mobile. All of the example apps are C# which > really does me no good. Case number 470569*US was opened with Rocket on > 12/01/10 which has resulted in total silence. > -- > > Jeff Schasny - Denver, Co, USA > jschasny at gmail dot com > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1325 / Virus Database: 1500/3627 - Release Date: 05/09/11 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
While a direct connection from UO sounds elegant, I would advise that such connectivity should be carefully considered. If you're coming into U2 from the outside world via UO, then you may have a direct and insecure connection to your DBMS exposed to the world. I recommend instead using a web service to a middle-tier web server, which then communicates with U2 via UO. Doing this is dirt-simple, and examples are plentiful. BTW, if you get web services working then you can use the same middle/back-end code for any device/client. As far as languages go, C# and VB.NET both target the .NET Framework, and as such the calls are exactly the same, just with different syntax. What one should take from "examples" is not working code, but a guide of how the process works. With that you should be able to implement in any language. Respectfully, I don't care what language you use, but if an example in another language in the same framework does you no good, then you need to better grasp on the framework rather than focusing on the language. This may be why you got total silence from Rocket. Also, BTW, there are free C#/VB language converters on the 'net, if you really need to do that. T > From: Holt, Jake > Are you using a secure connection or connection pooling? I > don't think > either are supported yet with UniObjects on the compact framework. > From: Jeff Schasny > Has anyone successfully written a VB application using > the compact framework .dll? I attempted to convert on > of my working Windows/Uniobjects applications and have > never been able to get a session open under Windows > Mobile. All of the example apps are C# which really > does me no good. Case number 470569*US was opened > with Rocket on 12/01/10 which has resulted in total > silence. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
I'm not using either of those. Good thought though. Here's some more info: No matter which combination of Windows platform (Mobile 5, Mobile 6, CE) and .NET Framework (2.0 or 3.5) I attempt to use in creating the app it builds and deploys just fine but when the programs is run either in the emulator of on a device I get the same error message: "Cannot open UniObjects Session Error = MissingManifestResourceException" When running this "try" loop Try sess = UniObjects.OpenSession("**machine**", "**username**", "**password**", "c:\local") Catch ex As Exception MsgBox("Cannot open UniObjects Session Error = " & ex.Message) Close() End Try Googleing "MissingManifestResourceException" brings back a large number of results. All of which basically say "Something seems to be missing". Holt, Jake wrote: Are you using a secure connection or connection pooling? I don't think either are supported yet with UniObjects on the compact framework. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Tuesday, May 10, 2011 8:32 AM To: U2-Users@listserver.u2ug.org Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
C# to vb.net conversion is quite simple, if it works in one it should work in the other. - have you some example code that you need help with ? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 10 May 2011 14:32 To: U2-Users@listserver.u2ug.org Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1325 / Virus Database: 1500/3627 - Release Date: 05/09/11 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
Are you using a secure connection or connection pooling? I don't think either are supported yet with UniObjects on the compact framework. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Tuesday, May 10, 2011 8:32 AM To: U2-Users@listserver.u2ug.org Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Uniobjects.Net Compact Framework and Visual Basic
Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users