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
N

Nagaraju_Focus

@Nagaraju_Focus
About
Posts
46
Topics
29
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Painting at Non Clent Area
    N Nagaraju_Focus

    Hi all, Can Any one suggest me how to Paint (Flicker Free Drawing)at forms Non Client area. Thanx In Advance Nagraj

    modified on Friday, December 28, 2007 7:10:37 AM

    .NET (Core and Framework) graphics tutorial

  • Export Table to Xml Using Sql
    N Nagaraju_Focus

    Thanks Maharishi, But I need to Save the whole table Data into a xml file which is to be created with a sql query. means Select * from TableName to "c:\test.xml" I need a query to send whole sql table to cml file is there any way to do like that? thx.......... Nagaraju

    Database database sql-server sysadmin xml question

  • Export Table to Xml Using Sql
    N Nagaraju_Focus

    Hi All, Is there any Query to Export Table to Xml File Using Sql Server? Plz Suggest Me ... Thx in Advance Nagaraju

    Database database sql-server sysadmin xml question

  • URL Behaviour Property Not Found
    N Nagaraju_Focus

    HI All, I HAve Added Web Reference to A VC.Net (VisualC++/CLR) Project. After I Have added Successfully a Web Reference.I Have to Change the URL Behaviour Property to "Dynamic" but I Havent Found Such Property of Web reference. IF we Add A web reference to C# project & Open The Propertied Dialog Box of Web reference ,It will Show U A property "URL Behaviour" Where we can Change Dynamic or Static. But for CLR Projects I Havent seen That property. plz suggest me is there is a method where i can Change the URL Behaviout to Dynamic. Thank You Nagaraju

    .NET (Core and Framework) csharp c++ dotnet

  • How to save System Log In & Log Off Times
    N Nagaraju_Focus

    Hi All, My Task in vc++ is to save System LogIn and LogOff Times ,Date in A TextFile. I have No Idea of How to Do. I search a lot in Net But Unable to get my Requirement Plz Suggest me to get rid of this. Thanks In Advance Nagaraju

    C / C++ / MFC c++ tutorial

  • How to Activate A Control Added to Desktop
    N Nagaraju_Focus

    I have Created A ListBox Control Whose Handle is Desktop. My code for ListBox: #using using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System:ata; using namespace System:rawing; using namespace System::Runtime::InteropServices; using namespace System::Security::Permissions; namespace DeskTopTest { /// /// Summary for MyListBox /// // Requires unmanaged code [assembly: SecurityPermissionAttribute (SecurityAction::RequestMinimum, UnmanagedCode=true)]; // Requires ability to create any window type [assembly:UIPermissionAttribute(SecurityAction::RequestMinimum, Window=UIPermissionWindow::AllWindows)]; public ref class MyListBox : public ListBox { public: MyListBox(void) { } protected: virtual property System::Windows::Forms::CreateParams^ CreateParams { virtual System::Windows::Forms::CreateParams^ get() override { const int WS_EX_TOOLWINDOW = 0x00000080; const int WS_EX_NOACTIVATE = 0x08000000; const int WS_EX_TOPMOST = 0x00000008; try { System::Windows::Forms::CreateParams ^p =ListBox::CreateParams; p->ExStyle |= (WS_EX_NOACTIVATE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST); p->Parent = IntPtr::Zero; return p; } catch (Exception^ e) { return nullptr; } } } public:[DllImport("user32.dll")] static int SetParent( IntPtr hWndChild, IntPtr hWndNewParent); [DllImport("user32.dll")] static int ShowWindow( IntPtr hWnd, int nCmdShow); [DllImport("user32.dll")] static IntPtr GetDesktopWindow(void); public: void ShowFloating() { if (this->Handle == IntPtr::Zero) { ListBox::CreateControl(); } //IntPtr s=GetDesktopWindow(); int x=SetParent(ListBox::Handle, IntPtr::Zero); x=ShowWindow(ListBox::Handle,1); } protected: virtual void WndProc(Message% m)override { ListBox::WndProc(m); } }; } but when i Added this listbox to my form like: MyListBox ^lst=gcnew MyListBox(); lst->Location=System:rawing::Point(264, 166); lst->Name = L"comboBox1"; lst->TabIndex = 1; lst->Visible=false; lst->Size = System:rawing::Size(171, 200); for (UInt16 i=1;i<100;i++) { lst->Items->Add("Item"+i.ToString()); } lst->ShowFloating(); and calling the function ShowFloating(); It is working fine. But I cant unable to focus On my Listbox & can

    .NET (Core and Framework) security tutorial

  • Problem with listview Control
    N Nagaraju_Focus

    Hi All, I am having a problem with list view. Im adding Items to the list view at runtime from a database & accordingly changing the height of the listview. but when listview height is greater than form height ,the listview is not scrolling accordingly. Like Combobox items scroll independent of forms bounds,my listview should appear & behave like combobox. Plz suggest me to get rid of this problem Thx in Advance Nagaraju

    .NET (Core and Framework) database help

  • Sharing A Folder through WebApplication In .Net
    N Nagaraju_Focus

    Hi All, My task is should create Sharing a folder using web application in .net. The Sharing folder (and its files) shold be visible to all in network. I have searched a lot,to get an article,but failed to succeed. Plz suggest me or else provide a good article as iam new to creating web applications in .net Thx in advance Nagaraju

    .NET (Core and Framework) csharp sysadmin

  • Adding Own Buttons To Title Bar
    N Nagaraju_Focus

    Hi All, Is There any way Add Extra Buttons to Title Bar in .net. Plz Suggest me to get rid of this problem. Thanks in advance Nagaraju

    .NET (Core and Framework) csharp help

  • Adding treeviewCtrl to a combobox
    N Nagaraju_Focus

    Hi to all, in one of my applications ,i have to add a treeview to a combobox, i searched a lot to find an article on this, but unable to find. plz friends suggeswt me,or provide the url on how to add treeview to a combobox thx in advance Nagaraju

    C / C++ / MFC tutorial

  • how to get editctrl text from a combobox
    N Nagaraju_Focus

    Hi, I am using CComboBox as dropdown menu. But how can I get edited item (string)? GetLBText(0, str) always give me original string instead of edited one. Thanks for your help in advance. Nagaraju

    C / C++ / MFC question help tutorial

  • Retriving Column Names of a table
    N Nagaraju_Focus

    Hi to All, I have a problem in VC++. Im using ado object for database application. Is there any method exists in _RecordsetPtr to reteive all Column_Names and Data_types of columns(Fields). I have tried a lot,but failed. plz suggest me..... Thanks a lot in advance Nagaraju

    C / C++ / MFC c++ database help

  • ComboBox.Items.Insert(int index, object obj) - > whats the object?
    N Nagaraju_Focus

    Hi saud_a_k, Object means it may be any thing like string,int,char,class........ If u want insert an string at o index in combobox just use insert method: combobox1.Items.Insert(0,"Select") Use this it will works Nagaraju

    .NET (Core and Framework) question database visual-studio wpf wcf

  • DateFormat
    N Nagaraju_Focus

    Hi All, In .net,I have to convert a string into date in a format 'dd/MM/yyyy'. My Code is System::DateTime ^dt=Convert::ToDateTime(this->txtModifiedDt->Text); try { String ^str=String::Format("{0,9:dd/MM/yyyy}",dt); MessageBox::Show(str); } catch(Exception ^e1) { MessageBox::Show(e1->Message); } its working fine when I type in the order of dd/mm/yyyy format But when i type for example: 08/13/2006.it is giving error that exception has occurred. But what i need ,it should automatically convert date as 13,month as 08 . ie like 13/08/2006 Is there any way to do like that Thanks in advance Nagaraju

    .NET (Core and Framework) csharp help tutorial

  • DataGridViewComboBoxColumn
    N Nagaraju_Focus

    Hi All, I have added DataGridViewComboBoxColumn to the my DataGridView. Can Any One Suggest me How to get the Selected Item From DataGridViewComboBoxColumn; Thanks In Advance G.Nagaraju

    .NET (Core and Framework) tutorial

  • Problem With ComboBox
    N Nagaraju_Focus

    I am sending My code. private: System::Void cboSelect_SelectedValueChanged(System::Object^ sender, System::EventArgs^ e) { String ^str; str=cboSelect->SelectedItem->ToString()->SubString(0,5); cboSelect->Text=str; } I need to print only 5 charecters from Selected Item on the comboBox. I have Tried above code with SelectedIndexChanged() and SelectionChangeCommitted(),but failed. please Help out. Nagaraju

    .NET (Core and Framework) help question

  • Problem With ComboBox
    N Nagaraju_Focus

    Hi all, After Selecting An item in Combobox (Using Mouse), It is Generating an event SelectedValueChanged() . 1. In that I have written a code to Display a part of the string. It is displaying on the combobox. 2. but Immediatly ,it is displaying The whole string which i Selected with the mouse. I dont need 2nd part. can any suggest me what is happening with that event. Why it is displaying full selected Text. Thanks In Advance. Nagaraju

    .NET (Core and Framework) help question

  • How to Use String::Format Method
    N Nagaraju_Focus

    Thank U very Much George, I wish u all the best Nagaraju

    Managed C++/CLI csharp c++ tutorial

  • How to Use String::Format Method
    N Nagaraju_Focus

    Hi All, I am New user for vc.net, My code is String ^str1=L"1",^str2=L"2",^str3=L"3"; String ^str=String::Format("{0}{1}{2}",str1,str2,str3); MessageBox::Show(str); But I want Increase the String length like in VC++; CString str; str.Format("%25s%15s%15s",str1,str2,str3); I want modify above code like that Plz suggest me Nagaraju

    Managed C++/CLI csharp c++ tutorial

  • Multi Column ComboBox using VC++.Net
    N Nagaraju_Focus

    Hi All, My task is to design a MultiColumnComboBox.I tried a lot to get help using Internet.But I haven't Get any Solution for It. Please Suggest me In designing MultiColumnComboBox. Thanks In Advance Nagaraju

    .NET (Core and Framework) csharp c++ design help
  • Login

  • Don't have an account? Register

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