Hello.
I want to block access to specific patterns for concrete directory number. For instance, lets say user X located on dn 222 is dialing number 12345 every day and talks for hours. I want to block 12345 from his phone only.
What I do now is create new partition ptForbiden, create 12345...
Hello.
I have number of different classes, C1 ... Cn impelemnting some objects I store in database.
For each class I have associated class BookOfClass that implements IEnumerable and walks over collection of all objects of that particular class.
I want to convert number of BookOfClass classes...
Hello
I have two questions.
1. Is it possible to call base constructor in the body of the current constructor?
I want code like this:
class MyClass
{
public MyClass()
{
// some code here
base();
}
}
2. I don't understand this code. I have an object that returns...
I am constantly getting this message from VS when I try to debug (framework v2)
---------------------------
Microsoft Visual Studio
---------------------------
Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled. Please see Help...
Hello
I have 3 unrelated tables in the DataSet, tables X, H1, H2.
There is nothing like primary keys or relations in them. X have N records, while H1&H2 have only 1 record.
I wont to export this DataSet in the following format
<DataSetName>
<H1>
....
<H2>
...
This is the sample code I am using to create nes\ted xml.
static void Main(string[] args)
{
string myConString = "Initial Catalog=Northwind;Data Source=10.32.34.180;Integrated Security=SSPI;";
SqlConnection nwindConn = new SqlConnection(myConString);
SqlDataAdapter custDA = new...
I have thread I wont to execute, but I also need calling process to be informed when execution is over.
I know that thread function should use delegates.
Does anybody have any documentation, example or reference ?
Thank you.
I have a large table that needs to be exported to XML.
I used dt.WriteXML(..) but it blocks entire application for some time. Also, I can not get the current status of export as nothing calls me back from the mentnioned function.
Alternative for blocking application is another thread.
But what...
How can I process messages in long loops, like this fictional example:
private void OnButtonClick(...)
{
int i = 0
while (1)
{
//do some calc here
listBox1.Add( "OPeration " i++.ToString() )
Applicatin.ProcessMessages();
}
}
Application.ProcessMessages() is...
Hi to all
I am loading excell file using ODBC connection. The excell file contains number of tables (sheets) that should be loaded to dataset. To connect to excell file using MS ODBC driver I set connection string so ODBC returns strings for eatch cell, no matter acctual type in excel file...
I want to translate this line from SED to AWK:
s/(g1)(g2)/\1\n/g
is this possible to do in AWK ?
I didn't find anybody using \N in it.
If not,is there any variant of awk supporting this ?
thx.
I want to control Excell application in my program.
I am using VS2003 and the only solution for me is COM since ODBC drivers are bugy.
I googled around and found what I must do to enable COM classes for Excel. One of the articles I read is http://www.codeproject.com/dotnet/JExcel.asp
At then...
I am overriding DbDataAdapter class with custom class that looks like this:
public class DbDataAdapterEx : DbDataAdapter
{
// Fill DataTable using DataReader as a source
public int FillFromReader(DataTable dataTable, IDataReader dataReader)
{
return this.Fill(dataTable, dataReader)...
I have the following problem: when I debug application I have to wait for all dll's to be loaded a very long period of time (minute, two or even more). This is partial content of debug window:
'unl.exe': Loaded 'D:\Work\Code\Visual Studio\test\unl\Debug\unl.exe', Symbols loaded.
'unl.exe'...
Hi there.
My DataTable is loaded with some Excell Sheet wich have DateTime column. When I open excell file I see what user have enter in format day.month.year but when I export this table via WriteXML this date is changed to some other format + it added time component wich was originaly...
Hello
Does anybody know how to prevent IE from zooming in/out text with View->TextSize or CTRL + mouse wheel.
I put my labels the way I want them but if somebody change text size, the layout is disordered.
I noticed that some css styles prevent this but I am not sure how. For instance when I...
I have this code
XmlValidatingReader xvr = new XmlValidatingReader(reader);
xvr.ValidationType = ValidationType.Schema;
xvr.Schemas.Add(null, schemaName);
xvr.ValidationEventHandler += new ValidationEventHandler(xvr_ValidationEventHandler);
XmlDocument xdoc = new XmlDocument()...
Hi there
I am trying to restrict some string via pattern, but for some reason it doesn't validate.
This is the code I tried:
<xs:simpleType name="tTenDigits" > <xs:restriction base="xs:string">
<xs:pattern value="[0-9]{10}"/>
</xs:restriction> </xs:simpleType>
<xs:element...
Hi there.
Is there any quick way to read everything that is contained in XML node, similar to what InnerText represents to HTML. I want to get everything contained in that node.
<elem>
<child1>text<child1>
<child2>text<child2>
</elem>
I want to get this string if I am currently on <elem>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.