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
S

Said Ali Jalali

@Said Ali Jalali
About
Posts
34
Topics
19
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Your suggestion required
    S Said Ali Jalali

    Hello. Can you please advise a few sites for starting Windows Mobile programming. I am C# programmer and interested to work on mobile devices. Thank you. CanI

    Mobile android ios visual-studio help tutorial

  • Python And/Or C#?
    S Said Ali Jalali

    :rose: Hi. I was wondering if you could give me some information about Python. I downloaded it from Python.Org(Python 3.1.3).And install it. When i run it(IDLE (Python GUI)) a window lik Cmd is shown(title=Python Shell)!!!. Is that python? isn't it hard to make proram with it?How have GUI? how to add controls on a form or..... like the thing we do in C#??!! Actually,My teacher at universiy told me that making program with Python is easier than C#!!and i couldn't say anything beacuse i don't know what Python is.I just said, maybe but its 2 years that C# have taken me and i my not change it. Of course i Googled it,But finally came here in CODEProject. Thank you. :rose: CanI

    C# csharp python linux tutorial question

  • Add control to form ,from UserControl
    S Said Ali Jalali

    :rose: Hi. Let me tell you again. I create a UserControl .OK!. In Load event i write this:

         private void UserControl1\_Load(object sender, EventArgs e)
        {
         //Add Form1 to your UserControl with one Button on(button 1) it.Think we did design it. 
         Form1 f1=new Form1(); 
         f1.Show Dialog();
        }
    

    And now in that button(f1.button1) write this:

        private void button1\_Click(object sender, EventArgs e)
        {
           TextBox textBox= new TextBox();
           textBox.Text="Name";
           //And now work start.
           //Now i want to get the Form that you add the **UserControl** on it,Got it??The Main Form that Contain the UserControl. 
            //Form1 or any other name
            Form1 f1=new Form1();
            f1.Controls.Add(textBox);
            //
        }
    

    The question is How to get that form and throw(Add) the textBox on it!!We don't have it now!!??What a code should we write? I hope you understand what i am telling you. Thank you. :rose: CanI

    C# design question

  • Add control to form ,from UserControl
    S Said Ali Jalali

    :rose: Sorry,My connection broke and i thought it wasn't saved. :rose: CanI

    C# design question

  • Add control to form ,from UserControl
    S Said Ali Jalali

    :rose: Hi. I have a User Control and i added it to my Tool Box.When you add this control to your form, user control shows a form with 1 button. I want to click the button and one Text Box be added on the Main Form(Form1). How can get the form in that time(from my User Control)?? This is Design time!! Thank you. :rose: CanI

    C# design question

  • Adding Controls of user control ot the parent Form.
    S Said Ali Jalali

    :rose: Hi. I created a User Control.In load event it adds some text Boxes on it. I built it and added its DLL to my toolbox. 1:I want to change those Text box on the User Control at design time after adding it on my form. 2:Or when i add this user control to my form,I want that the text boxes on User Control be added on my form(Form1).Is it possible to write such code??? Thank you. :rose: CanI

    C# design question

  • SQL Sever 2005 is not working on 64bit Win7
    S Said Ali Jalali

    :rose: Hi I am trying to install SQL SERVER 2005 on my laptop witch has Win7 64 bit. I tested all versions (Standard,Enterprise,SQLSERVER2000,and...)But when open the SQlServer and want to connect, a message is shown with "Login failed to 'My user'...". Can you tell what is the problem? And also when i install SQL2000 in Service Manager>>Server combo Box, there is nothing to select and when i write my PC Name the Services combo box show SQl Server and is stared, but when you want to start SQl Server Agent it shows "Access denied"Message. Thank you. :rose: CanI

    C# question database sql-server sysadmin agentic-ai

  • What does this Code means?
    S Said Ali Jalali

    :rose: Thank you, I don't mean to explain just this line Code

    [DllImport("advapi32.dll", SetLastError = true, PreserveSig = true)]

    I mean totally what is this?And how to use and when to use it??? Explain me like a teacher... Thank you. :rose:

    Visual Basic question

  • What does this Code means?
    S Said Ali Jalali

    :rose: Thank you, I don't mean to explain just this line Code

    [DllImport("advapi32.dll", SetLastError = true, PreserveSig = true)]

    I mean totally what is Mean?And how to use and when to use??? Explain me like a teacher... Thank you. :rose: CanI

    Visual Basic question

  • What does this Code means?
    S Said Ali Jalali

    :rose: Hi. Can someone explain what does this code mean??When i search for something in that code i see such thing with diffrent methods. It's really nice of you to explain what does it do?Why we use it?And where we must use this? Thank you.

    [DllImport("advapi32.dll", SetLastError = true, PreserveSig = true)]

    :rose: CanI

    Visual Basic question

  • Wirless speed is too low
    S Said Ali Jalali

    :rose: Hi. I have a laptop(Toshiba).When i make wireless network and other(for example 1) connect to my network and want to get a file(s)(with 1 GB size)it take 4 hour or more to get.Is that common? Are there some ways to make the speed high? Thank you. :rose: CanI

    Hardware & Devices sysadmin performance tutorial question

  • Send data to PhotoCopy device
    S Said Ali Jalali

    :rose: Hi thank u. Well when i connect the USB line there is no reaction in windows.As u know whenever u connect a device windows shows a message that device is installed or not.But now there is nothing to show and see. And it may need the driver. as u said... Thank you. :rose: CanI

    Hardware & Devices sysadmin question

  • Send data to PhotoCopy device
    S Said Ali Jalali

    :rose: Hi i have a big PhotoCopy device and it has a network and a USB port. I'm using win7 and i want to print my word file with that device. when connect the USB port nothing happen. Can u tell how? Tahnk you. :rose: CanI

    Hardware & Devices sysadmin question

  • Creating Control at Design time
    S Said Ali Jalali

    :rose::rose::rose: Hi. Can you tell me how can i create a control at Design time but with my own c# code. For example:

    TextBox textBox=new TextBox();
    textBox.Name="My textBox";
    myForm.Controls.Add(textBox);
    myForm.Refresh;

    I want to run this Code as Design Time.It works at run time but i don't want that. I want to do some thing like DataGridView that add columns at Design Time. Thank you all. :rose::rose::rose:

    CanI

    C# csharp design tutorial question

  • Writing C# Code when working with MS Access 2007-2010
    S Said Ali Jalali

    :rose: Hi every one. I'm working with MS Access2007-2010.As you know MS Access is too weak to make good program with it.For some reason i'm forced to work with MS Access.But it's too limited and i can't do what ever i want like C#. I want to know is there any way to write c# code and use it in MS Access? And use c# components in Access? And imagin i have access form with some textBoxs,How can make the data encrypted and save it in Access dataBase?(From Access Forms,like the thing we do in C# Forms). Thank you. :rose:

    CanI

    C# csharp database question

  • Program in Client side is not working
    S Said Ali Jalali

    :rose: Hi. Server Name is Correct.And my network is working well because when i write in 'Run' for example '\\Server' it respond and i can copy any file from client to server and also from Server to client. :rose:

    CanI

    C# sysadmin security help question

  • Program in Client side is not working
    S Said Ali Jalali

    :rose: Hi. I have program with SQLSERVER 2000.My Server Name is saved in text file in 'C:\Server.txt';and when program is started , program will read Server Name from text file. But when i start my program from (Remote computer in my network) it's not working.And an exception is shown "The Timeout period elapsed prior to completion of the operation or the server is not responding"; Is the problem in my network? or in program? And this is my Connection String:

    "Data Source=" + Program.serverName + ";Initial Catalog=Nicco;Integrated Security=True";

    Thank you. :rose:

    CanI

    C# sysadmin security help question

  • "BindingSource.ResetBindings" is not working
    S Said Ali Jalali

    :rose: Hi. I'm saving data in one of table with OLEDBCOMMAND.And i have a DataGridView bound to this table with "BindingSource". When i use BindingSource.ResetBindings(false); it dosen't show the new records that i saved. When i close my form and show it againg it show new records.

    private void buttonX2_Click(object sender, EventArgs e)
    {
    if (IsEmpty.Empty(this))
    {
    if (saveEdit == SaveEdit.Save)
    {
    dataBase.Save(dataBase.SetDictionary(this), "Anbar_Kala");//(Oledb Commad)
    anbarKalaBindingSource.ResetBindings(true);

                }
            }
        }
    

    And also when i use Insert property with TableAdapter is dosen't work too.

    private void buttonX2_Click(object sender, EventArgs e)
    {

    anbar_KalaTableAdapter.Insert(TName.Text, TBDate.Text, TFrom.Text, Convert.ToInt32(Tcount.Text), TVahed.Text);
    anbarKalaBindingSource.ResetBindings(true);
    //and also anbarKalaBindingSource.ResetBindings(false);

    }

    Can you tell what to do? Thank you. :rose:

    CanI

    C# database question

  • Install Shiled
    S Said Ali Jalali

    :rose: Hi. I have an (.EXE) file(CrystallReport2005.exe)or anything else. Can you tell me how can i add this file to my install Shield project to run and install it. Thank you. :rose:

    CanI

    C# question

  • how can implement "like" sql command whit filter property of bindingSource component?
    S Said Ali Jalali

    :rose: Hi. You may found the answer.But...

    BindingSource1.Filter="Name Like'"+textBox1.Text+"'";

    And also this

    BindingSource1.Filter="Name Like'"+textBox1.Text+"%'";

    :rose:

    CanI

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