473,386 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Desktop Application Nightmares

Hello,
I am developing a destop application for a client that has a "tricked out" version of windows. Essentially they customised every single part of windows that they could.
Unfortunatly they insisted on having me develop my application as a desktop application and it has become a nightmare of discovering inconsistency after inconsistency where I have to manually set some setting to the default so that my application can run as if it was on a normal copy of XP.
So far I have found globalization issues, multithreading issues, and com issues.

Does anyone have a checklist of items I would be able to set for an application so that it could be run as if it were on a normal computer?

My dev box is very simple. XP Pro .Net 2.0 VS2005.

Thanks,
-Biff
May 5 '08 #1
4 1190
Plater
7,872 Expert 4TB
I've never heard of customization settings affecting an application like you say.
What exactly did you have to do to overcome the obstacles so far?
May 5 '08 #2
The worst problem I've had so far has been globalization issues.
The guy had this weird setting where if you tostringed any number it would result in a leading 1 being truncated. So it wasn't immediatly noticable until you got above 0.9.
I think I now put this line at the start of every application. (that isn't multicultured)
Expand|Select|Wrap|Line Numbers
  1. Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
Solved that problem

I currently have no idea what is going on with multithreading on his computer. It blows up with dll issues with system.format or system.whatever it seems very random and bizzare. (I solved this one by removing the multithreading, user gets to watch the application hang)

And then for COM I am producing excel files. Most of it works except that when the app is run on his machine the equations are not beign written. I'm thinking he mucked up his excel install somehow. I wish I could just write xml files but of course the company uses Office 2000.

Of course com for excel needs one of these functions.
Expand|Select|Wrap|Line Numbers
  1. ((xlTurnableObject)Excel.Application.xlSuckButton.settings(0)).Turn(xlDirection.Down, System.Reflection.Missing, System.Reflection.Missing, System.Reflection.Missing);
May 5 '08 #3
Plater
7,872 Expert 4TB
Could you just write a CSV file and them open/import it into excell (and re-save it)?
May 6 '08 #4
Could you just write a CSV file and them open/import it into excell (and re-save it)?
Hmm, I didn't know that excel could interpret equations from csv files. Seems like that might just work.
However, I am still looking for global settings. I'm tired of writing work around after work around for this custom computer.
May 6 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Etienne Charland | last post by:
Hi, there is an application running on a remote desktop (under Citrix ICA, but the same problem applies for RDC or PC Anywhere). Now, I want to send keys to the remote application from a local app....
2
by: John J. Hughes II | last post by:
I am having some major problem with maintaining security for my windows application to the SQL. Currently my application access the SQL using System.Data.SqlClient and all forms use stored...
3
by: Elp | last post by:
Hi, I have developped a Windows applcation (in C#) that allows, among other things, users to view and control the desktop of a remote Windows XP Pro machine. I have actually simply embedded the...
5
by: TerryWilson | last post by:
I am developing a web based service tool using asp.net that we will distribute with our product. This service tool will be used for remotely configuring the product, problem determination, etc. ...
3
by: Daniel Liberman | last post by:
Hi, everyone. That's my environment: - I have a pocket pc (iPAQ h4350) application developed with VSNET2003/C# that has a SQL Server CE Database, running. That's working fine. Obs: the pocket...
7
by: GrandpaB | last post by:
I would appreciate assistance learning how to create a Desktop shortcut in my setup project. In the left pane of the Setup/File System window I right-clicked User's Desktop. From the contex...
15
by: =?Utf-8?B?TVNU?= | last post by:
To demonstrate my problem, I have a very simple VB Windows application. It has a text box that is used to display a counter, a button to reset the counter, and a timer that increments the counter...
6
by: Bob Altman | last post by:
Hi all, This is a long shot, but I figure it doesn't hurt to ask... I have some applications that work fine when I run them on my PC at work, but "fail to initialize (0x000005)" when I'm...
1
by: abhijitbkulkarni | last post by:
Hello, I am designing a .NET database application that uses 3 tier architecture. Starting initially, this application will be desktop application but I will convert it into a website later but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.