|
hi all,i try to attach morethan 10mb files using html file field but it wont allow it.is there any way to do this?
Regards,
ayyp
|
|
|
|
|
The default maximum size for a request is 4 MB. This can be changed using a setting in web.config. I don't remember it's name right now, though.
---
b { font-weight: normal; }
|
|
|
|
|
sorry i didn't get u can u reply clearly........plz........
Regards,
ayyp
|
|
|
|
|
Translation:
da deft max sz for a req is 4 mb dis can b chng uzn a setn in web.config i dont remember its nm right now, dou
---
b { font-weight: normal; }
|
|
|
|
|
Hi
it is possible. u can attach any size.
find 1) machine.config file
open in VS IDE
Search keyword "httpRuntime", u will find at 169 line.
<httpRuntime executionTimeout="120" maxRequestLength="102400" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true"/>
Here
set maxRequestLength="102400"
|
|
|
|
|
thanks for u r rply
Regards,
ayyp
|
|
|
|
|
hi CP people!!!
how can you call .dll from C++ and use it on a C# program?
i really dont know how to ask this question coz i dont know very much C++ programmin, and i'm just starting to learn C#.
and just a noob question. what does .dll do and how you use it?
hope there's somebody who can help here.
regards.
thanks in advance.
in land of the idiots, the imbecile is the king.
|
|
|
|
|
So now a days CP forums are replacing text books?
Koushik Biswas
|
|
|
|
|
Hi every body ,,well i'm not an advanced developer in c# so that i realy need quick help in " how to display the mac address of a local pc to a textBox in a c# windows application form" ?????
actualy i have found a lot of articals using console application to obtain mac address but i just couldn't make any use out of it so by the way can i use data obtained in a console application to a forms application ?and how would that be?
thanks all of u for helping
Hesham Hafez
|
|
|
|
|
You get an article on the internet which shows you how to display something on the console. And you cannot get it dispplyed on a text box ?
Assign a string variable with the value and set the Text property of the textbox to that value.
Judging from your question, you should not be dealing with Mac Addresses. Try displaying Hello World first.
Koushik Biswas
|
|
|
|
|
tanks any way Koushik Biswas but that didn't help as i told u i'm not familer with c#
Hesham Hafez
|
|
|
|
|
Hi all,
I have many SQL Stored procedures that i need to run before my program start ,so i need to run them while project installation ,how can do this?
your support is highly appreciated
thank you
|
|
|
|
|
add script files to the Setup and go to lanch conditions window.
Write a VBScript Self Executable file. This vbs file will be copied along with u r project. write vbscript code to execute sql scripts.
regards
GV Ramana
|
|
|
|
|
thank you Ramana,
can u tell me how to get the SQL server name dynamically of client machine in this script
|
|
|
|
|
Hello All,
I'm in a bit of corner here, i need to inherit a c++.net class with a c#.net class
but.. i can't find any way to do this.
what i can do is inherit a c# class using a c++ class but unfortunately i need to inherit the other way round from c++ -> c#
if any one know hot to do this please help me
10X
Hadar Raz
Hadar Raz
hadar33@gmail.com
|
|
|
|
|
hadar33 wrote: I'm in a bit of corner here, i need to inherit a c++.net class with a c#.net class
but.. i can't find any way to do this.
There shouldnt be any problem. Make sure of the following:
1. Make sure the c++.net class is infact a managed class
2. Make sure its publicly visible.
Please list any specific errors you get, then we can pinpoint the propblem easier
|
|
|
|
|
Not really programming question:
When debugging in Visual Studio 6 you can skip lines of code to be executed by placing the cursor where you want to start and pressing Ctrl+Shift+F10 (can also be used to repeat the same code over and over). I`m debugging a C# program now in Visual Studio 2005 and Ctrl+Shift+F10 does not work. I can only see options to step in a function, step out or run untill the cursor, but no option to skip lines or place the cursor a few lines prior to the current... Is this option not available in C#?? If it is, can anybode tell me the shortcut-key?
Thanks,
Davy
|
|
|
|
|
Place curosr in line of code which u want and press F9 then u have breakpoint in that line (this is in VS.NET 2005)
|
|
|
|
|
I don't think that there is a shortcut key for that. Just grab the arrow indicating the next instruction and drag it up or down.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks that`s what I was looking for.
|
|
|
|
|
In C# on .NET 2.0, how do I use external files for a custom Section that do NOT have a relative path (meaning "c:\Config\Files\" for ex.).
Second, I am trying to save a hashtable (with string keys and string values) to that external file and then load it but I could not find a simpel way to do that using classes in the System.Configuration namespace. Did I miss something or is the KeyValueConfigurationCollection class the only way?
Thanks,
|
|
|
|
|
hi all, i have some confusion about the functions and stored procedures in sql server i hope u will clear my cofusion...my question is..what is the diff between sp and function in sqlserver and where to use this function and where to use this sp? plz..give some example....
Regards,
ayyp
|
|
|
|
|
have a look this article
http://www.dotnetspider.com/qa/Question22237.aspx
|
|
|
|
|
thank,u cleared my doubt
Regards,
ayyp
|
|
|
|
|
It's my pleasure
|
|
|
|