|
Though, you have already been answered. It would be nice to read a bit about this[^].
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Well, the question is answered. But I'll try to add more pointers.
Your query can come into picture only when the DLL was written in a native language, but needs to be consumed from within a managed language (or the plain old VB thing) AND which Calling Conventions[^] were used to export the functions from within the DLL.
While you write a DLL with any of those managed languages (or the plain old VB), it is always a COM DLL (You cannot write a Win32 DLL with VB, but you can write a COM DLL with C/C++).
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Hi Experts
I am working with sql server 2005 and visual studio 2005.i have a table having 10 fields and 2000000(above then 2 lakes record) first time when i fill the gird with
these record it takes so much time. i am using data table as data source in ADO.NEt.
and Then filter further records using row filter it also take time.
please suggest me how i can improve my performance so featch record fast as possible as possible.
Thanku
Dinesh
|
|
|
|
|
Sharma Dinesh Kumar wrote: Then filter further records using row filter it also take time
Use the WHERE clause in the SQL itself. It would trip the the number of rows returned.
Sharma Dinesh Kumar wrote: please suggest me how i can improve my performance so featch record fast as possible as possible.
Are you really displaying the 2000000 all at once?
If not, use the paging instead and get the number of rows from the SQL on each page change.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Just to expand on the other post, loading 2 million records will take some time, paging would be your best bet to improve performance for loading, but for filtering 2 million records I don't see how to improve that bottleneck...
|
|
|
|
|
What possible use to an application user would there be of showing 2 million records? Do you ever go past page 5 on, say, search results at google?
Display what the user wants to see, not everything in the database and expect the user to trawl through hundreds of pages looking for the record he/she wants.
|
|
|
|
|
|
|
iTextSharp (.NET) and libHaru (native language) comes to my mind. But I'm not sure if they allow you to extract "specific data" from a PDF file. You might be able to extract the whole contents of the file and you can create a text file out of this extracted data.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Hi Rajesh,
Thanks for the info.
Kind regards,
The only programmers that are better C# programmers, are those who look like this -> |
Programm3r
My Blog: ^_^
|
|
|
|
|
Hi
I have two projects, A and B. A is referencing B. And I want to compile programmatically in the project A the referenced project B to a DLL-File.
How can I do that?
-Haris
|
|
|
|
|
By deploying the command line compiler, and running it with Process.Start, I guess. Why do you want to do that ? I'm not sure what changes you can make to the dll and have your reference still work.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Wow! Thanks for that fast answer!
Hm, could you explain that more detailed, because I am kind of a newbie in all that compiling stuff...
I am part of a team and my part is to compile this DLL, based on the interface definition
|
|
|
|
|
This [^]should help
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I just glanced over the link you gave me. Seemes to be good help.
But in my case, it's the user who is generating this DLL dynamically.
In the article you gave me, it is described how to compile the DLL by giving the source files (.cs) as parameters. But when I release my application the user just gets a .exe file of the application, without the .cs files. How can I compile the project without the given source files, just the released .exe file?
-Haris
|
|
|
|
|
You can't....there would be nothing to compile! What exactly are you expecting the user to compile? If they already have a compiled exe and no .cs files what more could they want?
|
|
|
|
|
Hmm ...
The aim is to have a DLL consisting just one of those projects -> the second one which is refered by the first one. The user selects a XML-Definition file which is going to be a ressource and than it generates the DLL.
|
|
|
|
|
Hi,
Can anyone urgently tell me or maybe have example on how to be able to access Microsoft Outlook Calendar and allow a User Group in Exchange to Edit or add on of from the Calendar? Please help me urgently...
|
|
|
|
|
Read the guidlines on how to ask a question to get the best results. Asking for urgent responses is not one of them. All here are volunteers, if you need urgent support get your CC out and visit one of the paid support forums.
You might also try doing some research[^]
I assue you want to do this from C#, in an application you have created, you do not say!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Sorry. First time on your forum. Yes, I need to do this from C#. It will be used in a web application created in Visual studio 2005. I need to acces Outlook Calender and allow a specific user group in exchange to be able to edit or add to the calender (Shared calendars from users) and onother group to only view the shared calendars from specific users. Can anyone help me?
|
|
|
|
|
Web based MS Exchange is probably mostly already done. See here[^]
|
|
|
|
|
Hello Experts!!
I am using setup wizard for making setup of my project.it includes one dll,actually its c# application and iam using vb.net dll in it.my application run successfully but dll contain form give error->system doesn't found that dll........i added that dll into application foder but doesn't work......
how can i handle dll while doing setup....i new wid this...please tell fast...
What to do???
|
|
|
|
|
KIDYA wrote: .i new wid this...please tell fast...
wid is not a word. If you want super fast answers, you need to be paying for them.
The dll is written in VB ? using the same version of .NET ? What is the exact error message ?
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Soorry for that!!!!
Exact error is
************* Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'ClassLibrary2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'ClassLibrary2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at Tailor.DataMaster.dataGridView2_CellContentClick(Object sender, DataGridViewCellEventArgs e)
at System.Windows.Forms.DataGridView.OnCellContentClick(DataGridViewCellEventArgs e)
at System.Windows.Forms.DataGridView.OnCommonCellContentClick(Int32 columnIndex, Int32 rowIndex, Boolean doubleClick)
at System.Windows.Forms.DataGridViewCell.OnMouseUpInternal(DataGridViewCellMouseEventArgs e)
at System.Windows.Forms.DataGridView.OnCellMouseUp(DataGridViewCellMouseEventArgs e)
at System.Windows.Forms.DataGridView.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
|
|
|
|
|
KIDYA wrote: 'ClassLibrary2
KIDYA wrote: dataGridView2
You're surely not deploying such badly written code ?
Is the version number correct ? The dll is definitely in the same directory ? What about other dlls that this dll depends on ?
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|