thx for all the answers, clear and usefull. ;)
Timothy_1982
Posts
-
How can i change the base address of my dll -
How can i change the base address of my dllyep that is why i'm using it, to speed up the time of loading. But i'm just testing it out, now i saw it makes almost no difference. I also read by using NGEN, u can precompile your assemblies to use, does that help the speed of loading the application? I'm using an installer for install my project on client pc. So then i have to add a function to execute NGEN in a custom action in my installer?
-
How can i change the base address of my dllBig thx, i would give each assembly a fixed address, but how do i know how much space i have to leave between the addresses given to 2 different dll's?
-
How can i change the base address of my dll?Project Properties - Build - Advanced in this dialogbox you can change the dll base address, but that ain't working for me, i always get the error DISP_E_BADVARTYPE. How come? Am i entering an invalid number? Can someone help me out here? thx
-
How can i change the base address of my dllProject Properties - Build - Advanced in this dialogbox you can change the dll base address, but that ain't working for me, i always get the error DISP_E_BADVARTYPE. How come? Am i entering an invalid number? Can someone help me out here? thx
-
Datagridview - Datagrid question (scrollbars)hi, i have following problem, i have a datagrid that is bigger than my screen, so i have scrollbars (vertical and horizontal). Now each X seconds, the datagrid is updated with data from the database. So the datagridview is refreshed. When a user is working on row X, and column Y, and the datagrid is refreshed all the scrollbars get back at position 0. So the horizontal scrollbar is put back to the left side of the screen, and the vertical scrollbar is put back on the top of the screen. I know how i can get the current cell of the user, and put the cursor back on that row. But how can i make sure that the horizontal scrollbar is put back on a position so the current selected column is viewable? thx grtz
-
Making an app not function after some timei don't have professional experience in this matter, but the first thing that comes up with me , is registering a start date somewhere in registry, and make your application check that date everytime it starts. I would not check the system time, because with putting it back, the program should work again. Now i'm curious how other people think of this.
-
XML problemCom'on people, no one can help me out here?
-
XML problemhaving following problem i use a xmltextreader to read a xml document. After i construct it, i create a xmlvalidating reader based on this xmltextreader. Then i create a xpathdocument on this object XmlTextReader reader = new XmlTextReader(XXX); XmlValidatingReader validatingReader = new XmlValidatingReader(reader); validatingReader.Schemas.Add(XmlSchemaCache.GetInstance().GetSchema("MYSCHEMA")); validatingReader.ValidationType = ValidationType.Schema; XmlReader readerToUse = validatingreader XPathDocument document = new XPathDocument(readerToUse ); document.createnavigator() --> here my code crashes. why? in the incoming (XXX) xml file, the default namespace is missing. Now i can't add the namespace to the file manually. So my question is now, how can i add the namespace is added to the reader, before i do document.createnavigator, without using DOM. i hope someone can help me out ;)
-
Looking for a toolhi, i'm looking for an application (this may be opensource, or something we have to pay for, but it should be possible to integrate it in our current application.) the story goes like this: we have one server application, and several client applications. the server application has xml messages ready for the client, and the client send xml messages to the application. The messages that the server application holds for the client, are only sent to the client when it requests for it. so what i need is a sort of tool that takes care off the communication, a tool that has a client side, and a server side. So something we can configure it. On the client side of the tool we should configure to what server it should connect, and what kind of request it should sent, we should be able to let the tool poll to the server, so it checks periodically for new messages. On the server application we should be able to say from within our application this message should be send to this client when this client requests for messages. now that's a short summary of what we are looking for, one thing is we should be able to integrate this software in our current application that's writting in C# .NET. I really hope some people here can help us out, other suggestions are welcome ;) every comment is a step forward ;) :laugh:
-
Printing questionwhat's the difference between using the pagesettings property in the PrintDocument.PrintPage event vs the PrintDocument.QueryPageSettings i know QueryPageSettings is thrown first, but like if you want to change the margins of your new printed page, u can use both events, or not? thx grtz
-
Imageshm, that's not what i mean actually, sorry maybe i explained it wrong, i won't be looking for single pixels, i will be looking for circles, rectangles,...
-
ImagesHi, need some help here: i would like to search for a group of pixels on an image, lets say the image is white of color, and has some red points on it, spread around the hole picture, now i would like to develop an application that can counts these dots. Later i want the user to select what he is looking for, dots, rectangles, circles,... is this possible with GDI+ ? Or is there a library (free one please :) ) that i can use to start ? Or should i program the hole flow on myself :) grtz & thx
-
Reflectioncan't do, i don't have control over the class, i'm only using it so i think the only way doing this is with reflection, so if someone knows how i have to code this, please
-
Reflectionyezz i also tought of that but what will happen with arrays of reference types? class A { public z = new Z[4] } class Z { public h = new H[3] } class H { public int i } how does memberwizeclone clone this? my new object may not referece to the same objects, never!! because i will change some values, and my source object may not change along with it
-
ReflectionReflection i have this class class A { public int a } now this is what i want to do in my method private A copy(A first) { A second as new A() now i want to copy all values from "first" tot "second" , like this i mean: second.a = first.a but on this way i don't want to work, when a new member is added, i always have to adjust this function so i want to loop all members with reflection and then copy the value like this: Type typea = Type.GetType("A") For Each member As System.Reflection.MemberInfo In typeA.GetMembers(Reflection.BindingFlags.DeclaredOnly) 'and here i want something like this: (offcourse this doesn't work) second.member.name.value = first.member.name .value --> how can i get something that does this with reflection Next }
-
DataSet - Query problemhow do you mean a preset dataset with relationship? the thing i want to avoid is: query table a and fill it in the dataset, than query table b and fill the same dataset, and then put the relationships on it. I want to do this with one query to the db, is this possible? to execute your query, so your adapter will fill your dataset with different tables and relationships.
-
DataSet - Query problemi would like to know how that i can do something like this: this is my query: select a.col2, a.col3, b.col2 from tableA a INNER JOIN tableB On a.col1 = b.col1 now if i use a fill from a data adapter i get a dataset with one table with my results. what i want is a dataset: with 2 tables one with the nfo from table a, and one with the info from table b how can i do this? or isn't this possible?
-
XSD:TIME and .NET(i'm reposting, first time i posted i wasn't logged in :( ) hello i have an xsd with a tag from type "xsd:time". when i generate a sample xml file with XML spy i get this sample filled in: 14:20:0Z now when i try to parse this file with the .NET xpathdocument the application crashes on this line: XPathDocument document = new XPathDocument(readerToUse); (readerToUse is of type xmlreader) it crashes and says this string in REGTIME is not a valid string for type DATETIME. so i assume .NET recognizes the xsd:time field, but says it's invalid, why? xmlspy says it's ok. i hope someone can help me out here. thank you -- modified at 9:48 Monday 29th August, 2005
-
2 different types of codinghmm interesting, will try this out when i get home. thx for the help Rhys. And is it possible to work without a panel?