|
Hi everyone;
i am using emgu cv 2.4.9 beta. I have installed this but i have a problem.
When i create a project and adding reference dlls and others dll. I have cv.invoke error. But when i go project settings and change my output directory to emgu\bin\ everything is ok. What must i do to solve this problem. Does somebody solve this ?
I have solved my problem but i took another error.
badimageformatexception
thanks..
modified 14-Dec-13 7:15am.
|
|
|
|
|
Hello
how I can create power point file from c# and add image to it just empty ppt and contains image
thanks in advance.
|
|
|
|
|
|
|
script code for mobile wireless sensor networks in c# please>>i can buy it >>if ..email: nas4yemen@gmail.com
|
|
|
|
|
For me that doesn't make much sense.
are you after something that scans to see what wifi signals are in the area?
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
You're not going to get anything with a question like that. It's way too vague. You're not describing exactly what you mean or expect by "mobile wireless sensor networks" and you don't specify any kind of platform this code will run on, and there is NO WAY IN HELL ANYONE IS GOING TO HAND OVER THEIR HARD WORK TO YOU FOR FREE!
Oh, and the only people who care about your email address are the spambots that routinely scan public forums like this looking for email address to send all kinds of spam to.
|
|
|
|
|
This is my code. Please help.
string from = "myemail@myexchangeserver.com";
string to = "recipient@email.com";
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP1);//error here
service.AutodiscoverUrl(from);
EmailMessage message = new EmailMessage(service);// Error here
message.Subject = "Email Subject";
message.Body = richTextBox1.Text;
message.ToRecipients.Add(to);
message.Save();
message.SendAndSaveCopy();
|
|
|
|
|
What error messages do you receive?
Veni, vidi, abiit domum
|
|
|
|
|
the error says "you might be missing a using directive".
|
|
|
|
|
|
Are you saying you have not included #using directives for all the classes you are trying to use? This is a fundamental part of .NET, which every developer needs to understand.
Veni, vidi, abiit domum
|
|
|
|
|
Make sure you have a reference to the Microsoft.Exchange.WebServices assembly, and a using Microsoft.Exchange.WebServices.Data; statement at the top of your code file.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
How to print multiple panels with database(Like below). I am able to print only one panel with database.
Example:
[xyz] [123]
[abc] [545]
[ ] [ ]
Like this in multiple pages.I searched several articles,but no luck.Any ideas.
Regards
JR
|
|
|
|
|
Member 10404865 wrote: How to print multiple panels with database What panels? If you are just wanting to print your data in columns then you need to lay it out within your code by specifying the position of your data on the physical page. However, your question is not very clear, please provide more detail.
Veni, vidi, abiit domum
|
|
|
|
|
Hi,
It should be like mailing address in panel.The printing should be made tabular columns(Two columns and four rows per page).Still confused it should be like id card badge.
|
|
|
|
|
Fine, you have told us your requirements, but not what your problem is. Please explain with proper technical detail exactly what your code is doing and why it does not work.
Veni, vidi, abiit domum
|
|
|
|
|
Hello
I want to change mouse cursor for all windows how I can do it by use API or other method.
thanks in advance.
|
|
|
|
|
|
y should use
[DllImport("user32.dll")]
static extern bool SetSystemCursor(IntPtr hcur, uint id);
[DllImport("user32.dll", CharSet = CharSet.Auto, ExactSpelling = true)]
public static extern IntPtr GetCursor();
[DllImport("User32.dll", CharSet = CharSet.Auto)]
public static extern IntPtr CopyIcon(IntPtr hInstance);
to change system cursor .
my cursor style is an image
get image
Bitmap image = new Bitmap(asm.GetManifestResourceStream(SIECURSORBusyImageResourseName));
sIECURSORBusyMouseCursor = image.GetHicon();
IntPtr intPtr = default(IntPtr);
SetSystemCursor(intPtr , OCR_NORMAL);
then you can change the cursor, i have test it in window 8。
|
|
|
|
|
That's a nice thought and all, but each application controls the mouse cursor when the mouse is over their windows. You can try to change it, but don't expect that change to stick or work in every situation.
You can change the cursor at the system level, basically, the "default" cursor shape, but don't expect it to stay that way when the mouse moves over an application window.
|
|
|
|
|
Hi I am try to get rid of an error caused by a null when I run the app it stops at:
HERE---> if (mySettings.Contains("setUserName"))<---HERE
Error Message "An unhandled exception of type 'System.NullReferenceException' occurred in Password.dll"
it doesnt show any errors prior to the button click, app loads up fine.
code below
using System.IO.IsolatedStorage;
namespace Password
{
public partial class MainPage : PhoneApplicationPage
{
IsolatedStorageSettings mySettings;
public void Settings()
{
InitializeComponent();
mySettings = IsolatedStorageSettings.ApplicationSettings;
if (mySettings.Contains("setUserName"))
txtUserName.Text = mySettings["setUserName"].ToString();
if (mySettings.Contains("setPassword"))
txtPassword.Password = mySettings["setPassword"].ToString();
}
public MainPage()
{
InitializeComponent();
}
private void btnAdd_Click(object sender, RoutedEventArgs e)
{
if (txtUserName.Text != "" && txtPassword.Password != "")
{
if (txtPassword.Password == txtPasswordConfirm.Password)
{
if (mySettings.Contains("setUserName"))
{
mySettings["setUserName"] = txtUserName.Text;
}
else
mySettings.Add("setUserName", txtUserName.Text);
if (mySettings.Contains("setPassword"))
{
mySettings["setPassword"] = txtPassword.Password;
}
else
mySettings.Add("setPassword", txtPassword.Password);
mySettings.Save();
MessageBox.Show("Settings Saved Successfully");
}
else
MessageBox.Show("Passwords are not matching");
}
}
private void btnCancel_Click(object sender, RoutedEventArgs e)
{
NavigationService.GoBack();
}
}}
|
|
|
|
|
IsolatedStorageSettings.ApplicationSettings;
seems to return null for some reason. Why? I have no idea, best guess is that you haven't it initialized anywhere.
Veni, vidi, caecus
|
|
|
|
|
Marco has clearly identified the most probable source of your 'null error.
Any time you have an error like this, it's a good idea to set a break-point before the error occurs, and then single-step through the code, inspecting the value of variables, the values returned by methods, etc.
"What Turing gave us for the first time (and without Turing you just couldn't do any of this) is he gave us a way of thinking about and taking seriously and thinking in a disciplined way about phenomena that have, as I like to say, trillions of moving parts.
Until the late 20th century, nobody knew how to take seriously a machine with a trillion moving parts. It's just mind-boggling." Daniel C. Dennett
|
|
|
|
|