Saturday, December 20, 2003

T Mobile VPN Required

I think I have solved my recent T Mobile email issues. For those new to reading this. I purchased and have gone through several issues with my T Mobile Pocket PC 2002 Phone. Using Exchanging Active Sync (EAS) in which you are able to synch your email/contacts/calendar using wireless connectivity. No matter what I tried I wasn't able to get the thing to connect and download anything! I could connect but I always got an error.

Here is what I found. It seems that I have been connecting to their standard internet connection (internet1). This was making a network connection which worked fine. The problem is that it was cuttng off my attempts to synch my data. The answer - enable the VPN plan and connect to their VPN server. This allows me to synch and exchange my inbox data.

I wanted to thank a bunch of people on my team that helped me figure this out. The one I don't want to thank is T Mobile. After several devices and many hours with their tech support. I still remain unimpressed. But the price is right so I am going to stick with it for awhile.


9:03:59 PM    
comment [] trackback []

Ensuring Single Application Instance

I was recently working with a local software development house that was completing a new release of their application. During a meeting with their development manager they had a rather unique question. They wanted to ensure that only a single copy of their application was running at any time. They hadn’t been able to figure out a simple way to accomplish this. In working with them we created the following code snippet that we embedded in the application startup.

 

Dim proc() As Process

 

 'Determine the name of the current process

 Dim modulename As String = Process.GetCurrentProcess.MainModule.ModuleName

 Dim procname As String = System.IO.Path.GetFileNameWithoutExtension(modulename)

 

  ' retrieve any processes with this name

  proc = Process.GetProcessesByName(procname)

 

  If proc.Length > 1 Then

                 ' there is more than one process of this name - END

                MsgBox("Application currently running - only one instance allowed")

                 End

  End If


8:44:17 PM    
comment [] trackback []

Expression Box stored as part of the View

Received the following question that I thought would make a good posting.

 

Question

 I'm starting to learn InfoPath & I've run across something that maybe you can help me with. I've created an 'expression box' with a formula that works fine. Now I want to take the results of the 'expression box' & use it along with a 'text box' value to be displayed in another 'expression' box elsewhere on the form. I don't see how to capture the value of the first 'expression box' & use it elsewhere. I've looked at 'binding' in the Help text but that doesn't look like what I want it to do either.

 

Answer

Unfortunately, the answer to this is no. There is no way to actually capture the value that I can find. The expression is actually only present on the View and has no corresponding data element on the form. If you take a look at the view.xsl you can see the following XSL that is used.

 

<xsl:choose>

<xsl:when test="function-available('xdFormatting:formatString')">

<xsl:value-of select="xdFormatting:formatString(my:Number1 + my:Number2,&quot;number&quot;,&quot;numDigits:auto;negativeOrder:1;&quot;)"/>

</xsl:when>

<xsl:otherwise>

<xsl:value-of select="my:Number1 + my:Number2"/>

</xsl:otherwise>

</xsl:choose>


4:34:25 PM    
comment [] trackback []