Search:

Type: Posts; User: kebo

Page 1 of 13 1 2 3 4

Search: Search took 0.13 seconds; generated 43 minute(s) ago.

  1. Replies
    4
    Views
    478

    VS 2022 Re: String to DateTimePicker

    I would probably use DateTime.TryParseExact in case the data is not as you would expect.
  2. Thread: Duplicates In DGV

    by kebo
    Replies
    6
    Views
    528

    Re: Duplicates In DGV

    Another thing to try is running the query in a client (ssms, heidi.sql, etc.) on each machine. That might point to, or eliminate a server/sql command issue.
    kevin
  3. Thread: Obfuscate a dll

    by kebo
    Replies
    2
    Views
    282

    VS 2022 Re: Obfuscate a dll

    Software security is like an onion; the more layers it has the fewer people that will be willing or able to get to the center. I don't think obfuscation is the be all end all to software security,...
  4. Thread: Obfuscate a dll

    by kebo
    Replies
    2
    Views
    282

    VS 2022 Obfuscate a dll

    Mods, I don't think this is the correct forum for this, so please move it as you see fit.

    Hi all,

    I am currently in talks to license a bunch of our source code to one of our customers. Since...
  5. Re: how to delete empty place of ok and abbrechen bottons

    Not sure what to tell you.

    If the scroll bar is part of the grid, and the grid is a control of the form and is set to dock fill, and there are no other controls visible on the form, the entire...
  6. Re: how to delete empty place of ok and abbrechen bottons

    No. I don't know what scroll bar you are referring. If it's the grid's scroll bar, then you have done something different than what I have suggested.
  7. Re: how to delete empty place of ok and abbrechen bottons

    You need to add the panel, put the buttons in it, dock it to the bottom and dock the grid all in the designer. Then only thing you will do in the click handler is hide the panel.
  8. Re: how to delete empty place of ok and abbrechen bottons

    Put all of the buttons in a panel and set the panel.Dock = Dock.Bottom.
    Set the grid.Dock = Dock.Fill.

    In the btnNichtmodal_Click method, hide the panel (i.e. panel.Visible = false).
  9. Replies
    6
    Views
    552

    VS 2019 Re: Newtonsoft help - declaring a JObject

    You would need to create a dictionary(of string, object) and put your settings and history it, then serialize...
    Note that on the deserialize, your settings in the dictionary will be a jObject and...
  10. Replies
    6
    Views
    552

    VS 2019 Re: Newtonsoft help - declaring a JObject

    Put all of the settings in a class and de/serialize the class to/from json as needed and you can avoid woring with jObjects completely. It won't give you control over the file structure, but does...
  11. Replies
    3
    Views
    752

    Re: [dbo] vs [erp] tables

    Thank you for that.
    For others who may stumble on this, if the schema does not exist, you cannot create a table in it. You can create schemas using this,

    kevin
  12. Replies
    3
    Views
    752

    [RESOLVED] [dbo] vs [erp] tables

    Hi all,
    This is a question out of curiosity mostly, but it does have a need for what I am trying to do.

    I have a customer that uses Epicor for their ERP system. All of the data for the ERP in on...
  13. Re: VB.NET Search Multiple Files for String, Count Duplicates, Return Filename & Qty

    try reading in the entire file into a string, then split the string on the value you are looking for. The number of occurrences would then be the number of elements in the returned array minus 1. It...
  14. Replies
    12
    Views
    80,796

    Re: What skills are needed for IoT?

    MQTT protocols are a plus if you intend to have a cloud connection.
  15. Replies
    15
    Views
    1,991

    Re: Best practice for store db string connection

    Out of the box, .Net code can be easily decompiled with a number of free .Net decompilers. You can have some protection using obfuscation, but even then, strings are not always protected.
    kevin
    ...
  16. Replies
    5
    Views
    868

    Re: Connect apps together on Tcp

    I figured this out and was way overthinking it.

    The right way to do it is to have the intercom create a single tcp listener and when the app announces with a hello on udp, it sends the port it's...
  17. Replies
    5
    Views
    868

    Re: Connect apps together on Tcp

    Thanks for that.

    There is no dedicated server however. I'm trying to create a cluster where each app connects directly to each other.
  18. Replies
    5
    Views
    868

    [RESOLVED] Connect apps together on Tcp

    Hello,
    I am building an intercom class library that will be included in many of our apps. The intercom will be responsible for creating a Tcp a connection between itself and another app running the...
  19. VS 2019 Re: About using a video file embedded on a resource RES file

    We use Inno as well, and I think you may have problems deleting it if it's installed in the program files directory. You could instruction Inno to install it elsewhere though using anyone of the...
  20. Replies
    7
    Views
    1,346

    Re: My application clogs-up memory...

    We recently had an issue along the same lines. The app has tons of images in it and and our classes had multiple handlers that we would attach to. Turns out that our problem was not detaching the...
  21. Replies
    53
    Views
    10,205

    Re: Do you use ()'s for your IF statements?

    Like I said, if you want to argument what irks me, then have fun with it. As far as rock solid come back to reality. You aren't addressing the fact that in VB you aren't held to strict syntax. I'm...
  22. Replies
    53
    Views
    10,205

    Re: Do you use ()'s for your IF statements?

    I'm not sure anyone has control of what irks them. All you can do is manage it, but that's a conversation for another thread and possible another forum.
  23. Replies
    53
    Views
    10,205

    Re: Do you use ()'s for your IF statements?

    In VB, If (this or that) is the exact same as If this or that. That means you DO have a choice of syntax. As far as the inner parens go, we have to have choice over them so the compiler will know how...
  24. Replies
    53
    Views
    10,205

    Re: Do you use ()'s for your IF statements?

    This is one of the things that irks me about VB. The syntax is your choice. You can use them or not. A language should have specific syntax. I'm not saying there should only be one way to do...
  25. Replies
    7
    Views
    2,193

    Re: Is there any Controls like this ?

    Devexpress gridviews do exactly that. Not for free though.
  26. Replies
    9
    Views
    1,837

    Re: Update a field in multiple tables

    Thank you. It worked great. For anyone else that needs it, the complete sql looks like this...


    Declare @SQLStatements Table (SqlText nvarchar(max))
    Declare @SQLText nvarchar(max)

    Insert into...
  27. Replies
    9
    Views
    1,837

    Re: Update a field in multiple tables

    Thank for that Sherin, but your sql will only return a table with all of the update commands (one record for each table).

    How do I now get the server to process each record and actually perform...
  28. Replies
    9
    Views
    1,837

    Re: Update a field in multiple tables

    Thanks sapator.
    The examples introduce a bunch of new concepts to me, but hey, it's only code. I can probably make something work from it.
  29. Replies
    9
    Views
    1,837

    [RESOLVED] Update a field in multiple tables

    Hey all,
    We have a database with a number of tables that have a field that needs updating. The field name is the same across all tables and the value we need to update to will also be the same...
  30. Replies
    10
    Views
    2,756

    VS 2019 Re: [RESOLVED] DataAdapter "Query is too Complex"

    There should be no reason to the clear the access table completely then repopulate it. When you need to update the database, get the changed rows in the datatable using the table's GetChanges()...
  31. Replies
    10
    Views
    2,756

    VS 2019 Re: DataAdapter "Query is too Complex"

    What does the sql command text look like?
  32. Re: Move part of app into another app without manually rewriting it

    In the solution explorer, right click the project, Add >> Existing item. Navigate to the form.vb file and select it. There will be three file that make up the form but by only selecting the *.vb...
  33. Re: I Want to develop a CAM tool but don't know where to start

    Importing Gebers first means that you have to understand the data structure. A quick google lead me to this Wiki I haven't read it completely, but you need to know how the file is built so you can...
  34. Re: Drawing shapes on "canvas" and persisting when closing app

    We've done this in the past and have always created our own (shape) class to handle drawing. This class would hold the shapes style (square, circle, etc), it's location, size colors, etc. It also has...
  35. Replies
    7
    Views
    4,780

    VS 2019 Re: Do you use Decimal, single, or double?

    For integral numbers I use int or long depending on the size of the value.

    For fractional values, I use Single only if the method I'm passing to requires a Single type, otherwise I use Doubles...
  36. Replies
    1
    Views
    742

    VS 2017 Re: 8.5 X 11 Inch Printable Files?

    Normally you don't specify print sizes in the file. You do that when you print using a PrintDocument class. You would handle the print page event of the of that class and use the Graphics name space...
  37. VS 2017 Re: How To Stop DataGridView From Adding 2 Entries?

    Does the second entry have an asterisk in front of it? If so,


    dataGRidView1.AllowUserToAddRows = false

    If not, then it's probably not the grid but your code that is doing it, and without...
  38. Replies
    15
    Views
    3,321

    Re: Edit a text file.

    The file in your resources folder is not what you are accessing when you run code. The file gets embedded in the exe and you access it via the resource manager. If you want to do this, your best bet...
  39. Replies
    4
    Views
    1,940

    Re: adding odd numbers

    Dim sum as Integer = Enumerable.Range(10, 20 - 10).Sum(Function(x) (x * (x Mod 2)))
  40. Re: Reading .bin file with HexViewer (Be.Hexbox) Converted to VB? *URGENT*

    Good catch. I wasn't even thinking we were dealing with numbers not strings. That's what I get for freehand code.
Results 1 to 40 of 498
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width