Search:

Type: Posts; User: cPubis

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: How do I update an app that is opened on multiple users?

    Hi, you could create an app that tells you when the user unlocks their windows and runs the gui tray app accordingly; Something like this:


    Imports Microsoft.Win32
    Public Class Form1
    ...
  2. Replies
    3
    Views
    807

    VS 2019 Re: Random Reportviewer error

    There's a report parameter in the rdlc file that is null and you set the parameter in the rdlc file not to accept null.

    You have two choices:

    1. Either you change the parameter setting so it...
  3. Re: Best method to store application settings in VB .net

    Then do what a PE does; store the settings in an encrypted form in a text file and put it in a public place (such as the same folder where the exe is). Your program will have to read the text,...
  4. VS 2019 Re: How do I Read a JPEG Pixel by Pixel and list each Pixel's Coordinates and Color?

    This will give you a text file with coordinates and color of every pixel in your image.


    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
    ...
  5. Re: Trying to Stop a service and restart a different service in VB

    Why don't you just use net.exe?

    To stop the service

    Process.Start("net.exe", "stop Spooler")

    To start the service

    Process.Start("net.exe", "start Spooler")
  6. Replies
    5
    Views
    2,075

    Re: Send email using gmail smtp server

    App Passwords can only be used with accounts that have 2-Step Verification turned on.

    As I can see from the image you posted, you have 2-Step Verification turned off!
  7. Replies
    5
    Views
    2,075

    Re: Send email using gmail smtp server

    Not really, Google stopped you from using your user/pass directly, but gives you the ability to use the so-called App Passwords

    Go to Google account > Security > Signing in to Google > App...
  8. Replies
    4
    Views
    730

    Re: I need help with schedule logic

    Hello pals, and thanks for the replies.

    The most important part that puzzled me was how to specify the previous appointment and the next one. Once specified, the counting is easy.

    Anyway, I...
  9. Replies
    4
    Views
    730

    [RESOLVED] I need help with schedule logic

    Hi pals,

    I am working on a vb.net project. I have come a long way with it. Now I'm stuck with something but I'm totally exhausted right now, so I thought I might get some help from you.

    I have...
  10. Replies
    3
    Views
    809

    Re: Closing Forms confuses me!

    This is clear like a sunny day. Thank you very much.



    Actually, this is exactly what I do in all my applications, I do it because it does what I want not what my logic expects. In other words;...
  11. Replies
    3
    Views
    809

    [RESOLVED] Closing Forms confuses me!

    Hi,

    This should be basic, but it confuses me. The code is self explanatory:


    Public Class Form1
    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles...
  12. VS 2019 Re: Getting GPS Latitide and Long from an imagem file: Negative Second?!

    Happy to help my friend.
    If you believe that your issue is resolved, please mark the thread Resolved. Thanks.
  13. VS 2019 Re: Getting GPS Latitide and Long from an imagem file: Negative Second?!

    Hello there,

    Please note that the code above was specifically created for your "weird" picture, so it could give you wrong readings with "not-so-wired" pictures. If you want a code that works...
  14. VS 2019 Re: Getting GPS Latitide and Long from an imagem file: Negative Second?!

    Hi there,

    The code is fine, I have several gps readers and each of them gives different reading. This picture is weird!

    Anyway, if the rest of your pictures are the same you can use the...
  15. VS 2019 Re: Getting GPS Latitide and Long from an imagem file: Negative Second?!

    First, replace the listbox with a textbox, then use the following code.
    Run the project and give me the output you see in the textbox.


    Public Class Form1
    Private Sub Form1_Load(sender As...
  16. VS 2019 Re: Getting GPS Latitide and Long from an imagem file: Negative Second?!

    Hi there,

    Your code works fine, it is giving you the correct coordinates, The picture has South/West coordinates which are being translated into negative numbers by your code. It is Windows...
  17. Thread: find jpg files

    by cPubis
    Replies
    14
    Views
    2,203

    Re: find jpg files

    Hello John,

    Here's a batch code that does exactly what you need.
    Just copy it into note pad then save it as a bat file "jpgtest.bat" then execute it.
    You can modify the folder locations as you...
  18. Thread: find jpg files

    by cPubis
    Replies
    14
    Views
    2,203

    Re: find jpg files

    Did you copy and paste the code into a command line prompt window?! :confused:
  19. Thread: find jpg files

    by cPubis
    Replies
    14
    Views
    2,203

    Re: find jpg files

    Happy to help dear. And yes, you can modify the code the way you like; the source/target folder locations, the file extension, the file size. I put them all in the beginning of the code.

    PS: if...
  20. Thread: find jpg files

    by cPubis
    Replies
    14
    Views
    2,203

    Re: find jpg files

    Hi,

    Here's a recursive file search project the does exactly what you need.
    The code has no error trapping at all so make sure that the files/folders do exist and all.

    Hope that helps

    ...
  21. Re: Weird error right after the db server goes up after being down.

    Hello John,
    As you have noticed, the code snippet above was taken from a larger region of my code that has other db operations. I gave you the code snippet and removed the other operations where I...
  22. Re: Weird error right after the db server goes up after being down.

    Hi tg, I appreciate your input.
    I started the server and waited for 15 minutes; the problem persists!
    If the operation just fails forever it would be easier. But it fails the first time only and...
  23. Re: Weird error right after the db server goes up after being down.

    Thanks for the guess but I don't think it's about the timeout. I manually reproduced the error. I shut down the server and let it shut for say 3 minutes and then start it again and let it say for 3...
  24. [RESOLVED] Weird error right after the db server goes up after being down.

    Hi,

    So I have a TableAdapter (created by the designer) that fills a table like this.


    Try
    cmd.Connection.Open()
    MyTableAdapter.Fill(MyDataSet.MyTable)
    cmd.Connection.Close()
    Catch ex...
  25. Replies
    0
    Views
    2,276

    Load/Edit/Save all tables on a MySql Server

    Here's a small project with which you can load any table from a MySql server (locally or remotely) by simply selecting its name and then do any operation on its data; Insert, delete, update. All you...
  26. Re: Prevent different product names for the same ID

    Hello Shaggy Hiker and thank you for your reply.



    There's no reason at all. I could easily change the design to the one you suggest and it will work perfectly. But I kindly request one...
  27. Prevent different product names for the same ID

    Hi,

    This is probably basic, but it is driving me crazy! maybe because I'm still awake since yesterday morning!

    I have a simple table with three fields; "Product ID", "Product NAME" and...
  28. Replies
    3
    Views
    642

    Re: Fill a Textbox with a delay!

    An idea and a code that puts it into practice? This is more than what I expected!
    I have just tested it and it works exactly as I wanted.
    Thank you very very much!
  29. Replies
    3
    Views
    642

    [RESOLVED] Fill a Textbox with a delay!

    Hi,

    I have a textbox I need to copy and paste some text into it. You know, once you select the textbox and press CTRL+V the textbox gets all the clipboard's contents within a wink of an eye! I...
  30. Replies
    2
    Views
    516

    Re: Joining three datatables!

    Yes, as I said, I don't need code. I just need to know how to do it manually. So thank you.
  31. Replies
    2
    Views
    516

    Joining three datatables!

    Hi,
    I have three datatables (DT1,DT2,DT3) I need to join into one datatable (DTX) as shown in the attached image. Please note that DT1.Rows.Count is variable, so is DT2.Rows.Count and DT3.Rows.Count...
  32. Re: How to send instructions to an instance of my application?

    Hi,

    You could use this method. If a user double clicks a file that was saved with your application, a new instance will run and open the file and the previous instance will be closed. Use it if...
  33. Re: Is this bad design or I'm doing things wrong?

    Seemingly easy but rather challenging. I know I asked the right person. THANK YOU.
  34. Re: Is this bad design or I'm doing things wrong?

    In this very database project I didn't do anything manually, all done by the wizard. the data tables, the data adapters, and the bindingsources.. etc all done by the wizard. I only select what...
  35. Re: Is this bad design or I'm doing things wrong?

    To MySQL database tables
  36. Re: Is this bad design or I'm doing things wrong?

    Thank you for your input.

    Well, I know about labels shouldn't be used to store things. I just mentioned them as an example. Sorry for that. In fact, they are DGVs. They're there for the users to...
  37. Is this bad design or I'm doing things wrong?

    Hi,

    In another thread, I once heard John says:



    Since I trust him as a valuable and unbiased education source, I wanted to ask him if he could explain if that is a bad design or I'm doing...
  38. Replies
    25
    Views
    3,131

    Poll: Which way is yours?

    #1


    Select Case c
    Case True
    i = i + 1
    End Select

    #2
  39. Replies
    8
    Views
    1,235

    VS 2017 Re: Need help plz

    Here you go:



    Dim intNumber As Integer
    intNumber = 10
    Do
    MessageBox.Show(intNumber)
    intNumber -= 1
    Loop While intNumber <> 0
  40. Replies
    32
    Views
    3,500

    VS 2017 Re: Table with many columns take long to save

    Hi,

    Well, basic things first, in many cases, the easiest solution is the correct one. What about your PC specs? What's your HDD rpm? I remember I faced such slow performance until I upgraded to a...
Results 1 to 40 of 144
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width