hi guys,
i was wonder if there is any way one can read-write (or save/load) AxShockwaveFlash Flash Object to a (binary/text)file?
I have a Winform with AxShockwaveFlash Flash Object on it and want it to be save to a
file ,but serialization doesnt not work as type AxShockwaveFlash is not marked for Serialization?
(Basically trying...
Designing a Windows Forms application using C#, i am facing a problem. The application performs its functions smoothly when connected to the Internet but the real problem starts when we try the application in our College.
Our College connects to the Net using proxy gateways. The Proxy server is "192.168.120.5" and Proxy Port "8080".Eve...
I'm trying to pass in a property of a Linq entity to be used by my method. I can easily pass a property to be queried
Func<Entities.MyEntity, ResultType> GetProperty = ent => ent.Property;
However this returns ResultType and cannot be used to set the property.
I thought about using reflection to get a propertyInfo, but this will le...
How about it's latency? I mean how much time it will cost for one trace message? Is it in milliseconds level?
...
Hello,
I am trying to retrieve a value from a drop down list in MVC, I am able to bind the drop down list from a table but unable to save the id of the drop down value selected back to the database.
//The following is a snippet of my Create.aspx
<%= Html.dropdownlist("departments", "Select One")%>
//The following is a snippet of my Ho...
We want to have web based application to track the issues, knowledge management and chat system. Once the user logged in, user can chat with the service engineers.
We will be using Ajax for Chat within the browser. But the server-side we are not sure how to implement chat? The chat history must be saved for lateral viewing. When someone...
A while back, I posted this question about trying to get a flowlayoutpanel to autosize properly when docked to the top of a container. What I was trying accomplish was to setup a horizontal (left-to-right) flowlayoutpanel spanning across the top edge of a form, and a datagridview taking up the rest of the available space below the flowl...
I have multiple toolstrip controls in my application and was looking for a way to hide them all at once.
E.g.
allToolStrips.Visible = false;
instead of
toolstrip1.Visible = false;
toolstrip2.Visible = false;
...
toolstripn.Visible = false;
I'm using C# if it matters.
...
ThisAddIn class created with new Outlook VSTO C# project has a Application property that you can use to among other things get access to Outlook folders and items. The problem is that you can easily use it when you're inside of ThisAddIn class but there's no easy access to it from other classes in the project. This is because it's an ins...
I've recently downloaded Ajax Control Toolkit to use with my ASP.NET web app.
I added the AsyncFileUpload control to a web form but when I try to run the application, I get an error :
"Unknown server tag 'cc1:AsyncFileUpload'."
I have this in the ".aspx" page :
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit...
Comming from a C# background I'm now trying to learn Delphi.
There are many similarities, but one of the first road blocks I'm facing now is my project hierarchy.
In .net I've got the following
Solution
|-Project1 (.dll)
|-Project2 (.exe)
I used to also organise them like that in my folder structure.
But I can't find the equ...
Is it possible to execute an exe file that is included in the project as a resource? Can I fetch the file as a byte array and execute it in memory?
I don't want to write the file to a temporary location and execute it there. I'm searching for a solution where I can execute it in memory. (It's not a .NET assembly.)
...
Hi!
How to call a function in vb.net DLL from VBScript?
I did the following:
- I create public class named Class1 in vb.net.
I go to Visual Studio 2008 Command Prompt and go to my class dll - C:\Myapp\bin\Debug and type following command tlbexp myDLL.dll after that i get message Assembly exported to
C:\Myapp\bin\Debug\myDLL.tlb
Aft...
I would like to convert a PDF file to .GIF using C# and magicknet.dll. I have added the reference to the MagickNet Dll to my project.
MagickNet.Magick.Init();
MagickNet.Image img = new MagickNet.Image("d:/aa.pdf");
img.Write("d:/bb.gif");
MagickNet.Magick.Term();
img.Dispose();
System.Runtime.InteropServices.SEHException was unhandle...
While using the .Net client TIBCO EMS, How to monitor outgoing messages from my .Net Tibco client?
I'm going to send Application-level, not jms-level, acknowlegements and replies.
How can I tell If the application sent them or not? If the client failed to send a message will it throw an exception or store the message to try again later...
When doing a begin... async call, the delegate I pass is handled (according to the documentation) in the default threadpool.
for instance: System.IO.Stream.BeginRead(
byte[] buffer, int offset, int count,
AsyncCallback callback, object state);
How can I make it so that I can use a dedicated threadpool for async method handling?
...
I have a class that maintains list of objects of another class. List of objects is a public property. I would like to prevent users from adding and removing objects directly to list like this:
MyObject.MyListProperty.Add(object);
Instead I want them to use method that will internally do some processing and then add object to li...
I need to reduce a 32bit bmp to a maximum of 256 colors, either manually or through some built in .net functionality. I haven't managed to find any info on how to do it. Could someone offer some pointers please.
Edit: To clarify, I don't really just want to convert the 32 bit bmp to an 8 bit bmp. I want to map the input bmp to a standar...
Okay so here is a random error. I'm dynamically adding images to an html page. The images are on another server that I do not have control of. The images are named something like this:
imageName10.jpg
imageName11.jpg
imageName13.jpg
imageName14.jpg
imageName16.jpg
imageName17.jpg
imageName19.jpg
Lets take the list of images above. I wan...
Why does WCF does not allow to set the "IsRequired" property for DataMembers when I set the "IsReference" property for the DataMember's DataContract? And is there a way to solve this problem?
[DataContract(IsReference = true)]
public class MyClass
{
private DateTime date;
[DataMember (IsRequired = true)]
...