Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: majkinetor
  • Order by date
  1. majkinetor

    The easiest way to block specific pattern for a directory number

    I figured out that when you add new pattern, assign it to the <none> partition and any route list, it will be blocked in entire system for each gateway.
  2. majkinetor

    Bulk add partition to each CSS

    Thanks drother.
  3. majkinetor

    Bulk add partition to each CSS

    Hi there. Is there any way to add partition at the top of each CSS I have defined ? TIA.
  4. majkinetor

    The easiest way to block specific pattern for a directory number

    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...
  5. majkinetor

    Creating Generic Iterator

    Well, I solved this problem by using System.Reflection. This is spawning constructor: Type[] types = new Type[1] { typeof(DataRow) }; Type t = typeof(T); ConstructorInfo ci = t.GetConstructor( types ); return ci.Invoke( new Object[] { Table.Rows[ position ] } );
  6. majkinetor

    C# Can Do Optional Parameters!

    I disagree. Bunch of overloads was never good enough for me. I prefer to have optional parameters, for the sake of simplicity. U could use params Object[] thingie for similar effect. I tried to use first code in C# but compailer stated errors Optional parameters (OP) don't function that way...
  7. majkinetor

    Creating Generic Iterator

    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...
  8. majkinetor

    Constructor and reference question

    I am not sure that t will be copied. I did this test: class Test :IDisposable { public int x; public Test(int x){ this.x = x ;} public void Dispose() { this.x = 0; } } Test t2; using (Test t1 = new Test(1))...
  9. majkinetor

    Constructor and reference question

    Just to clarify things more about why do I want base constructor after current one. My base class is abstract it defines some abstract properties and some non abstract methods that use those properties. Constructor calls some of those methods which expect properties to be set up. But base...
  10. majkinetor

    Constructor and reference question

    Hello Canelas and thx for answering. 1. base() is constructor of the base class, I didn't write completely class MyClass : BaseClass { public MyClass() { // some code here base(); } } Currently, the only method to rise the constructor is: public MyClass() ...
  11. majkinetor

    Constructor and reference question

    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...
  12. majkinetor

    Strange debug problems

    Hmhm... now it works, but yesterday it didn't. I know what you think now, but its not that. I checked all things in question at least 20 times. It seems that something is returning options back or change them. Do you have any similar experience ? For instance, today, I set up only Win auth...
  13. majkinetor

    Strange debug problems

    2SiriusBlackOp 2jbenson001 Its all already like that - in both .config file and IIS web properties I have win auth enabled, digest auth desabled. New blank projects work OK, but this one I made in VS2003 and switched here can't debug.
  14. majkinetor

    Strange debug problems

    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...
  15. majkinetor

    Nasted XML from DataSet with unrelated tables

    Thank you very much jason.
  16. majkinetor

    Nasted XML from DataSet with unrelated tables

    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> ...
  17. majkinetor

    How to remove unwanted DS fields before WriteToXML

    I was informed there is so called Transient Field in Java Transient fields are not important for serialisation. Maybe there is equivalent in dotNet if writetoxml was done using serialisation....
  18. majkinetor

    How to remove unwanted DS fields before WriteToXML

    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...

Part and Inventory Search

Back
Top