Search:

Type: Posts; User: make me rain

Page 1 of 13 1 2 3 4

Search: Search took 10.84 seconds.

  1. 5.0 Re: [RESOLVED] How to Restrict a class from being instantiated from particular class

    Yes sir it worked for me
  2. 5.0 Re: How to Restrict a class from being instantiated from particular class only

    Thank you:)
    namespace ProductionOperations{
    public class Parents
    {


    public void Do_ChildDesign()
    {
    ChildFactory Cf = new ChildFactory();
    Cf.DesignChild();
  3. 5.0 [RESOLVED] How to Restrict a class from being instantiated from particular class only

    For illustration purpose

    I have a class called ChildFactory & I need to restrict that, this class Can be called only by the Parents Class, but not by other classes
    how to restrict the...
  4. 5.0 Re: [RESOLVED] Inherited Form with Table lay out panel & Panel control, How to Add Co

    Even same is the case with flow control panel also
  5. 5.0 Re: Inherited Form with Table lay out panel & Panel control, How to Add Controls

    https://docs.microsoft.com/en-us/dotnet/desktop/winforms/controls/best-practices-for-the-tablelayoutpanel-control?view=netframeworkdesktop-4.8
    this gentle Does not support inherited form, It will be...
  6. 5.0 [RESOLVED] Inherited Form with Table lay out panel & Panel control, How to Add Controls

    I have Created a DLL in which i have created a windows form, with table lay out and panel control, keeping in view that this for can be inheritable in the referenced project.

    I have set the Table...
  7. 5.0 Re: Win forms extention method to Open Or show the existing instance to front

    Sir thanks for the reply
    First time i am seeing the syntax like this,
    public static TForm ShowOrActivate<TForm>(this TForm source) where TForm : Form, new() This is bit difficult for me to follow...
  8. 5.0 Win forms extention method to Open Or show the existing instance to front

    With win forms
    i am trying to have an extension method to open OR show the existing instance of the form , if its already open.
    but if the form is already open, it's not being presented at the...
  9. Re: Cast MySQL boolean / TTinyint(1) to dot net standard boolean (Invalid cast excep

    Thanks again sir
    i got it right,

    /*Create a test table in MySQL server
    to Check what the field type of the Boolean out put is*/
    DROP TABLE IF EXISTS test ;

    CREATE TABLE test AS
    SELECT...
  10. [RESOLVED] Cast MySQL boolean / TTinyint(1) to dot net standard boolean (Invalid cast exception

    here is the MySQL query

    SELECT TableName.Filed IS NOT NULL AS Cancelled FROM TableName
    the MySQL query returns 0 or 1
    Now while i fetching the Data table value, i am getting invalid cast...
  11. 5.0 Re: Pass type as the parameter to a method

    :) Got it sir
  12. 5.0 Re: Pass type as the parameter to a method

    Sir thanks for the guidance, now i can able to fetch data directly from the DataTable
    /// <summary>
    /// Returns cell value in a datatable, Of a row (row identified by the unique key value...
  13. 5.0 Re: Pass type as the parameter to a method

    Thanks for the reply sir
  14. 5.0 [RESOLVED] Pass type as the parameter to a method

    i need to pass the Type as the parameter of the function and use it.
    the Extension method is providing a short cut to extract the cell value of the datatable.

    /// <summary>
    /// Returns...
  15. 5.0 [RESOLVED] Encryption Class Error, Key length

    this is my class which Encrypts / Decrypts the string, But i am getting the error in the KeGen() Routine
    Error is
    System.Security.Cryptography.CryptographicException: 'Specified key is not a valid...
  16. Re: Best way to insert 7 million rows to a table

    Thanks to all
    it worked out as
    (1) The Triggers were deleted
    (2) Then i have uploaded the data
    Of course it took about 10 Hrs, but it worked out to be great

    But i have another series...
  17. Best way to insert 7 million rows to a table

    With MySQL 5.7+
    how to insert 7 million rows to a table, the table is having 2 after update & On after delete triggers which alters the data in some other table & which is unavoidable for me.

    the...
  18. VS 2019 Memory Stream To File Stream and Write File With progress Loop

    I am trying to Report the Write progress of a file in the background worker from Memory stream to file stream
    Of course the file is writing to local system, but without the progress display

    I ...
  19. 5.0 C# ComboBox extension method Suggest Append By any string

    I wanted to have an extension method to Combobox control which suggest the combobox list items by any part of the string. rather than the first part of the list items. i have done some coding but...
  20. Public function, map datatable to a class

    I am trying to have a function to map the Datatable single row to a class, and then return that class
    here is my try,
    public T GetDataSingle<T>( Type ClassName,
    String UDP,
    List<MySqlParameter>...
  21. MySQL get the client IP when SKIP-NAME-RESOLVE is disabled

    with MySQL 5.7
    I need to get the incoming connection IP,
    but the server is returning the host name as the part of connection since the SKIP-NAME-RESOLVE is disabled and i don't have the liberty to...
  22. find the last entry of a record ( With MySQL slow query)

    With MySQL 5.7.4

    i have 2 tables
    table : vehiclesMaster this table have about 1300 records

    CREATE TABLE vehiclesMaster (
    vehicleName varchar(15) NOT NULL ,
    vehicleId_pk varchar(6) NOT...
  23. Re: Dapper ORM example in ASP.Net MVC Project

    Hi
    i tried a bit of Dapper, but tired Can u please have a look at this thread please
    http://www.vbforums.com/showthread.php?872569-Code-is-looping-back-Why&highlight=dapper
  24. Replies
    1
    Views
    652

    Re: Code is looping back Why

    and this is how i use it

    private List<MapsModel> Get_MapsModelList()
    {
    DataExecution D = new DataExecution();
    return D.GetData<MapsModel>("m_mapsmodel");
    ...
  25. Replies
    1
    Views
    652

    Code is looping back Why

    i have tried the Below Code which user Dapper ORM and which suppose to gives me back a list<model> T
    what ever the UDP (user defined procedure) returns.
    but is is failing since the code is looping...
  26. Re: Dapper.StrongName error "parsing column system.byte[]"

    S:(rry for the late reply
    thanks a lot, the function it was returning binary data
    thanks for the solution
  27. [RESOLVED] Dapper.StrongName error "parsing column system.byte[]"

    with MySQL + Dapper.StrongNamed (i am newbie to dapper please :wave:)

    i am getting the error while initializing the Model class from a stored procedure
    here is the stored procedure, the...
  28. Re: VB.NET MySQL Application Will Not Connect on Clients Windows 10 64-bit PC...

    First ping from the command terminal the IP 198.27.87.232 you have provided
    & check and also check whether the WIFI is connected, try disconnecting the WIFI
  29. VS 2017 Re: windows application form resolution and application date culture

    thanks for the reply :)
  30. VS 2017 windows application form resolution and application date culture

    i need 3 important advises please

    (1) form size independent of OS resolution, its become my night mare that some controls on the form goes missing or the form become wild..

    (2) i need the user...
  31. Usercontrol default Gotfocus and Lostfocus behaviour

    i am creating a button User Control DLL, just for practice sake.

    is it possible to provide the default behavior for the Control on the UI.
    Say for Eg
    Control Enter and Leave events shall change...
  32. VS 2017 Re: Display images from a FTP folder in datagridview cell

    Sir
    while i do the download using Webclient & do display images in the datagridview image cell, the DownloadDataCompleted event is not triggering, what i am doing wrong here


    Imports...
  33. VS 2017 [RESOLVED] FTP file upload report %Ge of progress in Progress bar control

    Sir
    How can i get the progress percentage of file uploading And display in the progress bar, which object does this job
    here is my code

    PrivateSub BckgWkr_DoWork(sender AsObject, e As...
  34. VS 2017 Re: Display images from a FTP folder in datagridview cell

    Sir
    How can i get the progress percentage of file uploading And display in the progress bar, which object does this job
    here is my code

    Private Sub BckgWkr_DoWork(sender As Object, e As...
  35. VS 2017 Re: Display images from a FTP folder in datagridview cell

    Sir
    Thanks for the reply,
    I have a problem here I need to download and display the file, only if the file is an image
    I need to do it before I could down load the image stream from the FTP to...
  36. VS 2017 Display images from a FTP folder in datagridview cell

    http://www.vbforums.com/showthread.php?864485-RESOLVED-Load-Display-and-Download-images-of-onto-from-a-remote-computer-(vb-net-win-app)this post is the linked continue of the this thread, Saving...
  37. Re: Peculier , MySQL stored procedure inserting data of VARCHAR as 0 and 1

    Oh my god
    Thanks sir
  38. [RESOLVED] Peculier , MySQL stored procedure inserting data of VARCHAR as 0 and 1

    With MySQL
    i have a stored procedure which writes the data into table, and it does :confused: But the VARCHAR is getting stored as 0 and 1
    here is my stored procedure

    CREATE DEFINER =...
  39. VS 2017 Re: Load, Display and Download images of onto/from a remote computer (vb.net win app)

    Thanks for the advice and i decided to go with FTP :)
  40. VS 2017 Re: Load, Display and Download images of onto/from a remote computer (vb.net win app)

    Sir
    thanks for the reply
    actually i never done it before i had no right approach idea
    of course the UNC path on the server may workout for me, but what are the pitfalls in this approach against...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width