|
ok .. guessing you know exactly what im looking for. So how much it will cost me?
|
|
|
|
|
No idea, I wasn't offering - this is not a job site. Try www.rentacoder.com, you will find someone there.
My point was, you admit you are not a programmer, nor is your 'knowledgable' friend, so what is the point of asking for code? The people who provide answers on here are (mostly) professional developers who try to help those less experienced, for free, and so are unlikely to provide full working applications, which is what yuo really need.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
ok i got your point.
can u answer this for me?
----------
ok simon.. I got the visual studio express.
Installed it - but don't know anything on it yet.
Now .. what book to look for? Can u suggest me some which can teach me how to do programming using visual studio? Hope its available on the net as ebook. A direct link would be just so-good. But guessing from the past responses, thats hard.
I am a beginner. So guess I need to start learning. Kindly suggest me something which will be helpful (closest to this query regarding upload image).
Thx
----------
|
|
|
|
|
i am creating System Configurator as i saw Dotnetpanel they have a configurator which download the Update and in the update they have setup.dll. which run when we install the update how i can do this.
as i remove the dll before installing the update its give error message while installing the update. i think that all the method that is used to install the new update is inside that dll can u tell me how it work [Frown]
wasim khan
|
|
|
|
|
You will have to run the update 'dll' in a separate process.
|
|
|
|
|
how can u guide me a little
wasim khan
|
|
|
|
|
We have a java web app that I need to connect to via an Office Add-in.
I have added a WCF service reference for a non secure web service and can succesfully call methods on that service.
I also need to call a couple of methods on a secure web service, ie. one that is expecting a soap header like this:-
<soap:Header xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:Security>
<wsse:UsernameToken>
<wsse:Username>username</wsse:Username>
<wsse:Password Type="wsse:PasswordText">password </wsse:UsernameToken>
</wsse:Security>
After much research I believe I need to go about this by making use of Username Tokens via Transport-based Security http://www.theserverside.net/tt/articles/showarticle.tss?id=SecuringWCFService[^]
I have ammended my basicHttpBinding to have security mode of TransportWithMessageCredential and my endpoint address starts https://. However when I try and call a method on the service I get the following error:-
'{Security}http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd was not undertsood by the service.'
My calling code looks like this:-
DocumentService.documentServiceClient client = new DocumentService.documentServiceClient();
client.ChannelFactory.Credentials.UserName.UserName = "MyUserName";
client.ChannelFactory.Credentials.UserName.Password = "MyPass";
Does anyone have experience of this problem?
Is there something on the client side I can do to resolve this?
thks
Simon
|
|
|
|
|
Could not find a straightforward way of doing this client side.
This is now working but only after a change on the java side to add "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" to the list of understood headers.
|
|
|
|
|
I wanna allow only number for my TextBox1.Its can only insert 7 digits.If I enter "23ddddd" on my TextBox1 i wanna give an error message for that.So please help me...........
CheeN
|
|
|
|
|
In the Keypress event handler check if the pressed key is digit or not. If not set handled to true. Don't forget backspace key.
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
Can i use regular expression or any validater?If yes how can i use that..?
i tried
Match MatchTelNum = Regex.Match(tel.Text, "[a-z&0-9]*");
Its wroks.But i had a problem coz if i entered "3333333" to that textBox1.It also giv an error message.If you can help me..
ReagrDzzz
CheeN
|
|
|
|
|
sacr83 wrote: Match MatchTelNum = Regex.Match(tel.Text, "[a-z&0-9]*");
Its wroks.
No, it does not work...
That will match letters and digits and '&'.
|
|
|
|
|
hey
use a maskedTextBox instead of a notmal textBox
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.passion != Programming)
|
|
|
|
|
Cheen
on Press key Event of textbox
use this code
if (Char.IsLetter(e.KeyChar))
{
e.Handled;
}
wasim khan
|
|
|
|
|
wasimsharp wrote: if (Char.IsLetter(e.KeyChar))
{
e.Handled;
}
1. That wont compile.
2. Are you checking for digits or letters?
|
|
|
|
|
No
if (!Char.IsDigit(e.KeyChar))
{
e.Handled = true;
}
wasim khan
|
|
|
|
|
int.TryParse in the key event handler is your friend.
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Greeeg wrote: int.TryParse in the key event handler is your friend.
Friends dont let friends overflow! What happens if the person enters 25 digits?
|
|
|
|
|
Then I should take the time to read the question more precisely
A regex like \d{,7} for at most, or \d{7} for exactly 7 digits will do the job as well.
But I'd use a NumericUpDown control for this task.
modified 12-Sep-18 21:01pm.
|
|
|
|
|
sacr83,
If you only want to allow numbers, why not use a NumericUpDown control...
MSDN[^]
Regards,
Gareth.
(FKA gareth111)
|
|
|
|
|
Just use this
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)<br />
{<br />
if (!char.IsDigit(e.KeyChar))<br />
{<br />
e.Handled = true;<br />
MessageBox.Show("Integer numbers only");<br />
} <br />
}
|
|
|
|
|
if you want to get an error as you type you can use KeyDown events then get your last entered character from your textbox, if last character is not what you suggest to input throw an errror
|
|
|
|
|
Hello!
I´ve made a customError-class inheriting from BaseValidator which I use to add error to Page.Validators from code-behind.
public class CustomError : BaseValidator
At first I inherited from IValidator , but I had to be able to set ValidationGroup and so I switched to BaseValidator . Problem is now the PropertiesValid-property of my class always throws an object reference-error. I´m giving ControlToValidate a correct value, so thats not whats causing this. Does anyone have an idea why this error occurs and how I prevent it?
The error looks like this:
[NullReferenceException: Objectreference has not been set to an instance of an object.]
[NullReferenceException: Objectreference has not been set to an instance of an object.]
System.Web.UI.WebControls.BaseValidator.CheckControlValidationProperty(String name, String propertyName) +23
System.Web.UI.WebControls.BaseValidator.ControlPropertiesValid() +37
System.Web.UI.WebControls.BaseValidator.Validate() +58
|
|
|
|
|
|
hi freinds
now a days i am working to create the System updater.
can i use dll which is downloaded with update. and then my updater just
call the dll and it install the update. just like (DNP .NetPanel)
if yes then plez give me some help that how can i do this.
wasim khan
|
|
|
|