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
M

messages

@messages
About
Posts
305
Topics
126
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • pointer to pointer
    M messages

    Hi everyone The output of this code is 10, I want to know why **q prints 10? int x,*p,**q; x=10; p=&x q=&p; cout<<**q;

    C / C++ / MFC question

  • change text from form
    M messages

    Hi OriginalGriff I exactly wrote what you said for form2 Form2 f2 = new Form2(); f2.MyProperty = "hello!"; ... but it works very well for form1 but doesnt work for form2. I dont know why C# doenst understand it.

    C# help

  • change text from form
    M messages

    Because I have to write it with properties.(btw can I declare a property of type? but how?)

    C# help

  • change text from form
    M messages

    event handler is problem,I cant use of it.is it possible without events?

    C# help

  • change text from form
    M messages

    Its not possible I cant add two references in each form,compiler doesnt complie my code,I have tired. could you help richard please?

    C# help

  • change text from form
    M messages

    OriginalGriff your examples are my problem,show two forms and exchange the text,but you are solved a half of problem,is it possible to write a full code it?

    C# help

  • change text from form
    M messages

    well its very important to know and your code does not work when I click the button on the form2 it shows this error Object reference not set to an instance of an object

    C# help

  • change text from form
    M messages

    I have tired as you said but it didnt work.could you write what you said?

    C# help

  • change text from form
    M messages

    Thank for your reply OriginalGriff,but a question we didnt write any thing in the form2.in the form2 we have defined a property and insert close() method.but in the form1 we get the text from textbox and set the title of the form. is it possible to show two forms in the same time?

    C# help

  • change text from form
    M messages

    Hi everyone Im going to change the text from two forms for this operation I have a textbox and button in the form1 and a textbox and a button on the form2 each time I click on the button1 it must change the title from the form2 and vice versa Im using of this code in the form1 private void button1_Click(object sender, EventArgs e) { Form2 form2 = new Form2(); form2.Show(); new Form2().Text = textBoxform1.Text; Hide(); } in the form2 private void button1_Click(object sender, EventArgs e) { Form1 form1 = new Form1(); form1.Show(); form1.Text= textBoxform2.Text; Hide(); } but this code have a problem each time I want to change the text from forms I have to make a new instance of forms is it an another way to change

    C# help

  • return value
    M messages

    Thank you Aescleal.

    C / C++ / MFC help data-structures question

  • return value
    M messages

    Thank you Joe794.

    C / C++ / MFC help data-structures question

  • return value
    M messages

    This recursive function doesnt have a end point,becuase 12 item is not exist in the array.How we can fix this recursive function to solve this problem?

    int _tmain(int argc, _TCHAR* argv[])
    {
    int arr[10] = {1,2,3,4,5,6,7,8,9,10};
    int sum;

      sum=BinSearch(arr,12,0,9);
    	  cout< A\[mid\])
    		return Binary\_Search(A,item,mid+1,height);
    	else
    		return Binary\_Search(A,item,low,mid-1);
    

    }

    C / C++ / MFC help data-structures question

  • Order
    M messages

    I have to compute it myself on the paper without any program. but I cant do it,could you help me please?

    C / C++ / MFC question performance

  • Order
    M messages

    No its not a programming project.its about data structure lesson an I have to compute it myself.

    C / C++ / MFC question performance

  • Order
    M messages

    Writing a program to compute n series of Fibonachi (Recursive and No Recursive ) I wrote this for non recursive

    #include
    using namespace std;

    int Fibo(int number);
    int _tmain(int argc, _TCHAR* argv[])
    {
    int i,sum,n,a1,a2;
    cout<<"enter number : "<>n;
    i=3;
    sum=0;
    if(n==1)
    cout<<"1";
    else if(n==2)
    cout<<"1,1";
    else
    {
    cout<<"1 ,1 ,";
    a1=1,a2=1;
    while (i<=(n))
    {
    sum=a1+a2;
    cout<>nn;
    while(ii<=nn)
    {
    cout<<"\t"<
    buw my question how can I compare these two methods for memory usage and their speed?

    C / C++ / MFC question performance

  • mathematicS
    M messages

    Hi everyone I'm looking for a site to learning mathematical from base to subject's like integral,before asking in this forum I was searching by google, but I couldnt find any helpful site.can you help me or do you know a expert site? Thanks

    The Lounge algorithms help question learning

  • rule of DataAdapter
    M messages

    And we can use of it form programming (dataset dt=new,....) and from toolbox in the visual studio,right?

    Database question

  • rule of DataAdapter
    M messages

    Is it correct we can fill a dataset with connected objects(connection,command,dataadapter) and without them(with data source window)? if yes so we are using of the connected objects to fill a disconnected object(dataset),right?

    Database question

  • rule of DataAdapter
    M messages

    Hi everyone I have a question,is it correct connected data objects consist of connection,command,reader and dataadapter(why we need to DataAdapter in a connected model?),transaction,.... disconnected data objects consist of dataset,dataTable,datarow,dataadapter so we have two main models connected and disconnected. what is the rule of DataAdapter in connected model? why do we need to use of a dataadpter to fill a dataset like this in a connected model?

    .....
    sqlDataAdapter = new SqlDataAdapter(cmdString, sqlConnection);
    sqlDataAdapter.SelectCommand = sqlCommand;
    SqlDataAdapter sqlDataAdapter;
    sqlDataSet = new DataSet();
    sqlDataSet.Clear();
    int intValue = sqlDataAdapter.Fill(sqlDataSet);

    is it right we are shifting of connected model to disconnected model,if yes why?

    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