User Profile

Collapse

Profile Sidebar

Collapse
Frinavale
Frinavale
Last Activity: Nov 3 '20, 09:58 PM
Joined: Oct 13 '06
Location: Canada
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Do you need the foreach at all if you just want to print the details for a single, known/found object?
    See more | Go to post

    Leave a comment:


  • The idea behind this pattern is really to create an abstract layer between your classes and their data-store (the place(s) where their data is persisted).

    Essentially, your class needs to be able to persist data in a repository somewhere...may be it's stored in a SQL database, or CSV file, or XML file...or maybe the data is stored in multiple places and needs to be aggregated together for your class's repository.

    The...
    See more | Go to post
    Last edited by Frinavale; Nov 3 '20, 09:13 PM.

    Leave a comment:


  • Frinavale
    replied to Setting recordset to Sub Sub Form
    It seems like a lot of work to loop through a record set to look for rows that contain a search word.

    So, I just have a quick question (and I don't even know if it pertains to your current application but..), did you try using the Recordset.Filte r Property of the original record set to get a version of it filtered on your search word?
    See more | Go to post

    Leave a comment:


  • Is the data you want to insert into the Data Table already in another Data Table (or tables)?

    You can use the Select statement with the Insert statement like this:
    Code:
    Insert Into Table1(ColID, ColNumber, ColDate)
    Select tbl2ID, tbl2NO, tbl2Date FROM Table2
    See more | Go to post

    Leave a comment:


  • The controller has a request property that returns a HttpRequestBase that has a number of properties and methods that you can use to find information about the request.

    See the link I posted to the documentation to learn more.
    See more | Go to post

    Leave a comment:


  • Frinavale
    replied to How to convert this C# code to vb.net
    According to the documentation on the MSDN Library for the PostAsJsonAsync method...it is only available if you are referencing the System.Net.Http namespace in the System.Net.Http .Formatting assembly.

    Make sure you have referenced everything appropriately.
    See more | Go to post

    Leave a comment:


  • Frinavale
    replied to how add fingerprint reader?
    I suggest you do some research into bio-metric readers that have software development kits (SDKs) available for you to use in your application.

    Once you have a reader, and the ability to access the information it provides on a read, you can write your application.
    See more | Go to post

    Leave a comment:


  • There are a number of string manipulation methods that you can use in Python. Check out this quick reference for String Manipulation in Python.

    What you could do is use the split method on each string you get from the file on the , character which would give you an array of 2 words.

    Then you would make a new string by concatenating the values into the right positions.

    For example:
    Code:
    oldString = "2305,11770"
    ...
    See more | Go to post

    Leave a comment:


  • Frinavale
    replied to awt andswing in java
    in Java
    Swing is a GUI toolkit for Java.

    AWT stands for Abstract Window Toolkit and is the predecessor of Swing.
    See more | Go to post

    Leave a comment:


  • Please repost the error message and tell us what line the problem is happening on so that we can help you.
    See more | Go to post

    Leave a comment:


  • The first thing you should do is investigate the algorithm you need in order to make your prediction. This algorithm does not need to be implemented in Java yet...you just need to gather a list of all of the data that you need to make your prediction and an idea of the steps/processes you need to use to make the prediction.

    After you know how your algorithm is going to work, and you know what data you need to make it work... Then you...
    See more | Go to post
    Last edited by Frinavale; Mar 12 '18, 05:56 PM.

    Leave a comment:


  • Frinavale
    replied to convert this query into storeprocedure
    Use the Create Procedure statement to create your procedure...

    See this documentation for the CREATE PROCEDURE and CREATE FUNCTION Syntax.
    See more | Go to post

    Leave a comment:


  • So, apparently my problem a known bug in the mobile templates.

    Apparently, if the post count is set to less than 5 posts, then the mobile homepage will always show minimum 5 posts.

    So, to get around this bug I had to edit the site's template and hard code the number of posts shown to 1.

    I also, in the case that it is the index page (home page), modified it so that the full post was displayed instead of the...
    See more | Go to post

    Leave a comment:


  • What error are you getting?

    Assuming your txtSasia is a TextBox, then txtSasia.Text is already a string.

    Do you want to convert that into an Integer?
    Use the Integer.TryPars e Method...
    Code:
    Dim sasiaInt As Integer
    Integer.TryParse(txtSasia.Text, sasiaInt )
    cmd.Parameters.AddWithValue("@sasia", sasiaInt)
    Dim cmimiInt As Integer
    Integer.TryParse(txtCmimi.Text, cmimiInt )
    ...
    See more | Go to post

    Leave a comment:


  • I may be a bit off here since I don't usually work with Access but you should be able to Group By your ShowDate and select distinct ShowDate/Customer(s) having a count that is greater than or equal to 2.

    Something like:
    Code:
    SELECT ShowDate, Count(*) as NumCustomersShown FROM (SELECT DISTINCT ShowDate, Customer FROM @PropertyShowings)
    Group By ShowDate
    Having Count(*)>=2
    Where my @PropertyShowin gs...
    See more | Go to post
    Last edited by Frinavale; Mar 6 '18, 02:46 PM.

    Leave a comment:


  • The SQL 'distinct' statement is used to return only distinct (different) values. So if you have multiple records with the same CITY value, this will only return records that have different values (see the link for more details)
    See more | Go to post

    Leave a comment:


  • Automatically Display Most Current Post in Blogger (Mobile)

    Hi,

    I have started a blog for a local group that I volunteer with so that we can communicate with the public, post information about ourselves, and provide a means for the public to get in touch with us. We are using Blogger since it is a free blogging service offered by Google and it is relatively easy to use so that members can maintain the site going forward. Currently the website is using the "Travel" theme that has been...
    See more | Go to post
    Last edited by Frinavale; Mar 6 '18, 03:24 PM.

  • Notes:
    • you cannot have a static variable declared inside a method in C# so the static definition of the array of longs was moved outside of the method
    • &H80000000 is a hex number in VB.NET but in C# the hex notation is 0x80000000
    • this Power2 = result(exponent ) is an old school vb way of returning a value...therefo re the return keyword was used instead

    Code:
    static long[] result = new long[32];
    private long Power2(long exponent){
    ...
    See more | Go to post
    Last edited by Frinavale; Feb 28 '18, 10:14 PM.

    Leave a comment:


  • Frinavale
    replied to Data Grid Views
    Ah, this seems to be a duplicate question but I will answer it since you have provided more details and code snippets I can actually refer to.

    Your dgv_Records is a DataGridView that is part of Form1 and since it isn't a shared (aka static) variable it cannot be used in your shared method.

    So modify your testsub method signature to remove the "Shared" modifier:

    Code:
    Public Sub testsub()
    ...
    See more | Go to post

    Leave a comment:


  • Frinavale
    replied to Auto hide panels, or pin the panels
    in .NET
    I would imagine that each of your "panels" would be user controls.

    That you would have to implement customized drag/drop logic for your windows to detect when one of your panels is moved within the window, out of the window (into a new one) etc.

    Based on the huge scope that would be involved in answering your question, and the fact that you have stated that this is "urgent" (doesn't it seem like it's...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...