ss125 18 Posting Whiz in Training

can u able to ping the other clients in your network from the server?

ss125 18 Posting Whiz in Training

purely talking about syntax, there's nothing wrong there, it'll compile and run, but there are two quite important logical errors there.

What are the errors my friend?

I need to correct myself about that error and i must avoid that in future.

Thank you.

ss125 18 Posting Whiz in Training

1) I think that in a switch if the network discovers any change it automatically starts updating it.
It will take only few seconds to flood ICMP packets to get the changes in the network and update it.

2)In router, the same happens, but the difference is that, it will update its routing table in a frequent interval.

So, my point is that your problem is not related to the table updation. There is some other problem. Sort that out my friend...

Hope this helps u...:-D

ss125 18 Posting Whiz in Training

Use a system restore, so that you can able to make your msoffice... If that didnt work, then go for a registry cleaner software to remove the registry regarding the ms office application. If all are not working use open office, then try

http://onlinedocumenteditor.appspot.com/
http://shutterb.org/
https://www.zoho.com/docs/

ss125 18 Posting Whiz in Training

on what basis do you want to compute your answer?

I mean

either using operator precedence or by normal computaion?

ss125 18 Posting Whiz in Training

Ya, you can loop the dt3,So that the execution time may be decreased.

And regarding the code,you have to think wisely. try with the modifications. If the problem still exists then message me. I will help you for sure.

ss125 18 Posting Whiz in Training

So How can i implement it gusano79... Because I am a newbie to web apps development.Can you give me a clear explanation please?

ss125 18 Posting Whiz in Training

Its a well known fact that,When you implement a switch in a network, it will update its switch table with the ip address respective to its MAC address. So there is no need for a seperate system to moniter these events. The switch will forward or accept packet only after the updation of switch table is done completely. So dont worry.

Hope this helps u my friend...:-D

ss125 18 Posting Whiz in Training

Try logging in safemode. If its working, then start backing up all your c drive files to other drives. [My suggestion is not to back up files...Because if it is affected too, then new OS installation will result to zero...]And then try to uninstall the recent suspicious installations. And My suggestions for antivirus is Avast. Try to use that,because as a IT engineer I am amazeed about the functionalities of avast firewall.

Tell me if anything is not going well in this process.

Have a speedy recovery to your system...:-D

ss125 18 Posting Whiz in Training

Its the Blur effect.It can be done in Photoshop also.

TO do that follow these steps.Its simple.

1) Open the image.
2) Select the particular part or the entire image which u need to blur.
3) Go to filter menu and select any kind of blur(i.e., Guassian blur,Motin Blur,etc)
4) The angle and ratio selection window will appear with a zoomed preview.Adjust it based on your necessity.
5)Press ok.

And save the image.

Your Blurred image is ready.

Happie Photoediting...

ss125 18 Posting Whiz in Training

Instead of programmming like this why cant you do like this...

void main()
{
String operator=""; 
String num1;
String num2;
String result;
if add_button is pressed
{
    num1=text1.value;
    operator="add"
}

Likewise same for all other math functions.

And for equalto

if equal_button onclick()
{
if(operator=="")
{
//alert user
}
if(operator="add")
{
num2=text1.value;
int res=num1+num2;
result=res.tostring();
text1.value=result;
}

My syntax may be wrong...But I am ask you about the logic used.

Have a happie coding...:-D

ss125 18 Posting Whiz in Training

Its the memory issue dude.

normally an integer datatype hold 2 byes of memory.If Int is declared it holds 2 bytes by default.

Same goes for array.

arr represents the data in the memory.

&arr represents the memory address of the variable arr.

arr + 1 which means 2 bytes.

&arr +1 means arr[]=> 2 bytes for arr and 2 bytes for array.

Further can be concluded from your answer.

Correct me if i am wrong in any case.

Have a happy coding.

ss125 18 Posting Whiz in Training

Google it...Lot of sample projects are already available... and then try it... If u have any problem then post your problem...

ss125 18 Posting Whiz in Training

can u please explain what is the error specified by the interpreter? So it will be easy for us to clarify it.

ss125 18 Posting Whiz in Training

I used script manager followed by update panel... and it is working perfectly...

ss125 18 Posting Whiz in Training

USe datatable to store the excel data

and use the following connection string for excel file

try these:

                    string fileName = Path.GetFileName(FileUpload1.PostedFile.FileName);
                    string fileExtension = Path.GetExtension(FileUpload1.PostedFile.FileName);
                    string fileLocation = Server.MapPath("~/App_Data/" + fileName);
                    FileUpload1.SaveAs(fileLocation);
                    //Check whether file extension is xls or xslx
                    if (fileExtension == ".xls")
                    {
                        connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + fileLocation + ";Extended Properties=\"Excel 8.0;HDR=Yes;IMEX=2\"";
                    }
                    else if (fileExtension == ".xlsx")
                    {
                        connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + fileLocation + ";Extended Properties=\"Excel 12.0;HDR=Yes;IMEX=2\"";
                    }

                    //Create OleDB Connection and OleDb Command
                    OleDbConnection con = new OleDbConnection(connectionString);
                    OleDbCommand cmd = new OleDbCommand();
                    cmd.CommandType = System.Data.CommandType.Text;
                    cmd.Connection = con;
                    OleDbDataAdapter dAdapter = new OleDbDataAdapter(cmd);
                    DataTable dtExcelRecords = new DataTable();
                    con.Open();
                    DataTable dtExcelSheetName = con.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null);
                    string getExcelSheetName = dtExcelSheetName.Rows[0]["Table_Name"].ToString();
                    cmd.CommandText = "SELECT * FROM [" + getExcelSheetName + "]";
                    dAdapter.SelectCommand = cmd;
                    dAdapter.Fill(dtExcelRecords);
                    con.Close();
ss125 18 Posting Whiz in Training

Its all your alignment problem bro...

Sort that out...

It will be fine...

ss125 18 Posting Whiz in Training
ss125 18 Posting Whiz in Training

Good day!!!

I have implemented the captcha verification to my application. But I am having a problem in it.
I cannot able to find methods that can only reload the captcha image.Instead I have to reload the entire page. Is there any wa y to do it.

This is my code as of now regarding captcha control

            Captcha1.ValidateCaptcha(TextBox1.Text.Trim());
            Label1.Visible = true;
            if (Captcha1.UserValidated)
            {

                Label1.ForeColor = System.Drawing.Color.Green;

                Label1.Text = "Valid";

            }

            else
            {

                Label1.ForeColor = System.Drawing.Color.Red;

                Label1.Text = "InValid";

            }

Can someone help me in this?

Thank you in advance.

ss125 18 Posting Whiz in Training

Its a ram problem i hope. Just try this soln also. It helped me a lot.

try to boot the system using a cd drive which consists of os cd.

If the screen shows the installation procedure, you are safe and now you can cancel installation and reboot your system.

else

the problem is with your moniter cable[Soln: try other cable]

else

the problem is with your motherboard.

Hope this helps.

Have a happy time

ss125 18 Posting Whiz in Training

If your carrier is on networking, then try to moniter protocol with application that can be used to allow/block the functionalities of that particular protocol. In simple, Just develop a firewall on your own.

ss125 18 Posting Whiz in Training

Its because your graphics card is counting days. Its going to worn out soon. If you want to extend its life for some more time kindly deactivate the graphics booster software like gamebooster from your system. try to avoid streaming videos of High quality. Miniumize graphics usage as less as possible.

Or else,If u can, Change the graphics card.

ss125 18 Posting Whiz in Training

I suggest you c#, Its the recent one and easy to understand. Its also helps to learn newbie programming languages like f#. Go for it. You will regret this.

Have a happie coding ma friend...:-D

ss125 18 Posting Whiz in Training

There is nothing to get demotivated in this. A true resourseful person will always comes up from the utmost bottom of the line like bubbling of air from under water. You must consider all your failure as a lesson to avoid the failures in the future. Dont get carried away by your failure alone.

Remember,

Failure is the Key to Success

And remember that the same companies will going to offer a job to you, willingly, and you will become such a person who selects the oppurtunities from the list of companies that rejected you now.

Wait for your time.

Keep on trying until your goal is reached my friend.

Regards,
ss125

ss125 18 Posting Whiz in Training

In that case, Your ethernet port definition may be monitered by the antivirus program but due to improper un-installation it may be blocked.So check whether any environmental variables of your antivirus in there in your registry,if so remove it.If Still it doesnt works,try to reinstall the ethernet driver.

If it does not work, repair your operating system for better results.

Hope this helps u.

Have a happie computing. :-D

ss125 18 Posting Whiz in Training
        void Session_Start(object sender, EventArgs e)
        {
            // Code that runs when a new session is started
            Session.Timeout = 2;

        }

        void Session_End(object sender, EventArgs e)
        {
            // Code that runs when a session ends. 
            // Note: The Session_End event is raised only when the sessionstate mode
            // is set to InProc in the Web.config file. If session mode is set to StateServer 
            // or SQLServer, the event is not raised.
            HttpContext.Current.Response.Redirect("login.aspx",true);

        }

these are my code

And it provides NullReferenceException was hanndled by user code and it provides this exception on ";" at session_end event...

Sorry for late reply...

Can u help me out????

ss125 18 Posting Whiz in Training

You can use the same codes depending on your concept.

You are matching the data with another datable.

If that the case, then

try the below sample

String[] admin_no = new String[];
int i=0;
for each dr1 as datarow in dt1.rows
if(curadminno = dr1("AdminNo").tostring)
{
admin_no[i]=curadminno;
}
//end the loop and necessary functionalities

then populate it as
dim dt3 as new datatable;
for each i in admin_no[i]
dt3.row.add(admin_no[i])

If this method suits your criteria,try this...Else notify me...

And Sorry for the late response.

Have a happie coding...

ss125 18 Posting Whiz in Training

Yes... I once had the same problem.The first time it works and after that it wont..isn't? This is because due to the improper connection closing procedure.

For me after that it worked well.

Check this... if the problem still exists try to debug with full attention on the codes...

ss125 18 Posting Whiz in Training

My suggestions based on your code:

1)All Your code processing is done on the backend iteself, I mean the filtering and joining.Instead of doing that try to populate all the records in the datatables. Then try to compare the necessary data from the datatable. and for joining (the main aspect) try to do it using the below format

ds.Tables[0].Rows[0][0].ToString();

In order to join all necessary data,

=>Use a for loop to execute till the end of the table.

=> Inside for loop use if condition to check for conflict

if(ds.Tables[0].Rows[0][0].ToString())=(ds.Tables[0].Rows[0][0].ToString())

{

//Do the following 
//here u use this on a different datatable***avoid that***

}

Hope this helps you.

Have a happy coding.

ss125 18 Posting Whiz in Training

If u are using c# in web app, Use fileupload tool and get the path using

fileupload1.filename()

if it is a windows application

try

        openFileDialog1.ShowDialog();
        string filePath = openFileDialog1.FileName;

Hope this helps.

Have a happy coding.

ss125 18 Posting Whiz in Training

The following are the possibilities.

1) Browser compactibility problem (includes version of browsers also).

2)Your development machine's pixel size may vary to client's system. For eg., U r using a 1388*720 and the client may be using a lesser one and vice-versa.

3)For your information, Kindly develop your page with a default size of 1024*638. This is best suited for all lower end as well as higher end resolution screens.Instead of 720 I have used 638 because of the exclusion of browser's page on the screen.

Check any of these possibilities.

Hope this helps u.

Have a happy coding.

almostbob commented: not an appropriate answer, one should not continue incorrect stereotypes -3
ss125 18 Posting Whiz in Training

I didnt mean that bro. I asked you to learning purpose only.The asker is asking that the parameters can increased or decreased. So based on the asker's question, Is there any method to do it in a xml. Please tell me bro Ketsuekiame.

ss125 18 Posting Whiz in Training

@Unimportant

As I suggested above it's just an idea...

Anyway ur suggestion also helped me...:-D

Thank U

ss125 18 Posting Whiz in Training

I am having a doubt Ketsuekiame,but I have a question "WHETHER XML IS FLEXIBLE???" Because sumitrapaul123 needs a flexible code...

ss125 18 Posting Whiz in Training

do u want image in the form or an button????

For your kind attention, Kindly post the question in a clear manner so that it can save our time and helpfull to all.

ss125 18 Posting Whiz in Training

Simple... Just get the selected value in combobox from the language selection form.After that, in the other form's load event you have to get the combo box selected value and write the condition for it.

eg:

String lang;
    if (lang="English")
    {
    label1.text="xxxxxxx";
    label1.font="Ur needed lang font";
    }

And dont forget, It will not translate it. Many of friends have some doubts about font change and translation in a windows forms development environment.

Hope this Helps...

Have a happy Coding...

ss125 18 Posting Whiz in Training

May I know which reporter tool are you using?

ss125 18 Posting Whiz in Training

You can keep it.. Thats your wish... But for your knowledge,I think you can make use of trim() to remove white spaces i hope.

ss125 18 Posting Whiz in Training

If thats the case, May be some other programs are blocking certain modules of TCP/IP. Check any other services is using it. If yes, Stop that service and try again.

ss125 18 Posting Whiz in Training

For all here there is one point i need to say...

For all the software we know, There is a crack...

So, For personal use and learning purpose go for crack...

For professional use, say Yes to License for better support..

ss125 18 Posting Whiz in Training

I also go with the above comments...

But I am having a suggestion here...

declare a varible to store the string to be printed(as mentioned in your question)

just use the builtin function strlen(variable name) to calculate how many characters are there in the variable.

Then get the price per letter

Calculate the result.

A simple method :-D

But if you need for loop then go with manual counting procedure as others suggested.

Hope this helps you.

Have a happy coding time..

ss125 18 Posting Whiz in Training

I think this problem may be caused by the protocol used or problem with the ports used by the protocol.

On a rare case it may also be caused by the network adapter. i.e, either a WAN or an RJ-45(ethernet).

try to re-install these drivers.

PARTICULARLY THE

TCP/IP

Hope this will help you my friend.

ss125 18 Posting Whiz in Training

instead of passing them as different parameter pass it as a single one.

i.e, if text1 contains color and text2 contains font size, then

code:

string param= text1+"%"+text2;

while passing it it will be resembling like

param = "#ffffff,12"

(here [%] is considered as a string, called as string seperator)

on the destination form (where it has to executed) follow the procedures mention below.

1) count how many % are there in the passed param?

2) open a loop till count value

3) code like..strings till 1st count it is color and strings till second count it is font like that...

Hope this helps.

Have a happy code.

ss125 18 Posting Whiz in Training

When i implement the following code in my Global.asax.cs in the session timeout procedure, It prompts me an error...

HttpContext.Current.Response.Redirect("login.aspx");

What will be the problem?

Note: I want to forward the user to login page when the session is timeout.So i used this. Correct me if i am wrong in my procedure.
ss125 18 Posting Whiz in Training

yes ChrisHunter... I need to pass all the selected values repeatedly until all the selected options are processed inside the query.

ss125 18 Posting Whiz in Training

My suggestion is that Kindly validate the front end of your program.i.e., by checking whether a particular userid is already active... and then proceed...

And also,
its safe to assure that you are not allowing multiple login at same time for a user. So In that case you can set a flag column in your user database as Isactive(char(1)) where nly y and n to be stored. So that if any problem exits u can track back the code easily.

ss125 18 Posting Whiz in Training

Hi friends,

I displayed some items on my dropdown list.And users are allowed to select multiple items in the drop box.

After that, If a button is clicked,

I have to execute a single sql code.

Say for eg,
update table_name set flag='y' where field_name='[Dropdown selected items]'

Please help.

Thanx in advance.. :-)

ss125 18 Posting Whiz in Training

Is there any other way to do it???

Because on the same problem I used to pass the variable throgh cookies and reading it... But that was on a single variable passing schema only.

Thanks in advance.