Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

Curtis Underwood

@Curtis Underwood
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Just bought a new Windows 10 rig - what is the best decrapifier app to clean it?
    C Curtis Underwood

    With all the sync that is going on it is very hard to keep junk off. I use a combination of CCleaner, doing a browser clean of history, data and cookies. I use ccleaner to run a check on the registry and clean it though I am told it does very little to help but some help is better than none. Then I do a scan for malware etc... I manually uninstall any software I do not want. I do this for all my devices at least once a month. But then I am no longer programing and just use the system for my personal bookkeeping, emails and browsing. The more you use search engines (which you have no choice) the more crap that gets on even if you don't open any pages. It seems google and all the search engines want allow cookies when you don't even open a page. I have done searches and just read the results of the search without opening any page but the page that lists the search and had the browser cookie pop up come up and ask if you want to allow cookies from such and such. So, you do not even have to open a page to get a cookie or unwanted things. Security begins with you. Always remember anything you put on your computer can and will get out on the web if that computer is connected to the web. The best security you can have, is a system that is not connected to the web that you can transfer files from to a system that is connected but those transferred files are then no longer secure. I do not care how much security software you place on a computer there will be someone that will find a way in if they really want too.

    Curtis Way always can be found.

    The Lounge question

  • Datagridview not changing size when changed from landscape to porttrait?
    C Curtis Underwood

    Yes I know its not his editor but he told me several thing such as to not post as much code well ok I won't post any Because without the code that I am using how can he tell where the problem is. I did not post anymore code than I thought was necessary all it contained was the datagridview and the print set up routine. If he did not need that then he should be able to answer the question without the code at all. But I was not thinking of him when I posted it. I was thinking of the beginners that try to follow what is going on, with out the code their lost. Besides what portion am I supposed to post. The whole thing is interlaced with setup calls. This is a problem that is caused by logic not caused by something that is just not getting the data. To troubleshoot logic you have to have the code.

    .NET (Core and Framework) help debugging question workspace

  • Datagridview not changing size when changed from landscape to porttrait?
    C Curtis Underwood

    MSDN Hit wrong key. But the editor still caused the problem. Since it did not display the code the way it is in Visual Studio. I will not spend two or three days trying to get it to display the code to your liking. I wrapped the code in the pre tags. I don't have the time to try to figure out whats wrong with this editor. This

    .NET (Core and Framework) help debugging question workspace

  • Datagridview not changing size when changed from landscape to porttrait?
    C Curtis Underwood

    Since you don't like the way it's posted fix your dam editor I used the code block to insert. bye will not re post will ask on MSBN

    .NET (Core and Framework) help debugging question workspace

  • Datagridview not changing size when changed from landscape to porttrait?
    C Curtis Underwood

    I have a application setup as Spreadsheet to display and print a datagridview. My problem is if I start the application, load a file, change the pagesetup to landscape, then print either to printer or preview it will print correctly. Now if I change back to portrait the preview or print out does change to the new setting. The displayed or printed data does not resize. The data is printed of the page. This works both ways if I start with portrait the same thing happens except the data in landscape is small on the page. Below is the code I use for printing and datagridview. I have tried several things including refresh and invalidate but nothing has had an affect. The only way I have found to change is to stop and restart the application in debug. <pre> Private Sub PrintDocument_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintDocument.Click PrintDialog1.AllowSomePages = True ' Show the help button. PrintDialog1.ShowHelp = True PrintDialog1.Document = PrintDocument1 Dim result As DialogResult = PrintDialog1.ShowDialog() ' If the result is OK then print the document. If (result = DialogResult.OK) Then PrintDocument1.Print() End If End Sub Private Sub PrintPreview_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintPreview.Click Me.Refresh() DataGridView1.RefreshEdit() Dim dlg As New PrintPreviewDialog() Dim d dlg.Document = PrintDocument1 d = PrintDocument1.DefaultPageSettings PrintDocument.Invalidate() dlg.ShowDialog() End Sub Private Sub PageSetup_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PageSetup.Click PageSetupDialog1.Document = PrintDocument1 PageSetupDialog1.AllowOrientation = True ' Sets the print document's color setting to false, ' so that the page will not be printed in color. 'PageSetupDialog1.Document.DefaultPageSettings.Color = False PageSetupDialog1.ShowDialog() If PageSetupDialog1.Document.DefaultPageSettings.Landscape = False Then PrintDocument1.DefaultPageSettings.Landscape = False End If If PageSetupDialog1.Document.DefaultPageSettings.Landscape = True Then PrintDocument1.DefaultPageSettings.Landscape = True End If PageSetupDialog1.PrinterSettings = End Sub Private Sub

    .NET (Core and Framework) help debugging question workspace
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups