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
J

jojoba20

@jojoba20
About
Posts
53
Topics
19
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • change the exe application icon on runtime
    J jojoba20

    I googled and got the link below .But i cant run and get error. http://stackoverflow.com/questions/4127785/using-updateresource-in-c[^]

    C# csharp visual-studio help lounge

  • change the exe application icon on runtime
    J jojoba20

    I wanna the exe icon change!!

    C# csharp visual-studio help lounge

  • change the exe application icon on runtime
    J jojoba20

    I need to change the icon of the resulting .exe for my application programmatically at runtime. The path to the icon will be read form a file. I know it's possible to change the icon through: Project >> Properties >> Common Properties >> General >> Application Icon. I was reading at msdn to find the answer. It seems possible to change it but I just couldn't understand how. If anyone has done this before any help would be appriciated. I'm using Microsoft Visual Studio .NET 2008

    C# csharp visual-studio help lounge

  • Is there Any Way to Set the Namespace of a Web Service in Configuration instead of Code?
    J jojoba20

    Done.

    Calling ASP.NET Webservice (ASMX) from an Android Application, the Simplest Way

    Calling ASP.NET Webservice (ASMX) from an Android Application, the Simplest Way[^]

    C# question workspace

  • Is there Any Way to Set the Namespace of a Web Service in Configuration instead of Code?
    J jojoba20

    Currently we're using in code <System.Web.Services.WebService(Namespace:="https://ourservice/")> to set the namespace, can this be done in web.config, instead? I've looked but can't find where?

    VS2008, ASMX web service.

    C# question workspace

  • FragmentTabHost with scrolling tabs Horizontal (xamarin-C#)
    J jojoba20

    hi my code is bellow but it doesnt scroll(everything is for TabHost Not FragmentTabHost) and The tabhost is shrinking and the tab text showing in a second link also.

    I want to add Horizontal scroll only for my tabhost.

    However we can add swipe able tab. but i don't want this. i want to swipe only the tabhost. not the tab content.

    Thanks in advance.

    Android csharp mobile

  • FragmentTabHost in VS2013 - xamarin C#
    J jojoba20

    Thanks i have done that! I should change :

    mTabHost.AddTab(spec);

    To :

    mTabHost.Setup(this, SupportFragmentManager, Resource.Id.tabFrameLayout);
    mTabHost.AddTab(spec, Java.Lang.Class.FromType(typeof(Fragment1)), null);

    end of story That is all!

    Android csharp android mobile linq help

  • FragmentTabHost in VS2013 - xamarin C#
    J jojoba20

    thanks for ur advice But the error is exact there and i dont know how to solve that~

    Android csharp android mobile linq help

  • FragmentTabHost in VS2013 - xamarin C#
    J jojoba20

    thanks but i have done that but cannot help! do y have any sample ?

    Android csharp android mobile linq help

  • FragmentTabHost in VS2013 - xamarin C#
    J jojoba20

    may i give ur the whole project for downloading? thanks in advanced!

    Android csharp android mobile linq help

  • FragmentTabHost in VS2013 - xamarin C#
    J jojoba20

    i have used this for sample for that the catch is not complete. at runtime the mtabHost is not null. i have breakepoint in

    mTabHost.AddTab(spec);

    and the error occured in here. thanks in advanced!

    Android csharp android mobile linq help

  • FragmentTabHost in VS2013 - xamarin C#
    J jojoba20

    first of all thanks for ur attention. i have it in "activity_main.axml" :

    And the mTabHost isnot nulll in

    mTabHost = FindViewById(Resource.Id.tabhostN );

    Or Possible to give me and C# xamarin example for doing the same i have done? any further question?

    Android csharp android mobile linq help

  • FragmentTabHost in VS2013 - xamarin C#
    J jojoba20

    I am using FragmentTabHost in xamarin C# and i get error in : mTabHost.AddTab(spec); and the whole project is :(Part that you may need) Activity 2.cs

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    using Android.App;
    using Android.Content;
    using Android.OS;
    using Android.Runtime;
    using Android.Views;
    using Android.Widget;
    using Android.Content.PM;
    using Android.Support.V4.App;

    namespace ANRestaurant.Forms
    {
    [Activity(Label = "ANRestaurant", MainLauncher = true, Icon = "@drawable/icon", ScreenOrientation = ScreenOrientation.Portrait)]

    public class Activity2 : FragmentActivity
    {
        FragmentTabHost mTabHost;
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
    
    
            SetContentView(Resource.Layout.activity\_main);
            try
            {
                mTabHost = FindViewById(Resource.Id.tabhostN  );
                Intent intent;
                intent = new Intent(this, typeof(Fragment1));
                intent.AddFlags(ActivityFlags.NewTask);
                //mTabHost.Setup(this, SupportFragmentManager, Resource.Id.tabFrameLayout);
    
    
                TabHost.TabSpec spec;
                spec = mTabHost.NewTabSpec("artists");
                spec.SetIndicator("Artists", Resources.GetDrawable(Resource.Drawable.tab\_icon1)  );
                spec.SetContent(intent);
                mTabHost.AddTab(spec);   **`======>Here the error occered!`** 
                //mTabHost.AddTab(
                //        mTabHost.NewTabSpec("tab2").SetIndicator("Tab 2", null),
                //       intent, null);
                //mTabHost.addTab(
                //        mTabHost.newTabSpec("tab2").setIndicator("Tab 2", null),
                //        FragmentTab.class, null);
                //mTabHost.addTab(
                //        mTabHost.newTabSpec("tab3").setIndicator("Tab 3", null),
                //        FragmentTab.class, null);
            }
            catch (Exception ex)
            {
    
    
            }
        }
    }
    

    }

    activity_main.axml

    Android csharp android mobile linq help

  • print directly to printer on server (xamarin C#)
    J jojoba20

    thanks for reply do u have any example for what i wanna do? forget what i have searched! thnaks in advanced

    Android sysadmin csharp android mobile

  • print directly to printer on server (xamarin C#)
    J jojoba20

    it needs wifi printer but mine is only connected to PC(server) and the printer is shared

    Android sysadmin csharp android mobile

  • print directly to printer on server (xamarin C#)
    J jojoba20

    I want to add a method by which I can directly print report from the printer on local network. my server which printer is connected to is 192.168.1.50 (my printer isnt Bluetooth OR Wifi one.) I also have seen PrinterShare but it looks like it requires a client software running on a PC connected to the printer. I wanna to do it directly to server which has printer connected and shared! I got this code but no USE!!! I wanna to do that in (xamarin C#) try { Socket sock = new Socket("192.168.1.222", 9100); PrintWriter oStream = new PrintWriter(sock.getOutputStream()); oStream.println("HI,test from Android Device"); oStream.println("\n\n\n"); oStream.close(); sock.close(); } catch (UnknownHostException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } Thanks in advacned!

    Android sysadmin csharp android mobile

  • pin it to whatever version of VS you have - windows 8.1
    J jojoba20

    but i wanna ho have VS2008 project into jump list vs2008 and VS2013 projects to jump list VS2013 . not in VS selector. thanks in advanced!

    C# visual-studio question announcement

  • pin it to whatever version of VS you have - windows 8.1
    J jojoba20

    Hi, I have VS2013 and VS2008. now i only have Recent and Pinned List just for VS 2013. How can i have that for VS 2008 version also. In other workd : pin it to whatever version of VS you have

    C# visual-studio question announcement

  • get string from via Regex
    J jojoba20

    Thanks in advanced! How to do that in regex(Only cause the string has a lot of this href)...

    C# regex question

  • get string from via Regex
    J jojoba20

    i wanna to get text : فروش_آپارتمان-تهران-اسلام شهر-OQA2ADEAMAAwADUA.aspx from string : string s=@"href=\"فروش_آپارتمان-تهران-اسلام شهر-OQA2ADEAMAAwADUA.aspx\"\u003e\r\n \u003c"; I have tried this but not use : string _conD="href\\s*=\\s*(?:\"(?<1>[^\"]*)\"|(?<1>\\S+))"; MatchCollection _mat = Regex.Matches(s, _conD, RegexOptions.None);

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