Search:

Type: Posts; User: JayJayson

Page 1 of 11 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: ASP.Net trying to understand 3-tier with auto-mapping and dependency injection

    Haha thanks, it's all part of the learning curve and the explanation phrased that way will help it stick. Perhaps one of my biggest flaws is that terminology does not sink in as easily as coding...
  2. ASP.Net trying to understand 3-tier with auto-mapping and dependency injection

    Hi,

    I am from a hobbyist background using Windows Forms and am learning ASP.Net MVC. I am currently trying my hand at understanding the n-tier architecure, specifically trying to implement a...
  3. VS 2015 Re: System.OutOfMemoryException Out of memory issues with Bitmaps

    Hi, sticking with your original code.. I would try out the following two suggestions to see if they help.

    1. Force the disposal of the graphics object with a Using statement:

    Change:
    Dim g As...
  4. Replies
    9
    Views
    1,592

    Re: Regex to get substring from string

    1. The article is not an expert guide to Regex. What it is, is a good training aid with some useful real world examples that help people to see how patterns are formulated and how the various...
  5. Replies
    9
    Views
    1,592

    Re: Regex to get substring from string

    Ah, that will help with the pattern.. regarding the use of regex in your code something like:


    Dim Result As Match = Regex.Match("Get the string PO3687368 from within the string", "\bPO\d+\b",...
  6. Replies
    9
    Views
    1,592

    Re: Regex to get substring from string

    If it helps and as the name of the post implies.. this is the tutorial that originally taught me regex and that I still use as a quick reference to double check command syntax..
    ...
  7. Replies
    9
    Views
    1,592

    Re: Regex to get substring from string

    Assuming the PO is always uppercase and you use Regex.Match instead of Regex.Replace you can use a pattern such as:

    \bPO\d+\b

    You *might* also need to use RegexOptions.SingleLine as a parameter...
  8. Replies
    3
    Views
    1,132

    VS 2017 Re: Graphics, blending pictures.

    No idea if this will work but just a quick thought based on something vaguely related that I worked on several years ago..

    Can u scale both images to an equal size, convert both to black & white...
  9. Replies
    7
    Views
    1,195

    Re: A question about job recruitment

    I did find speaking to some agencies problematic, but I did happen across a good website that lists a range of jobs that I feel would be within my grasp.




    Both of these niches seem to have a...
  10. Replies
    7
    Views
    1,195

    Re: A question about job recruitment

    Hi, Thanks for your reply,

    I have started to rewrite some of my projects in C# already and am wondering what would be beneficial to demonstrate as part of a portfolio.
    Are there specific concepts...
  11. Replies
    7
    Views
    1,195

    A question about job recruitment

    Hi, I would like to know (ideally from anyone that has been a recruiter for programming jobs) if there are specific criteria you would look for from a candidate.

    Basically I am considering...
  12. VS 2017 Re: SQL Drop and Recreate Table BUT keep data

    Hi, it should be possible for you to alter the column datatype without replicating the table using the following syntax:

    ALTER TABLE table_name
    ALTER COLUMN column_name datatype;

    Which you can...
  13. Replies
    6
    Views
    3,365

    Re: Resize image without blur

    I will take a look over that example as I am sure it will be useful back in WinForms.

    You are right in saying that I shouldn't really be resizing such a large image to begin with since I only need...
  14. Replies
    6
    Views
    3,365

    Re: Resize image without blur

    Thanks Paul, I have come across BoopsBoops blog before but am not too sure how I would use it in my case and whether it would be the best approach. I will look at it in more detail before ruling it...
  15. Replies
    6
    Views
    3,365

    [RESOLVED] Resize image without blur

    Hi, I would like to double/triple etc the size of an image but without any blur e.g. if the image was 5x5 and I wanted to make it 10x10 - I would like to copy pixel 1,1 to 1,2 + 2,1 + 2,2 in the new...
  16. Re: WriteableBitmap - CopyPixels, Invert then WritePixels

    I seem to have stumbled into the desired result.. although I wonder if it can be improved upon:


    Dim BMP As New WriteableBitmap(BitmapSource)
    Dim ByteCount As Integer =...
  17. WriteableBitmap - CopyPixels, Invert then WritePixels

    Hi I have a BitmapSource which is 150x150 pixels. I would like to invert the pixel colour from position (x=0, y=75) to position (x=75, y=75) so basically just a 1 pixel thick line from the center...
  18. Replies
    5
    Views
    2,539

    Re: Conversion from C# to VB.Net

    I have stumbled across shader effects in WPF which appear to be the ideal solution once I get my head around the new learning curve. If I have any problems I will post in another thread as I have...
  19. Replies
    5
    Views
    2,539

    Re: Conversion from C# to VB.Net

    Thank you Sitten Spynne that makes things a lot clearer in my mind. What I want to achieve is:

    1. Take a snapshot of the screen.
    2. Fill the screen with a Window (WPF) containing the screenshot....
  20. Replies
    5
    Views
    2,539

    Re: Conversion from C# to VB.Net

    Thank you David, I will look for another example of the functionality I want to use that does not depend upon the use of pointers.
  21. Replies
    5
    Views
    3,531

    VS 2017 Re: Time In and Time Out system for thesis

    Is the problem arising when you try to retrieve the login time from the RFID and write to the database, or when you try to read from the database to determine what time the user logged in? Either way...
  22. VS 2013 Re: help for search string in resources file

    Hi, Just to be sure am I right in thinking that you have already added a resource file containing a string. And that you want to replace a user specified string, within a file on your computer, with...
  23. Replies
    5
    Views
    2,539

    [RESOLVED] Conversion from C# to VB.Net

    Hello,

    I have come across a code snippet in C# that I would like to convert to VB.Net that I am struggling with and that seems to fail within online converters:


    public ColorBgra* Pointer {...
  24. Re: How to find the size of a Bitmap on a canvas?

    I'm not sure of a built in way to get the size from the scaled image within the canvas. You can calculate the size yourself easily enough by comparing the width/height of the canvas with the original...
  25. VS 2017 Re: How to disable "Show Hidden Files and Folders" option in Windows.

    Hi,

    I have no idea how and would be surprised if you *could* disable that Windows option from within a .Net application.

    As an alternative though, the first thought that would come to my mind...
  26. Re: Binding Datatable image column to Datagrid column

    After some further reading I have realised that a System.Drawing.Image cannot be bound to a System.Windows.Controls.Image used in WPF. The solution I found is to create an IValueConverter class, add...
  27. [RESOLVED] Binding Datatable image column to Datagrid column

    Hello,

    I have just started my first project with WPF and looking at how I can bind a Datatable to a Datagrid. I can see that my text column binds properly but that an image column within the...
  28. VS 2015 Open local url in same tab within Microsoft Edge / Chrome / Safari

    Hi, I found this code which should find and reuse an already opened html file within IE using the shdocvw.dll:

    Dim ShWindows As New ShellWindows

    Dim WindowExists As Boolean = False
    For Each...
  29. Replies
    6
    Views
    4,641

    VS 2010 Re: Struggling with Form multithreading

    Hi, when you move threads into a class they effectively belong to that class and report their progress there (including when they finish). The best option I have found in this case is to pass a...
  30. Re: Help creating a dictionary to map Ids to columns in a data table

    Hi, I think that I have followed your post closely enough that the following idea "may" work for you. What I am proposing is that you append your id's and prices to the correct DataRow as you collect...
  31. Replies
    4
    Views
    1,673

    VS 2015 Re: Change local Administrator password

    Just an idea, but if you could allow users to change their passwords using something like this at the time when you install your software to the computer (requiring you to login as admin). I wonder...
  32. VS 2005 Re: Program not running in some computers occasionally

    -On the computers where this happens is the .Net framework version, that you created your application to target, installed?
    -Are there any files that your application depends upon that it may be...
  33. Re: Object required: 'System' when getting IP address

    The only problem I can see with your code in the VS editor is that GetHostByName is obsolete and therefore your code should be rewritten to:
    ...
  34. Replies
    4
    Views
    2,649

    Re: Johnson Supply

    Hi, based on the way you have named your controls I am going to guess that rbWholeSale and rbRetail are both Radio Button controls. Therefore they can only have a value of True or False representing...
  35. VS 2015 Re: Problem with Tag extracting in an Xhtml with HtmlAgilityPack

    My XPath is a little sketchy but looking at your html something like this should work:

    //div[@class='global-menu-name']/a[1]/@href
    The number in brackets [] refers to the position of the child...
  36. Replies
    25
    Views
    1,906

    Re: How do you hide a folder or file?

    That makes sense. I can't really think of any other way to implement it than the last option I mentioned which is to create the directory outside the 255 character limit. I wouldn't assume that to be...
  37. Re: Is there a way to programatically add an image to a richtextbox without the clipb

    The only way I know of without the clipboard (off the top of my head) is to set the rtf property of the control which basically means compiling the rich text syntax yourself first. There may be some...
  38. Replies
    25
    Views
    1,906

    Re: How do you hide a folder or file?

    Can you elaborate on the purpose for making them invisible beyond the use of a hidden attribute? If it's something that does not require permanent storage then you could work with it in memory. Or...
  39. VS 2015 Re: Task(Of TResult).Factory.ContinueWith with chain of functions, methods and result

    Thank you Sitten Spynne, that explanation and example code was amazing. Don't get me wrong, I had to think it over a bit until something clicked and I was able to comprehend from it what I need to do...
  40. VS 2015 Re: Optimizing code creating buttons on DataGridView

    I made a quick sample table to check your code, and can kind of see a delay. Having tweaked your code a bit I saw a visible difference of a few seconds delay, to almost none on a DGV with 10,000...
Results 1 to 40 of 422
Page 1 of 11 1 2 3 4



Click Here to Expand Forum to Full Width