Search:
Type: Posts; User: JayJayson
Search:
Search took 0.03 seconds.
-
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...
-
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...
-
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...
-
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...
-
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",...
-
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..
...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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 =...
-
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...
-
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...
-
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....
-
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.
-
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...
-
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...
-
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 {...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
-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...
-
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:
...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
|
Click Here to Expand Forum to Full Width
|