|
P/Invoking incorrectly, but the CLR fixes it silently?
Greetings,
I have just noticed something interesting about the CLR's generation of
stub code for p/invoke calls (this is on .NET 2.0):
I am using a library called Cairo for some vector graphics drawing.
On windows, it's a DLL written in plain C, exporting its functions as
CDECL.
To interface with my C# app, I found a managed wrapped called "cairo-
sharp", which seems to work quite...
|
4 |
6/17/2007 3:13:33 AM |
|
Exchange 2003 API Pointers?
Looking for all pointers, references, code sample for sending commands
to Exchane 2003. I would like to send mail using MAPI, create/modify
appointments, etc. I don't want an Outlook interface, but something
that will talk to Exchange directly (impersonating any user I see
fit).
Thanks.
...
|
5 |
6/16/2007 5:57:29 PM |
|
WebDav Library for .NET?
I have to work with a WebDAV server, and was wondering what .NET
libraries or sample code exist to do so.
Thanks.
...
|
3 |
6/16/2007 5:56:49 PM |
|
[WPF] data binding and SetValue()
I have a color chooser class
class ColorPicker : Control
{
public byte R { get; set; }
public byte G { get; set; }
public byte B { get; set; }
public Color Color { get; set; }
}
All are dependency properties.
All these dependency properties are obviously related, when Red change,
Color change and vice versa.
Now I wonder how to update them as a whole.
If I do it ...
|
3 |
6/16/2007 3:08:13 PM |
|
Programming for multiple monitors
I'm testing some 3rd-party software and I noticed that the application
doesn't remember which monitor it was last running on and always opens on my
primary monitor. This got me thinking that if I were ever to write an app
for widespread distribution, I'd want to go the extra mile and add this
funcrtionality to it to give it that extra professional touch. So how do I
do it? What class, if...
|
4 |
6/16/2007 9:06:16 AM |
|
image (bmp) to PCL
We are trying to convert an image into a PCL format but unfortanately our
efforts are not paying off. The reason for this conversion is because we
would like to print on a continuous paper (on dot matrix printers) but if we
send the data directly the printer does not recognize the end of the page
(since the page is continuous) and will still eject the paper after the print
is done.
We...
|
3 |
6/16/2007 5:07:04 AM |
|
regex help
hi,
i need a regular expression which would match the exact word in a given
string.
for ex
my input is as below and my pattern is .ocx
".docx .DOCM .DOTX .DOTM"
i want only .ocx string to be matched, if any..
currently, it matches docx also....which i dont want...
what is the appripriate regex pattern..
do help out...
|
2 |
6/16/2007 3:32:32 AM |
|
visual studio help
Hello all,
We are developing a web service that integrates one of our line of business
asp.net apps to quickbooks. The QB SDK provides a dcom exe wrapper
(qbxmlrp2.exe) which basically wraps calls to their underlying dll. One of
the documented issues is that this dcom app (qbxmlrpe2) must run under the
identity of interactive user in DCOM. The issue with that is in production
we cannot gua...
|
1 |
6/16/2007 2:00:14 AM |
|
Question about BeginInvoke.
I don't understand why the order of events happening here is
predictable.
Let's say I have a base class user control with a 'Load' event handler
and a sub:
Private Sub iMatterControlForm_Load(ByVal sender As Object, ByVal e
As System.EventArgs) Handles Me.Load
Debug.WriteLine("BASE CLASS LOAD")
Me.BeginInvoke(New MethodInvoker(AddressOf TestOnLoad))
End Sub
...
|
4 |
6/15/2007 9:15:23 PM |
|
<Remoting.Contexts.Synchronization()> and inheriting ContextBoundObject
I have created a parameterized constructor in as Public New(name as String).
Within this constructor I set a private variable to the value passed in the
name parameter. The private var does NOT get set in a class where I have
<Remoting.Contexts.Synchronization()> and inheriting ContextBoundObject
Any info is appreciated on why this attribute and inheritance will cause
this behavi...
|
1 |
6/15/2007 8:13:48 PM |
|
Problem with connecting to QuickBooks on Windows Server 2003
Hey all,
i am writing a windows service application that uses QBFC6 to connect to
QuickBooks.i can run the application fine on my local machine that uses
windows xp.but when i try to connect to quickbooks with the same windows
application that has rights as local admin on windows server 2003 .can
anyone help me.
...
|
1 |
6/15/2007 7:14:05 PM |
|
Business Desktop Deployment Error
it is a Windows 2003 server ... I am trying to use
Business Desktop Deployment to try and create a Windows
XP image ...
System.BadImageFormatException: An attempt was made to
load a program with an incorrect format. (Exception from
HRESULT: 0x8007000B)
at Microsoft.BDD.ConfigManager.PEManager.Generate()
at Microsoft.BDD.ConfigManager.DeployItem.Generate
(String platform, ...
|
1 |
6/15/2007 5:47:27 PM |
|
.NET requirement ( local in DC )
Hello
I am looking for a .NET candidate. Please send me resume with salary
expectations/US work status if you are .NET expert and looking for
job.
This is in DC
Also, Please refer your friend
here is the job detail :
Project Details:
I am looking for 2 different types of developers for C#.Net...one who
is good at coding and loves to code, also the other they would prefer
to be ...
|
1 |
6/15/2007 2:35:09 PM |
|
XAML and binding problem
I'm trying to create a subclass of Slider which slide from one color to the
next and has a gradient brush background.
The C# code has 2 new properties: StartColor, EndColor
The XAML code is the following:
==================
<Slider x:Class="TransparencySlider.ColorSlider"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winf...
|
6 |
6/15/2007 1:43:38 PM |
|
Invoke a remote button on a web page
Dear All
I have a very urgent requirement if somebody can
help!!!!!!!!!!!!!!!!!!!!!!
i have a requirement to upload a file through a remote web page.
Speaking more clearly i have a excel addin that will pick some values
from the cells and create a text file, after that using a web page url
it will try to uplaod that text file. The Webpage consists of a File
control and a Button to Impo...
|
3 |
6/15/2007 11:25:37 AM |
|
ODBC and C# Express edition
Hi
I have some paradox db's i need to connect to. I have figured out that
i can do this using ODBC, however C# Express edition does not support
this connectivity easily and must be done programmatically. I have a
class to do this:
public static class Data
{
public const string SelectAllCommandText = "select * from
WindowInfo";
public static string ConnectionStrin...
|
2 |
6/15/2007 10:29:42 AM |
|
What Event Occurs When Someone Leaves Your Web Site?
I need to ensure that session variables are removed whenever someone leaves
my web site. My understanding is that this should be happening
automatically with the session mode set to InProc. But it's not. Every
machine I'm testing this on does the same thing, but then again, everyone is
using Internet Explorer 7.0 with multiple tabs active.
Also, this problem just popped up, probably ...
|
3 |
6/15/2007 10:04:31 AM |
|
Change framework language
I need to change which language the .NET framework exception messages is
displayed in. I'm using Windows Vista Business with danish as UI language.
This means that the exception messages gets translated into danish =
completely useless and often very hard to make sense of...
Is there any way to change this back to english? There are no language
packs to install og uninstall :(...
|
4 |
6/15/2007 8:01:55 AM |
|
Create a tab delimited text file
Hi all
I have two coloumns in a excel worksheet where the first coloumn is a
header and the second coloumn is a corresponding value. Also i have a
text file That contains header and values in a tabdelimited format.
Now the requirement is like I have to compare the Headers in excel
with the headers in the text file and write the corresponding values
from the excel in the text file. Can som...
|
3 |
6/15/2007 6:40:23 AM |
|
Save a excel file as a TAB delimited text file
Hi all
i am trying to save a excel file as a tab delimited text file. can i
do it some how?
i using the code
_sheet1.SaveAs(@"C:\PRP
\PRPTemp.txt",Excel.XlFileFormat.xlTextWindows ,Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing,Type.Missing);
Kindly assist
regards
shantanu
...
|
1 |
6/15/2007 6:28:16 AM |
|
Emitting entire class from source
Some time ago I wrote a simple reflection.emit example where I emitted
an entire assembly based on source code. Now I forgot exactly how and
all examples online deal only with defining a class through reflection
methods, defining a method and then finally emitting IL for that
specific method.
What I had then would take a string such as "namespace someName{class
someTest{public int test(int...
|
2 |
6/14/2007 9:38:39 PM |
|
Messenger-Esque Windows Service: How Do Major Messengers Do It?
I am fairly new to .net development. I have read a number of articles
about developing messenger applications, but they all assume that it
is operating internally and that the IP address of the client is
known. I would like to develop a messenger-esque service that will
communicate live database information to a central, remote server.
The process would be something like this:
1) A user at...
|
4 |
6/14/2007 8:33:50 PM |
|
Office 2003 Dictionary
I have a document that I wrote in English and now for some reason when I try
to spell check it my system is using a French dictionary. I checked MS Offcie
2003 Language Settings and the only enabled languae is English (US). I had
this problem once before accidentally figured out how to change the
dictionary back to English but cannot recall how I did it. Any suggestions?
--
MungMan
Chi...
|
5 |
6/14/2007 7:06:01 PM |
|
VS 2005 does nt see 3.0 Framework
I have checked the regsistry & the add/remove programs for correct
installation of 3.0 but the 3.0 .NET framework does not show up in my VS
2005. What do I do to make VS recognize 3.0 ?? Thanks
--
Andrew...
|
6 |
6/14/2007 5:55:41 PM |
|
Framework runtime environment
Hai,
I have one doubt about .net runtime environment.
Whether each .net application having its own runtime environment
or one runtime evironment will manage all the application.
For eg., if we run one java application, java.exe file will run
for each application. we can see it in our task manager.
Regards,
Raju.
...
|
7 |
6/14/2007 5:50:23 PM |