CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: daniel50096230

Page 1 of 8 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    716

    DateTime Format

    The following is my code:



    Public Sub UpdateStaffMovement()
    Dim str As String = "05/09/2017" '5th Sept 2017
    Dim Staff_Confirm_Date as Date =...
  2. Web Api Controller calling another controller

    I am trying to call a function from another controller. But it gave me error "cannot implicitly convert type 'System.Web.Http.IHttpActionResult' To list". How can I change my codes to make it...
  3. Replies
    1
    Views
    762

    SMS hyperlink

    I had wrote a set of codes to send SMS to mobile phone. The hyperlink is working at most of the mobile phone, however there are some of the mobile phone not recognize the link as hyperlink. I am...
  4. Cannot implicitly convert System.Linq.IQuerayable to xxx

    Hi,

    I had the following codes:



    [ResponseType(typeof(cvwSMSInbox))]
    public IHttpActionResult GeteSMSInbox(string id, string search)
    {
    AESContext db = new...
  5. Intefaces to access child form variables

    Hi, I had the following code to access variables from child form into parent form:



    Public Interface IChildVariable
    Property objbeCustomer() As...
  6. Replies
    0
    Views
    708

    Activator create multiple instance

    I had the following code:




    Dim oType As System.Type
    Dim oAssembly As System.Reflection.Assembly
    Dim oObject As Type

    oAssembly = Assembly.LoadFrom(strStartup +...
  7. Replies
    3
    Views
    8,492

    Re: string literal

    I know for a static string I can put @"ABC\DB" to make it remain as one "\". But how can I do in a dynamic string?
  8. Replies
    3
    Views
    8,492

    string literal

    Hi, I had code below:



    objbeSettings.ConnectionString = Convert.ToString(xmlConfig.SelectNodes("/Settings/ReportSettings[@Type='" + objbeSettings.TotalDB +...
  9. Replies
    0
    Views
    2,180

    Set Printable Area

    I have the following code:




    Private Sub Print()
    Try
    If m_streams Is Nothing OrElse m_streams.Count = 0 Then
    Throw New Exception("Error: no stream to...
  10. Replies
    1
    Views
    1,543

    Excel call .xla file

    Hi, I had the following code:



    Dim xlApp As Excel.Application = Nothing
    Dim xlWorkBooks As Excel.Workbooks = Nothing
    Dim xlWorkBook As Excel.Workbook =...
  11. Excel Active Workbook Open Another File

    Hi all,

    I have the following code to open my workbook:



    Dim xlApp As Excel.Application = Nothing
    Dim xlWorkBooks As Excel.Workbooks = Nothing
    Dim...
  12. Re: Excel Formula Dollar Sign issue

    Thanks. I found out the issue already.
  13. [RESOLVED] Excel Formula Dollar Sign issue

    Hi,

    I had the following code in my Excel:




    .Range("F1:F1").Value =...
  14. [RESOLVED] Measure Code Execution TIme

    Hi,

    I had the following code:



    Static start_time As DateTime
    Static stop_time As DateTime
    Dim elapsed_time As TimeSpan
    start_time = Now
  15. Replies
    1
    Views
    1,149

    Timer Resize Label Width

    Hi, I had the following code:



    Private Sub btnTransfer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnTransfer.Click

    Timer1.Interval = 1000
    Timer1.Enabled =...
  16. Replies
    1
    Views
    1,070

    Linq Not Exists Issue

    Hi,

    I had the following sql query in my database:

    SELECT Company_ID, Reference_ID, Control_Category, Value, Effective_From, Effective_To, Link_ID
    FROM COURSE.RT_Course_Control_Setting CCS...
  17. Replies
    0
    Views
    2,240

    JavaScript Javascript result pass to URL.Action

    I had the following code:



    <div class="pager" id='Paging' style="text-align:center">
    Page @(Model.PageCount < Model.PageNumber ? 0 : Model.PageNumber)
    of @Model.PageCount

    ...
  18. RestSharp Passing Parameter to Web Api

    Hi,

    I had the following code to call my webApi.



    public EFileInfo UploadFile(string WebApiBaseAddress, string WebApiServiceUrl, WebApiParameters webParams)
    {
    ...
  19. Thread: Web Api

    by daniel50096230
    Replies
    3
    Views
    2,696

    Re: Web Api

    Hi,

    Yes, the codes was not supported. So I amend my codes to below:




    public string UploadFile(string WebApiBaseAddress, string WebApiServiceUrl, WebApiParameters webParams)
    ...
  20. Thread: Web Api

    by daniel50096230
    Replies
    3
    Views
    2,696

    Web Api

    Hi, I had the following code written in VS2013.



    public EFileInfo UploadFile(string WebApiBaseAddress, string WebApiServiceUrl, WebApiParameters webParams)
    {
    EFileInfo...
  21. Replies
    0
    Views
    1,086

    ToolStripSplitButton Image Path

    Hi, I try to get the toolstripsplitbutton image from a folder but unsuccessful. Is there any problem on my codes?



    toolstripsplitbutton1.Image = Image.FromFile(strStartUpPath + "JS.gif")
  22. Replies
    1
    Views
    1,460

    VB.NET capture camera action

    Hi, I has a USB camera. I would like to write a program to prompt a message when user click the capture button on the camera. Is there possibilities for me to capture the action on the camera such as...
  23. Replies
    1
    Views
    2,098

    Shift + Tab Key Down

    I had the following code:



    Private Sub Me_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
    If (e.KeyCode = Keys.Tab And e.Shift)...
  24. Replies
    0
    Views
    1,194

    Load ReportViewer Component

    Hi, I has a question here. Everytime when I first running RDLC report in ReportViewer, the speed was very slow. But then the following report will be run very fast. Is it caused by the ReportViewer...
  25. Replies
    1
    Views
    1,374

    Hide Printing Message in ReportViewer

    Please refer to attached. How can I hide the box "Printing Page 1 of document" after we click the print button in report viewer?
Results 1 to 25 of 177
Page 1 of 8 1 2 3 4





Click Here to Expand Forum to Full Width

Featured