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
J

JoeSharp

@JoeSharp
About
Posts
77
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Finding base class of an object
    J JoeSharp

    if (ActiveMdiChild is MyBaseClass1) { // your code hier }

    C# question database help tutorial

  • Object reference not set to an instance of an object.
    J JoeSharp

    hi set the connection object 'con' to the command object e.g com.Connection = con do not forget to close the connection e.g. con.Close() aftre the dt.Fill(dt) call. regards

    Visual Basic help com

  • How to save textBox to a file
    J JoeSharp

    hi why you write the text line by line? using(StreamWriter sw = new StreamWriter(filename)) { sw.Write(textbox.Text); } regards

    C# tutorial question

  • Image to binary
    J JoeSharp

    hi //To binary MemoryStream ms = new MemoryStream(); bitmap.Save(ms); ms.Position = 0; byte[] arr = ms.ToArray(); // From binary MemoryStream ms = new MemoryStream(arr); Bitmap bitmap = Bitmap.FromStream(ms); regards

    C# csharp

  • Load Type in DLL in a different AppDomain
    J JoeSharp

    hi use LoadFile instead of LoadFrom. this will help you more www.codeproject.com/KB/dotnet/AssemblyLoadFile.aspx cheers

    C# help tutorial question

  • Hexadecimal const declare
    J JoeSharp

    hi visual basic does not support ox00008603L try with: Public Const ABCDE_FGH As Integer = &H00008603L or Public Const ABCDE_FGH As Long = &H00008603L

    Visual Basic csharp help question

  • bool[] from value
    J JoeSharp

    hi had a look in the BitArray class in the System.Collections namespace. maybe this will help you. regards

    C# csharp com data-structures tools

  • How To Open A File + Sourabh Das
    J JoeSharp

    hi File.Open(strIOPath, FileMode.Create) FileMode.Create = Specifies that the operating system should create a new file. If the file already exists, it will be overwritten. try with FileMode.Open regards

    Visual Basic tutorial

  • How to get Value from Combobox.valuemember prpperty
    J JoeSharp

    hi try with SelectedValue regards

    C# database help tutorial question

  • Adding a control from within a class
    J JoeSharp

    hi pass a reference of the form to your class. Public Sub New(ByVal newLeft As Short, ByVal newRight As Short, ByVal newWidth As Short,_ ByVal newHeight As Short, ByVal form As Form1) regards

    Visual Basic question docker tutorial

  • Groupbox problem
    J JoeSharp

    hi have you try to use GroupBox1.Visible = True/False instead of Hide()/Show()? regards

    Visual Basic help question

  • searching a file from a folder
    J JoeSharp

    hi add a reference to the Microsoft Scripting Runtime library: C:\WINDOWS\system32\scrrun.dll regards

    Visual Basic algorithms tutorial

  • Dispose()
    J JoeSharp

    yes, because the C object is defined outside the using block. using(C c = new C()) { // your code } // after this line the C object is not accesible

    C# question learning

  • How to register COM component and use in c# window application
    J JoeSharp

    in this case your exe ist not a com object. all com object must contain DLLRegisterServer and DLLUnregisterServer methods. this methods register/unregister the com object.

    C# csharp com help tutorial

  • How to register COM component and use in c# window application
    J JoeSharp

    hi you can register com objects with regsvr32.exe. pass the full filename as parameter. after registering, add a reference to your project selecting the com object registered before. visual studio create a wrapper for the com object and add this wrapper as refernece to the project. regards

    C# csharp com help tutorial

  • Showing and manipulating a window form
    J JoeSharp

    hi using(frmForm frm = new frmForm()) { frmForm.ShowWindow(this); // the using block call the Close/Dispose methode // so yopu don't need to call Close() or Dispose() } regards

    Windows Forms question

  • RichTextBox RightClick [modified]
    J JoeSharp

    hi use int index = RichTextBox.GetCharIndexFromPoint(Point pt); to get the position of the char under the mouse. use RichTextBox.SelectionStart = index; RichTextBox.SelectionLength = 0; // maybe this line is not necessary to move the cursor inside the textbox. regards

    C# question workspace

  • How to save icons
    J JoeSharp

    hi this is a good example for loading and saving icons. http://www.codeproject.com/KB/cs/IconLib.aspx regards

    C# question csharp database visual-studio com

  • Size of a Class
    J JoeSharp

    hi you can use the Marshal.SizeOf(typeof(MyClass)) method in the System.Runtime.InteropServices namespace. regards

    C# help

  • Making FileDialogs as Child Windows
    J JoeSharp

    hooks are not easy to use. look in the msdn help, set the filter to platform SDK an search for OPENFILENAME. good luck :-)

    Windows Forms 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