I'm trying to change my VS 2008 project's Platform Target from "Any CPU" to x86. However, on the Build screen under the project's options, the Platform Target dropdown ONLY contains "Any CPU".
I'm developing an app targeting a mobile device and using SQL CE 3.5 and as far as I can tell it...
I am trying to automate the process of downloading a large list of files. I have manually created the file transfer list (.eil file) in Extra. I can choose the list manually in a 3270 session, but is it possible to write a macro that will use the list instead of having to use the ReceiveFile()...
I am opening a session and downloading files, and I simply want to close the session and the instance of Extra without anyone having to click "Yes" on a messagebox. The only way I could find to close the session is as follows:
---------------
QuitAllSessions.ebm
---------------
Sub Main...
Hi,
I have a .net app which exports data from a database to text files. I could modify the app to write the data out directly to Excel but the first column is a 16-character string which ends in a number and for some reason excel has always changed the last digit to a zero. If I import the...
OK, I figured it out. I ran aspnet_regiis.exe -iru
-enable, then I went into IIS and pulled up the properties of the virtual directory for my app. There is an ASP.Net tab on the properties window and you have to manually set the app version for 2.0.x. It now works great. Thanks for the help!
Hi all,
I have installed the .Net Compact Framework 2.0 on my Windows 2000 Terminal Server. It shows up in the list of installed applications but my application returns the following error:
----------------------------
Runtime Error
Description: An application error occurred on the server...
- There is no login attempt failure showing up in the event log.
- There are no restrictions on the account, such as data transfer, limited time for valid logins, etc.
- The process for abandoned accounts only runs once a week and only affects accounts which have had no activity.
My app's...
I have a vb.net app that runs as a service. It picks up files from other PCs on the network and moves them to the server on which the service resides. Each day, after the service has been running with no errors for approx. 24 hours, the account which we just created exclusively for that...
Thanks!
You were close, actually it was environment.getCommandLineArgs. The first arg is the app name and includes the path.
I still don't know how to pass an argument, though - I tried setting one in the parameters property of the service but it didn't show up in the commandline arguments.
I am writing a windows service and I can't find the equivalent of Application.ExecutablePath. How do I determine the path? Also, I'm trying to pass an argument using the following code:
Protected Overrides Sub OnStart(ByVal args() As String)
dim myArg as string
myArg = args(0)
When I...
I have a dropdownlist which I have added to a datagrid. I can populate the list no problem, but how do I set the SelectedValue? The only property I see available in the HTML view is SelectedIndex, which doesn't really help if I'm trying to select the item in the list based on the value from...
I think I fixed the problem. There were a couple of functions where we weren't explicitly closing the connection and disposing of our command object.
I failed to mention that the connection is actually opened when the class is instantiated, as follows:
--------
Public Sub New()...
Here's the function:
--------------------
Public Function GetSQLConn() As SqlConnection
Dim strConnString As String = ConfigurationSettings.AppSettings("SQLConnectionString")
Dim objConn As New SqlConnection(strConnString)
RaiseEvent Conneting("Opening Database..")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.