|
I am altering my existing application developed using MS Access + VBA. I have created new window (wpf) which handles some tasks. I want this window to be loaded on button click from old MS Access application.
Is it possible to do this?
Sorry if posted at wrong forum.
|
|
|
|
|
hi guys i am using vs 2008 sp1 and i have installes silver light controls tool kit
but when i run sample solution it says gives an error stating
" type expander exsist both in control.dll and toolkit.control.dll ?
why ?
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
Do you have two toolkit versions installed?
The current namespace and assembly for the Expander control is
xmlns:stk="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
I would uninstall any Silverlight Dev Tools and toolkit versions
and reinstall the latest versions:
Microsoft® Silverlight™ 3 Tools for Visual Studio 2008 SP1[^]
Silverlight Toolkit[^]
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
no i just have silver light 3 tools and silver light control tool kit july 2009.
and another issue i get an error while compiling
the managed debugger package for silver light is not installed
why ?
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
I'm pretty sure my recommendation will fix both your issues.
When Silverlight 3 was released, I uninstalled Silverlight,
the silverlight VS tools, and the toolkit. Then I downloaded and
installed (in order) everything on the Get Started Building Silverlight 3 Applications[^]
page. Except for some namespace shuffling (they keep changing stuff for WPF
compatibility and when controls get migrated from the toolkit to the
framework) everything works correctly.
The toolkit is essentially beta, so I highly recommend keeping
up the latest version. They are fixing stuff every few months.
July is not the newest.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
I am working on a silverlight application. In this I need to access session variables in silverlight application.For this I created a WCF service to get the session variable. For this I used the following code:
In service
[ServiceContract(Namespace = "")][AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
UserId = int.Parse(System.Web.HttpContext.Current.Session["LoginUserID"].ToString());
In web.config file:
<serviceHostingEnvironment aspNetCompatibilityEnabled="true">
but I am getting the following error:
System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid. Check InnerException for exception details. ---> System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
If any one have any idea to solve this or directly access the session variable in silverlight application please reply me.
Thanks in advance.
|
|
|
|
|
Hi,
I am getting an exception while calling a WCF service in silver lght application.This exception is as below.
Exception:
An exception occurred during the operation, making the result invalid. Check InnerException for exception details. ---> System.InvalidOperationException: The underlying channel factory could not be created because no binding information was found in the configuration file for endpoint with name '*'. Please check the endpoint configuration section with name '*' to ensure that binding information is present and correct.
If anyone have idea to solve this please reply me.
Thanks in advance.
|
|
|
|
|
First idea is this: follow the suggestion of the exception and verify your binding information. You have to have a basicHTTPBinding in order to use WCF with Silverlight. Try Googling "Using WCF with Silverlight 3.0" and you will discover a wealth of information.
|
|
|
|
|
Hi,
I am working on a silverlight application. In this I developed a WCF service in this silverlight application itself. Now I want to use this in a silverlight page or form.
If anyone have any idea to on using a WCF application in silverlight application please reply me.
Thanks in advance.
|
|
|
|
|
Nekkantidivya wrote: If anyone have any idea to on using a WCF application in silverlight application please reply me.
Maybe you could actually reply to peoples replies instead of
asking the same question over and over.
I asked before: Are the endpoints configured properly on both ends?
From your posts, I'm thinking no.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
In addition to properly defined endpoints, you can only connect using basicHTTPBinding not wsHTTPBinding
|
|
|
|
|
Hi,
This is from Chandrakanth. Working on WPF Project.
My Problem is "HOW TO BIND THE IMAGE TO DATA GRID CONTROL FROM
DATABASE"
Actually i am getting data from DataBase to DataSet . I have to bind that Image to DataGrid Column. That Column Name is ImageDes.
Can any one tell me how to do that.
Thanks and Regards
Chandrakanth
|
|
|
|
|
What form is the image data in?
Without seeing a sample of the data class used as the DataGrid data
and what your DataGrid column definition looks like, it's difficult to
give a precise example...
Can you post a simple example of the XAML and the data class?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Dear all,
I have datagrid control being data bind from database using webservice in which there are two columns called ColA and ColB.
ColA is HyperlinkButton(DataGridTemplateColumn) and ColB is DataGridTextColumn. There is Click event for HyperlinkButton(ColA),in which I am trying get the content of both Column values(ColA and ColB).It is able to read ColA but not ColB from Code.Can anyone help me regarding this.
Regards,
Sundeep G
|
|
|
|
|
Sundeep Ganiga wrote: .It is able to read ColA but not ColB from Code.
How are you doing this?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
|
Can you use the Datagrid.SelectItem property to
get the data for the entire row?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
|
|
You'll need to bind the SelectedItem to a property on your view model. You should then be able to set the property from the code. Don't forget to notify property change
|
|
|
|
|
Hi together,
for a benchmark (WinForm - WPF) I want to measure the drawing time of an thrid party control (for WinForm and WPF available). Under WinForm I created a test project, derived the thrid party control and override the OnPaint and OnPaintBackground Method to measure the runtime. I just started programming in WPF, so I do not now who I can do this measureing under WPF. Does somebody have an idea?
thanks in anticipation
netsrak
|
|
|
|
|
Hi,
I am working on a Silver light application. In this I used WCF service. While using this service I am getting the below exceptions.
class: System.ServiceModel.CommunicationException.
Message: The remote server returned an error: NotFound.
It is saying like some error in the web config file that is no binding information is provided for the endpoint with name '*' in the config file.
If anyone have any ides to solve this please reply me.
Thanks in advance.
|
|
|
|
|
Nekkantidivya wrote: It is saying like some error in the web config file that is no binding information is provided for the endpoint with name '*' in the config file.
You can't post the EXACT error?
Are the endpoints configured properly on both ends?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi all,
I have to do printing of visuals say Grid contents, over multiple pages supporting basic printing functionalities like changing the margin, orientation ,paper size etc without invoking Print Dialog.
1. So should I use Custom Printing or Will Print document serve my purpose?
2. If Print document allows these features, please let me know how to convert the visual as a IDocumentPaginatorSource to pass it to the Print Document function?
Please reply asap...Very urgent... please provide sample code if you have...
|
|
|
|
|
How can i use ref key word on service class on silverlight application and get value of that reference type variable on .xaml page.
Please help.
-Raghvendr Singh
|
|
|
|