Search:

Type: Posts; User: Aussie

Search: Search took 0.04 seconds.

  1. Replies
    7
    Views
    1,083

    Re: How to Print to Specific a Point

    Ok, it seems so, strange as it is.
    However, I am experimenting and think I may have found a way to do this.
    I will post my code if/when I succeed.:)
  2. Replies
    7
    Views
    1,083

    Re: How to Print to Specific a Point

    Thanks .paul.

    Here is what I tried...



    .DefaultPageSettings.Margins = New Margins(0, 0, 0, 0)
    .OriginAtMargins = True
    .DefaultPageSettings.Landscape=True
  3. Replies
    7
    Views
    1,083

    How to Print to Specific a Point

    Hi,
    I use VS2022 with SQL 2017 on windows 10.
    My app is deployed at work where the PC's have different monitors and access to different printers of choice.

    The problem I am facing is printing...
  4. Replies
    5
    Views
    989

    Re: Check for changed tables SQL

    My thanks to Shaggy.
    Ivansmo - thanks, I tried that for quite a while using different queries but could not get what I needed.
    szlamany - cheers, works great unless the table has a text column in...
  5. Replies
    5
    Views
    989

    [RESOLVED] Check for changed tables SQL

    Hi,
    Sorry if I have posted in the wrong spot.
    Using SQL Server 2017.
    Our Retail POS system completely shuts down if we lose internet service, which is unacceptable.
    I have been tasked with...
  6. Re: Publisher Unknown On Downloaded Exe

    OK. I tried downloading the file at work and everything was fine.
    I tried again on the "problem child PC" at home and it worked fine this time. The publisher name appeared as it is supposed to....
  7. Re: Publisher Unknown On Downloaded Exe

    Nothing I have ever read suggests so. In VS the project has the certificate shown in the files section. It is clearly shown in the application manifest file as well as the exe.manifest file.
    So I...
  8. Re: Publisher Unknown On Downloaded Exe

    Yes, thanks. But it doesn't address the problem. I have a cert and I have signed my app with it. That's not my problem.
    The problem is the downloaded file from my website link has a signature if...
  9. [RESOLVED] Publisher Unknown On Downloaded Exe

    Hi,
    Sorry if this is the wrong place for this question. Please move it if so.
    I have a new executable file created by Innosetup which I have uploaded to my website.
    Yes, my website is SSL.
    The...
  10. Re: PrintPreviewDialog showing last page only

    Thanks guys.
    You were right jmcilhinney. My mistake was not realising the e.hasmorepages re-triggers the printpage event.
    Once I took that first loop out everything fell into place.
    I will mark...
  11. [RESOLVED] PrintPreviewDialog showing last page only

    Hi,
    I am using visual basic net on VS2019 windows 10.
    Scenario.
    Our store has a regular catalogue of specials which can include hundreds of products.
    We have pre-printed pages with blank areas...
  12. Re: Which SQL Version should my scripts be for client machines

    Yes, sorry about the version thing. My mistake.
    Thanks jmc. I suspected as much, I just wanted to make sure I was thinking correctly.
    I will use the lowest version.
    Thanks for your expert opinion....
  13. [RESOLVED] Which SQL Version should my scripts be for client machines

    Using VS2019 and SQL Server v18.9.1
    When I download and install my app to a client machine, what SQL script version should I use to create the database on their machine?
    My clients could have...
  14. Re: [RESOLVED] Get number of PC's using an exe file on the LAN

    Just realised a small problem with the above code.
    The Process.GetProcessesByName line should be in its own try/catch. If the remote computor is turned off it will error because it cant find it....
  15. Re: Get number of PC's using an exe file on the LAN

    Thanks Maverickz. Yes, that sounds like the best idea. The suggestions from sapator and KBConsole although good, didn't quite work for me.
    I do have the source code for FiF and now that you have...
  16. Re: Get number of PC's using an exe file on the LAN

    Thanks a lot. I will try these two methods and see how I go. I will resolve the post if all good. Cheers
  17. [RESOLVED] Get number of PC's using an exe file on the LAN

    Hi. Using visual basic on VS2017.
    I am trying to find out how many pc's on the LAN are currently using an app. The app exe file is called FiF.exe.
    I have tried the following code just to try and...
  18. Re: Unable to connect to any of the specified MySQL hosts

    Thanks all. This is resolved.
  19. Re: Unable to connect to any of the specified MySQL hosts

    Thanks techgnome.
    Yes, I have since discovered this! I just had it in my head that I should be able to retrieve data as a datatable or datarow as with SQL Server. No good reason for thinking that,...
  20. Re: Unable to connect to any of the specified MySQL hosts

    No, I tried that. I also tried pooling true and false to no avail.
    I have written a PHP file on the server and am using that to get data. This works OK for the moment until I learn how to do it...
  21. Re: Unable to connect to any of the specified MySQL hosts

    Thanks everyone. I will read up and see how I go.
  22. Re: Unable to connect to any of the specified MySQL hosts

    OK, thanks optionbase1.
    That makes a lot of sense now I think on it. I was trying to cut out a step without understanding the proper methodology.
    So what you are saying is that I need to write an...
  23. [RESOLVED] Unable to connect to any of the specified MySQL hosts

    Hi Everyone
    I am writing visual basic on VS2017
    I have an app which needs to connect to a MySql database on our website which we pay someone to host
    I cannot connect to this database from my app...
  24. Replies
    2
    Views
    831

    Re: Get System Tray Icon

    Yes you would think so but I'm yet to find it!!!
    Will keep looking for a workaround and post results when I find the answer.
  25. Replies
    2
    Views
    831

    Get System Tray Icon

    Hi People,
    I am using Vs2017 (vb.net).
    I need to determine whether onedrive is syncing or not at runtime and I figured the best way was to simply read the icons on the system tray because the...
  26. VS 2010 Re: Designing an App with SQL Server Database

    I am still having a problem!
    When I take my app and install it at work it can't seem to find the server...the following error occurs

    A network-related or instance-specific error occurred while...
  27. Re: Tutorial: An Introduction to the ADO.NET Entity Framework

    Ok thanks techgnome. I figured as much but thought I'd check to be sure.
  28. Re: Tutorial: An Introduction to the ADO.NET Entity Framework

    A quick query before I start (no pun intended)
    I am writing an app that will be used on a network with multiple machines reading & writing to a single database on the server.
    If I declare a single...
  29. VS 2010 Re: Designing an App with SQL Server Database

    OK, I have it now. Thanks a lot.
  30. VS 2010 Re: Designing an App with SQL Server Database

    Thanks so much for your reply jmcilhinney, clear and concise as usual!
    At the moment I have created the database and dataset using VS and then created tableadapters using the configure wizard. If I...
  31. VS 2010 [RESOLVED] Designing an App with SQL Server Database

    Hi all,
    I'm using VS2010 Ultimate on Windows10 and have SQL Server 2014 installed on my project machine. I also have another Windows10 machine connected to my network for testing the published...
Results 1 to 31 of 31



Click Here to Expand Forum to Full Width