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
E

enginco

@enginco
About
Posts
49
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • multi mouse pointer
    E enginco

    I know, absolutely, you are right for a while. But just a few years ago there weren't multituch mouse pad. I said, "I want". I think, we can use in games, in windows applications etc.

    I want to fly but I don't have wings

    System Admin

  • multi mouse pointer
    E enginco

    I couldn't find, where should I write this topic. I want multi mouse pointer in operating systems :)

    I want to fly but I don't have wings

    System Admin

  • Getting serial ports names problem [modified]
    E enginco

    Yes, you are right. I have hdaudio data fax modem, its port is com3, and some ports are in use (com5, com6) But com3 is not in use. When I pluged usb-serial adaptor in notebook, com3 is appearing under "Ports". After, I can use this port. If modem is using or reserved (but com3 not in use) the port, how did adaptor take this port? So, How can I get correct port list (without com3)? Thanks...

    I want to fly but I don't have wings

    C# help question

  • Getting serial ports names problem [modified]
    E enginco

    Hi, I'm getting serial ports names with the following code:

    System.IO.Ports.SerialPort.GetPortNames();

    It gives COM1 and COM3, but the problem is, COM3 doesn't exist under "DeviceManager -> Ports". (After restart) Any suggestions?

    I want to fly but I don't have wings

    modified on Thursday, June 11, 2009 3:18 AM

    C# help question

  • is it gateway control?
    E enginco

    Hi everybody, Just imagine: I opened my wi-fi modem to everybody. Is it possible to know where he connected? For instance: he entered an url like this: "http://www.playboy.com" His url must be redirected to my default.aspx. Message box = "You can't connect this site" Important point is: Everbody can connect my modem and use internet but I can't install program his machine. How? Is it gateway control? or what??? Thanx...

    I want to fly but I don't have wings

    IT & Infrastructure com question

  • regex.matches ?
    E enginco

    thanx for your reply, I found the problem | (?[^"'<> \s]*) | is wrong |(?\w[^"'<> \s]*)| is correct But both is OK on The Regex Coach program, in C# it's behave different. Infact I don't know how is working getting groupCollection. :) Anyway, it's solved. Thanx

    I want to fly but I don't have wings

    modified on Thursday, September 11, 2008 7:48 AM

    C# regex html com question

  • regex.matches ?
    E enginco

    :sigh: I tried with "The Regex Coach" program. There is no problem with pattern, it's working for all cases. It seperates to groups correctly. :confused: I'm confused...

    (?<name>\b\w+\b)\s*=\s*("(?<value>[^"]*)"|'(?<value>[^']*)'| (?<value>[^"'<> \s]*) |(?<value>[^"'<> \s]+)\s*)+

    may be ?<name> and ?<value> are problem. I don't know...

    I want to fly but I don't have wings

    C# regex html com question

  • regex.matches ?
    E enginco

    it has "RegexOptions.IgnoreCase | RegexOptions.ExplicitCapture" interesting point is: if the text has " or ' it's working correctly ex 1: <img src="http://www.takvim.com.tr/i/spacer\_trans\_1x1.gif" width="10" height="1"> ex 2: <img src=http://www.takvim.com.tr/i/spacer\_trans\_1x1.gif width=10 height=1> ex 1: is working ex 2: doesn't work

    I want to fly but I don't have wings

    C# regex html com question

  • regex.matches ?
    E enginco

    hi everybody, I have a text like this:

    <img align=left valign=top src=http://www.takvim.com.tr/2008/09/11/im/7BC7F044C2062649A63A5239b.jpg alt='Bozacı, şıracı dolmuşçu' height=160 border=0 >

    and I have pattern like this:

    pattern = (?<name>\b\w+\b)\s*=\s*("(?<value>[^"]*)"|'(?<value>[^']*)'| (?<value>[^"'<> \s]*) |(?<value>[^"'<> \s]+)\s*)+

    I wnat to get "src" block.

    foreach (Match submatch in Regex.Matches(pattern))
    {
    submatch.groups.... // It returns allways 2 groups
    }

    It returns allways 2 groups; In this case it returns: submatch.groups[1] = align submatch.groups[2] = border But I need http://www.takvim.com.tr/2008/09/11/im/7BC7F044C2062649A63A5239b.jpg By the way, I have no only that template text. it can be: <a href=gnb102.html> or <a href="gnb102.html"> or href=gnb102.html or href="gnb102.html" etc... Any Ideas? Thanx...

    I want to fly but I don't have wings

    C# regex html com question

  • System.Nvarchar problem
    E enginco

    try this: SqlDbType.NVarChar

    I want to fly but I don't have wings

    C# help tutorial question

  • webbrowser object problem with Internet explorer Blocked Content warning
    E enginco

    c'mon guys... if you don't have answer, please don't try to write anything I couldn't take any normal answer since I signed up this forum. Please be a gentlemen...

    I want to fly but I don't have wings

    C# com help question csharp html

  • webbrowser object problem with Internet explorer Blocked Content warning
    E enginco

    sorry, but it's about what? it's not asp or .com or c++ or linq or silverlight or vb etc.. There is no web browsers topic. I wrote in c# desktop application and I thought it could be C#. No problem for me. I'll put it, if you tell me that where?

    I want to fly but I don't have wings

    modified on Wednesday, September 3, 2008 12:35 PM

    C# com help question csharp html

  • webbrowser object problem with Internet explorer Blocked Content warning
    E enginco

    Hi everybody, I have a single html from "http://www.referansgazetesi.com/" when I try to open it with Firefox 3.0, it's styles corrupts. when I try to open it with google crome, I can't see anything, screen is white. same problem with my webbrowser object in c# desktop application (I had set the SuppressAllScriptErrors property = true) But, when I try to open it with internet explorer 7.0, it's working with warning and Only menus couldn't load warning is "To help protect your security, Internet Explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer. Click here for options..." When I click the "Allow Blocked Content", it comes white :( What is the problem? I can't show this html in webbrowser... any ideas? Thanks...

    I want to fly but I don't have wings

    C# com help question csharp html

  • when I clicked to the form view designer in solution explorer, form is getting crazy
    E enginco

    hi, when I switch the form view, form.designer.cs corrupts and when I run the code Anchors change their positions today I installed Visual Studio 2008 sp1... According to me, menu can be cause it any ideas? thanx...

    I want to fly but I don't have wings

    C# csharp visual-studio question

  • VERY STRANGE! what is this regex problem? [modified]
    E enginco

    :wtf: ahaa, I found the problem. If the html source has a big VIEWSTATE, it doesn't respond. when I put spaces somewhere in the big viewstate regex was responded. Now I'm removing all viewstates's values :) It's working perfect :)

    I want to fly but I don't have wings

    modified on Wednesday, August 6, 2008 12:55 PM

    C# question php database com regex

  • VERY STRANGE! what is this regex problem? [modified]
    E enginco

    (@import\s|\S+-image:|background:)\s*?(url)*['"(]{1,2}(?!http)\s*/([^"')]+)['")]{1,2} it is working in these link's sources: http://www.hurriyetoto.com/oto/index.php[^ http://eniyion.hurriyet.com.tr/?sz=64757[^ but here it is not responding: http://www.sendeyolla.com/anasayfa.aspx?sz=64757[^ I tried with The Regex Coach, the result is same any ideas???

    I want to fly but I don't have wings

    modified on Wednesday, August 6, 2008 10:31 AM

    C# question php database com regex

  • about regex: I couldn't understand why it takes 2-10 minutes? [modified]
    E enginco

    yes sir, I solved click problem in vb code I didn't use cssPattern in regex and it works fast and I have no any problems on clicks... Only one problem left. CSS :)

    I want to fly but I don't have wings

    modified on Wednesday, August 6, 2008 6:44 AM

    C# com regex help question

  • about regex: I couldn't understand why it takes 2-10 minutes? [modified]
    E enginco

    thanx your reply, vb mht code is works true but the problem is performance. Sometimes it's too slow, horrible. it takes between 2 and 10 minutes. Now I'm using SerachAroo's classes for getting local and external links. It works very good and fast. I changed the code little bit. After foound the local and external links I can find coordinates of these links with another code(the code is superman :) :) :)) After that I will add Uri.Host at the coordinates. I did it,it works very very fast but I have some problems. External link works but local links doesn't work on clik's . :) By the way I try to make single html, not mht Now I try to fix it... Do yuo have any idea?

    I want to fly but I don't have wings

    modified on Wednesday, August 6, 2008 3:38 AM

    C# com regex help question

  • about regex: I couldn't understand why it takes 2-10 minutes? [modified]
    E enginco

    I used below project source code to make MHT, http://www.codeproject.com/KB/files/MhtBuilder.aspx[^] Below strings are problem. 1: "<link[^>]+?href\s*=\s*(?('|"")*(?[^'"">]+)('|"")*)" 2: "<i*frame[^>]+?src\s*=\s*(?['""]{0,1}(?[^'""\\>]+)['""]{0,1})" 3: "(?@import\s|\S+-image:|background:)\s*?(url)*['""(]{1,2}" & _ "(?!http)\s*/(?[^""')]+)['"")]{1,2}" In some links it takes between 2 and 10 minutes. it usually happens in external links. WHY? Thanx...

    I want to fly but I don't have wings

    modified on Wednesday, August 6, 2008 6:44 AM

    C# com regex help question

  • Determining valid moves for a chess game
    E enginco

    http://code.msdn.microsoft.com/cshuochess/Release/ProjectReleases.aspx?ReleaseId=1261[^] it seems like a simple code but I couldn't examine.

    C# database game-dev 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