|
System.Runtime.Serialization.SerializationException
Additional information: Parse Error, no assembly associated with Xml key a4:http://schemas.microsoft.com/clr/nsassem/Raccoom.Batch.Commands/Raccoom.Batch.Commands BuildCommand
myMsg.BehindDaKeys = "Jerry Maguire";
|
|
|
|
|
Hi Daniel,
I made shure that my assemblies always ware the same version number, no auto increment build numbers.
Now i found out that everything goes well if i copy the needed assembly into my bin directory.
myMsg.BehindDaKeys = "Jerry Maguire";
|
|
|
|
|
Hello,
I created a component with extended property in A WEB FORM! (not windows form).
the data is stored in hashtable.
problem:
the hashtable values are not added to the form after updating the extended property. meaning, in run-time the hashtable is empty.
for unknown reason, in web application, you should do something to make the hashtable values being added to the form.
how to do so?
many thanks,
Eran.
|
|
|
|
|
Hello,
I created a component with extended property in A WEB FORM! (not windows form).
the data is stored in hashtable.
problem:
the hashtable values are not added to the form after updating the extended property. meaning, in run-time the hashtable is empty.
for unknown reason, in web application, you should do something to make the hashtable stored.
how to do so ?
many thanks,
Eran.
i read that
|
|
|
|
|
Hello,
How to create dynamically multiples controls (progressBar) varies on item count of listbox.
Items elements vary.
Thanks
|
|
|
|
|
The same way as you would a static number or as the designer does it (take a look at your code-behind source file sometime for a Form or UserControl :
for (int i=0; i<listBox1.Items.Count; i++)
{
ProgressBar pb = new ProgressBar();
Controls.Add(pb);
}
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Sustained Engineering
Microsoft
[My Articles] [My Blog]
|
|
|
|
|
Hello,
i have a problem, it is a bit long explenation but please help...
this is very very annoying problem.
i created a component the implent the IExtenderProvider.
I have "binding" property which saves information of controls in an HashTable.
since the binding is a class, i use "ExpandableObjectConverter" to convert the value from string to object
When i add the binding propery to a control in a form, it seems to be fine.
BUT when i move to the "cs" file to see how it was added, i get the following error in the "task list" : "code generation for property Binding failed. Error was: 'key cannot be null. Parameter name key'" !?
the cs files remains as is without any modifications.
i tried to debug the design-time and saw that the values are added to my hashtable. offcurs not while run-time (it makes sense since nothing is being added to the cs file).
i don't have such a property named "key"...
Eran Sakal.
code attached :
[Category("Data"), Description("Define DataBinding on object")]
[DefaultValue("")]
public Binding GetBinding(Control extendee)
{
if (m_bindingCol.Contains(extendee.ID))
return (Binding)m_bindingCol[extendee.ID];
else // if not exist, create default value which is not added to the hash table
{
Binding binding = new Binding(null);
return binding;
}
}
public void SetBinding(Control extendee, object value)
{
Binding binding = value as Binding;
binding.Control = extendee;
if (binding.ObjectProperty == null)
m_bindingCol.Remove(extendee.ID);
else
{
// set default controlproperty if null
if (binding.ControlProperty == null)
binding.ControlProperty = (extendee is CheckBox) ? "Checked" : "Text";
if (binding.ObjectType == null)
binding.ObjectType = m_boundType;
// add to collection
if (m_bindingCol.Contains(extendee.ID))
m_bindingCol[extendee.ID] = binding;
else
m_bindingCol.Add(extendee.ID,binding);
}
}
|
|
|
|
|
|
How can I know which of my winforms are open?
Thanx
|
|
|
|
|
Do you want to know which are open or which are active, because there's a difference? Only one top-level window can be activated on the entire desktop at a time. If you want to get the active form in your application, then use the static Form.ActiveForm property.
If you want to know which windows are open, then you need to track your Form variables.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Sustained Engineering
Microsoft
[My Articles] [My Blog]
|
|
|
|
|
Hi
Is there a way to find any of the managed directx dlls eg. microsoft.directx.dll if the user doesn't have the directx sdk installed?
Thanks
|
|
|
|
|
|
Basically on computers with directx 9c sdk installed there is a Microsoft.NET/ManagedDirectx directory in the windows directory which contains the directx dlls. Is there any way for users to access these without having the directx sdk installed?
thanks
|
|
|
|
|
thepersonof wrote:
Basically on computers with directx 9c sdk installed there is a Microsoft.NET/ManagedDirectx directory in the windows directory which contains the directx dlls. Is there any way for users to access these without having the directx sdk installed?
What to you mean by "access"?
If the files are on disk then yes, this folder has no special permissions on it.
If you need Managed DirectX to be on the system for your application to run then you need to install the DirectX redistributable with your application. The SDK is a Software Development Kit which has additional aids and documentation for developing software which your end users do not need. If this is what you mean the link I gave in my previous post will help you find the redistributable package.
Does this help?
Do you want to know more?
WDevs.com - Member's Software Directories, Blogs, FTP, Mail and Forums
|
|
|
|
|
my application is to be used for the creation of 3d graphics and also of presentations. Therefore in order to compile these dlls are required. In other forums it has been suggsted that they are in the GAC, would I find them thereor would I have to distribute thm myself?
Thanks
|
|
|
|
|
thepersonof wrote:
Therefore in order to compile these dlls are required.
Compiling the application is something that the developer does. The user does not need to compile the application as they receive it in the compiled state.
The compiled version will need the appropriate assemblies to be available to it. This is why you need to redistribute the Managed DirectX assmeblies as you are not permitted to supply the SDK.
thepersonof wrote:
In other forums it has been suggsted that they are in the GAC, would I find them thereor would I have to distribute thm myself
That is correct. You therefore need to supply the Managed DirectX redistributable with your applicaction. Its installer will make the appropriate checks and install itself if necessary.
Does this help?
Do you want to know more?
WDevs.com - Member's Software Directories, Blogs, FTP, Mail and Forums
|
|
|
|
|
Not really. My program compiles 3d graphics and presentations, that is what the problem is, not redistributables, etc which I am perfectly competent with. Thanks for trying though.
|
|
|
|
|
If you are competant with redistributables, then where is the problem distrubitng the DirectX SDK with your 3d compiler application?
|
|
|
|
|
|
What is wrong with that. You are creating a compiler with associated IDE (and one presumes documentation). My Visual Studio install is in excess of 1Gb (more if you include the MSDN library)
If your compiler is allowing its users access to the Mangaged DirectX APIs then I cannot see a problem with distributing the SDK (license permitting). If you are providing a layer of abstraction so that your users do not need to know anything about DirectX then you will be able to get away with the redistributable.
Do you want to know more?
WDevs.com - Member's Software Directories, Blogs, FTP, Mail and Forums
|
|
|
|
|
So what you are *really* asking, is "Can users of my app use all the cool features of DirectX without the 200 Mb install." - and the answer should be obvious to any developer.*
The pros and cons of this argument are the same as with the .NET re-distributable, and there are many topics here and many other places on this exact subject.
* Some redistributables can be broken down to core components, which tends to be alot smaller than the setup executable, you may want to investigate if this is an option with managed DirectX
|
|
|
|
|
Hi
Is there a way to add MSIL to c# code?
Thanks
|
|
|
|
|
|
Will ILASM not work?
Thank You
Bo Hunter
|
|
|
|
|
ILASM will work, but you won't be able to embed it inside C# code. You can build a DLL and call it from C#, tough, but I guess this is not what the original post wanted to do...
Yes, even I am blogging now!
|
|
|
|