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
R

ramzg

@ramzg
About
Posts
27
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to add ToolBar in Slide
    R ramzg

    http://tinyurl.com/4yw62qq[^]

    C# help tutorial

  • Fusion Logs not working for WINWORD.exe
    R ramzg

    Hi, I have been developing add-ins for MS Word for quite some time now. I usually track bind failures using Fusion Logs and it used to work for all applications. But suddenly, the fusion logs fail to catch any load events for WINWORD.exe. I do not get any entries in my "C:\fusionlog\DEFAULT" folder for WINWORD.exe. It works fine for EXCEL.exe, POWERPNT.exe. I wanted to check fusion logs because my addins did not load in MS Word but the addins loaded in Excel and PowerPoint. Could anyone please help?

    Thanks, Ram

    C# help question

  • C# Windows Service
    R ramzg

    In addition to the previous answers, I would like to suggest you on increasing the InternalBufferSize property of your file system watcher object to a bigger value. It might help when a large number of files are being created at the same time. The lesser the value of the InternalBufferSize, the more are the chances of file changes / creations going unnoticed by the watcher. Hope this helps.

    ramzg

    C# csharp xml help

  • How can I make a self updating application - specifically a plug-in - via C#?
    R ramzg

    Have you looked at this? : Application Auto Update in VB.NET[^]

    Ram

    C# question csharp

  • How to Find character in ArrayList
    R ramzg

    You must try this out, if u really want to iterate :

    ArrayList List = new ArrayList();

    List.Add("AAA");
    List.Add("AA");
    List.Add("BB");
    List.Add("BB");
    foreach (string item in List)
    {
    if (item.Equals("AA"))
    comboBox1.Items.Add(item);
    }

    else, u can always go with this :

    ArrayList List = new ArrayList();

    List.Add("AAA");
    List.Add("AA");
    List.Add("BB");
    List.Add("BB");
    if (List.Contains("AA")
    comboBox1.Items.Add("AA");

    Ram

    C# tutorial csharp c++ data-structures

  • How to spliting a string
    R ramzg

    Hi Abhinav, Isn't string.ToCharArray() a better way than using string.SubString()?

    Thanks, Ram

    C# tutorial

  • how to get textbox value from one class to another
    R ramzg

    Hi, You can use C# Properties for this... Here's what u want...

    public partial class Form2 : Form
    {
    public Form2()
    {
    InitializeComponent();
    }

        private void Form2\_Load(object sender, EventArgs e)
        {
            test \_test = new test();
            string strId = \_test.StrID;
        }
    }
    
    public class test
    {
        string strID = string.Empty;
    
        //This is the property that you can refer from any other class in which u have instantiated this class (test)
        public string StrID
        {
            get { return strID; }
            set { strID = value; }
        }
    
        public string hello()
        {
            strID = this.txtTextBox1.Text; //here i am confused with my basic concept (can i assign value to strID from TextBox and if yes then how to get TextBox Value from form2 because I am making a new class here)
            return strID;
        }
    }
    

    Thanks, Ram

    C# tutorial

  • Qt supports WCF?
    R ramzg

    Hi Abhinav, Qt is a cross-platform app development framework.. Here is the wiki link for it... http://en.wikipedia.org/wiki/Qt_%28framework%29[^]

    C# csharp wcf question

  • Qt supports WCF?
    R ramzg

    I'm trying to use my Qt application to implement WCF. I would like to know if Qt supports WCF... Pls suggest..

    C# csharp wcf question

  • c# question
    R ramzg

    Are you talking about adding an icon to the system tray? If so, then use a notification icon.. This might help you... http://www.developer.com/article.php/3336751[^] Thanks, Ram

    C# csharp help question

  • when does the assembly.exe.config file is created
    R ramzg

    Hi, You can right-click on your project (from the solution explorer) and choose Add-->New Item and select Application Configuration File from the dialog box that pops up and click OK. This will add an App.Config file to your project. This will be automatically renamed to Assembly.exe.config when you run your application. You can use the same XML data as given in the link to the post that d@nish had posted. Also, if you use string test1 = System.Configuration.ConfigurationSettings.AppSettings["Key1"]; in your code, the VS compiler might throw a warning that this is deprecated. To get through that warning, Add reference to System.Configuration component in your project and use : string test1 = System.Configuration.ConfigurationManager.AppSettings["key1"]; Hope this helps. Thanks, Ram

    C# question

  • Google talk - like application
    R ramzg

    No... I havent used it yet... I shall try that also... Thanks, Ram

    C# csharp help com question lounge

  • Google talk - like application
    R ramzg

    Hi OriginalGriff,

    OriginalGriff wrote:

    If you have a legitimate business reason to access Google Talk, then I suggest you contact your IT department

    I had mentioned in my first post that I am able to connect using Google Talk and initiate a chat... The problem is while trying to replicate that behavior in my application... If firewall is blocking the response, I would like to have an idea on how Google Talk is able to establish a communication that my application could not... Pls suggest... Thanks, Ram

    C# csharp help com question lounge

  • Google talk - like application
    R ramzg

    Hi stancrm, Just an update on this... I tried to use wirebook to get the stats and I found this out : The request is going out and reaching google... But the response is not coming back.. That seems to be the problem... Any idea? Thanks, Ram

    C# csharp help com question lounge

  • Google talk - like application
    R ramzg

    Hi stancrm, Thanks for your reply... I shall try this out and get back to you... Thanks, Ram

    C# csharp help com question lounge

  • Google talk - like application
    R ramzg

    Hi, I am trying to develop an application in C# to build a chat client that authenticates a user with his gmail account.. As I searched online for any open source software that might help and i found this very promising : Google Chat Desktop Application using Jabber.Net[^] If I execute this from a stand alone computer, it works fine without any problems... However, if I execute this from a corporate environment where there are NAT and firewall being configured, i get this error : A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 74.125.155.125:5222 where 74.125.155.125 is that of google. I am not sure what this means... It doesn't appear like a time out.. It looks like something in the corporate environment is blocking this communication... However, I am able to use Google Talk application in the same environment... What could be the reason? And how could it be overcome? Could someone pls help? Thanks, Ram

    C# csharp help com question lounge

  • Mapping a Web folder to a drive - C#
    R ramzg

    Hi, I'm working on a WebDAV Application.. I can now connect to an ip, say, http://localhost:9005/MyWeb/ by creating a web folder. I could create and delete the web folder using C# code... I could traverse my web folder thoroughly... Is it possible for me to map this web folder to a new drive (using C#) so that I can access the contents from a drive in My Computer..? A software by name NetDrive is able to do it... Pls suggest on how I can achieve this... Thanks, ramzg

    C# csharp question

  • Returning stream from a WCF Service to the client
    R ramzg

    Hi MREcoolio, Thanks for your reply... I was able to transfer a stream to my client without any trouble when the file size is less than 64kb ("maxReceivedMessageSize" property of the "binding" element)... I understand that this is the default size limit and that we can change it to suit our requirements... But my problem is that no matter how large a number I specify for the "maxReceivedMessageSize" property, I get a communication fault exception. The following are the server and client config files for your reference.. The configuration as I said, works perfectly fine for files whose sizes are lesser than 64kb.. Am I missing something here? Server Side App.config:

    <system.serviceModel>
    <bindings>
    <netNamedPipeBinding>
    <binding name="MyNetNamedPipeBinding" closeTimeout="01:01:00" openTimeout="01:01:00" receiveTimeout="00:10:00" sendTimeout="01:10:00" transactionFlow="false" transferMode="Streamed" transactionProtocol="OleTransactions" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxBufferSize="10333" maxConnections="10" maxReceivedMessageSize="9223372036854775807">
    <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    <security mode="Transport">
    <transport protectionLevel="EncryptAndSign" />
    </security>
    </binding>
    </netNamedPipeBinding>
    </bindings>
    <services>
    <service name="MyService" behaviorConfiguration="metadataSupport">
    <host>
    <baseAddresses>
    <add baseAddress="net.pipe://localhost/MyService" />
    </baseAddresses>
    </host>
    <endpoint address="" binding="netNamedPipeBinding" bindingName="MyNetNamedPipeBinding" contract="MyContract" />
    <endpoint address="mex" binding="mexNamedPipeBinding" contract="IMetadataExchange" />
    </service>
    </services>
    <behaviors>
    <serviceBehaviors>
    <behavior name="metadataSupport">
    <serviceMetadata />
    <serviceDebug includeExceptionDetailInFaults="true" />
    </behavior>
    </serviceBehaviors>
    </behaviors>

    </system.serviceModel>

    Client Side App.config:

    <system.serviceModel>
    <bindings>

    WCF and WF csharp wcf sysadmin question

  • Datagridview in Vista
    R ramzg

    Yup, It was indeed my post... I'm yet to try it on vista... Will get back to you after I try it out... :)

    C# database help question

  • Datagridview in Vista
    R ramzg

    Hi Saksida... Thanks for the reply.. Here are my replies to your queries... Did you try to set compability to XP? My application is compatible with XP... The problem occurs only when i run it on Vista.. And I dint set the compatibility explicitly... Are you using SQL commands? No, I'm not using any SQL commands. Are the columns created programaticly or in design? The columns were created at design time and values are added to them at runtime.. Thanks, ramzg

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