15,885,896 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 Kapil Waghe (Top 25 by date)
Kapil Waghe
22-Jul-16 11:15am
View
Hello..
Thanks Arun for asking this question and specially Shrey for the answer.
I'm working on same concept to share the ViewModel between more than one Views. Here Views are User Controls.
I have done this but having a small issue. Now, I want to switch between views under the DataTemplate.
1) HomeViewModel - Will have default view to show at first run.
2) AmericanFootballViewModel - This can have n number of views. ( THIS IS THE MAIN ISSUE FOR ME. ACTUALLY THIS IS MY FIRST PROJECT IN MVVM AND WPF :) )
Your help would be highly appreciable. I'm running into tight deadline.
Below example is just for reference as this will not work. It says we can add only one in AmericanFootballViewModel.
window.resources>
datatemplate datatype="{x:Type local:HomeViewModel}">
local:homeview>
/local:homeview>
datatemplate datatype="{x:Type vm:AmericanFootballViewModel}">
v_af:af_scoreboard_no_video x:name="Sai1">
/v_af:af_scoreboard_no_video>
dockpanel>
contentcontrol name="CurrentPage" content="{Binding CurrentPageViewModel}">
/contentcontrol>
Kapil Waghe
25-Mar-15 13:28pm
View
How to convert above java code into c#. I shared what I have tried till now.
Kapil Waghe
24-Mar-15 5:15am
View
Thanks for your suggestions. I updated the question as suggested.
Kapil Waghe
5-Jan-15 6:18am
View
Deleted
I'm not expecting AMD to provide technical support on Intel products. And also I'm not asking you to correct any mistakes as there is not any. Please re-read the question it just a string compression/shortner question. The links I provided, is for references only.
Kapil Waghe
5-Jan-15 6:11am
View
Hi, file contents is bytes of a file may be a small image. It is not a sequence of integers. I tried many algorithms like LRE, LZ4Codec, LZO.NET etc to compress the bytes but did not get expected results so, now I'm trying with Hex. Thanks
Kapil Waghe
26-Mar-13 2:35am
View
The page I'm requesting is very large. That's why I'm using IAsyncResult. It avoide the timeout error for me. I want to run my two threads parallel so that the main thread get the url list and the inner thread read the each url html text.
Kapil Waghe
7-Apr-12 9:30am
View
Hey I got something...
I contacted to the proxy provider and said that :
"some locations in India have difficulties connecting to our servers in PA." so they gave me new proxies and they are working great. It means that it is an issue of the proxy server and the current location we are in.
Right???
Thanks
Kapil
Kapil Waghe
6-Apr-12 12:29pm
View
Hello,
Thanks for the reply. Really its a hair pulling issue.
I am trying continuously since last 4 days.
Definitely I will come to you as I got the solution. Well in you answer you told that :We are using a proxy without authentication now. Not really a solution.
It means that you are using free proxies not paid/private proxies?
Please let me know if you got something.
Awaiting your response.
Thanks
Kapil
Kapil Waghe
5-Apr-12 15:44pm
View
Hey did you got the solution for the problem. Please let me know I am having the same problem.
Kapil Waghe
4-Apr-12 7:20am
View
I am new to Aweber. I am playing with this first time.The Aweber providing the API for PHP, Python and Ruby only (labs.aweber.com) . I want a connection between Aweber and C#.
Kapil Waghe
30-Mar-12 10:43am
View
I want to set the paid proxy using my application. OK Thanks
Kapil Waghe
30-Mar-12 8:41am
View
have a look on it : http://hidemyass.com/proxy-list/
This is free proxies list and there are also paid proxies, which I want to use. Got it ?
Kapil Waghe
30-Mar-12 8:17am
View
Sorry for not to be clear.
I am able to use the free proxy in the C# desktop application but I want to know how to integrate/use paid/private proxy in the application.
Thanks
Kapil Waghe
20-Mar-12 10:08am
View
yeah ...... you are GREAT again :)
You rocked it. Thanks for this too much valuable solution.
Keep updating us with your great knowledge.
Kapil Waghe
19-Mar-12 16:25pm
View
Hi,
Can you please tell me how to sort the hidden columns in grid?
Kapil Waghe
19-Mar-12 15:06pm
View
Hey Great, this is what I implemented. Thanks a lot for the help.
Kapil Waghe
7-Mar-12 4:47am
View
Thanks Rahul.. Let me test the dependency watcher. As I am not familiar with dependency watcher ,do you have any example link? If yes please share with me.
Kapil Waghe
7-Mar-12 4:33am
View
Is it really a OS issue? Any expert suggestion?
Kapil Waghe
7-Mar-12 4:12am
View
1) .Net Framework is same on both the machines.
2) I am using the MSI installer on the Vista machine to install the product.
Kapil Waghe
29-Feb-12 13:50pm
View
It is not alphanumerical. I want to sort it according the number of keyword in a phrase i.e. "house money money" has 3 keywords, "Is money important to us" has 5 keywords and so on.
Kapil Waghe
23-Jan-12 10:06am
View
Anyone can help plzzzz???
Kapil Waghe
17-Jan-12 23:42pm
View
Hi,
Please have a look on http://www.codeproject.com/KB/shell/HttpMonitor.aspx .
I am asking for something like it. The improved version of it.
Thanks
Kapil Waghe
8-Sep-11 8:56am
View
Thanks for your valuable suggestion. I will do remember this.
Kapil Waghe
8-Sep-11 7:26am
View
Thank you :)
Kapil Waghe
8-Sep-11 7:19am
View
Here is the code:
try
{
Cursor.Current = Cursors.WaitCursor;
var drives = DriveInfo.GetDrives().Where(drive => drive.IsReady && drive.DriveType == DriveType.Removable).ToList();
cmbDrive.Items.Clear();
foreach (var dir in drives)
{
cmbDrive.Items.Add(dir.Name);
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
finally
{
Cursor.Current = Cursors.Default;
}
Show More