Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MrPike

Pages: 1 2 [3] 4 5 ... 20
31
Open Discussion / Looking for creative ideas
« on: January 09, 2019, 08:12:09 PM »
Im looking to tap the creative AHMI minds here. I have a 24in Armstrong touchscreen that is leftover from a job. I want to know what creative thing You would do with it. Some things I thought of was join it with a RPI and stream TV with Kodi or maybe embed it into a smart mirror. Let the ideas flow😄

32
Open Discussion / Re: New year, new looking website
« on: January 09, 2019, 08:53:51 AM »
Archie, thanks for the instructions to change the layout back to the original.  I have given the new look a try for a little while to make sure it wasn't me resisting change but I found the new layout wasn't very easy to use.  I was having a hard time determining if there were new posts when viewing from a mobile device and some pages didn't resize which forced me to have to scroll side to side.  IMHO, the new colors are very bold and look nice initially but tend to overload the senses after a short time.  Kinda like when you try new food and the first bite is amazing but its too rich to finish the entire piece.  For me, the old softer look allowed me to see a new post at a quick glance and that ultimately let me stay up to date with the product....which I think is the objective.  These are just my 2 cents but I am trying to give honest feedback.  Thanks Archie for all your hard work.  Keep it up!!   

33
Open Discussion / Industrial Raspberry Pi Core 3
« on: January 09, 2019, 08:36:51 AM »
I am not a RPI user but this looks interesting.  I'm not sure how it fits into use with AHMI but if nothing else it supports Modbus TCP.  A little pricey IMHO compared to an actual PLC from Automation direct.  Brush up on your German if you want to view the tutorials :)

https://revolution.kunbus.com/revpi-core/ 

34
Support Questions / Re: BarLevel Value Alignment question
« on: December 12, 2018, 07:02:24 AM »

35
Open Discussion / Re: Alternative way to view AHMI
« on: November 25, 2018, 08:29:21 AM »
How about a remote desktop application such as Teamviewer or Ultra VNC?  That way you can have one version running and everyone remotes into it. 

36
Open Discussion / Re: Interest in Free Hand-On Training
« on: October 28, 2018, 10:11:21 PM »
Archie, as you know I am in central SC as well so I would would love to attend.  Please keep me posted as to any schedule.  Thank you. 

P.S.  It's good to see you still replying, I guess you were not the $1.6B lotto winner:)

37
Support Questions / Re: Call KeyDown event from button
« on: October 11, 2018, 01:21:37 PM »
the later worked by substituting key.A for key.Enter.  Thank you

Code: [Select]
New System.Windows.Forms.KeyEventArgs(Keys.Enter)

38
Support Questions / Re: Call KeyDown event from button
« on: October 11, 2018, 11:48:52 AM »
that doesn't seem to compile.  I get the blue squiggly under .Empty from intellisense.

Here is the details of the exception from the original code

39
Support Questions / Call KeyDown event from button
« on: October 11, 2018, 10:39:29 AM »
I have a basic vb question that I cannot get right.  I want to call the KeyDown event of a textbox with a button click.  This code throws an "Invalid Cast exception was unhandled" when I press the button.  I assume I do not have the correct arguments but not sure what to use.  Any help is appreciated, Thanks.

Code: [Select]
Private Sub btnConnect_Click(sender As Object, e As EventArgs) Handles btnConnect.Click   'give the user the option to click a "connect" button
        tbxIPaddress_KeyDown(sender, New System.EventArgs())

    End Sub

40
Support Questions / Re: User Control Flickering
« on: October 04, 2018, 09:16:35 AM »
LOL, Thanks Archie.  You had me baffled for a sec but I figured you were referring to something else.

Anyway, I took a stab at creating a custom control because nothing in the toolbox fit the bill.  This is a .dll of a simple synchroscope I made.  I didn't get too crazy as it does what I need.  Hope it helps someone else.  Thanks.

41
Support Questions / Re: User Control Flickering
« on: September 30, 2018, 03:03:24 PM »
Nice job Archie, works great.  Thank you

How can I post code in this forum?

42
Support Questions / User Control Flickering
« on: September 30, 2018, 12:17:10 PM »
Archie, I wanted to create a custom control for a gauge.  I created a new user control and set the background image of it to the gauge i want then I draw the line of the gauge using the following code.  Everything works great except the control 'flickers' when it is updated too fast.  I set the Double Buffer to true and enabled AntiAliasing, however this does not seem to help. What can I do to prevent this flickering?  Thank you 

P.S. How do you post code in this forum?

 protected override void OnPaint(PaintEventArgs e)
{
    this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
    //call the base paint method
    base.OnPaint(e);
    // enable anti Aliasing
    e.Graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
   
       
    // draw the objects
    Pen pointer = new Pen(this.BackColor, needleWidth);// create an initial pointer for the gauge using the controls back color
    // draw the pointer on the gauge
    e.Graphics.TranslateTransform(Width * 0.5f, Height * 0.5f);  // sets the center of the control as the point to rotate the needle around
    e.Graphics.RotateTransform(180+n_value);  //the value to rotate the needle based on a public "Value" property.  Had to offset by 180 degrees
    e.Graphics.DrawLine(pointer, 0, 0, 0, Height * 0.5f);  // this sets the length of the needle to just under half the height
    pointer.Dispose();  // release the resources

43
Support Questions / SVG in vb.net?
« on: September 23, 2018, 09:43:51 PM »
Archie, it is possible to animate .svg files in vb.net?  I am playing around with creating .svg images in inkscape and would like to know if its possible to say rotate a gauge needle or other animation in an AHMI application.  It looks like these are mostly used in web applications but came across this site and wondered what else is possible.  Thanks. 

https://lasithapetthawadu.wordpress.com/2014/02/24/using-vector-svg-graphics-in-c-net/

44
Support Questions / Re: Embed xlsx file template
« on: August 15, 2018, 04:00:14 PM »
Thanks guys.  I started with that method bachphi and transitioned to the method Godra posted.  However they both require a copy of the xlsx to be saved somewhere on the host PC.  I was hoping to add it as a resource similar to an image file so that it can be part of the compiled project.  Know of anyway to accomplish this?  Thanks.   

45
Support Questions / Embed xlsx file template
« on: August 11, 2018, 12:28:54 AM »
I have a xlsx file that I am using as a template to write to using EPPlus. This works fine but I want to make the application portable so I would like to make the xlsx part of the solution and not have it available for the user to be able to alter. What is the best way to make it part if the project so that I dont have to add it to the host computer?  Also I may need to alter it later if the application changes so I would need to be able to exchange it for a newer version at times. Thank you.

Pages: 1 2 [3] 4 5 ... 20