|
No can understand What are you saying ? What you want please be specific
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
i need code for upload an xl file which has size 100mb. so how can i approach. using file laoder it si not possible as it is too big. so by FTP it possible i think ...but i don't know the code to use in c#
so plzzzzzzzzz any one can gve me response as early as possible
Suresh.R
|
|
|
|
|
you can use below component for ftp manage
http://www.codeproject.com/cs/internet/ftplibrary.asp
|
|
|
|
|
sooreeagt wrote: help me
This is a useless subject line. Everyone asking questions on this forum is looking for help.
A better subject would be "Need assistance uploading 100mb XML file"
|
|
|
|
|
Hello all
how we can draw the elements of an array on the picturebox with respect to the time in the Timer such that every tick of the timer the string elements (which point to the x-position of the mouse ) appears on the picturebox as a dot ; the y-axis is the the x-position and the x-axis is the time of the timer.
thank you
ahmad al-omar
|
|
|
|
|
Hi all,
i want to update the <lasers>
<laser id="Laser1">
<properties>
<tabular> 's <edit property = "true" if its false,
i am using checkedlistbox property to where these values come from XML FILES,
When user checkes or unchecks the checked box, i'll toggle the values depending upon the selection,
please help me
I've posted the xmi file( which i am using,) BELOW,, plz look at it.
<?xml version="1.0" encoding="utf-8" ?>
<lasers>
<laser id="Laser1">
<properties>
<gauge>
<property name="Output1" min="0" max="100" optimalval="50" currval="0"></property>
<property name="Output2" min="0" max="100" optimalval="50" currval="0"></property>
<property name="Output3" min="0" max="100" optimalval="50" currval="0"></property>
<property name="Output4" min="0" max="100" optimalval="50" currval="0"></property>
<property name="Output5" min="0" max="100" optimalval="50" currval="0"></property>
<property name="Output6" min="0" max="100" optimalval="50" currval="0"></property>
</gauge>
<tabular>
<property name="temperature1" currval="12" edit="true" selected="true"></property>
<property name="temperature2" currval="56" edit="true" selected="false"></property>
<property name="temperature3" currval="36" edit="true" selected="false"></property>
<property name="temperature4" currval="67" edit="true" selected="true"></property>
<property name="temperature5" currval="37" edit="true" selected="true" ></property>
<property name="temperature6" currval="87" edit="false" selected="true" ></property>
<property name="temperature7" currval="89" edit="true" selected="true" ></property>
<property name="temperature8" currval="23" edit="true" selected="false" ></property>
<property name="temperature9" currval="78" edit="false" selected="false"></property>
<property name="temperature10" currval="81" edit="true" selected="true" ></property>
<property name="temperature6" currval="87" edit="false" selected="true" ></property>
<property name="temperature7" currval="89" edit="true" selected="true" ></property>
<property name="temperature8" currval="23" edit="true" selected="false" ></property>
<property name="temperature9" currval="78" edit="false" selected="false"></property>
<property name="Poweroutput" currval="81" edit="true" selected="true" ></property>
</tabular>
</properties>
</laser>
<laser id="Laser2">
<properties>
<gauge>
<property name="Output1" min="0" max="100" optimalval="50" currval="0"></property>
<property name="Output2" min="0" max="100" optimalval="50" currval="0"></property>
<property name="Output3" min="0" max="100" optimalval="50" currval="0"></property>
<property name="Output4" min="0" max="100" optimalval="50" currval="0"></property>
<property name="Output5" min="0" max="100" optimalval="50" currval="0"></property>
<property name="Output6" min="0" max="100" optimalval="50" currval="0"></property>
</gauge>
<tabular>
<property name="temperature11" currval="0" edit="true" selected="true"></property>
<property name="temperature22" currval="0" edit="false" selected="false"></property>
<property name="temperature33" currval="0" edit="true" selected="false"></property>
<property name="temperature44" currval="0" edit="false" selected="false"></property>
<property name="temperature55" currval="0" edit="true" selected="true"></property>
</tabular>
</properties>
</laser>
</lasers>
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
Load the XML file into a XmlDocument instance, use the SelectSingleNode in conjunction with a proper Xpath expression to select the attribute whose value has to be changed and finally change the value. Take a look at the documentation of the mentioned class and method. It contains examples and continuative links that should give you a good starting point.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
pashitech wrote: suggesting a good/moderate Encryption method for XML file
Never done that, so I'm not really in the position of given sugestions regarding this topic. Sorry, but I guess someone else here can give you valuable suggestions.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
here i don't mean, u suggest a Perticular Encrypting method,
what i mean is
PLEASE HElp me to learn ENCRYPTION AND DECRYPTION OF AN XML FILE..
HOpe U got me, now
since i'm a beginer i wanna learn something and use.
anyway Thnx alot for ur reply,
i'l be happy if u can explain with a sample....(what ever may the method, i want implement tat[XML ENCRYPTION] in my C#.Net(2.0)WindowsApplication)
thnx again,
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
pashitech wrote: PLEASE HElp me to learn ENCRYPTION AND DECRYPTION OF AN XML FILE..
I can't. As I said I've never done encryption of XML files (concretely I've never done encryption at all) and therefore I'm beginner in that too. The best thing I can do, is refering you to google or the documentation of the System.Security.Cryptography and System.Security.Cryptography.Xml namespaces.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
typedef struct Struct0
{
UCHAR Id ;
UCHAR reserved [15];
};
typedef struct Struct1
{
ULONG ID;
UCHAR MaxVP ;
UCHAR MaxRange ;
UCHAR MaxDY ;
UCHAR MaxFY ;
UCHAR TypeInfo ;
UCHAR reserved [8];
Struct0 VPInfo[4];
};
typedef struct FinalStruct{
ULONG SystemId;
ULONG MaxINT ;
ULONG SysVersion ;
ULONG DllVersion;
ULONG reserved[12];
Struct1 Info[4];
};
DK
|
|
|
|
|
try to work it how a class with some propertys
|
|
|
|
|
hi,
i am creating a filebrowserdialog object and selecting a file and opening it.
now my question is how to select a more than one file.
help me.
with regards
prasad
|
|
|
|
|
set the FileBrowserDialog.multiselect = true
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
hi,
i am using a folder browser dialog and selecting the pericular folder.
Now my qusestion is how to get the files of selected folder.
pls help me.
With regards
Prasad
|
|
|
|
|
use Directory.GetFiles(path)
this will give u the list of all the files in that folder.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
hi,friend
i am working on c#
directory. i am not getting this option itself
pls help me
thanks
prasad
|
|
|
|
|
The FolderBrowserDialog has a property called SelectedPath that gives you the path selected by the user. Use this path together with the classes provided by the System.IO namespace to get further information about the selected directory and its content. For example, to get the names of the files in the directory pass the return value of FolderBrowserDialog.SelectedPath to the static Directory.GetFiles method.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
add the namespace System.io
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
thank you friend
it is working
with regards
prasad
|
|
|
|
|
i want to create the list box which has horizantle and vertical scroll bar in asp.net using c#
|
|
|
|
|
Ask it in the ASP.NET forum.
|
|
|
|
|
I am not sure. Try applying CSS
|
|
|
|
|
private class classStr {
public string str;
}
public void temp()
{
classStr[] objStr = new classStr[3];
objStr[0].str = "New string";
}
when i m trying to execute above code it gives error at this line
objStr[0].str = "New string";
whether i hav to type cast "New string".
error generated: Object reference not set to an instance of an object.
|
|
|
|
|
Hi
You need to create an instance for each index of an array before accessing it.
Here is an example:
classStr[] objStr = new classStr[10];
for (int i = 0; i < 10; i++)
{
objStr[i] = new classStr();
objStr[i].Var = "New String";
}
Hope this is clear.
Harini
|
|
|
|