User Profile

Collapse

Profile Sidebar

Collapse
DTeCH
DTeCH
Last Activity: Oct 25 '15, 02:07 PM
Joined: Apr 11 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • RubberBanding Drawing in VB.NET on Win8/10

    Hey dudes :)

    Ok, First thing first... I have not tried this on Win8, so just an assumption at the moment.

    The Following code works on XP(SP3), Vista, & Win7 so far, but after giving my app to a friend who was suckered into Win10 because of the "Free" deal, says it's no longer working. The Applicatiuon runs, but doesnt work, & throws No Errors whatsoever.

    RubberBanding Code:
    ...
    See more | Go to post

  • Do you mean in code form for development in a programming IDE, or in something like noptepad?

    If notepad, then binary is binary, & will always be binary. Notepad is for text. If the file you are opening is binary, then you can't do anything about it with notepad... unless you mean text from another language like Chinese, or Russian... in which case you can use a different editor to open it that alows you to change the code-page used...
    See more | Go to post

    Leave a comment:


  • How to Dim or Fade an image in a picturebox, or form background?

    Hey dudes :)

    I building a "LightShot" screenshot clone for windows, & all is going well to my suprise. :D I just want the image URL returned instead of only sometimes. LightShot moistly gives a URL to their site to view the image to advertise themselves i guess. :)

    What I want to do now is be able to dim out the desktop when the PrtScrn button is pressed.

    The desktop is covered with a borderless...
    See more | Go to post
    Last edited by DTeCH; Aug 23 '15, 02:53 AM. Reason: added PS:

  • Hello Stewart :)

    I live in the Cayman Islands, & this is more of a curse, than blessing. This place is overly expensive. Gas prices are now US$1.90 per gallon in the US, but still US$7+ here. This is a very unfair, & unforgiving place.

    The PSU may have a price tag of...say US$80.00 in the US, but here, that price more than 5 times itself. A simple little PSU, yet cost more than a months US rent. What's worst is the...
    See more | Go to post

    Leave a comment:


  • Hello Joseph :)

    Thanks you for your info.

    The Power Supply model is "Ultra X4 ATX 500w Modular Power Supply" (model # ULT-HE520X), & before completing the post of this question/topic, I browsed all over google, but only found it on eBay with a less than optimal picture.

    The flow of the wiring seems to be: Main leads -> fuse -> Big Capacitor at rear side of the board -> Back to the 2 Diodes...
    See more | Go to post

    Leave a comment:


  • ATX Power Supply - What is this burnt up thing inside?

    Hey dudes :)

    I opened up my power supply, & found the fuse intact, & brand new looking (really clean). Next, i checked for swollen capacitors, but none were found. Next, I held the board up to my face, & sniffed for that dead rat smell of burnt chips, & got a good nose full of it.

    Decided to look closer, & found in the shadows of the two big heat-sinks, a thingy with half of it's black shell gone, showing...
    See more | Go to post
    Last edited by DTeCH; Feb 2 '15, 06:30 PM. Reason: spellcheck

  • DTeCH
    started a topic Google Chrome Extension Help
    in APIs

    Google Chrome Extension Help

    Hello folks :P


    This is my absolute first time attempting this kind of thing, & was pretty confident about it because of the info I came across.

    However, it just doesnt work.

    Here's the setup... 2 files located in a folder named BlockSpammer:

    Folder name: BlockSpammer
    Files:
    -- background.js
    -- manifest.json


    [background.js]
    Code:
    chrome.extension.onBeforeRequest.addListener(function()
    ...
    See more | Go to post

  • yes, sorry :)

    It is a windows Batch script. Thanks Rabbit
    See more | Go to post

    Leave a comment:


  • BATCH SCRIPT: How to search for fixed length filenames?

    Hello guys, as you can see, there was no place to ask this question on bytes because there's no batch section.

    Anyway, here goes.

    I am having a hard time figuring out how to return only fixed length filenames that has been specified... like ????.exe, & would also like to know if there's a way to specify what not to include in the names, like _ . or any non-alphanumeric character.


    I have tried the...
    See more | Go to post

  • Threading: Thread takes dominance, & the rest wait until it's finnished.

    Hello guys,


    I have a problem... I've seen it a few times before, but have never gotten an answer when I asked online.


    My problem is, when ever I make a multi-threaded program for downloading files from usenet, ONE thread would take authority over all the rest, even though it was created with the same priority as all the rest, & is an instance of the same class, yet it's not the first thread, nor the...
    See more | Go to post

  • Help returning the correct item from an RSS feed that has Attributes

    Hi,


    I'm trying to parse data from an RSS feed, but ever since they added attributes with more than one thingy in the line that i'm trying to parse, I've been stumped.


    I mean I figured it out to this point:
    Code:
    [I]'i.ToString is the index of the current Item being parsed[/I]
    xSize = Rsss1.GetProperty("[B]item[" & i.ToString & "]/newznab:attr[2]@value[/B]")
    parsing...
    See more | Go to post

  • SOLVED :)

    I love this place! lol
    See more | Go to post

    Leave a comment:


  • Let arrow keys work on WebBrowser Control & catch Esc, F11, & F5 (Fullscreen/Refresh)

    Hello all :)


    A strange feature of the MS WebBrowser Control showed it's head, & I tried figuring it out on my own, but it's stressful enough already without me having to go another week trying to make it work.


    My problem is, I made a Win Forms app that loads a site's Flash game into it (many servers, & all live players). Now, when I load it up, it works fine... except it's not playable because the arrow...
    See more | Go to post
    Last edited by DTeCH; Jul 15 '12, 11:13 PM. Reason: Figured it out :)

  • The 'ORDER BY' function drastically slows the response time, but I agree.

    The 'Category_Colum n' is different from the site's category dropdown box. If the user chooses 'All Categories' from the site's dropdown box, then I don't filter... The resulting query is plain (and fast) like the following:

    Code:
        SELECT
            *
        FROM
            search_table
        WHERE
            MATCH (Title_Column)
    ...
    See more | Go to post

    Leave a comment:


  • Mix of Match() Against(), & Match() Against(in boolean mode) = Non-Sorted results

    I have a bit of a problem here...


    The following code returns matches that the users searched for - nicely sorted by relevance, & super fast:
    Code:
    SELECT
    	*
    FROM
    	search_table
    WHERE
    	MATCH (Title_Column) AGAINST (
    		'Whatever the user searched for'
    	)
    LIMIT 25;


    The problem shows up when i do the following to narrow the results...
    See more | Go to post

  • Thanks again Rabbit,

    I tried your suggestion...
    Code:
    SELECT pHASH FROM cu_info.wc_search WHERE CONVERT(pPostDate, DATETIME) BETWEEN DATE_SUB(NOW(), INTERVAL 700 DAY) AND NOW();
    
    SELECT pHASH FROM cu_info.wc_search WHERE CONVERT(pPostDate, DATETIME) [B][U]NOT[/U][/B] BETWEEN DATE_SUB(NOW(), INTERVAL 700 DAY) AND NOW();
    however, it wouldn't work no matter how I re-wrote it with those statements. It did return...
    See more | Go to post

    Leave a comment:


  • Hey Rabbit, Thanks for your reply.

    Your solution looks correct, except that the DateTime format in my case is RFC 2822... eg: Sun, 08 May 2011 14:21:50 +0000, not "2011-06-04 07:9:22"

    I've tried converting it on the fly, but I'm not very savy in MySQL, so not very knowledgeable of it's built in functions.

    You see, the problem is, the database has over 40 million entries already, but the table that...
    See more | Go to post

    Leave a comment:


  • Need to delete MySQL records from a table that are older than 700 days

    Hello all,

    I need to delete records from a table in a MySQL database that are more than 700 days old.

    There is a column with the time of the record's entry "pPostDate" , & the dates are in RFC 2822 Format... the column's format is VARCHAR, not date or datetime.

    The date record looks like this... Sun, 08 May 2011 14:21:50 +0000.

    I have tried a bunch of crap (MySQL, or databases...
    See more | Go to post

  • DTeCH
    started a topic Having trouble with MyQSL Queries

    Having trouble with MyQSL Queries

    I have a heavy database with file information... this info includes file names, age of files, posters, & what have you.

    My problems come from returning results with the "LIKE", or "REGEXP" functions.

    Here is an example of records:

    Title
    Size
    Date Posted
    Poster

    Way.Of.The.Pand a.2010.DVDRip.X viD-HVK
    768.96 MB
    Fri, 26 Mar 2010 23:29:02
    ...
    See more | Go to post

  • Code:
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    
            Process.GetCurrentProcess.PriorityClass = ProcessPriorityClass.Idle
    
            Try
                sServer = GetSetting("Program's Name", "Server Settings", "Server").Trim
            Catch ex As Exception
                sServer = ""
            End Try
    ...
    See more | Go to post
    Last edited by DTeCH; Jul 13 '11, 11:08 AM. Reason: Noticed this was the C# forum.

    Leave a comment:

No activity results to display
Show More
Working...