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
L

Larza123

@Larza123
About
Posts
34
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Debugging
    L Larza123

    a) F11 Steps into a funktion when you debug. Shift+F11 Runs the funktion to the end and then stop at the call to the function for you to continue debugging (jumps out of the function). You can move the debugarrow if you want to jump over something or run some code again. If the code is i++; then i++; will be done again that means if you run the code twice i = i + 2; b) Stepinto = F11 , stepOver = F10 c) Rightclick the breakpoint and choose condition... Write x = 10; in the textbox and check the radiobutton "is true".

    C# csharp debugging question

  • Mailmessage spaces in subject
    L Larza123

    Subject in a Mailmessage sent with SmtpClient.Send(Mailmessage) doesn't replace spaces with =20. If a space exists in the subject then it is treated as spam. A solution to this was to replace it my self like this mailMessage.Headers.Add("subject", subject.Replace(" ", "=20")); This worked great but now I have installed framework 2.0 service pack 1 and this removed the possibility to put the subject in the header. It won't show in the received email any more :( Does anyone have any idee on how to get correct spaces in a subject?

    C# tutorial question

  • Merge cells in word 2003
    L Larza123

    Hi! sorry for my late reply. Thanx for your help but I have a few questions. What type is the Worksheet? I have an object of type Word.ApplicationClass. But I can't find the worksheet. Won't your range be from the first cell to your last cell? I mean if you write it like this: range = Worksheet.get_Range(Worksheet.Cells[1, 1], Worksheet.Cells[2, 2]); Will the range then only contain 2 cells or every cell between the cells? Thanx!

    C# csharp visual-studio help question

  • Merge cells in word 2003
    L Larza123

    I want to merge cells in a table in word 2003 from visual studio 2005 C#. I manage to merge cells once in a table but when I try to merge other cells in the same table I get an error that says that the rows is not accessable because som cells have been merged. This is the way I do it. Word.Range range = MyWordApplication.Selection.Range; range.Start = wordTable.Rows.Item(1).Cells.Item(2).Range.Start; range.End = wordTable.Rows.Item(2).Cells.Item(2).Range.End; range.Cells.Merge(); When I try it once more with other cells I get an error. Does anyone have any Idea how I can get this to work? Is there another way to select cells and then merge them? I think that my way maybe selects all cells from row 1 column 2 to row 2 column 2 but I only want to select these two cells. If you have any idea please let me know. Thanks!

    C# csharp visual-studio help question

  • Reference to Word 2003
    L Larza123

    I have added a microsoft word 2003 reference to a program of mine. I use C# .net visual studio 2005. It all works fine. I create a release and a dll file called Interop.Word.dll is created. The release work fine on my computer but when i try it on another it doesn't work. Do you know why? Word exists on the other computer. Is it because word doesn't exists at the same location on the other computer?

    C# csharp visual-studio com question announcement

  • Get handle to iframe
    L Larza123

    Hi! I have a page (A) with an iframe in it. In the iframe i have another page (B). Is there a way in codebehind (C#) to get a handle to from page(B) to page(A)? Please help! Thanx!

    ASP.NET csharp help question

  • javascript to select all checkbox
    L Larza123

    Hi! One way is to call a function when the categorycheckbox is changed that does something like this. This assumes that all the checkboxes for one category is in the same container (ex. div) function CheckAllBoxes(){ var mycheckboxes = document.getElementById("mycheckboxcontainer").getElementsByTagName('input'); for(var i=0; i

    ASP.NET javascript business tutorial question

  • Connect to database with another user
    L Larza123

    I have impersonated a user for my project (C# ASP.NET) lets call him Mr:X. For security reasons I want to connect to a database with another user Mr:Y. I still want to use windows authentication and Integrated Security=SSPI. Is this possible?

    Database csharp security asp-net database question

  • asp:Calendar asp.net 2.0
    L Larza123

    How to get uppercase letters on the monthtitle in the asp:calendar control?

    ASP.NET csharp asp-net tutorial question

  • EnableVIew State
    L Larza123

    What are you going for? One way is to empty the textbox.text at postbacks. If you don't need the value in the textbox at serverside then use a

    ASP.NET help tutorial question

  • Session
    L Larza123

    That is probably because Ope_Psw is a string. Then you have use .ToString() like this: Ope_Psw = Session["Ses_Ope_Psw"].ToString();

    Web Development sysadmin windows-admin security help tutorial

  • Session
    L Larza123

    I think you have to write Session["MySessionVariable"] = "Blue"; not with (

    Web Development sysadmin windows-admin security help tutorial

  • Compiler Error Message: CS0433
    L Larza123

    I get this error every time I edit one of my usercontrols. Compiler Error Message: CS0433: The type 'ASP.account_userctrls_info_ascx' exists in both 'c:\WINDOWS\...\App_Web_py_x3jg-.dll' and 'c:\WINDOWS\...\App_Web_ik0rrcm_.dll' To get past this I have to rebuild the solution every time this occure. That takes a lot of time now when my project is very big. How can I get this error to disappear? Is there a setting that can fix this? Thanx!

    Web Development help question

  • Doubleclick
    L Larza123

    That is almost how I did it but thats not my problem. My problem is that the first postback don't have the connection to the client if a second postback occures. Lets say that I have to store some data in my database and then I get an Id back from the database and I have to use that in a response.redirect. If there is two postbacks then the first one with the response.redirect will not do anything because the second postback is the one with the connection to the client. It doen't matter if I don't do any thing with the second postback it is stil the one with the connection to the client. I think the solution is to merger the threads or something but I don't know how. Thanx for your answers!

    Web Development javascript database sysadmin help question

  • Doubleclick
    L Larza123

    There must be a way. You can not trust a user to follow directions. If they click more then once the data will be stored twice. I can with cash and a hiddenfield check if it is a second click on the button during the first postback but I somehow lose the connection to the client with the first thread. I have done two different test and sometimes it is the same thread that executes the code on the server side for both postbacks. I don't know why. If it is the same thread then it's easy but not if it is different threads. Do you know why it is different threads sometimes? How can I get hold of the first thread and merge it with the second. Thanx!

    Web Development javascript database sysadmin help question

  • Doubleclick
    L Larza123

    Hi I have a problem that refers to dubbelclick on a button. I want to prevent the server code to run again after a second postback. I can not solve this with javascript because my clients doesn't always allow javacript. I know that a thread on the server doesn't die because of a second postback while the first thread is running but the connection to the client doesn't seemes to work for the first thread after a second postback. Often this isn't a problem but I want to redirect the client to a new page after saving data to the database. I created a function to see if it is a second postback or not so that is not my problem. I think the answer is in the threads. If you have any Idea or question please tell me. Thanx! -- modified at 8:56 Tuesday 18th April, 2006

    Web Development javascript database sysadmin help question

  • Server.MapPath
    L Larza123

    Thanx! That worked!

    Web Development question sysadmin

  • Server.MapPath
    L Larza123

    How can I reach the function Server.MapPath from a .cs file? What do I have to include? using... Thanx!

    Web Development question sysadmin

  • File exists in javascript
    L Larza123

    Thanx for the answer but I don't want to use an AcitveX control on the page.

    Web Development javascript

  • File exists in javascript
    L Larza123

    I'm not sure that this is possible. I want to check if a file exists on the clients computer. They are uploading files on my site and I want to give them an errormessage if the file doesn't exist before postback.

    Web Development javascript
  • Login

  • Don't have an account? Register

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