Search results for query: *

  • Users: AussieBoy
  • Content: Threads
  • Order by date
  1. A

    Blazor and Azure HttpTrigger

    Hi, I have been going through the tutorial on How to create serverless websites with Blazor and Azure Functions Part One and https://www.allhandsontech.com/programming/blazor/serverless-websites-blazor-part-2/ I can not get the blazor app to work the second half of the second part of the...
  2. A

    Appropriate resource

    Hi, I am looking for appropriate training resource for frame work basics that will cover DTO's and using them with Azure trigger functions. A resource that is straight to the point and doesn't go off on tangents. Thanks.
  3. A

    Azure Function HTTP trigger

    Hi, I'm not sure if this is in the right place. How do I add a body to the HTTP trigger function. Thanks,
  4. A

    MudBlazor Modal

    Hi, I am going through tutorials and code to get a start with Blazor and MudBlazor. This is the page I am looking at. https://mudblazor.com/components/dialog#api My project even when zipped is too large to upload. Its not my code. It is just code I am trying to trial things out with. Thanks...
  5. A

    List in Class

    Hi, how do I populate a list with in a class. So that there elements with in it when it is created. C#: class AClass { private List<ListModel> ListModellist = new List<ListModel>(); } Name = "NameTest", Description = "DescriptionTest", Date = DateTime.Now //etc Thanks,
  6. A

    String to date time

    Hi, I am trying to use His.Interface.LoadDataValue(4, 192, DateTime.Now, csvList[4]); The code above works. Of course the DateTime value is the current date time. Instead of DateTime.Now I want to base the DateTime value from a string, from a column of a csv file csvList[1]. Example...
  7. A

    Resolved SaveAs excel file

    Hi, I am trying to run the below code. I have used similar and it has worked. However, when I try to open this with excel it complains about the format or file type. Hopefully something simple. But I cant see it at the moment. Thanks, xlWorkBook.SaveAs("C:\\DM\\Batches\\Batch" + BN + "\\" +...
  8. A

    Best way to go about a programming task

    Hi Guy's, I am not sure if I am heading in the right direction with a task I have to complete and I have no one at work to ask. The task involves opening an excel spread sheet grabbing two columns of data, three if possible. Then retrieving the data to use like a look up. What is the best way to...
  9. A

    Excel cell dealing with nulls and doubles

    Hi, I am attempting to pick up values from an excel spread sheet. The first cell is null and the code catches it. The second cell is a double and the same code that checks for null fails. Can I and how do I get around this. Thanks, I only want the cell values that are a double and convert these...
  10. A

    FTP file upload

    Hi, Can I upload a file using FTP from an IP address? When I go to windows explorer and type ftp://xxx.xx.x.xxx/ It shows me the files at that location. I know the file name and its extension. I would like to move the file to a folder on the hard drive of my machine. Thanks,
  11. A

    Answered Convert string data to datetime

    Hi, can I pass a string data into a datetime? I have a string BufferDateTime containing 2020,07,22,16,11,38 dt = new DateTime(BufferDateTime); Do I convert it to a long? Thanks
  12. A

    ScxV6Server objServer

    Hi, I have some code that I saved in a text file. I would like to re use it. However, I now get an error with this line - His.Interface.LoadDataValue(1, 192, DateTime.UtcNow, sampleGS); Severity Code Description Project File Line Suppression State Error CS1061 'object'...
  13. A

    Rest XML

    Hi, I have to create a REST program to consume XML. Is RestSharp the best way to go? and then use XMLconvert? If there are any tutorials to help me on the way. I would appreciate being made aware of them. Also of a test API I can use for Rest XML please. Thanks,
  14. A

    Question Form loses focus

    Hi Gents, my form loses focus. It was working ok. Thanks, namespace TestClient { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() {...
  15. A

    Question Json Nest within a nest

    Hi Guy's, if I have a nest with in a nest in json. How do I get the count of the inner nest? Thanks, int Count = Root.tasks[i].Item.Count();
  16. A

    Question Response with nest

    Hi, I am new to Json. I have been managing with Json up to now. However, I have an example, which has a nest with in it. I have been using something like Values[1] = Root.workData.calculatedFlag.ToString(); How do I deal with this? I guess we have to iterate through the custom attributes /...
  17. A

    Answered Json De-serialise different root objects

    Hi, I have code that reads values via Json using Root and RootObject. It works fine. However, I now want to write to another system with in the same program, with different classes. I have tried something like below. Which I get 'Object reference not set to an instance of an object.'. I have...
  18. A

    Question Soap.ExecuteQuery Concatenate variable values

    Hi, how do I concatenate the values into the second part of the statement. I have tried a number of format attempts, but have had no luck. Thanks, retobj = MySoap.ExecuteQuery("INSERT INTO Data (Value1, Value2, Value3, Value4, Value5) VALUES (Value1, Value2, Value3, Value4, Value5)", obj, out...
  19. A

    Answered DNP3 file transfer

    Hi, I am looking into DNP3 file transfer with C#. I have a number of DNP3 address's. I need to retrieve a file from them into a local folder. Has anyone done this, is the libraries I can use? Thanks,
  20. A

    Answered Concatenate Query String

    Hi, I have the below code. How can I concatenate the number of the "Group 1" into the query string, so that I can increment it. I have tried a number of ways with no success. I am sure I have done it before a while back. But cannot find an example. Thanks, retobj = MySoap.ExecuteQuery("Select...
Back
Top Bottom