Thank you very much... Saimanti
mamoony
Posts
-
Convertin from c++ 6 to Visual studio C++ 10 -
Convertin from c++ 6 to Visual studio C++ 10I did..
bool _tagXMLNode::RemoveChild( LPXNode node )
{
XNodes::iterator it = GetChildIterator( node );
if( it != childs.end())
{
delete *it;
childs.erase( it );
return true;
}
return false;
}Is this right? Thanks, Saimanti
-
Convertin from c++ 6 to Visual studio C++ 10Thank you. It worked. But now it is giving another error..
error C2451: conditional expression of type 'std::_Vector_iterator<_Myvec>' is illegal
The code below:
bool _tagXMLNode::RemoveChild( LPXNode node )
{
XNodes::iterator it = GetChildIterator( node );
if( it ) //error is here
{
delete *it;
childs.erase( it );
return true;
}
return false;
}Thank in advance, Saimanti
-
Convertin from c++ 6 to Visual studio C++ 10Hi, Thanks. But the logic of the code is if the node matches wuth it then return it else return nothing. Thanks, Saimanti
-
Convertin from c++ 6 to Visual studio C++ 10Hi I am new in c++. Recently I am converting a C++ project to Visual Studio 10 c++ . I am getting an error.
error C2664: 'std::_Vector_iterator<_Myvec>::_Vector_iterator(const std::_Vector_iterator<_Myvec> &)' : cannot convert parameter 1 from 'int' to 'const std::_Vector_iterator<_Myvec> &'
The code is:
XNodes::iterator _tagXMLNode::GetChildIterator( LPXNode node )
{
XNodes::iterator it = childs.begin();
for( ; it != childs.end() ; ++(it) )
{
if( *it == node )
return it;
}
return NULL; //error is in here
}How to fix it? Thanks in advance, Sai
-
Windows Login BoxIs this a custom built? I do not want to use custom built. I did one myself using Active directory directory service reference and the company do not want it. Thank you, Sai
-
Windows Login BoxThank you very much :)...
-
Windows Login BoxHi I want to use windows login box in my c# application which is secure and pass values using tokens. I do not want to create a custom login box. How to popup the login screen? Thanks in advance, Sai
-
passing data between formsIt compiled and worked. Thanks, Sai
-
passing data between formsWhat I did.... In Class 1
if (login.ShowDialog()== DialogResult.OK)
{
ans= login.Result;
}In form 1
public int Result
{
get;
set;
}Result = value;
this.DialogResult = DialogResult.OK;Thnks a lot all, Sai
-
passing data between formsHi, I have a dll class and from here I am calling a form. I am able to send data from the dll class to the form. But how I am going to get data back from the form to the dll class? I wsed the same code but it is not working backward.
frmLogin login = new frmLogin();
login.Type = type; login.Username = username; login.Password = password; login.Group = group; login.ShowDialog();
Thanks in advance, Sai
-
.Net C# GUI dll will use in VB6 (Not user control)This is creating a user control. I figure it out. I had to add a form and call the form from the class. Thanks, Saimanti
-
.Net C# GUI dll will use in VB6 (Not user control)Hi, I want to create a .Net Dll in c# which will have a GUI. I need to use this in a VB6 application. Is this possible? I know how to create a class dll in C# and use it in VB6 also I can create an User Control in C# and used it in VB6 form. What I want is the VB6 will call a dll (login screen) and the C# GUI will run and give back a yes/no result. Thanks, Sai
-
Active DirectoryThank you :).
-
Active DirectoryHow can I use WPF? I heard the name before. What is Active Directory Common Dialog and DirectoryObjectpickerDialog? Thanks, Sai
-
Active DirectoryThanks, So I have to create a login form using buttons and textboxes and then use the active directory code to verify the user? Thanks, Sai
-
Active DirectoryWhere can I find the log in dialog call. It is a windows c# applicatin. Thanks, Sai
-
Active DirectoryHi I am new to active directory. I have an application in c# and want to use active directory login dialogbox in the application. I saw lots of code everywhere. Want to know how the login screen will popup. Is it automatic if you call code below? DirectoryEntry userEntry = new DirectoryEntry(users.Path, LDAPUser, LDAPPassword); ADUserDetail userInfo = ADUserDetail.GetUser(userEntry); userlist.Add(userInfo); } directorySearch.Filter = "(&(objectClass=group)(SAMAccountName=" +fName + "*))"; SearchResultCollection results = directorySearch.FindAll(); Thanks in advance, Sai