Type: Posts; User: i00
Search took 0.05 seconds.
Thanks a lot ... btw here is my final implementation of your code:
Public Shared Function GetAttachedEvents(Of T)([Object] As Object, Optional EventPrivateName As String = "", Optional...
Just say I have for eg a given printdocument ... and I want to get all attached Invokes on this, how would I go about doing this since the GetInvocationList seems to only be available from within the...
Actually ... WS_EX_TOOLWINDOW was what I needed :)
You need to inherit in order to override ... But this is not an option in this case.
Oh and I'm not using the default instance ... I NEVER would :p
I already knew of the ShowWithoutActivation ... but this is not an option where I am using this ... as it can't be the form itself as it is a plugin in a different file ... so I need to use API ......
I am using:
Private Const SW_SHOWNOACTIVATE As Integer = 4
Private Const HWND_TOPMOST As Integer = -1
Private Const SWP_NOACTIVATE As UInteger = &H10
Got it working .. was actually working originally... just not on my printer ... tried it on another and all working w/o problems
Sorry ... I don't quite get what you mean???
This is my code to load the Quality settings:
Private Class PrintQuality
Public Property Resolution As Printing.PrinterResolution
They appear to be pre-sets I think ... Have a look at the one-note printer below:
Hi ... just wondering if it is possible to completely ignore the windows DPI settings?
I searched google but nothing seemed to work well
Hi thanks for the reply ... and sorry about the delay...
the printer is a Epson Workforce 633
Code is as follows:
Private Sub ApplyPrintSettings()
Thanks ... have sent him a PM ... fingers crossed :)
I am having an issue where printer settings are not working correctly, i.e. they have no effect when output to the printer.
Basically I am setting a heap of options but only these work:
But the point is I open the dialog ... make NO changes and press OK ... and IT changes the values ... if I set my computer to inches it does not do this btw
And my conversion is correct ... I...
There is something strange going on with the PageSetupDialog ... when I go into the dialog and don't make any changes and press OK ... it changes the margins of the document.
Whops ... my bat... didn't refer to frm :(
I have a form that I am opening on a button press with:
Using frm As New frmResetPassword
frmResetPassword.NeedsCurrent = False
Ok ... I worked it out ... I now build up a list of items that I want to delete and use:
I have a problem with linq to sql...
Basically I have a table and am trying to remove an item from a linked table... the linked table is as follows:
This is a test case that generates...
Just made the download link point to Code Project ... Frustrating having to update 2 articles each time.
Try a "." instead ...
Also I would suggest using managed code such as this:
Public Function ValidateUser(Username As String, Password As String)
Using context As New...
Just re-targeting to framework 4.0 myself... in VS2013 though
Got it working here's what I did:
Run through the upgrade wizard that popped up when opening it in VS2013
Set the target...
I have followed the steps here: http://msdn.microsoft.com/en-us/library/dd885121.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-2
to the tee and it works well ...
I want to change its functionality...
I have only used VS 2008, 2012 and 2013 ... but ... I am guessing that the project has re-targeted when it was upgraded to .Net framework 4
I would start by checking the projects framework target,...
Yes ... I still had issues with it though ... it had to be the same text as what was in the combo ... and then there was issues where it would select the text ... I reset the selection to what was...
Tried it already ... doesn't work ... appears to but when you press the next key it clears the text box as it still thinks that all of the text is selected.
I was thinking that ... but also thought that since there is now way (that I know of either) of showing the AutoComplete that this way was not easily possible either, this is why I went with the...
I basically am having a few issues with the combo box ...
Here's the situation:
I have a combo box looking up values from an extensive database across the internet on my server... so when you...
That's what I ended up doing ... but it still seems like something that should be built in IMHO
There seems to be no reliable way to get paper dimensions from the paper kind ... I have looked for about an hour online ... but all methods seem to use either the PrinterSettings or PrintDocument. ...
Ok.. I worked it out by looking through the sourcecode for the datagridview in the framework here...
The foolproof way (without using most peoples poor suggestion on other posts on the net where...
I am making a control and want to be able to get the data directly from a binding source... that is set via a property of the control.
I need it to be able to get a list of column names, and also...
I am using the ControlDesigner class and want to know how to use .EnableDesignMode for a heap of controls ...
For one control per property it works fine...
But what if I want a collection of...
The following is valid:
<a href="something" alt="Kris' day out">
.. yours would match Kris not Kris' day out
And i need it to match ALL valid possibilities as I am phasing a large variety of...
A few problems...
Your method also matches:
<page someproperty="asd" title="hello'>
<page someproperty="asd" title='hello">
Which it shouldn't
... also it groups into tag "asd 123" in:
Yes you can do this ... I do this for ALL of my applications
Think it is better practice to have a method ... so you can phase command line args etc 1st
1. Make a class with a Main in it ...
I personally prefer the this way...
IO.File.WriteAllText("\ProgramData\Backup\Backup" & ListBox1.Items.Count & ".txt", join(ListBox1.items.toarray, vbcrlf))
... also may be less obvious too...
Thanks for your reply ... just looking @ yours... there seem to be a few issues with it
This will NOT match:
I have the following regular expression that I am writing ...
I have it running in 2013 without any problems ...
Open it up and run the conversion wizard
Change the target framework
Reference System.Xaml (like it says to in the error list)
Click Here to Expand Forum to Full Width
Survey posted by VBForums.