|
hi,
in caching, code for button event in usercontrol in asp.net with c#
help me please
Rama krishna
|
|
|
|
|
The question makes no sense. Are you creating a button dynamically and having trouble with button events ? If not, what do you want ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hi,
I am developing windows mobile application..I want to exit my application.Not automatically exited.So i am trying to use the code..But Process.GetProcessesByName not supported in windows mobile application.(Compact Framework)..Can you help me how to terminate?..I tried in many ways, this.Dispose(), this.Close(), Application.Exit()....But not exiting..please help me..
string processName = "MBitNetwork";
Process[] processes = Process.GetProcessesByName (processName);
foreach (Process process in processes)
{
process.Kill();
}
Immediate help is appreciated.
Bye
|
|
|
|
|
did you try
Application.Exit(); or Application.ExitThread();
|
|
|
|
|
Hello,
yaa, already tried Application.Exit()..that one Application hanging..
so i tried this.Dispose()..second time i have to run the application..can not run it..because application still background runing.
So, finally how to kill the exe file? I didn't try Application.ExitThread()..i will try it...Thanks for your reply...
Bye
|
|
|
|
|
try
System.Threading.Thread.CurrentThread.Abort();
|
|
|
|
|
Environment.Exit(-1);
life is study!!!
|
|
|
|
|
Hello friends,
i want to add items and its values from an array into an comboBox where dropdownStyle is dropDownListBox .
i am unable to insert value of an item in dropdownlist box...
pls help...
rahul saini
|
|
|
|
|
can you tell me what have done so far reagrding the query...
Gautham
|
|
|
|
|
there is no point of doing extra exercise on it.
if here not a matter of academic exercise then simply use
myComboBox.Items.Add(arr[i])
|
|
|
|
|
hi
thanks for showing interest in my question.
U r rite. i hav done this but i when we do
comboBox.selectedvalue
it is returning null
and i want to hav som value in it
dat i shoul provide.
agin thanks pls help me to sort out dis problem
rahul saini
|
|
|
|
|
I am having problems with the use of resource files (holding strings) with Visual Studio 2005. To abstract the problem, I have written a demo application.
I am working on device applications for PPC2003. I got one C# Solution with two projects. The following shows how the files are organised (and the blue text is some comments to understand it better):
LocalizationAppDemoAll2 (Solution)
_____LocalizationAppDemoAll2 (In bold, my startup project)
__________Properties (folder)
_______________...
__________References (folder)
_______________LocalizationAppDemoAll2Presentation (reference to dll of the other project)
_______________...
__________it (folder)
_______________LocalizationAppDemoAll2Presentation.resources.dll (added as a shortcut link)
__________Program.cs (containing the Main method)
_____LocalizationAppDemoAll2Presentation (the second project within the solution)
__________References (folder)
_______________...
__________Resources (folder)
_______________CodeText.it.resx
_______________CodeText.resx
__________Form1.cs
__________FormHandler.cs
----------------------------------------
I have changed my regional settings on the PDA device to Italy, and running the application. The application is supposed to read all the strings from the resource file CodeText and populates it in a list box (or combo box). However, the problem is that when running the application, it is only using the english version (i.e. CodeText.resx) file and not the italian resource file (i.e. CodeText.it.resx) despite the regional settings changed to Italy. I think it cannot find or reads the correct dlls. Any help please? It's urgent.
Thanks
Ashvin Gunga
Ashvin Gunga
|
|
|
|
|
use following code for explicitly loading resx File
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("it");
|
|
|
|
|
Thanks Sam.
I figured out the problem. The code was fine. It's one of the properties of the dll link that I didnt set correctly. Now it's working.
Cheers
|
|
|
|
|
I am trying to run my C# application on my PDA device (its a Symbol device) and I get this exception
"An unhandled exception of the type 'System.MissingMethodException' occurred in System.Windows.Forms.dll
Additional information: Method not found: Dispose
Symbol.Generic.Controller, Symbol, Version=1.0.5000.1, Culture=neutral,
PublicKeyToken=68EC8DB391F150CA. "
I am not understanding what is this and on which function it is occurring.
Checked on google and found that "MissingMethodException is designed to handle cases where an attempt is made to dynamically access a renamed or deleted method of an assembly that is not referenced by its strong name"
Can anyone help me incase they have encountered similar issue. Also please tell me what should be the possible solution to this issue
|
|
|
|
|
hi frens..
i want to pass the db connection and SQl query through code to the cystal report ..so please help me ..
|
|
|
|
|
Hi,
I got a COM, I tried to used it in C#, but curiously I can't access some of the properties (nor seeing them all in the Object Browser - but it does work in JScript). Anyone could help ?
Here is what I can see from OleViewer (from which only the "Count" property I can access).
interface IFWRuleList : IDispatch {
[id(0xfffffffc), propget]
HRESULT _NewEnum([out, retval] IUnknown** enumerator);
[id(00000000), propget]
HRESULT Item(
[in] long index,
[out, retval] VARIANT* value);
[id(0x00000001), propget]
HRESULT Count([out, retval] long* Count);
hny
|
|
|
|
|
Hello All,
I was trying to create dynamic HTML table using C#. The data for the table comes from sql server filled datatable (i have succeded in this aspect), I am not able to figure out how to create HTML table with this data. Any suggestions are welcome.
Thanks in Advance for your help. Best Regards
|
|
|
|
|
you have htmltable, htmltablerow, htmltablecell
first, set the cell data using htmaltablecell's innerhtml property
next, add this cell to the row,
finally add the row to the table using its property rows.add(tablerow)
Gautham
|
|
|
|
|
Thanks i have done this and it works fine could you please tell me how to display the data in three columns instead of one column.
<asp:gridview id="GridView1" runat="server" autogeneratecolumns="False" height="1048px">
<columns>
<asp:templatefield>
<itemtemplate>
" width="120" height="100" border="0"> | | $<%# Eval("Price") %> | | <%# Eval("ProductName") %> | |
cheers, shilpa.
Thanks in Advance for your help. Best Regards
|
|
|
|
|
Could anyone tell me if OOP is used much in scientific applications please?
I've gotten the impression from some sources that OOP is mainly used in
large office and financial app's...
|
|
|
|
|
Lurker00 wrote: mainly used in
large office and financial app's...
Probably true, in that there are probably more of them written.
Given the speed of PCs today, I see no need for you to use plain C for scientific code, which means there's no reason not to use OOP. Certainly, if you're using C#, you will use OOP, you have no choice.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I agree with your points. I don't see why one couldn't use OOP in scientific programming.
|
|
|
|
|
I think it's a matter of whether or not OOP makes sense. For example, a scientific application dealing with specific representations of numbers (in a matrix, perhaps) and operating on those representations would do well to use OOP. I'd say that C is probably best in a compact (few KB in size), high-performance scientific library.
|
|
|
|
|
the answer i've always heard on this is that OO code is seen as non-deterministic by a lot of scientists. The scientific code i have seen written in OO languages tends to separate the entity objects from the control objects which largely gets round these problems
The few scientific computer users i know are all Fortran users and i suspect that they are using libraries that have been developed and performance tuned over the course of many years, unlike banks, scientific institutions often have small budgets and loads of inertia.
|
|
|
|