u can easily solve ur problem by this way...
at first create a function like:
public void fnFormShow(Form fc)
now, create a object and pass through with this function, like:
Forms.frmFIR fr = new uHTMCM.Forms.frmFIR();
I need a mechanisme to handle with EXCEL, like creating and reading Excel files. For this, at starting a new C# windows application, I have added COM reference, by using the "AddReference" dialog box's COM tabsheet. In fact there are two smilar object definiton there:
-Microsoft Excel 5.0 Object Library
-Microsoft Excel 11.0 Object Library.
I have chosen the "11.0"; At the and I managed to handle Excel Files as I wish. But, when I run my application at another pc (that is the one of our customer), it causes exceptions. I noticed that my computer Excel versiyon is 11.xxx which corresponds to Excel-2003, whereas our customer has the Excel-2002. The reason seems the version's difference. Right?
Using COM isn't a good idea? Or Which manner I should use for works with Excel Files? Maybe I use the wrong Classes or Interfaces in the COM object. What to do to avoid version differences; at least close to each other versions? Or Should I prepare seperate applications for each version of Excel.?
Thanks to all of you; for help to my this problem and previous ones.
You may use 11.0 on your development machine and the same can be used on other machines as well (even though these machines have a different version).
To achieve this, you need to late bind the excel object using "CreateObject" method.
I have a server process and client process connected with Named pipes(server is sending message to client).
If the server is already running, I open the client process,only for first time communication is taking place.If I close client process and reopen again, the serverside is throwing exception at WaitForClients method:"Pipe is broken".I need to close and reopen server in order to take place communication again.
I am using NamedpipeServer Stream and NamedpipeClient Stream objects.
What could be the reason???please advise..
Thanks in adcance
This is why the exam is worthless, and you can expect anyone worth working for, will interview you and work out that you don't have the skills the exam claims to prove.
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
I have set up a click once application that receives user specific parameters entered in a web page via URL parameters. For most users, this is working, but a few users complain that the application is not working. Apparently, the application is getting NULL for the user parameters in this case. What could be causing this? A problem with the application or some setting in the user's network?
I tried something like string is converted to ASCII and then encode that ascii value.
Could you tell me how it works with EncodeURIComponent(textbox1.value)
The problem is that when we enter the % in the searchtext, it is not getting encoded in the mozilla. Here we are maintaining the viewstate for this text. So, when we are redirecting the home page to search page, we are encoding the text for security. But the % character is not encoding in the mozilla because mozilla takes % if there is any space in the text. So, it is including this % to the URL. So, How to encode the % character in the Mozilla
Last Visit: 31-Dec-99 18:00 Last Update: 2-Aug-21 16:28