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 dencom 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
  • Content: Threads
  • Order by date
  1. 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.
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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> ...
  7. 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...
  8. majkinetor

    How to know that thread is ended.

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

    WriteToXml problems

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

    Process messages in long loops

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

    DataSet problem

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

    Can awk use groups in regular expressions ?

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

    Problems accessing Office COM

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

    Problem with Web Forms Designer

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

    Slow Debug

    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'...
  16. majkinetor

    WriteXML and DateTime

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

    Internet Explorer Text

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

    The code is working in Win Forms and not in ASPX.NET

    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()...
  19. majkinetor

    XML pattern and C# dataset

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

    Reading everything bellow XML node

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

Part and Inventory Search

Back
Top