Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

StylezHouse

@StylezHouse
About
Posts
38
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Old Application - MDB2 Data?
    S StylezHouse

    Hey all, was hoping you could help me with a little info here. There's this application we use that's around 10+ years old, and I'm pretty sure it was written in C++. There are some data files it uses with an extension of ".md" and a fileheader of "MDB2" I was wondering if anyone's come across a database or file type like this in the past. My reasoning is, the source for the app has been lost for some time, but that's ok, the app itself runs decent enough, but we'd really like to update the data in these files if possible. The powers that be are hoping it's a known format, but I've tried just about everything I could think of to access them. Thanks!

    C / C++ / MFC c++ database agentic-ai help question

  • No parameterless constructor defined for this object.
    S StylezHouse

    Uhh please advise what? The error is REALLY descriptive, and two people here have given you the answer. I advise you learn .NET or something, if you can't even figure out what a paremeterless constructor is.

    ASP.NET html help question

  • Exception Handling
    S StylezHouse

    You can declare the dataset outside of the Try block, and in the event of an error, add an Errors Table too it that contains all of the info. Then check for the existance of that table on the return trip.

    ASP.NET question csharp database visual-studio sysadmin

  • Exception Handling
    S StylezHouse

    Try this? [WebMethod] string MethodName { try { ..Your Code return ""; } catch (SqlException ex) { return ex.Message; } } So in the event of an error, your method will return the error message, otherwise returns an empty string, or null if you prefer?

    ASP.NET question csharp database visual-studio sysadmin

  • 3-Tier Coding
    S StylezHouse

    Wow...

    rei ayumi wrote:

    1:When begin,what codes should i added first?

    ....

    rei ayumi wrote:

    2:What is the code for the link control from a web form to another?

    <a href="page2.aspx">Goto Page 2</a>
    <asp:hyperlink id="Page2Link" runat="server" navigateurl="page2.aspx" />

    rei ayumi wrote:

    3:How to connect to microsoft access? 4:How to make the buttons to scroll the info? 5:How to make the data to be read according to the link topic under the same database?

    Seems to me you don't even know the basics... I'd suggest you get a book...or 12....and read some tutorials, or follow by example, lots of great code on this site.

    Visual Basic question csharp database help tutorial

  • Autodownload Acrobat reader from web browser
    S StylezHouse

    I don't believe there is anyway for the server to know that the user successfully opened a file with a specific application. Unless you use some kind of ActiveX control or something, I don't see anyway to do what you want.

    ASP.NET com adobe tools question

  • Naval or Space Battle Strategy game
    S StylezHouse

    Starcraft is the coolest game on the whole damn planet =)

    The Lounge game-dev question

  • How to make the connection globel
    S StylezHouse

    This is a little cleaner...

    Public Sub Page_Load()
    TxtTotalCus.Text = GetValue("Select Count(cuscode) From CusDetail where SalesManNo='" & SaleManNo & "'")
    TxtTotTel.Text = GetValue("Select Count(cuscode) From CusDetail where SalesManNo='" & SaleManNo & "' and WayOfBooking like '%Telephone%'")
    TxtTotalPP.Text = GetValue("Select Count(cuscode) From CusDetail where SalesManNo='" & SaleManNo & "' and WayOfBooking like '%Presentation%'")
    TxtTotOutDoor.Text = GetValue("Select Count(cuscode) From CusDetail where SalesManNo='" & SaleManNo & "' and WayOfBooking like '%Out door%'")
    End Sub

    Private Function GetValue(ByVal Query) As String
        Dim cn As New SqlClient.SqlConnection("Initial Catalog=SalesMgt;data source=Murtuza;uid=sa;pwd=sumayya;")
        Dim Cm As New SqlClient.SqlCommand(Query, cn)
        Dim strReturn As String
        Try
            cn.Open()
            strReturn = Cm.ExecuteScalar
            If strReturn Is Nothing Then
                strReturn = String.Empty
            End If
        Catch ex As Exception
            'Handle Error
        Finally
            Cm.Dispose()
            cn.Dispose()
        End Try
        Return strReturn
    End Function
    
    ASP.NET tutorial

  • Getting the value of a single cell in a datagrid
    S StylezHouse

    Close... StatusGrid.Items(1).Cells(1).Text()

    Visual Basic question csharp

  • Labels and Mouse
    S StylezHouse

    First off, the conversion wizard is the devil, just rewrite

    Agreed, once you have the fundamentals down, I'd suggest a complete rewrite as well.

    Visual Basic data-structures question

  • Interactive Graphics on a Web page
    S StylezHouse

    Right, but on an html page an image is an html element. You can obfuscate JavaScript code also, but if that's unacceptable, then the only solution I see is using Flash.

    ASP.NET graphics game-dev adobe tutorial

  • Need advice on best ways to launch and control another application.
    S StylezHouse

    SendKeys!! Thats what I was thinking of...

    Visual Basic question json tutorial

  • dynamically adding links
    S StylezHouse

    Here's a pretty good example on using the repeater control. http://www.asp101.com/articles/john/repeater/default.asp That should help you out. And it seems you need to create a class called NewsLink that inherits Hyperlink. That has additional properties of OnMouseOver, and OnMouseOut, and when those values aren't empty, they are applied to itself. Use that inside of your repeater, with an unordered list, and you'll be good to go.

    ASP.NET help database

  • Need advice on best ways to launch and control another application.
    S StylezHouse

    It's been a while, but I think you want to look at the sendmessagee function in the win32 api.

    Visual Basic question json tutorial

  • Interactive Graphics on a Web page
    S StylezHouse

    DirectX and OpenGL won't work for an Asp.NET page. Take a look at www.google.com/ig Create a free account, and check it out, you can move all kinds of stuff around. You can use GDI on the backend for dynamic image creation.

    ASP.NET graphics game-dev adobe tutorial

  • Sound of Refresh
    S StylezHouse

    You're referring to the click correct? You can't. That's a browser setting.

    ASP.NET com

  • dynamically adding links
    S StylezHouse

    Create a class that inherits the hyperlink or label. Give it the extra properties you need it to display. And make it render them properly. Use that class inside of a repeater, and databind a collection to it. Probably a ton of ways to implement what you want, but I think at first glance, that's the route I'd take.

    ASP.NET help database

  • Namespace?
    S StylezHouse

    Namespaces are a simple way of structuring your code into simular areas. Think about it like this. The System.Data.SqlClient namespace contains all of the sql data objects and the System.Web.UI.WebControls contains all of the webcontrols. So the Datagrid is a class in the System.Web.UI.WebControls Namespace. Kind of babbling because its late, but do you get the idea?

    ASP.NET csharp asp-net database question xml

  • Replication
    S StylezHouse

    You need to use DTS not Replication.

    Database database help tutorial question

  • Datagrid Designer question
    S StylezHouse

    Either way it gets "Hard Coded" Just expand the Region of auto generated microsoft code and you'll see it.

    ASP.NET question database
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups