User Profile

Collapse

Profile Sidebar

Collapse
BezerkRogue
BezerkRogue
Last Activity: Jul 15 '08, 12:22 PM
Joined: Oct 17 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • VBScript-Unable to get connected to database

    I have created a script that automates the launching of an application based upon a value in the registry. For some reason, it is not connecting to the database to read what application it's supposed to launch. I have combed over this script and can't figure out what the issue is. Please help.

    Code:
    ' VBScript File for synchronizing error proofing applications and launching the correct EP application on station start up.
    ...
    See more | Go to post

  • BezerkRogue
    replied to VB Script - Unable to launch apps
    I figured it out. Switched to the EXEC method and it runs perfectly.
    See more | Go to post

    Leave a comment:


  • BezerkRogue
    started a topic VB Script - Unable to launch apps

    VB Script - Unable to launch apps

    I have created a VB Script to synchronize software versions and then launch an application on the system it is run against. The script runs and generates no errors but will not launch the second application. The application name is dynamic and is selected from table. WScript.Echo verifies that it is calling the correct application and the path statement is correct. Also the application does reside where I am calling it from.

    ...
    See more | Go to post

  • BezerkRogue
    replied to w3wp Problem PLEASE HELP!
    in IIS
    Are you running SQL Server and IIS on the same server? Also, have you made sure that your SQL server has the latest patches from Microsoft?
    See more | Go to post

    Leave a comment:


  • This page is by far the longest that I have written. I am a newbie to coding so I tend to make many mistakes most experienced coders don't. It appears that was the case here. After going over the code for what seems like the millionth tme, I discovered that I didn't add the Data SQL parameter at all so it was never being passed. Thanks for all of your help... I have actually learned some new tricks from this.
    See more | Go to post

    Leave a comment:


  • The exception is the same. The field in the page has data so I'm not sure what is happening with it.
    See more | Go to post

    Leave a comment:


  • I have checked the file and made sure that all cases match between my code and the stored procedure. I am still getting the error. This is the code that I am getting it on:

    Code:
    If c11 IsNot Nothing Then
                If c11.[GetType]() Is GetType(Label) Then
                    Dim ca11 As Label = DirectCast(c11, Label)
                    controlText = ca11.Text
                    If c11a.[GetType]() Is GetType(TextBox)
    ...
    See more | Go to post

    Leave a comment:


  • The site is located on the same server as the database. The computers are accessing it from within the corporate network so there is no firewall between them. Here is the stack trace from the error message.

    [Stacktrace]
    [SqlException (0x80131904): Procedure or Function 'UP_WEB_ADD_DAT A_POINT' expects parameter '@DATA', which was not supplied.]
    System.Data.Sql Client.SqlConne ction.OnError(S qlException exception, Boolean...
    See more | Go to post

    Leave a comment:


  • BezerkRogue
    started a topic ASP.NET- Database entry fails after 11 records
    in .NET

    ASP.NET- Database entry fails after 11 records

    I am using this code to enter records into a SQL DB. It fails after 11 records. Can anyone tell me what's wrong?

    [CODE=vbnet]
    Protected Sub cmdSubmit_Click (ByVal sender As Object, ByVal e As System.EventArg s) Handles cmdSubmit.Click
    'Create Date variable
    Dim d0 As Date
    d0 = occDate.Selecte dDate
    'Create frequency control
    Dim Freq2
    Freq2...
    See more | Go to post

  • That worked perfectly. Thanks for the help. I was totally lost there.
    See more | Go to post

    Leave a comment:


  • It is showing the text I entered into the box. I typed in 23. Could this code resolve the issue that I am having?
    See more | Go to post

    Leave a comment:


  • Here is the Override code:
    Code:
        Public Overrides Function ToString() As String
            Return Me.ca.text + "---"
        End Function
    It get an error that ca is not a member of HR_HR2. I get the same error is I insert the variable for the find control.
    See more | Go to post

    Leave a comment:


  • I am having difficulties with this as I am not using C#. I have tried to duplicate the code but can't. I scrapped it and used the code I inserted earlier.
    See more | Go to post

    Leave a comment:


  • It comes up with nothing. The code I have inserted is:

    Code:
    cb = c0a.ToString()
    System.Console.WriteLine(cb)
    See more | Go to post

    Leave a comment:


  • Ok. I am new to this. How do I do that?
    See more | Go to post

    Leave a comment:


  • It is only showing a LabelSystem.Web .UI.WebControls .TextBox. It should be displaying 23.
    See more | Go to post

    Leave a comment:


  • BezerkRogue
    started a topic Converting web control from string to decimal.
    in .NET

    Converting web control from string to decimal.

    I have created some code that finds controls in a datalist that is generated from a SQL query. It takes the control and puts the data into a string. Here is the code.

    Code:
    If c0a IsNot Nothing Then
                        If c0a.[GetType]() Is GetType(TextBox) Then
                            cb = c0a.ToString()
    I need to convert that to a decimal. I am using the following code to do this.
    ...
    See more | Go to post

  • BezerkRogue
    replied to Creating Web Applications in VB.NET
    in .NET
    Have you created the website on your computer or does it exist on another server? It saying that it doesn't find the website.
    See more | Go to post

    Leave a comment:


  • BezerkRogue
    replied to Dynamic Variables-ASP.NET
    in .NET
    I apologize for that lapse in decorum. Here is the code with the code tags.

    [CODE=asp]
    <asp:DataList ID="RN" runat="server" DataSourceID="S qlDataSource2">
    <ItemTemplate >
    <asp:Label ID="Label1" runat="server" Text='<%# Eval("Header") %>' Width="454px" Font-Size="24px" Font-Bold="true"></asp:Label>...
    See more | Go to post
    Last edited by BezerkRogue; Feb 16 '08, 01:45 AM. Reason: Name specific connection string in code.

    Leave a comment:


  • BezerkRogue
    replied to Dynamic Variables-ASP.NET
    in .NET
    I will look at it. This is the revised code. I mistakenly entered the code from a previous attempt. The menu passes the values of for the deparment and frequency and the datalist is built from the resulting recordset with two textboxes added.
    [code=asp]
    <asp:DataList ID="IL" runat="server" DataSourceID="S qlDataSource1">
    <ItemTemplate >
    <asp:Label...
    See more | Go to post
    Last edited by Frinavale; Feb 14 '08, 03:18 PM. Reason: Added [Code] Tags

    Leave a comment:

No activity results to display
Show More
Working...