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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
G

gunnar66

@gunnar66
About
Posts
33
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Start Internet explorer with a fixed size
    G gunnar66

    Hi When a user is typing in my aspx address I would like Internet explorer to start up with a fixed size. How can I do this? And is there a way to find out the screen resoltion for the user. e.g 1024x768 or 1280x1024 ... thanks

    ASP.NET question

  • Link to other aspx file
    G gunnar66

    Hi It work just fine with Response.Redirect thx for your support! Gunnar

    ASP.NET question csharp html asp-net sysadmin

  • Link to other aspx file
    G gunnar66

    Hi That look like a good idea. But under the linkbutton what does the code look like to open the other aspx file. Can i use href here? Thx

    ASP.NET question csharp html asp-net sysadmin

  • Link to other aspx file
    G gunnar66

    Hi I would like to have a link on my page to a other .aspx file. Something like this: Open Report But the machine (gunnar this time) is not known. I have to find the machine name. That I can do in code(I use VB in asp.net) behind a button like this: Dim strRequestMethod as String strRequestMethod = Request.ServerVariables( "SERVER_NAME" ) But Then I can not use href in html, beacuse I dont know the machine name. How can I do this? If its not possible to have a link, then how can I do it with a button? Thx The other aspx file lying in a other directory on the same machine(gunnar) http://gunnar/ReportSceduler/Report.aspx -- modified at 9:28 Tuesday 27th September, 2005

    ASP.NET question csharp html asp-net sysadmin

  • Connect to a database with with a odbc connection
    G gunnar66

    Hi Ok I will give it a try. But that is, OleDbConnection will not work with system dsn? Thx

    ASP.NET database csharp asp-net com question

  • Connect to a database with with a odbc connection
    G gunnar66

    Hi Try to connect to a database with a odbc connection (system dsn) Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; DSN=NRS" Dim dbConnection As System.Data.IDbConnection = New System.Data.OleDb.OleDbConnection(connectionString) This will not work. why? I have tried this, this worked ok Dim connectionString As String ="Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data Source=C:\Inetpub\wwwroot\db1.mdb" Dim dbConnection As System.Data.IDbConnection = New System.Data.OleDb.OleDbConnection(connectionString) What should I do to get this right? I am useing ASP.NET and web matrix Regards Gunnar

    ASP.NET database csharp asp-net com question

  • Printing in VBA
    G gunnar66

    Hi I would just like to know how to print a simple text file from VBA. In VB6 I use this method: Open FileName For Input As x Do While Not EOF(x) Line Input #x, s Printer.Print s Loop Printer.EndDoc But in VBA this is not possible. Any suggestion on how to print from VBA? Regards Gunnar

    Visual Basic tutorial question

  • server-side ASP:Labels
    G gunnar66

    Hi Thank you, that seems like that fix my problem. Well actually there is one more thing, the button also move after i have opened the file. Thanks

    ASP.NET graphics sysadmin debugging

  • server-side ASP:Labels
    G gunnar66

    Hi Test.htm look like this. I have an Excel files with some numbers and a chart that show this numbers. I then save it as a htm file. If I delete the chart and then save it again, the borders in the table looks ok.

    ASP.NET graphics sysadmin debugging

  • server-side ASP:Labels
    G gunnar66

    Hi When I push a button, I want to view a file in a overflow DIV. This works ok if the .htm file I open do not contain any graphics. If it do contain graphics, the border on my TABLE will dissapear when I open the file. Any idea Here are some code to see what i try to do: <%@ Page Language="VB" Debug="true" %> <%@ import Namespace="System.IO" %> ' Insert page code here Sub Button1_Click(sender As Object, e As EventArgs) Dim dirFile as string = Server.MapPath("test.htm") Dim objStream as StreamReader = File.OpenText(dirfile) Dim strContents as String = objStream.ReadToEnd() objStream.Close() lblFileContents.Text = strContents End Sub

    Some text

    some text

    ASP.NET graphics sysadmin debugging

  • Open a popup window from.net code behind
    G gunnar66

    Ok Thanks for your help.

    ASP.NET csharp com design tools question

  • Open a popup window from.net code behind
    G gunnar66

    Hi 1. Is it possible to change the client script? The user is filling out start and stop time. A exe program generates a html page for me. 2. I don't know how too do this, but i try to find out. Thanks

    ASP.NET csharp com design tools question

  • Open a popup window from.net code behind
    G gunnar66

    Hi there I am not that good in asp.net programming. But what I need to do is this. A user is filling out som criteria and then I send this value to a access database. A VB.exe program is checking this value and give me respond back. The information I get from the VB.exe prog is the .html page I need to open. So if there is a other way to do this thats fine, but all methods I find to open a new window, you have to know the name of the html page. Thanks

    ASP.NET csharp com design tools question

  • Open a popup window from.net code behind
    G gunnar66

    Thanks But in the button its not always the same .html page that I want to open. When I push the button I first have to lookpup in a database to find out which html page that I need to open. So its not possisble to move this to the Load event, because I not know the name of the .html page. How can I do this?

    ASP.NET csharp com design tools question

  • Open a popup window from.net code behind
    G gunnar66

    Hi I am trying to open a new window from a button in my aspx side. This works, but I have to push the button 2 times before it open. Any idea? Public Shared Sub OpenPopUp(ByVal opener As System.Web.UI.WebControls.WebControl, ByVal PagePath As String) Dim clientScript As String 'Building the client script- window.open clientScript = "window.open('" & PagePath & "')" 'register the script to the clientside click event of the opener control opener.Attributes.Add("onClick", clientScript) End Sub Sub Button1_Click(sender As Object, e As EventArgs) OpenPopup(Button1,"http://www.google.com") End Sub

    ASP.NET csharp com design tools question

  • Convert System.Data.DataSet to String
    G gunnar66

    Hi I pretty new in asp.net and now using web matrix My problem is very easy, but I still can't work it out. I want to read from a record in a Access database, into a string variable. i Have tried this: Sub Button2_Click_1(sender As Object, e As EventArgs) dim ret ret= SjekkStatus("SOMETEXT") Label3.Text = ret End Sub Function SjekkStatus(ByVal navn As String) as System.Data.DataSet 'find record Return dataSet End Function This will not work because the function return a dataset. But i want to convert it to a string. How can i do this. Thx

    ASP.NET csharp asp-net database help question

  • Open a .html page from a button
    G gunnar66

    Ok. Thank you

    ASP.NET html

  • Open a .html page from a button
    G gunnar66

    Hi How do you open a .html page in a new window. I want to do this from a button in my aspx file. I am useing Web Matrix. thx

    ASP.NET html

  • How to run an executable program
    G gunnar66

    Thank you! I think i have to use this method because I can't find the ShellExecute()function in Embedded C++, which I use.

    C / C++ / MFC tutorial

  • How to run an executable program
    G gunnar66

    Thank you!!

    C / C++ / MFC tutorial
  • Login

  • Don't have an account? Register

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