|
Yes, you are right...I managed to get it to work.
Thanks!
|
|
|
|
|
has someone used this DLL tu read a class from a JAR file I am having some errors but with out relevant things
stack trace:
at Jni.Net.Bridge.JClass.ForName(String name) in C:\Documents and Settings\penuelas\Desktop\Downloads\article1_source\Jni.Net.Bridge\src\JNI.NET.Bridge\JNI.NET.Bridge\Jni\Net\Bridge\JClass.cs:line 55
at CsharpJVM.CSharpVirtual..cctor() in C:\Documents and Settings\penuelas\My Documents\Visual Studio 2005\Projects\CsharpJVM\CsharpJVM\CSharpVirtual.cs:line 15
-- modified at 13:59 Tuesday 28th November, 2006
|
|
|
|
|
hi
i need a free task pane component. can anyone reply me ??
i get a very good task pane control from codeproject but when i compile it's project the following error shown me :
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(DemoForm));
this.systemTaskPane = new XPExplorerBar.TaskPane(); //error occured in this line
this.pictureTasksExpando = new XPExplorerBar.Expando();
....
}
A call to PInvoke function 'XPExplorerBar!XPExplorerBar.NativeMethods::LoadBitmap' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
|
|
|
|
|
Please see the comments to the XPExplorerBar article, where this bug was discussed and solved[^].
|
|
|
|
|
Hi all
I need to provide tabbed window like functionality in my application just similar to visual sutdio 2005 but could find something worthwhile. Please guide me to a starting point or link
Many thanks
Don't Quit
|
|
|
|
|
There's nothing like this built-in to the .NET framework. There are some commercial toolkits, such as DivElements[^], that supply Visual Studio-like tabs and docking panes.
|
|
|
|
|
I have used the Divelements libraries since they were initially freeware (once upon a time) and find them to be the easiest to work with and provide the best UI presentation as well. They are definately worth the money, even without being expensive like Infragistics or DevXpress.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
Hi guys. Thanks for your suggestion. I'll try it out.
Don't Quit
|
|
|
|
|
|
Howdy,
I am trying to select a range of data within an excel spreadsheet using a SQL query. The two queries below do the trick but I was wondering if there's any way to combine both of these SQL queries into one query?
SELECT * FROM [Retail @home$A11:H46]
SELECT * FROM [Retail @home$J12:Q46]
I've tried:
SELECT * FROM [Retail @home$A11:H46, Retail @home$J12:Q46]
SELECT [A11:H46],[J12:Q46] FROM [Retail @home$]
Without any luck whatsoever.
I was hoping this article http://support.microsoft.com/kb/316934/EN-US/[^] would shed some light on selecting multiple different cell column ranges but it wasn't.
Any help would be very very appreciated!
cheers,
frank grimes
|
|
|
|
|
Can you do a merge on a temp datatable?
You may even try a union in the select
|
|
|
|
|
Thank you for responding.
I tried the UNION ALL SQL Query:
"SELECT * FROM [Retail @home$A11:H46] UNION ALL SELECT [Retail @home$J12:Q46]"
and it threw the following exception:
"Query input must contain at least one table or query."
I am not really sure how I would go about merging a temp datatable. I've investigated but I am still pretty much a newbie regarding datasets and datatables...I will investigate though...
thanks again for the response!
|
|
|
|
|
Error on my part, the UNION does work if you write it correctly
SELECT * FROM [Retail @home$A11:H46] UNION ALL SELECT * FROM [Retail @home$J12:Q46]
|
|
|
|
|
hi
how to resize Image of picturebox ?
i used this code but the following error shown me :
my Code :
this.pictureBox1.Image.Size.Height = int.Parse(this.numericUpDown_Y.Value.ToString());
error :
Cannot modify the return value of 'System.Drawing.Image.Size' because it is not a variable
how to solve my problem ?
thanks
|
|
|
|
|
|
hi
thanks for reply
but i want to resize my image in picturebox.image,(zoom in and zoom out)
wait for other replies.
thanks
|
|
|
|
|
|
Hi, i need to transform the contents of a richtextbox (rtf) to an image.
Any suggestions will be highly appreciated
Thank you
|
|
|
|
|
What have you done so far?
|
|
|
|
|
I display some text in the richtextbox which is bold and italic simple formating. All i want to do is get an image of the richtextbox and use in the DrawImage function I am calling this from my function, printDocument1_PrintPage.
e.Graphics.DrawImage(imageName, new Point(0, 0));
|
|
|
|
|
If you're using .net 2.0 framework you can use the controls DrawToBitmap method.
Let the rich textbox draw itself to a bitmap, then use the Graphics DrawImage method.
-Larantz-
|
|
|
|
|
This might help:
Bitmap screenCap = new Bitmap(this.richTextBox1.Width, this.richTextBox1.Height, PixelFormat.Format64bppArgb);
Graphics myScreen = Graphics.FromImage(screenCap);
int nX = this.Left + this.richTextBox1.Left + SystemInformation.Border3DSize.Width*2;
int nY = this.Top + this.richTextBox1.Top + SystemInformation.CaptionHeight + SystemInformation.Border3DSize.Height*2;
myScreen.CopyFromScreen(nX,nY, 0, 0, this.richTextBox1.Size, CopyPixelOperation.SourceCopy);
myScreen.DrawImage(screenCap,new Point(0,0));
--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters
|
|
|
|
|
It displays just the current screen with nothing on the richtextbox even though i have some default text. I need to display whatever is in the richtextbox store in an image and then i would like to print something like in my printpreview
|
|
|
|
|
In my web app I have a gridview with some records that I can delete and update. The gridview is populated with individual user data. I want to have a single Add New button at the bottom of the Gridview that inserts new cells that I can add information. The app is written in C#.net using asp.net2.0. If any can help please let me know.
|
|
|
|
|
I want to set windows xp registry key to make possible by right click on a file see the item = "Open with AAplic.exe" and run AAplic.exe when the user select that!
How?
|
|
|
|