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

StyrofoamSUV

@StyrofoamSUV
About
Posts
12
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Crystal Reports single field
    S StyrofoamSUV

    Figured out how to do this incase anyone is interested. 1) Add a Text object to your report by right-clicking on the report and selecting Insert->Text Object 2) Set the Name of the object in the Properties window 3) Note the Page Header Section the object resides in 4) CrystalDecisions.CrystalReports.Engine.TextObject myObject = (CrystalDecisions.CrystalReports.Engine.TextObject)theReportClassInstance.theSectionNumber.ReportObjects[ "theObjectName" ]; myObject.Text ="whatever i want"; cheers

    C# tutorial question

  • Crystal Reports single field
    S StyrofoamSUV

    Hey all. I am new to Crystal Reports and was wondering of someone could give me a hand involving adding single data fields to a report. What I mean by this is, I have a DataSet that contains all the fields I want per row, however, I also want a generic field that does not pertain to the row. For example, I have a DataSet whose Table name is "Person" and contains the entities, Name, Age, Sex, etc... What I want to add to the report, aside from the rows containing Name, Age, and Sex, is a data field at the top that is user-defined. Perhaps I want to put "Goo goo ga ga" at the top of the report. Instead of having to add an entity to the DataSet, can I define a field in the report, place the field on the report somewhere, and edit it via my code? I hope you understand what I mean. Thanks! -Josh

    C# tutorial question

  • Editing Excel Worksheet Cells
    S StyrofoamSUV

    Thanks for the response. Interesting that you can't modify 0,0. Perhaps they should mention that somewhere. Anyway, I tried using different Cell coords, however, no data appeared, but I am not that concerned since I didn't receive an error. I ended up using this to modify cell contents: Excel.Range r = currentSheet.get_Range( "C1", Type.Missing ); r.Value2 = "Some Text"; r = currentSheet.get_Range( "D1", Type.Missing ); r.Value2 = "Some Text"; This seems to work fine. Thanks!

    C# help

  • Editing Excel Worksheet Cells
    S StyrofoamSUV

    Hey all. I have been fooling around with Excel and can create Worksheets, files, etc, however, when I try to modify the contents of a cell, I get the following exception: An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll Additional information: Exception from HRESULT: 0x800A03EC. The code is: Excel.Application excel = new Excel.ApplicationClass(); Excel.Workbook workbook = null; Excel.Sheets sheets = null; Excel.Worksheet currentSheet = null; workbook = excel.Workbooks.Add( Excel.XlWBATemplate.xlWBATWorksheet ); sheets = workbook.Worksheets; currentSheet = (Excel.Worksheet)sheets[ 1 ]; ((Excel.Range)currentSheet.Cells[ 0, 0 ]).Value2 = "text"; I have researched this on the net but to no avail. My code seemed to have worked before, but it doesn't now and it's ticking me off. I have tried several variations to modify the contents of the cell, but nada. Any help would be greatly appreciated! Thanks, Josh

    C# help

  • RichTextBox URL/Hyperlink "Text to be displayed"
    S StyrofoamSUV

    I am having trouble finding what you are referring to. I am searching for "rich text box arbitrary link" but it does not yield any appropriate results, nor does "richtextbox arbitrary link." Can you please elaborate or provide a link? Edit: I found the page you are referring to. It's http://www.codeproject.com/cs/miscctrl/RichTextBoxLinks.asp Thanks, Josh -- modified at 23:32 Sunday 16th July, 2006

    C# com tutorial question

  • RichTextBox URL/Hyperlink "Text to be displayed"
    S StyrofoamSUV

    Hello all. I know that it's possible to show URLs in a RichTextBox, however, I cannot find a way to hide the href tag. For example, Google. Is it possible to hide the link reference () and allow the user to select "Google" instead? Thanks, Josh

    C# com tutorial question

  • Read location in .lnk (shortcut) file
    S StyrofoamSUV

    Thanks for the help Will. It works great. -Josh

    C# adobe question

  • Read location in .lnk (shortcut) file
    S StyrofoamSUV

    Is there any way to read the file that a .lnk (shortcut) refers to? Opening the file in Notepad shows that it is not plain text (such as Adobe Gamma Loader.lnk which loads Program Files\Common Files\Adobe\Calibration\Adobe Gamma Loader.exe). I am wondering if there is any way to read a .lnk file's location using some sort of library. Thanks, Josh

    C# adobe question

  • Mouse Position on startup
    S StyrofoamSUV

    ahh right, the static instance of Cursor. I also found that Control.MousePosition works as well. Thanks for the help.

    C# csharp help

  • Mouse Position on startup
    S StyrofoamSUV

    Hey all. I am currently using a low level mousehook to retrieve the mouse position. I would like to know if there is a function in .NET 1.1 that will allow me to retrieve the mouse coordinates when a Form is created or the program starts. I don't think I can use mouse events unless I can programatically call an event (such as mouse move). I am new to C# so any help would be greatly appreciated. Thanks! Josh

    C# csharp help

  • Showing a Control underneath another Control
    S StyrofoamSUV

    I believe this is exactly what I am looking for. Thanks for the help.

    C# help question

  • Showing a Control underneath another Control
    S StyrofoamSUV

    Hello all. I am interested in hiding a ListView Control underneath a TabControl. The ListView Control will contain say, 5 columns. When the user selects 1 of the tabs, I want to show the ListView and 3 columns (the other 2 will be hidden). When the user selects the other tab, I want to show the other 2 columns of the ListView. Is there a way to do this without creating two ListViews (1 for each Tab)? I have tried using all the Focus, Selected, and Show functionalities to the hidden ListView, but it will not appear over the TabControl. Thanks for the help.

    C# help question
  • Login

  • Don't have an account? Register

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