|
Thanks, i'll check it out.
Thanks for taking the time to help me
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
hi all , i have a question here an easy one jus need somebody to help me with..
i have 2 application in two different separate proj, how do i go abt linking up the 2 of them..
i thought one of way which is to use a link label however i will get two entry points problem..
can someone come up with a betta idea????
|
|
|
|
|
Can you explain it more clearly please?
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9
Ed
|
|
|
|
|
ok wht i mean is i have a main application which i wanna link to my second application.. if i make the second application as a second form of my first application i have pro debugging like as there will be an error due to 2 entry points..i try deleting the entry point of the second application it cant work... how do i solve this???
|
|
|
|
|
Get rid of hte second static void main when you copy the classes across. That's the entry point, so remove one.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hi, I want to change listbox backcolor into transparent or set a background image for it . how could i do?
thanks
|
|
|
|
|
Probably you should read this one first:
http://www.codeproject.com/csharp/SharpFormEditorDemo.asp
There are no article about transparent listbox in internet.
Only for MFC.
|
|
|
|
|
hi all,in my application i need to store the word document(minimum 100kb of size) in to the database for searching the document content.I done it by using stream reader(ie:using stream reader i read the entire document and store it in to single column of the table)initially it works fine but now the number of records in the database is nearly 2000 and it take too much time to display the result.Is there any way to do this....
ayyp
|
|
|
|
|
ayyp wrote: it take too much time to display the result.
What result? You only describe the process you use to store the documents. You also have to descibe the process you use to create the result, or the only advice you will get is guesswork.
---
b { font-weight: normal; }
|
|
|
|
|
that is,the document i am storing in the database contain some informations about particular person when the user gives like "games" and click on search button it will search for the word "games" in all the word document that are present in the db(,if it present) then the entire detail of the all matched records will be displayed in the grid(like name,age,etc..).here i use the like query ie) "select * from tab.name where skill like games"
ayyp
|
|
|
|
|
that is,the document i am storing in the database contain some informations about some peoples when the user gives like "games" in the textbox and clicks search button it will search for the word "games" in all the word document that are present in the db(,if it present) then the entire detail of the all matched records will be displayed in the grid(like name,age,etc..).here i use the like query for this search (ie) "select * from tab.name where skill like games"
ayyp
|
|
|
|
|
Exactly how do you store the decuments in the database? If you would store the documents as binary data, you wouldn't be able to search them like that.
How do you need to serach the information? Do you need a free text seach, or are you only going to search for specific keywords? If the later, then I would suggest that you extract the keywords when you create the record, and store the keywords in a separate table, so that you can make a much more efficient query.
---
b { font-weight: normal; }
|
|
|
|
|
This approach was obviously flawed from day one. You need to read your word docs to search them, your database is an extra overhead, and not the tool it should be. You need to store keywords with your word doc if you want efficient searching.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hello,
I set the TypeConverter attribute of a class named MyFilter to typeof MyFilterConverter derived from TypeConverter.
[TypeConverter(typeof(MyFilterConverter))]
public class MyFilter
{
}
public class MyFilterConverter : TypeConverter
{
}
My executing assembly gets access to it by dynamically loading an assembly containing these 2 classes.
Eveything works fine as long as the executing and the dynamically loaded assembly are in the same directory. If this is not true the TypeConverter attribute will be ignored - easily proved by setting MyFilter as selected object in a property grid.
string fp = FILEPATH_FOR_DynamicLoad;
Assembly assembly = Assembly.LoadFrom(fp);
I would really appreciate if someone could help me out.
Robert
|
|
|
|
|
I have seen something similar happen in the past with attributes disappearing, but I cant recall the details now. And no, I never did find a solution
Maybe a security issue?
|
|
|
|
|
Hello leppie!
Doesn't really comfort me
Anyway, thank you for replying.
Robert
|
|
|
|
|
hello,
does anyone know a way to access all the Forms that are available in an application at design-time in Visual Studio? I need to get access even to Forms that are currently not opened in Visual Studio, getting the class names of these forms would be enough, then I could instantiate them by myself.
Thank you
|
|
|
|
|
Have you tried to click on a project, then go to the project menu at top of screen and select Show all files. This will display all files currently inside that project, even those that have not yet been added to visual studio.
He who laughs last is a bit on the slow side
|
|
|
|
|
thanks for the help....but I want to get all the forms programmatically at design-time...I need this for a custom control I develop.
|
|
|
|
|
Hi all,
iam developing a project in C#.net 2.0.
Here i need to connect to the HP9000 database and open two connections one after the other. Till here i have done it well. After opening two seperate connections in two seperate windows i should be able work independently. But by the time i open the second connection it is closing the first one and returning the results of program run using second connection.
I need to use asynchronous programming here............
Can any one help me out................
pranu
|
|
|
|
|
I wonder if BackgroundWorkerProcess is what you need ?
|
|
|
|
|
Anyone know if it is possible to have multiple bootstrappers on one installer, currently I have one for the .net framework to check if installed, if not it must be installed fisrt, now I want to add one for the msde, any ideas??
Thanx in advance
He who laughs last is a bit on the slow side
|
|
|
|
|
I have created a class library and want to pass value into a unction that is inside the class library.its public and static type. i want to pass the value from the main windows application i created after this class library.
|
|
|
|
|
Namespace.Class.function(type value);
He who laughs last is a bit on the slow side
|
|
|
|
|
is there concept of handles in C#, if yes can u please tell me links of articles on handles or can u atleast give me an idea of how it works.
thanks
----------------------------------------------------------------
where there is a will there is a way
|
|
|
|