Search:

Type: Posts; User: toecutter

Page 1 of 13 1 2 3 4

Search: Search took 0.44 seconds.

  1. VS 2017 Re: Change Paragraph Font using ItextSharp

    perfect, thx Shags...


    Dim pdfFont As BaseFont = BaseFont.CreateFont("c:\windows\fonts\Arial.ttf", BaseFont.IDENTITY_H, True)
    Dim Ffont As New iTextSharp.text.Font(pdfFont, 8,...
  2. VS 2017 [RESOLVED] Change Paragraph Font using ItextSharp

    I have tried many examples found from Google without a lot of luck.

    I have below but cannot implement without getting "System.InvalidCastException: 'Conversion from string "Report by: Some Text"...
  3. VS 2017 Re: Centre Paragraph Text using ItextSharp

    excellent, thankyou
  4. VS 2017 [RESOLVED] Centre Paragraph Text using ItextSharp

    I have been trying to centre text unsuccessfully for 2 days now so unfortunately i now need help from the pros.

    I am using below example found in a youtube video to create a pdf file with text and...
  5. VS 2017 Re: Where is Icon and Manifest in Visual Studio 2017?

    I managed to get it to install on the laptop.

    As it turns out VS2017 doesn't appear to have the setting schoemr first posted about.

    What i did was set manifest file in Publish>Application Files...
  6. VS 2017 Re: Where is Icon and Manifest in Visual Studio 2017?

    mainfest file, maybe someone can see whats incorrect


    <?xml version="1.0" encoding="utf-8"?>
    <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd"...
  7. VS 2017 Re: Where is Icon and Manifest in Visual Studio 2017?

    same here, click once fails to install on other laptop.
  8. VS 2017 Re: [RESOLVED] Less Then 0 but greater then (negative .5)

    this would be perfect, thx
  9. VS 2017 Re: Less Then 0 but greater then (negative .5)

    thankyou, i am now thinking its due to below in a earlier sub.


    'REMOVES "-" VALUE FROM TEXTBOX
    If TxFrontThrustAfter.Text.Contains("-") Then
    ...
  10. VS 2017 [RESOLVED] Less Then 0 but greater then (negative .5)

    Making a traffic light color app and cannot figure out how to handle a negative value ( -0.5) to make a panels BackColor = Color.Yellow




    If CDbl(TxFrontThrustAfter.Text) < 0.0 And...
  11. VS 2017 [RESOLVED]Re: An error occurred creating the form

    opps, had this , sorry

    so ClientName was expecting to have a value which looks like its the problem.

    Public Class Form2
    Dim ClientName As String = TxtName.Text
  12. VS 2017 [RESOLVED] An error occurred creating the form

    This has happened on the last 3 projects i created.

    All projects only had a textbox and button with basic code.

    If i comment out all code in the form, project runs.


    Application.Designer.vb...
  13. VS 2017 Save DataGridView to XML File Overwrites Existing

    I am saving textbox text to a DGV and then saving the DGV row to a xml file but i cannot workout how to append instead of overwriting.



    Public Sub WwriteToDataGridView()
    'save data...
  14. TreeView Populated with Directories and Files VB.net WindowsForm

    Hi,

    hope this is allowed


    After a treeView that will populate from a directory [\weights\brands] which will list brands of automobiles from folder names, eg, FORD, ISUZU, IVECO, JEEP ETC. User...
  15. VS 2017 Re: System Display Scale Causing ScreenShot to be Out of Bounds

    sorry jm, cannot remember where i got this from it was over 10 years ago



    Imports System
    Imports System.Runtime.InteropServices
    Imports System.Drawing
    Imports System.Drawing.Imaging
    ...
  16. VS 2017 System Display Scale Causing ScreenShot to be Out of Bounds

    Hi, iam using below code to take a screenshot of the form so i can then print but if the System Display Scale is set at more than 100% the image is magnified and is larger than the jpg size.

    Is...
  17. VS 2017 Re: [RESOLVED] The reference assemblies for framework ".NETFramework,Version=v4.6.1"

    sorry, i was trying to run a W7 build of the app....
  18. VS 2017 [RESOLVED] The reference assemblies for framework ".NETFramework,Version=v4.6.1" were not found

    My W10 laptop had a meltdown hence i have purchased a new one and now my 2017 project is producing an error i cannot rectify.



    I cannot open the setting page in the My Project to change the...
  19. Replies
    1
    Views
    867

    [RESOLVED] sum listbox items

    Iam adding a elemnet from a xml file into listbox

    Option Strict On
    Option Explicit On
    Option Infer Off
    Imports System.IO
    Imports System.Xml
    Imports System.Net
    Imports...
  20. VS 2008 Re: Scaling and layout Setting in W10 is Increasing Image Size

    i found this which is what i am trying to implement

    https://stackoverflow.com/questions/5977445/how-to-get-windows-display-settings
  21. VS 2008 Re: Scaling and layout Setting in W10 is Increasing Image Size

    Using my new W10 laptop it doesn't seem to be as extreme as some of my users have been. But you should get the idea.

    On some computers half the plan is zoomed out of the screen bounds.

    original...
  22. VS 2008 Re: Scaling and layout Setting in W10 is Increasing Image Size

    Cannot use any of those thx

    I dont have an issue setting the picturebox properties, this is an issue with W10, by default Scale is NOT set at 100% because they use some weird scaling.

    I believe...
  23. VS 2008 Re: Scaling and layout Setting in W10 is Increasing Image Size

    I tried all the different pictuerbox options and i have to have set at normal to work correctly. I also cannot change the perspective of the image as app is construction software so there are issues...
  24. VS 2008 Re: Scaling and layout Setting in W10 is Increasing Image Size

    The screen snip is of either a google earth view [eg a roof] or a pdf file [eg floor plan] so it isn't the users screen, it can be what ever size the snipping tool allows and what boundary the user...
  25. VS 2008 Scaling and layout Setting in W10 is Increasing Image Size

    I dump a snipping tool snip into a picturebox but it is zooming in due the the default increased text size setting in W10.

    If i manually change the setting to 100% users then complain they cannot...
  26. Replies
    5
    Views
    2,539

    Re: InstallShield

    found the answer

    https://social.msdn.microsoft.com/Forums/vstudio/en-US/2ff1d558-057c-442b-9b7c-d91a0da84ca9/setup-project-in-visual-studio-2017-for-deployment?forum=vssetup
  27. Replies
    5
    Views
    2,539

    InstallShield

    To deploy a project as an msi am i correct in saying i also need to purchase InstallShield for 700US?
  28. Replies
    9
    Views
    973

    VS 2008 Re: Measurment Converstions

    thx heaps for that .paul i will check it thoroughly
  29. Replies
    9
    Views
    973

    VS 2008 Re: Measurment Converstions

    i can do the conversion was more after the correct way its usually handled.
  30. Replies
    9
    Views
    973

    VS 2008 Re: Measurment Converstions

    at minimum hundreds on the 50 odd forms.
  31. Replies
    9
    Views
    973

    VS 2008 Measurment Converstions

    i have an 08 project that has 50 forms and 28 modules that outputs hundreds if not thousands of metric measurements with labels showing "lm" for lineal meters or "m2" for square meters.

    I am...
  32. Replies
    7
    Views
    1,343

    VS 2008 Re: [RESOLVED] Parameter name: length

    not sure why it happens on just 2 pc's

    this is the code to count the times a jpg is opened....


    If lLogOnDate.ToString.Contains("/01/") Then
    My.Settings.jpg_01_Started =...
  33. Replies
    7
    Views
    1,343

    VS 2008 Re: Parameter name: length

    sorted thx.

    i have code to count how many times a file is opened each month and on 2 pc's it was causing an error for some reason when it hit a month that has a zero opened times.
  34. Replies
    7
    Views
    1,343

    VS 2008 Re: Parameter name: length

    on my pc it hold values and unfortunately i cannot test on the clients pc's so would this work?

    in runs though the code fine on my machine....



    If bFile.Length = 0 Then
    Else
    ...
  35. Replies
    7
    Views
    1,343

    VS 2008 [RESOLVED] Parameter name: length

    I have never understood these messages so i am attempting to work it out.

    Does the below message say that a paremeter in the module LogFile has a zero length?
    On my pc clsStream.Write(bFile, 0,...
  36. VS 2005 Re: [RESOLVED] System,Runtime.InterloopServices.COMException when writing to excel

    I didn't expect you would call the address where the data resides data
  37. VS 2005 Re: System,Runtime.InterloopServices.COMException when writing to excel

    turns out the users name had a ' so when excel was writing the vlookup formulas to the spreadsheet it wasn't happy...

    thx all for advise.
  38. VS 2005 Re: System,Runtime.InterloopServices.COMException when writing to excel

    It is deployed with example data then a user can customize, this is a new install using default data so yes.
  39. VS 2005 Re: System,Runtime.InterloopServices.COMException when writing to excel

    Yes wes4dbt, as mentioned it works fine on hundreds of PC's.

    Thx for the suggestion re the office forums.

    thx
  40. VS 2005 Re: System,Runtime.InterloopServices.COMException when writing to excel

    Hi wild_bill,

    Both DIR's were not present, created both and tried and not luck,

    Also tried another suggestion form a Odesk contact re, pasting formula into users excel to check and it worked...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width