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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
A

Atul Kale

@Atul Kale
About
Posts
15
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • IIS not configured for .NET
    A Atul Kale

    I'm Sorry Michel and Arjan! Somehow, i did not see earlier replies! (Maybe Half loaded page!) take care Atul Atul Kale MCSD, MCT netdecisions Ltd.

    ASP.NET question csharp visual-studio sysadmin windows-admin

  • IIS not configured for .NET
    A Atul Kale

    Hi Michael, It's just that ASP.NET extensions are not registered. run the following command [windir]\Microsoft.NET\Framework\[latestversiondir]\aspnet_regiis -i this will reregister the ASPNET_ISAPI extensions for u. chao:) Atul Kale MCSD, MCT netdecisions Ltd.

    ASP.NET question csharp visual-studio sysadmin windows-admin

  • Handling AutoPostback without Javascript Support
    A Atul Kale

    Thanx Heath! U R Right there! Its hell of a job to convince the Client all these issues. I'll try to convince the use of javascript in this case. cauz anyways, the workaround was always an option for backup! regards Atul Kale MCSD, MCT netdecisions Ltd.

    ASP.NET javascript sysadmin ai-coding help

  • Handling AutoPostback without Javascript Support
    A Atul Kale

    Hi Pals, I am facing a problem in working with some Server Side events of controls () like CheckBox, RadioButton, LinkButton, DropDownList. To elaborate, I would say, since to handle the events like SelectedIndexChanged of DropDownlist on Server Side, we usually set the AutoPostback property to TRUE. Well, this ends up in a javascript code generation with the Response to the Web Client. But If the Javascript is not enabled (or not supported), then this doesn't work. there is my problem. I have to implement the entire site, with **minimal (None if possible), support of javascript.**Please suggest a solution for this. Thanx! Atul Kale MCSD, MCT Sr. Software Engineer XcelVision Technologies Ltd.

    ASP.NET javascript sysadmin ai-coding help

  • CType in C#?
    A Atul Kale

    I was just wondering, the solution to ur problem is so Basic, in fact u must understand here, that u did not phrase ur question properly! U were just asking for ways to Convert the data.
    Its a simple logic that while doing such operations, U never store the intermediate results in variables.
    int num1 = 6, num2 = 10, num3 = 5, result; here if u want, (num1 / num2) * num3 which yields (6/10) * 5 = 0.6 * 5
    Then boss, you should not store num1/num2 in an int variable. That is ur problem.
    Do the Direct calculation,
    result = (num1 / num2) * num3;
    or,
    use an intermediate double or float variable it u still wanna store the division.
    double div = num1/ num2;
    result = div * num3;
    Sometimes one should just concenrate on the basics first and not just jump into complexities.
    Atul Kale MCSD, MCT Sr. Software Engineer XcelVision Technologies Ltd.

    C# csharp question

  • CType in C#?
    A Atul Kale

    Hi there,
    Your problem seems very simple and hence many quick answers are there. But I would elaborate more on ur requirement.
    Changing an Expression to a type could be of 2 types...
    1. "1" as a String to 1 as an Integer(int)
    2. "a" as a String to 97 as an integer(int).
    3. obj as an Object to a Specific type like "Customer"
    You need to find out ur requirement and accordingly use the Solutions given to u.
    Answer 1.: Use Convert.ToInt32 or Int32.Parse functions.
    Answer 2.: Use a typecast i.e. (int)num1
    Answer 3.: Use a typeCast i.e. (Customer)obj or Use Convert.ChangeType function.

    I hope this helps.
    regards
    Atul p.s.: Convert.ChangeType could be the sole solution sometimes. Atul Kale MCSD, MCT Sr. Software Engineer XcelVision Technologies Ltd.

    C# csharp question

  • Accessing Web Service through HTTP Proxy
    A Atul Kale

    Hi there,
    In fact I was asking abt the Web Proxy Implementation in the Proxy class generated for WebService. HttpWebRequest is not coing into picture!
    Still, I got a hint from ur mail and I checked out a property called Proxy directly for the SoapHttpClientProtocol class.
    Thanx a lot anyways!
    Atul Kale MCSD, MCT Sr. Software Engineer XcelVision Technologies Ltd.

    C# csharp visual-studio sysadmin help question

  • Accessing Web Service through HTTP Proxy
    A Atul Kale

    Hi guys,
    I have created a Web Service called BugReporterService and hosted on a machine let's say MAC1 with a Live IP address 203.124.147.42
    I have a windows client created in C# which accesses this Web Service and calls its method through a Proxy class which is generated via the Visual Studio.NET IDE.
    Now, my problem is that, when this client application runs on a machine that can access Internet via Proxy Server only, It cannot access the Web Service class. If the access is without the HTTP Proxy Server to the internet, then it works fine.
    How can I specify programmatically the IP Address/Name of the HTTP Proxy server (say 192.168.0.11) and its username and password. I initially thought that the application would take these settings from the Internet Explorer as lots of other applications do. But it's not wkg that way.
    plz get back to me whoever finds out the Answer! I'll be grateful!
    Thanx!
    Atul Kale MCSD, MCT Sr. Software Engineer XcelVision Technologies Ltd.

    C# csharp visual-studio sysadmin help question

  • simple explaination
    A Atul Kale

    Hey, I'm sorry, that code was a Copy Paste mistake. Since it was HTML it didn't understand the code in less than and Greater than signs. It took it as an HTML tag! Here's the rectified one.
    private void Swap(int arr[], int pos1, int pos2) { int tmp = arr[pos1]; arr[pos1] = arr[pos2]; arr[pos2] = tmp; } public void BubbleSort(int arr[]) { int ctr = 0; while(ctr<arr.GetLength(0)-1) { if(arr[ctr1] > arr[ctr1+1]) { Swap(arr, ctr, ctr+1); ctr=0; continue; } ctr++; } } Atul Kale MCSD, MCT Sr. Software Engineer XcelVision Technologies Ltd.

    C# com algorithms data-structures question lounge

  • simple explaination
    A Atul Kale

    Yes Pal, It's very much possible. Just see the code snippet.
    private void Swap(int arr[], int pos1, int pos2) { int tmp = arr[pos1]; arr[pos1] = arr[pos2]; arr[pos2] = tmp; } public void BubbleSort(int arr[]) { int ctr = 0; while(ctr arr[ctr1+1]) { Swap(arr, ctr, ctr+1); ctr=0; continue; } ctr++; } } U could use a for loop too if u want.
    Hope this helps!:)
    regards Atul Kale MCSD, MCT Sr. Software Engineer XcelVision Technologies Ltd.

    C# com algorithms data-structures question lounge

  • Making GetObject work for LDAP
    A Atul Kale

    Hi Richard, Thanx a lot for that code! In fact I had tried all the possible combinations of using Type.GetTypeFromProgID and then calling the Activator.GetObject etc. etc. But the most important thing I forgot was about the Binding part. I had been wkg on VC++ with Monikers many a times, I just never thought I would need them here too.
    regards Atul Kale MCSD, MCT Sr. Software Engineer XcelVision Technologies Ltd.

    C# csharp help com question

  • Recommendations for a commercial .NET Grid product?
    A Atul Kale

    Hi Pal, This is absolutely Right! I have been working on Infragistics Control library for a long time now! The libraries are available for both Windows as well as Web Applications with several controls which were not available easily before! It provides the UltraGrid control which is the Best Grid I have ever seen in my Life! It has tremendous support for customization. Trial version of it is available from the Sitespecified above.
    i.e. Infragistics.com
    One of the most important things is that Microsoft itself has given them a lot off support during the build! (At least that's what I learnt).
    Yeah, one more thing, On purchase, they provide an excellent Service!
    I think you must go for this!
    regards Atul Kale MCSD, MCT Sr. Software Engineer XcelVision Technologies Ltd.

    C# csharp css visual-studio question

  • A little help with MDIParent event process.....
    A Atul Kale

    Hi there, There u got one more Problem in the Forms library :laugh:. Microsoft has provided enough of Collections almost everywhere possible, but they forgot to make the MDIChildren as a Collection. Unfortunately it is an Array!
    So, CollectionChanged etc. is not helpful at all! You have to go for creating your own events for managing the Pre and Post creation processing of ur Child forms.
    However, i would like to mention one thing that, default event processing would be synchronous. You may look at using Application.DoEvents method or use a new Thread for performing the processing to make it asyynchronous. hope this helps! :) Atul Kale Sr. Software Engineer XcelVision Technologies Ltd.

    C# question database help

  • Why xml line highlighted yellow in IDE?
    A Atul Kale

    Hi there, I just thought this information might be useful to u! Though from ur mail it sounded like u r just beginning ASP.NET, I would not try and offend u by giving some information that u already know! If it helps, GREAT! Debugging a web Application fortunately is much better in VS.NET than it was in InterDEV with ASP. A process named ASPNET_WP.exe runs on the machine within which your ASP.NET (C# or VB.NET) code is debuged. If your solution contains several projects, just set up any of the desired projects as a Startup Project from the Context menu, and any of the aspx pages as the startup page. If your machine's config is very good, you will go for this traditional debugging approach which is good too! But, there is a better approach wherein, you just open any desired page in the Browser, and at any point of time Go into Debug mode by Attaching to the ASPNET_WP.exe process from Tools->Debug Processes menu option. just go ahead with the default options while doing this. Hope htis helps a bit! :) Atul kale Sr. Software Engineer XcelVision Technologies Ltd.

    C# help question csharp html database

  • Making GetObject work for LDAP
    A Atul Kale

    Hi guys
    I am wkg on a C# Component which retrieves information from the ADS on Win2k Domain. For some reason, instead of using the System.DirectoryServices namespace, I have to go for the ADS Library (a COM DLL).

    To write the code in VB.NET I can go ahead and use the GetObject Global method of VB. as following...

    Dim objLDAP as ActiveDS.IAdsOpenDSObject objLDAP = GetObject("LDAP:")
    ' Here it uses the Global GetObject method,
    ' that specifies the First param as path and...
    ' NO ProgID as it is Optional Param.

    In C#, I cannot use the same global function, hence the alternative, Activator.GetObject can be used. But it does not retrieve the reference at all.
    I even tried, Specifically giving the Type param to the Method as...

    IAdsOpenDSObject objLDAP; objLDAP = Activator.GetObject(typeof(ActiveDS.IAdsOpenDSObject), "LDAP:");

    This ends up in giving error message saying that,
    A Proper link to the Service may not have been established correctly. How can I make this work, as I must have all my Components in C# only. Porting this part in VB.NEt only for this reason would be infeasible.

    Please help me out in this. Atul Kale Sr. Software Engineer. XcelVision Technologies Ltd.

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