|
iqazi wrote: Basic understanding of .net remoting,xml webservices,sync and async interaction is required.
These are NOT required to build a mobile application. They may be used, depending on the requirements, but again NOT a requirement for building any application.
only two letters away from being an asset
|
|
|
|
|
He has not asked how to build a mobile app. but still i showed him the way to create a mobile application.
if u open ur eyes and see the last sentence of his message, he is asking that what is the requirement and i told him that basic understanding of the above technologies is required. So i answered him right one or the other way.
If you having nothing to post, then dont try to do so either.
ihtesham
|
|
|
|
|
required != beneficial
modified 12-Sep-18 21:01pm.
|
|
|
|
|
iqazi wrote: He has not asked how to build a mobile app.
how can i create a mobile application in C# and what are the requirements
for any mobile application in C#?
iqazi wrote: if u open ur eyes
iqazi wrote: basic understanding of the above technologies is required
iqazi wrote: Basic understanding of .net remoting,xml webservices,sync and async interaction is required.
Again, what you mentioned are NOT requirements for any application.
iqazi wrote: If you having nothing to post, then dont try to do so either.
Good advice, take it yourself
only two letters away from being an asset
|
|
|
|
|
The first step is to not ask the same question multiple times. Look at the replies to your first posting.
only two letters away from being an asset
|
|
|
|
|
How can i get the list of all the computers in a network (just like one clicks on the 'Entire Network' and gets the list of computers in the network along with an image).
sAqIb
|
|
|
|
|
This has been answered several times in this forum. Have you tried searching? It should give you a good start. If you still don't find anything after searching, post here and I'll give you more information.
|
|
|
|
|
http://www.codeproject.com/cs/internet/host_info_within_network.asp
This will help u.
|
|
|
|
|
Hi All,
I am using C#.NET. Well I have a string (eg: FILES_NOT_FOUND_AT_ALL).
How can i change this string to FilesNotFoundAtAll..Plz Help..
Thanx in Advance!!!
|
|
|
|
|
OK, just to make sure:
SOME_TEXT_IN_UPPER_CASE -> SomeTextInUpperCase
or
SomeTextInUpperCase -> SOME_TEXT_IN_UPPER_CASE?
Subject-Line + Content = Not entirely sure what you want.
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Hi Sebastian,
i need the following only..
SOME_TEXT_IN_UPPER_CASE -> SomeTextInUpperCase
Plz help me to do this one...Thanks..
|
|
|
|
|
not elegant but...
private static String mixCase(string inString)
{
String outString = inString.Substring(0, 1).ToUpper();
inString = inString.Substring(1).ToLower();
String lastChar = "";
for (int iIndex = 0; iIndex < inString.Length; iIndex++)
{
if (iIndex > 1)
{
lastChar = inString.Substring(iIndex - 1, 1);
}
if (lastChar.Equals("_"))
{
outString = outString.Substring(0, outString.Length - 1);
outString += inString.Substring(iIndex, 1).ToUpper();
}
else
{
outString += inString.Substring(iIndex, 1);
}
}
return outString;
}
|
|
|
|
|
|
zxc89 wrote: I am using C#.NET. Well I have a string (eg: FILES_NOT_FOUND_AT_ALL).
How can i change this string to FilesNotFoundAtAll..Plz Help..
To just make the string lowercase you can you string.ToLower() .
But to format it the way you want it, you'd need to write your own algorithm.
But it's really easy, if all uppercase strings have the format you mentioned.
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
You need to use .Split() to divide the original string into a string array (use '_' as the character to split on). Then in each element of the newly created array use the index on the string to get the first letter, then use .SubString to get the remaining characters in the element and make them lower case (.ToLower()), then you can move on to the next element. Use a StringBuilder to concatonate it.
|
|
|
|
|
Here's a neat solution.
private string Camelize(string text) {
return System.Text.RegularExpressions.Regex.Replace("_" + text, "(_.|.)", delegate(System.Text.RegularExpressions.Match match) { return match.Value.Length == 2 ? match.Value.Substring(1, 1) : match.Value.ToLower(); });
}
---
b { font-weight: normal; }
|
|
|
|
|
can i make crystal reports through coding not through wizard in C#?
plz some one help me and send me a demo project on crystal reports.
thanks
|
|
|
|
|
i am using c#.net. i have added some controls(textbox and checkbox and labels) on a pannel when a button is cliked in form.now i want to add the event(CheckedChanged) on check box.normally its not difficult but i create the control dynamically so how can i add the event dyanmically? further more there is no fixed no of check boxes to be added so i cant make the event handlers prior to execution..
May God help u solv ur problems as well,thx in advance!!
|
|
|
|
|
Firstly you can use the same event handler for all your dynamic checkboxes, you can always determine WHICH one was actually checked (or unchecked) using the sender parameter
private void DynamicCheckboxes_CheckedChanged(object sender, EventArgs e)<br />
{<br />
CheckBox checkBox = (CheckBox)sender;<br />
Debug.Write("CheckBox: " + checkBox.Name + " checked:" + checkBox.Checked.ToString());<br />
}
Now when you dynamically create a checkbox in code you add an event handler thusly:
<br />
CheckBox myCheckBox = new CheckBox();<br />
myCheckBox.CheckedChanged += new EventHandler(DynamicCheckboxes_CheckedChanged_;
|
|
|
|
|
Hi, you need to set an event handler to your control (most likely after having created it).
Check the += operator applied to events.
yourcontrol.CheckedChanged += <here type="" <tab=""> twice and VS will complete the line and create a stub for your event handler>;
Have a look at InitializeComponent() in your form.
Regards.
|
|
|
|
|
In addition to what the previous posters said, you can always iterate through the controls-collection, find all the controls that are of type checkbox, and add an event-handler for them. Just give them a name so that you can find them again, if you need to.
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Just started experimenting and I could use a good reference or two on coding for office (specifically word in my case). At this time probably more setup than anything else. I am working on two machines and both appear to have some enviromental issues. machine one, allways gives a message that it could not load the assymbly (both when running in debug mode from VS and when just opening the word document with word.) On machine one word does start from debug mode in VS. On machine two, it fails to start word when trying to run in debug mode from vs, but opens the document with no problems when starting from word. I added text to the last sentance to prove it was running the assymbly in this example.
Anyways, getting frustrated. So any references or just comments on what has and has not worked would be welcome. Thanks
[edit] this is with VS2003 and Office 2003 [/edit]
|
|
|
|
|
Hi
the mousedoubleclick event works fine for text boxes, buttons etc but I can't get it to work for a combobox.
Is there any possible reason why I may be having this basic problem ?
John
|
|
|
|
|
Decided MouseDoubleClick is just MouseClick x 2. This works but there must be a better way to make DoubleClick available for a ComboBox.
private DateTime mouseClicked = DateTime.Now;
.
.
.
private void comboBox1_MouseClick(object sender, MouseEventArgs e)
{
if (DateTime.Now.CompareTo(mouseClicked.AddMilliseconds(SystemInformation.DoubleClickTime)) < 1)
{
mouseClicked = DateTime.Now;
DoubleClicked();
}
else
mouseClicked = DateTime.Now;
}
private void DoubleClicked()
{
MessageBox.Show("DoubleClicked");
}
|
|
|
|
|
I am developing server and client application using .net remoting in c#.
When I run both client and server applications from the same machine, things work fine. But when I host the server on a different machine, exceptions dont get thrown across, rather I get the remoting error with the message
"Server has encountered an internal error,for more information turn off custom Errors in servser's.config file".
I'm using .NET Framework 1.1. on both server and client. The server is hosted in a windows service.
I've read that this can be avoided by setting <customerrors> "off" in the server configuration file. But I am not using config file to configure my windows service.As I configure it programmatically.Can any body tell me how to avoid this error and what is the reason of this??
Thanks
Sam
|
|
|
|