|
Hai Everybody,
I want to connect and work with the FileMaker applicaiton through ASP.net.
Can anyone give me a reference.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
M. J. Jaya Chitra wrote: ...through ASP.net.
Can anyone give me a reference.
ASP.Net forum
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Thank you for your valuable suggestions
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
Can you please tell me how to connect it with a .net application and also a reference site for the commands that can be user in filemaker
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
Sorry, I'm not into Asp and this's why I tried to suggest you the Asp.Net forum.. did you look through the software documentation??
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Ok
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
Hi All,
I am been stuck with Drag-Drop operation in C#.I wanna to click on picture1,move it and dropped on picture2.but Drag_Enter event for picture2 does not fired at all. I have seek many topics but not got any any idea!!. I m bit confus with DoDragDrop().Pls tell something about e.Effect and e.Data.GetDataPresent(). I am been stuck with my project. from last 3 days. pls pls help me!!!
Regards
Chintan
www.visharadsoft.com
(Nothing is so purify as KNOWLEDGE)
|
|
|
|
|
1. Replace your PictureBox with a panel control and set it's background image to the picture you want.. "that should do the trick nicely!"
2. Enable the panel "Allow Drop" property by setting it to true ie. Panel1.AllowDrop = true;
3. Enable the destination's AllowDrop property as well.
4. In the destination's drag over, set the effect e.Effect = DragDropEffects.Move; Move/Copy/All/None.. etc.
5. If you want to say drag a file(s) use this:
private void listBox1_DragDrop(object sender, DragEventArgs e)
{
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
foreach (string file in files)
{
try
{
if (!listBox1.Items.Contains(file))
listBox1.Items.Add(file);
listBox1.SelectedIndex = listBox1.Items.Count - 1;
}
catch (Exception ex)
{
MessageBox.Show("Cannot find "+file, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Thanks for ur reply,
i hav done the same thing as wht u tol,but friend when i click on dragged picture box (picturebox1)which i need to move,its not moving on MouseMove event(if i dont write DoDragDrop() in mouseMove it will work fine.I have written code to move picturebox1 according to mouse position).Only mouse get moved and then after taking mouse over panel1,Panel1_DragEnter is fired.But i want panel to know that it is picturebox1
my code snippet.it will give u some info.
private void picturebox1_MouseMove(object sender, MouseEventArgs e)
{
DagDropEffects ddEffect = picturebox1.DoDragDrop(picturebox1, DragDropEffects.Move);
if (ddEffect == DragDropEffects.Move)
{
//then move the mouse else dont move it
}
}
//Code in target picture box Drag_Enter event
private void picturebox2_DragEnter(object sender, DragEventArgs e)
{
if (e.Data.GetDataPresent(DataFormats.Bitmap))
//then it is valid control
else
//not valid so dont allow to drop on target picture box
}
pls reply
-- modified at 6:54 Thursday 7th June, 2007
Regards
Chintan
www.visharadsoft.com
(Nothing is so purify as KNOWLEDGE)
|
|
|
|
|
Hello!
All of a sudden I get this exception when I try to update my database:
Exception of type 'System.EnterpriseServices.TransactionProxyException' was thrown.<br />
<br />
The transaction has aborted.
I haven´t found any info on this error anywhere, does anyone know whats usually causing this type of error and what I should do / look for in order to fix it?
/regards
|
|
|
|
|
how to use array list in c#.net
|
|
|
|
|
It is as simple as using array in any language.Actually ArrayList is use to get Array of object(class,structure) also array of int,string...Just declare its object in one method,luk at following code snippet.
private void fun()
{
Arraylist aList=new ArrayList();
//Array of Picturebox object.
PictureBox[5] pic=new PictureBox();
Now loop it with for loop
aList.Add(pic[i]);
}
This way you can do as many operation with picture box object.such as count no. of item in array list and many more...
Hop i have solve ur doubt.
nJoy C#
Regards
Chintan
www.visharadsoft.com
(Nothing is so purify as KNOWLEDGE)
|
|
|
|
|
Hello,
Please click here[^]
Regards ,
Nishu
|
|
|
|
|
Allergic to documentation?
See here [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
From where did you read about this.
This is never gonna work.
|
|
|
|
|
Manas Bhardwaj wrote: From where did you read about this.
This is never gonna work.
What?!
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
* Reading: Developer Day 5
Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton
My website
|
|
|
|
|
Did you get hit in the head with a brick recently?
|
|
|
|
|
how can insert element into the existing array in c#.net
|
|
|
|
|
If you have a fixed array, then by index, like that:
arr[3] = 5;
Or, if you want an array of dynamic size, then use a List<T> so you can just do list.Add(5).
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Arrays are fixed length. You can replace an existing element, but you cannot insert one. You need an ArrayList or some other collection that supports inserting.
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
* Reading: Developer Day 5
Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton
My website
|
|
|
|
|
Hi,
In C#, the arrays can not be resized dynamically.
So, please keep this point in your mind. If you want to insert items in an array, better chice would be an ArrayList.
Another solution is to re-allocate the array with a different size and to copy the contents of the old array to the new array.
|
|
|
|
|
HOW can we use array list in c#.net
|
|
|
|
|
|
The framework :
=============
C# .Net1.1, under visual studio 2003
We are developped a client-server using System.Runtime.Remoting functionnalities.
At "new loading" message receiption, we launch a thread to handle the new loading.
becaus of memory problems server(console application),
we added to regular intervals a call to
SetProcessWorkingSetSize(System.Diagnostics.Process.GetCurrentProcess().Handle, -1, -1) ;
and all our objects implement a Dispose class with SuppressFinalize call.
GC.SuppressFinalize(this);
It seems to work, when you look at the process manager, the used memory % stays betwenn 7 and 10Mo...
The Problem
===========
we need to add a new capability to our server, and we detect the following problem :
on Thread.Start we catch "OutOfMemory" exception. and our server is blocked
With a simulation program which sends messages to the server and write all 5 minutes the server process state, here this is that we obtain :
07/06/2007 10:14:38 NbThreads=15 VMem=138 428 416
UserProcTime=00:00:00.3593750 TotalProcTime=00:00:00.9375000
PrivateMem=17203200
07/06/2007 10:19:38 NbThreads=22 VMem=442 904 576
UserProcTime=00:00:02.7343750 TotalProcTime=00:00:06.7812500
PrivateMem=30269440
07/06/2007 10:24:38 NbThreads=21 VMem=715 534 336
UserProcTime=00:00:04.3906250 TotalProcTime=00:00:11.7812500
PrivateMem=37363712
07/06/2007 10:29:38 NbThreads=22 VMem=1 002 844 160
UserProcTime=00:00:06.2031250 TotalProcTime=00:00:17.3593750
PrivateMem=44703744
and it grows up until VMem is equal to 2 000 000 000 and we got outofmemory exception.
(Vmem = Process.VirtualMemorySize, UserProcTime = Process.UserProcessorTime, TotalProcTime = Process.TotalProcessorTime
et PrivateMem =Process.PrivateMemorySize
As our server is a console application with threads and because Microsoft (support.microsoft.com : article 828988) recommands the multithreading using
I try to use :
[MTAThread]
static void Main
But, it doens't help...
My Question
==============
Is anyone can explain me where is my problem and how can i resolve it?
|
|
|
|
|
Maybe with more details someone will help me
After using MemProfier and CLR tools I've seen that :
Virtaul memory seems allocated in dataBase.open call :
To give an idea of my code :
using System.Data.Odbc;
OdbcConnection oConn = new OdbcConnection(...);
OdbcCommand oCmd = MyFunctiontoCreateCmd(..);
oConn.Open();
... oCmd.Execute(); ...
oConn.Close();
oConn.dispose();
oConn = null;
I use Firebird 1.5.3.4870, OdbcDriver 1.2.0.69
I don't understand if my problems come from C# dll or firebird ones.
MemProfiler tells me that UnsafeNativeMethods.Odbc32.SQLDriverConnectW calls unmaned code...
(To follow...)
|
|
|
|