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
A

ASysSolvers

@ASysSolvers
About
Posts
58
Topics
38
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Cannot set a property on object 'Identity' because it is in a read-only state. [modified]
    A ASysSolvers

    Do you have any idea to modify my code in the correct way?.. im struggled now.. i dont knw,.. i want to use this in WPF(Windows) application,..but fine in web it works,.. In windows it gives runtine error like in Thread subject..

    WPF help csharp wpf debugging

  • Cannot set a property on object 'Identity' because it is in a read-only state. [modified]
    A ASysSolvers

    Pete O'Hanlon wrote:

    (you can tell this by checking mt.Matrix.IsFrozen).

    i cannot find any handle like that, but i found something mt.Matrix.IsIdentity which is returns a bool value. What it does?.. Your corperation is really appreciated!

    WPF help csharp wpf debugging

  • Cannot set a property on object 'Identity' because it is in a read-only state. [modified]
    A ASysSolvers

    I edidted the post again,..the error raised from the underlined statement..

    WPF help csharp wpf debugging

  • Cannot set a property on object 'Identity' because it is in a read-only state. [modified]
    A ASysSolvers

    I am getting a eroor from my code, i cant trace the issue/bug . here is my code bit... private void DoArrange() { Point center = new Point((this.Width - ItemSize) / 2, (this.Height - ItemSize) / 2); double radiusX = center.X; double radiusY = center.Y; double scale = ScalePerspective; for (int i = 0; i < Children.Count; i++) { UIElement item = Children[i]; double radians = (double)item.GetValue(CarouselPanel.AngleProperty); Point p = new Point( (Math.Cos(radians) * radiusX) + center.X, (Math.Sin(radians) * radiusY) + center.Y ); if (item.RenderTransform == null) { item.RenderTransform = new MatrixTransform(); item.RenderTransformOrigin = new Point(0.5, 0.5); } MatrixTransform mt = item.RenderTransform as MatrixTransform; double scaleMinusRounding = p.Y / (center.Y + radiusY); double scaleX = Math.Min(scaleMinusRounding + scale, 1.0); double scaleY = Math.Min(scaleMinusRounding + scale, 1.0); Matrix mx = new Matrix(scaleX, 0.0, 0.0, scaleY, 0.0, 0.0); _**mt.Matrix = mx;**_ item.RenderTransform = mt; int zIndex = (int)((p.Y / base.Height) * 50); item.SetValue(Canvas.ZIndexProperty, zIndex); Rect r = new Rect(p.X, p.Y, ItemSize, ItemSize); item.Arrange(r); } } What could be the issue i am using a WPF(win) application.

    modified on Thursday, July 9, 2009 9:48 AM

    WPF help csharp wpf debugging

  • Send Email in Arabic
    A ASysSolvers

    I want to send Email in Arabic ; I have used genaral SmtpMail class to send email,.. but when i send Arabic text email it shows like '?????????' for the all text; i did objMsg.BodyFormat = MailFormat.Html; also but no Luck. There are many ActiveX,.Component available,.. But i want to know in using .Net class same SMTP; If any body know plz tell me; Your corperation is appreciated! B/rgs Anushka

    C# csharp html com question

  • Join three tables?
    A ASysSolvers

    i want to join 3 tables in LINQ here i have SQL-T statement im new to LINQ and want in LINQ SELECT Module.* FROM UserModule INNER JOIN [User] ON UserModule.UserID = [User].ID INNER JOIN Module ON UserModule.ModuleID = Module.ID WHERE ([User].ID = 2) i want this statement in LINQ also U anybody know any plugin genarate LINQ statement like Querydesigner in SQL server? B/rgs Anushka

    LINQ csharp database sql-server linq sysadmin

  • How to generate Designer form again
    A ASysSolvers

    In my windows based application I have a common User Control called “IItvCMenu” and I have 63 other user Controls that are inherited from the above. Like; public partial class UWeather : IItvCMenu { } Before I had a Picture Control in IItvCMenu user control and later I want to remove. But I removed it from IItvCMenu and but now I have 63 error in other user control’s.designer.cs class. ((System.ComponentModel.ISupportInitialize)(this.mailbox)).BeginInit(); Error comes now in each designer form,.. mailbox is my picture control’s name. I can’t delete it from Design view in inherited user controls. How can I erase this issue?

    C# help question winforms design tutorial

  • How to add ASPNET user to my application?
    A ASysSolvers

    I have an Application created and have used SQLExpress for the backend. Also I have created a setup file for the application. Problem is I have to add the ASPNET user to the APP_Code folder in order to access the .MDF file. Also I have done some coding to write in to the web.config file and have to add ASPNET user for that file also using windows explrer security tab.(manually) I want know are there any possible way to do this in executable file or using any entry in config file.??? Your corporation is appreciated!

    ASP.NET asp-net security help tutorial question

  • Hide Cursor in my Application
    A ASysSolvers

    yes Cursor.Hide(); is correct. Only thing is we need to balance Cursor.Hide() and Cursor.Show() we can do it by from win API also that do the same,.. ShowCursor(0) and ShowCursor(1) [DllImport("user32")] public static extern int ShowCursor(int bShow);

    C# question

  • Hide Cursor in my Application
    A ASysSolvers

    In my Application i want to Hide Cursor. i want to disable right click,..left click menu strip all. I try with Cursor.Show(); ShowCursor(1); [DllImport("user32")] public static extern int ShowCursor(int bShow); but it is not success.Also i need to enable the mouse in one page. i have an internet page also in my application i want to enable the cursor in that page. So what is the best solution for my application?

    C# question

  • Remove All referance of OCX file from PC
    A ASysSolvers

    I have ActiveX .ocx file registered,using "regsvr32 vid_NET.ocx" I have another version of same ocx file and its GUID also same when i embedding it to my .Net application. I do it from editing

    COM csharp com announcement

  • "&" string cant display in Lable control
    A ASysSolvers

    It is working fine, Thank U very much for all.

    C# database question

  • "&" string cant display in Lable control
    A ASysSolvers

    I have a value comes from data base like, Mr & Mrs. Taniya and displaying it in a Lable Control Lable1.Text = value; // string value comes from database. But result display without "&" mark i need to display it.. I Cant use two "&&" for that any solution??

    C# database question

  • Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    A ASysSolvers

    Yes it is true. I have a grabber control to play TV stream. it a .ocx control. Can U explain how we design a apllication for that kind of issues.. Thankz

    C# help performance

  • Application.Exit()
    A ASysSolvers

    Thankz Lot... i used, s_Mutex.Close() after Application.Run(.... statement Grate!!

    C# help

  • Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    A ASysSolvers

    In my application I have hooked the keyboard.Global hooked and in one function im getting a error saying.. “Attempted to read or write protected memory. This is often an indication that other memory is corrupt.” It comes from this code statement, return CallNextHookEx(hookID, nCode, wParam, ref lParam); [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern IntPtr CallNextHookEx(IntPtr hhk, int nCode, IntPtr wParam, ref KBDLLHOOKSTRUCT lParam); This cause to carshed my application. And Can U explain to overcome this issue.

    C# help performance

  • Application.Exit()
    A ASysSolvers

    In my application I have restricted to the 2nd instant of application giving below code, s_Mutex = new Mutex(true, "MyApp"); if (s_Mutex.WaitOne(0, false)) { Application.Run(new frmSocket()); } else { MessageBox.Show("Another instance is running"); } Also im using a Logoff button in my application and and have used below code, System.Windows.Forms.Application.Exit(); System.Diagnostics.Process.Start(System.Windows.Forms.Application.ExecutablePath); Problem when I press log off button it cause to 2nd instant ans show the message ("Another instance is running") I want to run appication again beeing restricting 2nd instant. How ovecome that issue.

    C# help

  • Check Channel already registered?
    A ASysSolvers

    This is my code to register a channel, public static void startServer() { try { ChannelServices.RegisterChannel(channel); // exception occurs RemotingConfiguration.RegisterWellKnownServiceType(typeof(Messanger.ItvMessage), "testMessage", WellKnownObjectMode.SingleCall); } catch (Exception ex) { throw ex; } } Here I am getting exception saing,” The channel 'tcp' is already registered”…. Are there any condition to check channel already registered or something..validation/….

    C# question

  • Check Channel already registered?
    A ASysSolvers

    This is my code to register a channel, public static void startServer() { try { ChannelServices.RegisterChannel(channel); // exception occurs RemotingConfiguration.RegisterWellKnownServiceType(typeof(Messanger.ItvMessage), "testMessage", WellKnownObjectMode.SingleCall); } catch (Exception ex) { throw ex; } } Here I am getting exception saing,” The channel 'tcp' is already registered”…. Are there any condition to check channel already registered or something..validation/….

    C# question

  • Check for the status of Windows Form
    A ASysSolvers

    In my application, when I showing a new form I do, Form2 frm2=new Form2(); This.hide(); frm2.TopMost = true; frm2.Show(); I do like that..again when I come to first form. I do the same being in second form.(imagine I am in Form2 now.) this.Close(); frm1.Show(); // this is my first form. Problem is some times I cant see my first form.it is still hiden. So it is happens sometimes. Are there any way to know (some status) to know my form is already hiden or shown. What is the best practice of this kind of situation?

    C# question help discussion
  • Login

  • Don't have an account? Register

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