Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

t4ure4n

@t4ure4n
About
Posts
101
Topics
64
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Database Connectivity/Query class
    T t4ure4n

    Hello Guys, I have to connect to Oracle and SQL Server in my database projects. So I have to write the code to connect and query these tables... I am looking for a class/assembly that provides connectivity/query facility for 2 databases (oracle and SQL Server). I should be able to pass connection parameters from my application. Then use the methods to query the database through the class/dll. I have seen one @ DB Connectivity Provider[^] If any one known of one please let know. Thanks in advance

    o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

    C# database sql-server oracle com sysadmin

  • creating handle to ToolStripButton [modified]
    T t4ure4n

    Actually i want to embedd custom fonts in the app and use them on the clients machine i.e without installing the fonts on their machines. I use a class that create a bin file from the font file. To use this font I have a method in my FontEmbedder class This method requires the handle to the control that contains the text to be shown.

    o O º(`'·.,(`'·., ?,.·''),.·'')º O o° »·'"`»* *? t4ure4n ?* *«·'"`« °o O º(,.·''(,.·'' ?`'·.,)`'·.,)º O o°

    C# help question

  • creating handle to ToolStripButton [modified]
    T t4ure4n

    Hello every 1, I am using ToolStrip in one of my projects. I want to get a handle (Intptr) to ToolStripButton in the Tollstrip. But the ToolStripButton does not have a handle property. Can any 1 help me out in this issue.

    o O º(`'·.,(`'·., ?,.·''),.·'')º O o° »·'"`»* *? t4ure4n ?* *«·'"`« °o O º(,.·''(,.·'' ?`'·.,)`'·.,)º O o°

    modified on Thursday, June 12, 2008 7:07 AM

    C# help question

  • Formatting data in DataGridViewCell
    T t4ure4n

    Hi I am working on a winForm application in which I am using DataGridView to display some data from database. I have to Format the data in the datagridviewcells like shown below i.e few letters made bold, a cell having multi line text etc ============================================================== Column1 | Column2 | Column 3 ============================================================== 454 | **Bold 1**:abdajkldjalkjd | sdfj asdhj | **Bold 2**:abdajkldjalkjd | 32 asd | **Bold 3**:abdajkldjalkjd | 2342 ============================================================== 454 |**Bold 1**:abdajkldjalkjd | sdfj asdhj |**Bold 2**:abdajkldjalkjd | 32 asd |**Bold 3**:abdajkldjalkjd | 2342 ============================================================== Can any one give me an idea how to do it..

    o O º(`'·.,(`'·., ?,.·''),.·'')º O o° »·'"`»* *? t4ure4n ?* *«·'"`« °o O º(,.·''(,.·'' ?`'·.,)`'·.,)º O o°

    C# database tutorial question

  • Cell/Row DoubleClick event for DataGrid
    T t4ure4n

    Bro. The app I am woking on is a WinForm and not webbased. second I can't c "RowCreated event" in the event list of DataGrid Object.

    o O º(`'·.,(`'·., ?,.·''),.·'')º O o° »·'"`»* *? t4ure4n ?* *«·'"`« °o O º(,.·''(,.·'' ?`'·.,)`'·.,)º O o°

    C# help visual-studio question

  • Cell/Row DoubleClick event for DataGrid
    T t4ure4n

    Hello guys I have to use datagrid (VS 2003) (not datagridview object) to modify an old project. Prob 1 I need to capture double click event either on the row or the cell in the DataGrid and then read the contents from that row. I have seen the props in the DataGrid object and I can't see any double click events like there are in datagridview object in VS 2005. Prob 2 I need to change the width on individual columns in the DataGrid but can't see any property, but PreferedColumnWidth which sets the size for all the columns. If any body can help me to fix this. It will b highly appreciated.

    o O º(`'·.,(`'·., ?,.·''),.·'')º O o° »·'"`»* *? t4ure4n ?* *«·'"`« °o O º(,.·''(,.·'' ?`'·.,)`'·.,)º O o°

    C# help visual-studio question

  • Which Headset to Buy?
    T t4ure4n

    I want to use them @ work. I tend to use them nearly all day answering calls/listening to music

    o O º(`'·.,(`'·., ?,.·''),.·'')º O o° »·'"`»* *? t4ure4n ?* *«·'"`« °o O º(,.·''(,.·'' ?`'·.,)`'·.,)º O o°

    The Back Room com question

  • Which Headset to Buy?
    T t4ure4n

    I want to buy and USB headset for my PC to use VOIP telephone and for listening to music. I am unsure which of these two to buy Logitech ClearChat Pro USB Headset (£29.99 @ Play.com) Plantronics .Audio 645 USB Stereo Headset (£22~ ) I you can recommend any other good one with price tag upto £35, it would be helpful for me

    o O º(`'·.,(`'·., ?,.·''),.·'')º O o° »·'"`»* *? t4ure4n ?* *«·'"`« °o O º(,.·''(,.·'' ?`'·.,)`'·.,)º O o°

    The Back Room com question

  • Regex problem [modified]
    T t4ure4n

    I have a method which uses regex.... shown below **string pattern = "(?.*)(?.*

    )(?.*)"; string matchEvaluator = "${before} ${after}"; try { local_string = Regex.Replace(local_source, pattern, matchEvaluator); } catch (Exception er) { string g = er.Message; } string wr = HTMLWriter.htmlWriter.WriteHTMLFile(@"C:\trimExtras.html", local_string);** I want to remove certain part of html page with this regex the problem is it does not work... it takes a long time i.e hangs the app and when i write it to html file its still the same i.e does not replace any thing

    modified on Friday, December 07, 2007 7:52:14 AM

    C# regex html help question

  • possible spyware/malware????
    T t4ure4n

    Every time I open a new instance of FireFox (my default web browser) These two web pages arte in my browsing history (Even if i clear all private data before exiting the browser)..

    http://storage.conduit.com/23/83/CT830223/BrowserFiles/1_New.htm
    http://storage.conduit.com/23/83/CT830223/BrowserFiles/2_New.htm
    

    Does any 1 know ant thing about these or how to take them out of my system

    o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

    The Lounge com tutorial question

  • Problem with using webBrowser control [modified]
    T t4ure4n

    cheers mate

    o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

    C# help data-structures

  • Problem with using webBrowser control [modified]
    T t4ure4n

    i am using webbrowser control in one of my projects. After I navigate to a webpage and try to exit the application I get the following error message

    No Symbols are loaded for any call stack frame. The source code can not be displayes

    If i press "OK" which is the only option i get this message

    LoaderLock was detected
    Attempting managed execution inside OS Loader lock. Do not attempt to run managed
    code inside a DllMain or image initialization function since doing so can cause the application to hang.

    -- modified at 8:10 Tuesday 30th October, 2007

    o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

    C# help data-structures

  • Extract Exe's
    T t4ure4n

    I have to extract the files programatically... I can have have WinRar and WinZip installed on the target machines... but what I wanted to do was using .NET features to accomplish this task..

    o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

    C# csharp tools

  • Extract Exe's
    T t4ure4n

    Hello every1 In one of my project I download exe files (these are self extracting) from the internet. I need to extract these files to get a bunch of emded files to do some processing. Can some1 suggest any utility or .NET library which I can use to extract these exe file I have looked CP and I only found codes to extract zip files....

    o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

    C# csharp tools

  • WEBcLIENT pROBLEM
    T t4ure4n

    Hello Every 1. I have a strange problem with webclient. I have the following method in a class created to download files from a website. I download files sequentially i.e download one file dispose the download class object then create a new object and call the download method and so on....

    public void DownloadVideo()
            {          
                try
                {
                    ///The WebClient object that will download the file
                    WebClient wcDownload = new WebClient();
                    // Create a request to the file we are downloading
                    webRequest = (HttpWebRequest)WebRequest.Create(_VideoUrl);
                    // Set default authentication for retrieving the file
                    webRequest.Credentials = CredentialCache.DefaultCredentials;
                    // Retrieve the response from the server
                    webResponse = (HttpWebResponse)webRequest.GetResponse();
                    //check if the webresponse is ok
                    if (webResponse.ResponseUri.ToString() != "http://www.xyz.com/error.htm")
                    {
                        // Ask the server for the file size and store it
                        Int64 fileSize = webResponse.ContentLength;
                        // Open the URL for download             
                        strResponse = wcDownload.OpenRead(_VideoUrl);
                        // Create a new local file stream 
                        strLocal = new FileStream(_VideoPath, FileMode.Create, FileAccess.Write, FileShare.None);
                        // It will store the current number of bytes we retrieved from the server
                        int bytesSize = 0;
                        // A buffer for storing and writing the data retrieved from the server
                        byte[] downBuffer = new byte[2048];
                        // Loop through the buffer until the buffer is empty
                        while ((bytesSize = strResponse.Read(downBuffer, 0, downBuffer.Length)) > 0)
                        {
                            // Write the data from the buffer to the local hard drive
                            strLocal.Write(downBuffer, 0, bytesSize);
                            UpdateVideoProgressEventArgs uvpea = new UpdateVideoProgressEventArgs(strLocal.Length, fileSize);
                            UpdateVideoProgressEvent(this, uvpea);
                        }
                    }//end of second if
                }//end of try
                catch (Exception exp)
                {
                    MessageBox.Show("Error in startDownload due to : " + exp.Mess
    
    C# help com sysadmin security

  • LaCie Ethernet Disk [modified]
    T t4ure4n

    Hi Guys This Question is for any one who has used LaCie Ethernet Disk before I have 1TB LaCie Ethernet Disk (Gigabit Ethernet - Shared Hard Drive). I wanted to rest this disk to a different name and IP address but IPConfigurator; a utility provided by LaCie to do this does not do it. That is you can view the changes made in IPConfigurator but when you connect it to the network its is not recognized by the new name and IP but with the old one. Any one knows how to do this or at least factory rest it. -- modified at 5:27 Tuesday 14th August, 2007

    o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

    Hardware & Devices sysadmin tools json tutorial question

  • Proxy Servers
    T t4ure4n

    Hello every1 i have a question regarding proxy servers... Due to a customer need I had to use proxy servers. I was using Relakks.com for this purpose but now its gone crap and i have to find another proxy server provider. Does any 1 know a good company to get which provide reliable proxy servers....

    o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

    IT & Infrastructure com sysadmin sales question

  • How to unregister an event
    T t4ure4n

    I have a procject in which i am using a custom webclient. I have following event _WebClient.DocumentComplete which i can register and it works. Now if I want to unregister the first event handler and assign a new event handler I gives me error because I can't use _WebClient.DocumentComplete = null; Can some 1 tell me how to unregister the event

    o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

    C# help tutorial

  • Regex and Groups
    T t4ure4n

    Can I specify a default value for a group in my regular expression so that if the group does not match I shall use that default value. I can do by checking the returned groups in my own code But I want to know if this could be done using the Regex.match or somefin like that

    o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

    C# regex

  • String containing digit or Alphabet
    T t4ure4n

    I have a variable string input How do i detect if variable has digit in it or an alphabet.

    o O º(`'·.,(`'·., ☆,.·''),.·'')º O o° »·'"`»* *☆ t4ure4n ☆* *«·'"`« °o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

    C# question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups