|
Thank you very much.
This works.
|
|
|
|
|
N a v a n e e t h wrote: But why you need to create a SP run time? That doesn't make any sense.
He might be coding and OR mapper
|
|
|
|
|
Then, what i do?
Can i take backup of that and the giving it for restore.
|
|
|
|
|
I put my function in a DLL(named HookDll.dll) , declare like this:
EXTERN_C __declspec(dllexport)
LRESULT CALLBACK LLMouseEventHandler(int nCode, WPARAM wParam, LPARAM lParam)
Now in a Win32 project, I call LoadLibrary("path to HookDll.dll") and it return NULL with error code is 126 (ERROR_MOD_NOT_FOUND)
I use Dependency Walker to check if there is any missing DLL that my DLL depend on , and it warn MSVCR90D.DLL is missing.
Then , I try to use P/Invoke to call LoadLibrary in a C# project
[DllImport("Kernel32.dll", EntryPoint = "LoadLibrary")]
static extern IntPtr LoadLibrary(string fileName);
And how strange , my HookDll.dll loaded successfully , so what about the missing MSVCR90D.DLL and why it can't be loaded when I call it in native way
One more thing , I found in Dependency Walker that my function was named _LLMouseEventHandler@12 , so when I call GetProcAddress , I have to use this new name , not the one I declared above. This maybe related to C++ naming convention, but I don't understand clearly
|
|
|
|
|
Hi I got this problem. It seems that when I am setting properties in wia nothing happens. The code is as follows.
foreach (WIA.Item item in d.Items)
{
foreach (WIA.Property prop in item.Properties)
{
Object obj = (Object)dpi_hor;
if (prop.PropertyID == 6147)
{
prop.set_Value(ref obj);
}
obj = (Object)dpi_ver;
if (prop.PropertyID == 6148)
{
prop.set_Value(ref obj);
}
obj = (Object)2;
if (prop.PropertyID == 6146)
{
prop.set_Value(ref obj);
}
}
}
Can someone tell me why nothing is happening specificaly with the grayscale setting. Thanks in advance
Stephen
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
This code seem weird to me. What are you expecting it to do ? Have you stepped through the debugger with it ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Yes I have. All values are set but it doesn't make a differance to the scanning. The code is right though I did a loop through the properties and looked at the names, the right properties are being set.
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
Got it figured out. Thanks anyway
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
How did you figure it out? I`m trying to set the properties in exactly the same way, but I get a "ACCESS DENIED" error
|
|
|
|
|
hello everyone,
i have problem in replaceing some content to another one..
here is my code:-
i want to replace this one to..
should be
plz help me???
|
|
|
|
|
here is correct code:
replace your code with this one..
|
|
|
|
|
I suspect you forgot to check 'ignore HTML tags'
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i want to dir video in my application & save it in specific folder how i do that in .net 2
thanks 4 any help
md_refay
|
|
|
|
|
You'll need to write some code
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111
|
|
|
|
|
What does 'dir' mean ?
Either way, there's tons of CP articles on video in C#.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
I am writing a small project in C#.net. Now there is a need for me to use vb.net class in my project. However when I add vb.net class to my c#.net project, the project can not recognize the vb.net class and I can not instantiate an object of vb.net class.
Can somebody advise me how to create an object of vb.net class in c#.net and use its methods/members etc..
Thanks
|
|
|
|
|
The only way you can do this, is to put the VB.NET class in a dll, and then import that dll into your project ( so you'll have to distribute the dll with the project, too )
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I am working on a project that requires me to retrieve information from the database.. I really can't figure anything out. we have to program using C#. Any ideas? Do I have to use oleDb or ODBC?
|
|
|
|
|
Hi all
Help me.
- Use Visual Studio 2005
- As programming language, use C#
Merge SQLite data with HTML template. This action should be done using one 'Merge' button click.
Show merged document in webbrowser.
Save merged document to PDF.
- Merger
Replaces '##[fieldname]##' in the HTML template document with data from the corresponding
column of the SQLite table.
Create one new page in the document for each record in the SQLite table.
Thank you.
Regards,
Och-Erdene
|
|
|
|
|
so, have you been try to code and what happen then?
dhaim
ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro"
in the front line gave a lead, in the middle line build goodwill, in the behind give power support
|
|
|
|
|
So what is your question anyway?? What do you expect to get as answers???
If what you describe is a thing you have to do and you don't even know where to begin, you have to do your homework or rent a programmer who can do it for you.
Regards
Thomas
www.thomas-weller.de
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Programmer - an organism that turns coffee into software.
|
|
|
|
|
you're going to fail your class. You should consider if this is the right course for you. If it is, you'll do your own work.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
No
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111
|
|
|
|
|
No way.
modified 12-Sep-18 21:01pm.
|
|
|
|
|
I've been using the axWebBrowser control to display webpages, but I need to have access to the HTML of a couple of these pages, there are numerous ways of doing this in the other frameworks but I have to work with 1.1. is there any way of casting or converting the axWebBrowser.Document to a readable string without using the Microsoft.mshtml.dll( as it's almost 8 Mbs)
Thanks
|
|
|
|