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
B

bearfx

@bearfx
About
Posts
12
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • API to control bass and treble
    B bearfx

    Their is no direct API to provide equalization. What you have to do is write a DirectX filter and use it control treble/bass. Check the DirectX API for more information.

    C# json question

  • An "I" product that doesn't come from Apple
    B bearfx

    Apple does get a bit testy about any i not from them. I wonder what they think of iGoogle.

    The Lounge asp-net com adobe learning

  • Event Exception
    B bearfx

    Is anything actually assigned to handle the OnImportFile? someObject.OnImportFile+= new OnImportFileEvent(someHandler); If not, you will get an exception Take this example code class Program { static void Main(string[] args) { someClass obj = new someClass(); //Exception Here obj.RaiseEvent(); obj.someEvent += new someClass.SomeEvent(EventHandler); //No Exception obj.RaiseEvent(); } static void EventHandler(object sender, EventArgs e) { } } class someClass { public delegate void SomeEvent(object sender, EventArgs args); public SomeEvent someEvent; public void RaiseEvent() { someEvent(this,new EventArgs()); } } You can resolve this by testing someEvent for null public void RaiseEvent() { if(someEvent!=null) someEvent(this,new EventArgs()); } or setting it to have at least one handler when you create the object class someClass { public delegate void SomeEvent(object sender, EventArgs args); public SomeEvent someEvent; someClass{ someEvent+=new SomeEvent(internalHandler); } private void internalHandler(object sender, EventArgs e) {} public void RaiseEvent() { someEvent(this,new EventArgs()); } } I usually test for null, but either works.

    C# question

  • Problem with using ParameterField class in CrystalReport.
    B bearfx

    Make sure you are using the right namespaces. I have the following using statements in my sample using CrystalDecisions.CrystalReports.Engine ; using CrystalDecisions.Shared ; using CrystalDecisions.Windows.Forms ; Also, make certain you are referencing the right assemblies. The following are ref's in my project CrystalDecisions.CrystalReports.Engine CrystalDecisions.ReportSource CrystalDecisions.Shared CrystalDecisions.Windows.Forms The full path/classes are CrystalDecisions.CrystalReports.Engine.ReportDocument CrystalDecisions.Shared.ParameterField The sample I sent you works with Crystal Reports XI R2, but was the same in CR X.

    C# help question

  • HowTo make a dll, which can be called by VBA
    B bearfx

    From C#, you would have to create a COM DLL to call from VB. I do not think you can make native DLL's from c#, although you can in Visual C++.

    C# csharp question

  • how to deploy my app (vs2005) with crystalreport XI ?
    B bearfx

    Business Objects has several Windows Installer packages you can include with your installation. Be aware, however, they are huge. The Crystal Reports XI Release 2 - .NET Merge Modules is around 150MB. Remember to set your Key in the MSM properties of whatever you use to build the installation package.

    C# question csharp tutorial

  • how to change values of Crystal Reports in vc# 2005?
    B bearfx

    Create a parameter field for the date. When you create the report object, use the ParameterFields Collection of the ReportDocument to find your paramter. Set it using the .CurrentValues.Add property of the ParameterField. ReportDocument report = new ReportDocument(); report.Load(@"MyReportFile.rpt"); foreach(ParameterField field in report.ParameterFields) { if(field.ParameterFieldName == "MyName") { field.CurrentValues.Add(MyDateValue); } }

    C# csharp tutorial question

  • Is there anything to convert my .net 2.0 type files to .net 1.1?
    B bearfx

    Partial class just tells the compiler to include that source with the rest of it. If you want to compile in .net 1.1 just combine all the partial classes into one class, in one file.

    C# csharp question

  • How can i access the usb port in VC#.net 2003 and framework1.1
    B bearfx

    You really need to be more specific. Are you wanting to read and write data onto a USB flash drive, you merely have to address it as any other drive. Otherwise, you need to access it through the API of the driver, or write your own driver for the hardware. Check with the hardware manufacturer for a development kit.

    C# csharp help question

  • Policy Manager
    B bearfx

    Policy manager is hardly 'arcane'... Obtuse, yes. Frustrating, yes. Arcane no. I have never used XP Home Edition, only Professional, so cannot guarentee it is included in Home Edition. Start -> Run -> MMC.exe File -> Add/Remove Snap-In -> Add -> Group Policy Object Editor As I do not know what you are trying to do, I cannot offer you any alternatives.

    C# question help

  • Problems with primary key
    B bearfx

    This is basically saying you can't autogenerate the command without primary key information. If you want to use the CommandBuilder, you need to be aware of it's limitations. The CommandBuilder classes can be used to build update commands for single-table select queries that include at least one unique column. Your SQL command doesn;t include a unique column, so it cannot be used. Include the primary key in your select query, and it should work, as long as it is a single-table query. If probably looks something like this Select col1, col2, col3 from table1 where col1 = somevalue change it to Select pkey, col1, col2, col3 from table1 where col1 = somevalue If it is not a single-table query, you will need to build your own insert, update, and delete queries using the InsertCommand, UpdateCommand, and DeleteCommand properties.

    C# database question sql-server sysadmin help

  • Debugging c# in VS2005 - Break When Value Changes
    B bearfx

    In Visual Basic, their was an option to add a watch, and also break when the value of a variable changes. If their a similar option available to c# users in VS2005? I have been unable to find any information on this. Thanks in advance.

    C# csharp 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