Search:

Type: Posts; User: Mzungo

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    5,290

    Re: Deploying dll to fixed location

    Yes, it is the standard setup, vs2015 though. Im sure that it is me who is ****, but I cant think what I would do differently.

    I registered the dll in an arbitrary folder, which is where I also...
  2. Replies
    4
    Views
    5,290

    Re: Deploying dll to fixed location

    A little update on what I´ve managed to do.

    Starting from the links provided by jmcilhinney, I found a good looking solution here:
    ...
  3. Replies
    4
    Views
    5,290

    Deploying dll to fixed location

    I have moved some functionality in my vb.net (vs2015) desktop app that I would like to be able to change dynamically to a dll created in a different project. The idea is to be able to distribute a...
  4. VS 2015 Re: Passing parameters back from dll to calling program

    Yes, ByVal of course.

    However, I struggle to understand what you mean by EXACTLY the same way. I get your argument that since they are both classes it should work the same way, but I dont...
  5. VS 2015 Re: Passing parameters back from dll to calling program

    Yes, ByVal of course.

    However, I struggle to understand what you mean by EXACTLY the same way. I get your argument that since they are both classes it should work the same way, but I dont...
  6. VS 2015 Re: Passing parameters back from dll to calling program

    jmicilhinney, I could pass "Me" to the dll and declare ByRef MyForm As Windows.Forms.Form in the dll method. Didnt know how to do that with a class of my own making. Probably could have been clearer.
  7. VS 2015 Re: Passing parameters back from dll to calling program

    Thanks for that as well! In deed I am trying to accomplish some sort of plugin system. I have checked out interfaces and it seems like the right way to go.
  8. VS 2015 Re: Passing parameters back from dll to calling program

    ciuThank you for your replies. I am quite aware that a form is a class, thats whi I asked about classes that are not forms. Anyways, a second dll is just the answe that I was looking for and that I...
  9. VS 2015 [RESOLVED] Passing parameters back from dll to calling program

    Users of my application often need functionality that is specific to them and that may change over time. To avoid having to maintain a lot of versions of the application, I am trying to put some of...
  10. Replies
    6
    Views
    1,544

    Re: Licensing/copy protection DIY

    Thanks for your input!

    I´m aware that my code can be decompiled and that any step taken to achieve some copy protection can be undone by simply removing any code preventig the app from running....
  11. Replies
    6
    Views
    1,544

    Licensing/copy protection DIY

    I would like to apply some sort of copy protection functionality to a winforms app of mine. Reading up on discussions on the matter, I find the general advice to be not to write it yourself because...
  12. VS 2015 Re: Formatting problems when importing Excel to DatagridView

    Sorry for not replying, ran into another problem that needs fixing. Chris, I´ll try your code and report if it works better.

    I dont think there´s a problem with the registry settings. Everything...
  13. VS 2015 Re: Formatting problems when importing Excel to DatagridView

    Im using the OleDbDataDataAdapter to create a datatable and then I add the rows from the table manually, i.e. dgv.Rows.Add(.Tables(0).Rows(i).Item(0).ToString. Since I use the grid to import...
  14. VS 2015 Re: Formatting problems when importing Excel to DatagridView

    No, the excel formatting is exactly the same, that´s what puzzles me. Anyways, thanks for your input, Ill keep tryin stuff and post any solution here.
  15. VS 2015 Re: Formatting problems when importing Excel to DatagridView

    Thanks for your reply. I agree that the problem is that the column is treated as text. Since i have HDR=NO (because I want the headers in the first row, not being column names), the header is a...
  16. VS 2015 Re: Formatting problems when importing Excel to DatagridView

    I am not. Its an unbound data grid with columns already in it. If I set HDR=YES, the row with column names is simply omitted from the import. I want the column headers to be in the first row of the...
  17. VS 2015 Formatting problems when importing Excel to DatagridView

    I´m developing a windows app that imports data from external sources into an unbound data grid, applies calculations and manipulations to the data and then exports the output. Since the structure of...
  18. Replies
    2
    Views
    753

    Re: MySql connection/authorisation

    Thank you! I´ll have to learn how to create web services then.
  19. Replies
    2
    Views
    753

    [RESOLVED] MySql connection/authorisation

    Hi all,

    I´ve completed a vb.net desktop app, and made a simple licensing system whereas a registration key obtained at purchase is used, the app checks a database if the key exists and is unused,...
  20. Replies
    3
    Views
    664

    VS 2010 Re: Grid reference overlaid on a form....

    I don't have an answer to your question, just pointing out that the fact that the earth is round while your screen is flat makes the math of those calculations very difficult (not impossible of...
  21. Replies
    6
    Views
    2,002

    VS 2015 Re: Referencing web forms

    Great points! Since I have no deadline for my transformation project, I suppose I may just as well do it right from the beginning. Guess I have a lot of work to do. Thanks for input!
  22. Replies
    6
    Views
    2,002

    VS 2015 Re: Referencing web forms

    Thanks for your advice kgc!
  23. Replies
    6
    Views
    2,002

    VS 2015 Re: Referencing web forms

    Thanks for your reply Damp.

    Well, now, Im doing something pretty trivial, just to try it out. But: my app loads data from an external data source onto a grid, passes grid properties (like selected...
  24. Replies
    6
    Views
    2,002

    VS 2015 Referencing web forms

    Hi everyone,

    Since I can´t find any answer to this by googling, Im pretty sure it´s a stupid question. But, anyways...

    I´m hoping to make a web version of a vb.net winforms app of mine, trying...
  25. VS 2015 Re: Inserting data into local database, not database copy

    Oh, suddenly that seems obvious. Tanks a lot jmcilhinney, you solved my problem.
  26. VS 2015 Inserting data into local database, not database copy

    Hi everyone,

    I apologize if this is a stupid question but I´m really stuck and google doesn’t help at all.

    I´m used to working with external databases, but for my current vb.net project I have...
  27. Replies
    4
    Views
    1,132

    Re: Resolution/design problem

    NeedSomeAnswers, anchoring yes, docking no. Do you think that makes a difference?

    Spynne, thanks for explaining and for the link, Ill try to experiment with AutoScaleMode. I suppose its time to...
  28. Replies
    4
    Views
    1,132

    Resolution/design problem

    Hi everyone,

    I have moved a vb.net project that I am working on to a new computer with a lot higher screen resolution. As expected, my UI is a bit messy, labels are positioned on top of controls...
  29. Replies
    7
    Views
    926

    VS 2013 Re: Omitting single quotes from query

    SittenSpynne, that was the failing code, I only change the db-connection. Taking your string buidling advice, Im on a steep learning curve here.
  30. Replies
    7
    Views
    926

    VS 2013 Re: Omitting single quotes from query

    Thanks for your input Paul. Actually, I jumped the gun a bit, the problem was a comma decimal delimiter in my data splitting my variable ino two.

    Solution:


    " & Replace(MyNumericVariable,...
  31. Replies
    7
    Views
    926

    VS 2013 Omitting single quotes from query

    Hi everyone,

    Im sure this is a stupid question, but I cant seem to find a solution despite intensive googling.

    I have been sending data to an MS Access database like thus:


    InsertString =...
  32. Replies
    9
    Views
    1,363

    VS 2013 Re: [RESOLVED] Code executing at design time

    My bad, should have stated this in first post.
  33. Replies
    9
    Views
    1,363

    VS 2013 Re: Code executing at design time

    TinTinMN and DDay9, thank you both very much! I didn’t know about the DesignMode property, but that solved the original problem. And the Dialog form is a much better solution for user input. This is...
  34. Replies
    9
    Views
    1,363

    VS 2013 Re: Code executing at design time

    Thanks for your input dday9. Seems like I have two issues to deal with now. I take your point on my misuse of DoEvents, I was simply trying to make my solution do nothing while waiting for input from...
  35. Replies
    9
    Views
    1,363

    VS 2013 Re: Code executing at design time

    I have a form with my menus, its load event populates the menus from the database (most other forms inherits this one). The code is the first lines in the load event of the menu form (i.e. it checks...
  36. Replies
    9
    Views
    1,363

    VS 2013 [RESOLVED] Code executing at design time

    Hi,

    I have a problem in Visual Studio Express 2013. It´s not urgent, but it makes me irritated, and also somewhat intrigued.

    I´m working on a windows desktop application that communicates with...
  37. VS 2010 Re: If... then conditioning now working with dgv

    Thanks for taking an interest Hiker. Actually, I just noticed i forgot to empty the context menu of items between queries. Not so mysterious after all, just a tired developer.
  38. VS 2010 If... then conditioning now working with dgv

    Hi everyone, I have a slightly odd problem.

    I use one datagridview to display the results of several different queries. For some of the queries I want a context menu on the MouseDown-event and for...
  39. Replies
    5
    Views
    980

    Re: List in select clause

    Thank you for all of your replies! I Went with Pradeeps suggestion wich worked perfectly after adding some ''-signs to my list items.
  40. Replies
    5
    Views
    980

    List in select clause

    I have a List(Of String) that contains a number of items selected by a user from a listbox. Now, I can use the list in a select clause like this:


    SELECT * FROM Table WHERE Field IN ('" +...
Results 1 to 40 of 40



Click Here to Expand Forum to Full Width