I've written an export type C# application which formats and saves an excel spreadsheet. I added a reference to excel using the .net ide and all seems to work fine on my pc. When I copy the exe (including Excel, VBIDE and Office dlls) to the target pc the application seems to run (and create the target file), but the file it creates contains about 10 characters, all of which are jibberish. The target PC contains the same version of excel as mine, does anyone knowwhat I need to do to make the app work? Do I need to register any of the dlls? Thanks for any help Jason
Jason Pyke
Posts
-
Distributing Application -
asp.net validationI have just been working on a similar problem. What I have done is to disable all the RFV and when I submit (there is another condition as well) I loop through the RFVs on the form, enable them and call validate on them. This seems to work OK for my environment. I disable them all again on cancel.
-
Creating an Uppermost LayerThanks
-
Creating an Uppermost LayerDo I have any other options?
-
Creating an Uppermost LayerI have removed Z-INDEX from ALL controls on the page and have only set it for this one control to 1. It still shows above all Text boxes and labels, but not DropDownLists. For peace of mind I also tried setting Z-INDEX to 2000 (so nothing is likely to be lower than it), but that didn't work either. Jason
-
Creating an Uppermost LayerI have created a User control that I want to appear above all controls at certain times within the web page (it's a non-moveable message box). I have encapsulated this User control within a DIV tag and have given it highest Z-INDEX. The problem I am having is that it displays on top of all my text boxes and labels, but my DropDownLists (asp controls, not html ones) appear over the top of it (even though they have a lower Z-Index). Can anyone suggest a solution? Thanks Jason
-
Data Access SuggestionsThank you very much for the information. I must admit that some of it is beyond me, but I will read more information using the .net samples/topics as a basis. I am thinking of implementing my data tier as a web service for stage 1 (as that seems easier to implement) and study more on remoting to decide if that's the route I need to go for final build. What I am slightly curious about is what remoting actually is. Is it's implementation much different from a web service? If remoting deals with objects, does that mean they are transactionable? if so how would that be implemented? I will read up more on these topics, but if you could give me a few pointers that would be great. There seems to be a wealth of information out there, I am just having a problem deciding what areas I need to look at. Jason Pyke
-
Data Access SuggestionsThe only reason I am using ASP.net is that it is possible in the future that the application may need to span sites. When I say 2 clients can't get the same record I mean that there will be a table containing records A,B and C and if 2 clients request a record at the same time client 1 will get record A and client 2 will get record B (client 1 and 2 can't have record A at the same time). Do you think it's worth creating a winforms application on a shared directory for this type of application? My main worries with a winform approach (with no data tier) are scalability and bug fixing (I have had a situation with a previous company where I have had 50 people accessing an app I am trying to compile).
-
Data Access SuggestionsI am not sure if this is in the right board, but i'll post anyway. I am looking for suggestions as to the best way of implementing the system for my company. These systems are completely new so there are no backward compatibility considerations. The company currently has 10 clients (which is likely to rise rapidly) that need to connect to a SQL Server database to get a record, edit it on screen and return the results. The connection needs to be made in such a way that no 2 clients can get the same record. What I really need are some suggestions as to the best way of implementing this. I am quite new to C# and .net as a whole, so my current solution is to use an asp.net application which uses a web service to access a stored procedure. The stored procedure has the logic in it such that it will stop multiple gets of the same record. I have been doing a little bit of research and have found that the same desired effect may be achieved with COM+ and MTS or using .net remoting. As I have experience with neither of these technologies I would be grateful for some pointers. The web service route works in my test environment, but I need a system that will be suitable of an ever increasing client base. Jason Pyke