Search results for query: *

  • Users: CygNuS
  • Content: Threads
  • Order by date
  1. CygNuS

    Convert/Save ANSI encoded-file to UTF-8

    I have a txt file that i have to read. Unfortunately it is encoded in ANSI and it contains a special character 'Ø' which my streamreader (i've tried all encodings) simply won't read. If i manually save my ANSI txt to UTF-8 encoding and try again, it works perfectly. But i need to automate...
  2. CygNuS

    Crystalreportviewer - setting focus

    I have a form with a crystalreportviewer control on it. I would like that, when it loads, the focus is set on the page, so that PageUp, PageDn will work immediately instead of having to click the navigate buttons (or instead of clicking the page first (so it has the focus) and then pressing...
  3. CygNuS

    System.DBNull value in sql parameter

    Ok i'm having the weirdest problem with inserting records which can contain NULL values. I will try to explain: I'm using a dataadapter and dataset to insert my records into the SQL 2005 database. I've also written my own Insert statement for the dataadapter to use (i really need to do...
  4. CygNuS

    Altering datatype for multiple columns

    Ok, i'm using SQL Server 2005 and i'm trying to change the datatype of 4 columns in ARTIKELS. This works for a single column ALTER TABLE [dbo].[ARTIKELS] ALTER COLUMN [OMSN] nvarchar(200) But for all columns it doesn't: ALTER TABLE [dbo].[ARTIKELS] ALTER COLUMN [OMSN] nvarchar(200)...
  5. CygNuS

    ToolStrip Text Property = useless?

    Here's the thing: I have made a vertical Toolstrip (it looks like the outlook sidebar) filled with icons. Now i would like to show the title of that ToolStrip, so i set the Text Property, but that doesn't seem to do anything. Is the ToolStrip text property useless or is some other property...
  6. CygNuS

    problem finding method by its name at runtime

    problem finding method by its name at runtime - Solved This is what i want to do (everything must be at runtime): I have the name of a particular menuitem (in this case "MnuHLicentie") Now I want to create a new toolbarbutton which has the same click-functionality as that menuitem. Sounds...
Back
Top