15,891,033 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Saurabh.abhyankar (Top 18 by date)
Saurabh.abhyankar
30-May-17 1:20am
View
Ok thanks will look into it.
Saurabh.abhyankar
30-Oct-12 2:08am
View
This is how we used to refer in our C++ environment
#import "c:\program Files\Common Files\system\ado\msado15.dll" rename_namespace("ADOCG") rename("EOF","EndofFile")
I have changed it to
#import "c:\program Files\Common Files\system\ado\msado28.tlb" rename_namespace("ADOCG") rename("EOF","EndofFile")
Also can you please elaborate on what you mean by "you'd have to import both old and new typelibs (using the rename_namespace[^] directive) and have two implementations"
Saurabh.abhyankar
14-Aug-12 6:52am
View
Humm.. need to check .. if i can do that.. its going to be a long process if i take up this part suggested by you.. Any thing else coming up in your mind?? And thanks a lot for the help..
Saurabh.abhyankar
14-Aug-12 6:20am
View
we are using the MergeSynchronizationAgent class's Synchronize() method. Does it use index?
Saurabh.abhyankar
14-Aug-12 4:57am
View
The databases are similr the only thing that is worrying me is that say in the central database we have columns 'A', 'B', 'C' while replicating we delete the column 'B'(this column is not replicated) and create it after the local database is created . So no the local database sequence becomes 'A', 'C', 'B'.
Is this causing the problem while sync as it cant map the columns one to one???
Saurabh.abhyankar
21-May-12 8:15am
View
yup cppCheck worked great..
Saurabh.abhyankar
3-May-12 0:27am
View
Yup thats the reason why i posted the answer here.. coz i myself did search on the net .. i found such kind of Questions but no answers to it.. The reason might be that people themselves had solved the problem but no one posted thier ans back.. :)
Saurabh.abhyankar
14-Jul-11 0:21am
View
Thank you guys for the help . I think i will go with the Enabled = false property as most of u suggest. Thanks a lot
Saurabh.abhyankar
13-Jul-11 0:11am
View
Can u Please elaborate ?? yes it is a C++/CLI code to invoke a C# code .
Saurabh.abhyankar
12-Jul-11 9:10am
View
Oh may be because i am using the C++ code to invoke the C# dialog there is some problem in focusing.
Any way thanks a lot for helping out.
Saurabh.abhyankar
12-Jul-11 9:02am
View
I use the c++ code just to call the forms designed in C#.
Saurabh.abhyankar
12-Jul-11 9:00am
View
Hi thanks, actually the form is designed in C# so placed the question here. Also i tried placing the Activate method just after the show but nothing happens. The form opens but the focus is not shifted to the newly opened form.
Saurabh.abhyankar
12-Jul-11 8:54am
View
Hi thanks for the reply but its not working. :-(
Saurabh.abhyankar
12-Jul-11 8:47am
View
I use the pMyDetailsInputForm->Show(WForm::MainWindowHandle); to display the dialog non-modally . where MainWindowHandle is the parent
Saurabh.abhyankar
12-Jul-11 8:45am
View
int WMain::MyDetails( ) {
// zpb_begin cmdMyDetails
#pragma push_macro("new")
#undef new
wMyDetailsInputForm *pMyDetailsInputForm = new wMyDetailsInputForm();
#pragma pop_macro("new")
if(wMDIFormHelper::MDIMode == false)
{
pMyDetailsInputForm->ShowDialog(WForm::MainWindowHandle);
}
else
{
wMDIFormHelper::SetDialogInParent();
pMyDetailsInputForm->Show(WForm::MainWindowHandle);
}
// zpb_end
return 0;
}
public static void SetDialogInParent()
{
if (msWForm != null)
{
int WIDTH = msMDIDialogParent.Bounds.Width;
int HEIGHT = msMDIDialogParent.Bounds.Height;
msWForm.SetBounds(0, 0, WIDTH, HEIGHT);
}
}
public static void SetDialog(int x, int y)
{
if (msWForm != null)
{
System.Drawing.Rectangle rec = msWForm.Bounds;
rec.X = x;
rec.Y = y+20;
msWForm.Bounds = rec;
}
}
Have posted the frag ment . i know its difficult to understand still do try to respond. the ShowdialogInParent Method is used to get the size of the parent and to resize the dialog to that size and the setdialog method is used to set the dialog at a given top left co-ordinate
Saurabh.abhyankar
11-Jul-11 4:44am
View
Hi Actually i want to add a form to the splitcontainer's panel 2. so when i add the form text box contained in the form behaves abnormaly.
Saurabh.abhyankar
11-Jul-11 4:41am
View
Sorry for posting the code that didnt compile . i was just trying to brief you guys of the structure of my code . Will keep that in mind for the future.
Thanks for pointing out.
Saurabh.abhyankar
11-Jul-11 4:39am
View
Hey hi SA thanks for answering But i cant change the structure of the program and the basic question is cant i add a form which is itself a control to a panel.
And if i add it why is the textbox a control added to the form [form - which i add to the panel] behaving in the abnormal manner on the mouse button click.
Show More