Member 1669820 26-May-09 2:1026-May-09 2:10I've compiled some of them using VS. But when I've tryed to register some DLLs from examples in Component Serivce I've got only a message that the DLL contains no components or classes. I've tryed the example that by description can register a DLL.
ASCII defined 32 control characters, plus a necessary extra one for the all-1 DEL character (needed to punch out all the holes on a paper tape and erase it). This large number of codes was desirable at the time, as multi-byte controls would require implementation of a state machine in the terminal, which was very difficult with contemporary electronics and mechanical terminals. Aug 03, 2006 An ActiveX Script Host with custom COM objects. This allows a script to call C functions in your app. In the previous chapter, we learned how to run a script from our application. But in order for that script to be able to call C functions in our application, and ultimately, exchange data with our.
But when I try it I get a message of succesful registration for any DLL but realy such succesful registration has no effects, because the list of available components (I need to use some ActiveX in Matlab) doesn't change after it. Vlad Vissoultchev 8-May-06 2:098-May-06 2:09The only required part is the dispinterface to have a method with DISPIDNEWENUM (-4).There is no requirement on the method name - NewEnum, NewEnum, MyEnum, whatever. Also usually it's marked as hidden in the typelib but this is not a requirement. There is no requirement for Count, Item, Add, Remove, Clear or whatever props/methods. Usually DISPIDVALUE (0) is used on the Item property for convenience when consumed - moCol(3) instead of moCol.Item(3).
Some of the Shell and AD interfaces don't have Item/Count props but do support DISPIDNEWENUM through IDispatch.So basicly your complaints on the wrong design are baseless when most of the things are not part of the design per se. I agree that IEnumXxxx class of interfaces usually encapsulate just a current pointer, but one has to realize that collections (IEnumVARIANT based) are a convenience for 'higher' COM consumer languages, not C/C.cheers. Yes, I do know that there is no requirement for Add or Remove (and I never described them as 'required' in my article). I never mentioned a Clear method at all. As far as the other comments:I refer you to Note the URL.
And pertinent excerpts from the article:'The simplest standard way to access the data in a collection is to expose a property called Count and a method called Item.' 'Collections that are compatible with For Each must have a method called NewEnum that has the dispid DISPIDNEWENUM. Note that the leading underscore in the name NewEnum indicates that the method should be hidden from object browsers.' Here's another URL (and again note where it comes from):And pertinent quotes:'Collection objects have a Count property that allows users to determine the number of items in a collection. You should provide your collection object with this property.' 'Collection objects have an Item(Index) property.'
'In order to support a For Each loop, a collection object needs to have a hidden method that is defined in IDL as follows:id(0xfffffffc) HRESULT NewEnum(out, retval IUnknown. ppunk);The method name must be 'NewEnum'.' Here's an except about ATL collections.
Granted, an ATL collection is not necessarily a COM collection, but since ATL is very, very often used to create COM components, it does tend to speak to the design of a COM collection. 'At a minimum, collection interfaces must provide a Count property that returns the number of items in the collection, an Item property that returns an item from the collection based on an index, and a NewEnum property that returns an enumerator for the collection.' I did a search and did not come up with any MSDN document about COM collections that supports your assertations. In fact, as shown above, there is MSDN documentation that contradicts such, and supports what I stated in my article.
Now, it certainly may be the case that there are script engines and applications out there whose only requirement of a COM Collection is that it meet your minimum requirements. (After all, why would an engine need both a collection's Item function as well as an IEnumVARIANT's Next?) And there may certainly be Microsoft components that adhere only to those minimum standards. But MSDN documentation confirms that your minimum requirements are not the 'standard' design, and does not state the opposite.Ironically, it seems that you've come up with more examples where Microsoft is schizophrenic when it comes to COM software design (one group states something should be done as so, and another group does exactly the opposite. That's bound to happen at such a large software house).I therefore do stand by my comments/complaints, and disagree that they are 'baseless'. I see what you mean.
My point is that a collection is a coclass that has a DISPIDNEWENUM method on the default dispinterface. This is everything that's required for a VB6/VBScript client to use For Each operator.There are collections with no Item/Count properties.
Or the enumerator property is not hidden, or the enumerator property is with arbitrary name. I've seen ones with ItemByPosition property and Filter/Clear/ClearAll methods. The standard VB6 Collection has Item and Count methods (not properties). But these still are collections in the sense that they can be looped with For Each.The URLs you refer to do not 'nail' the design - these comment on common practices. The design seems to be loose but gives kind of implementation flexability.
One can supercharge a collection coclass with utility props/methods.Wrinting a C/C consumer one has to call IDispatch::Invoke(DISPIDNEWENUM) to get an IEnumVARIANT interface to an enumerator - kind of clumsy - and this is the only supported way to emulate For Each syntax on an arbitrary collection.
Not really all you need to do then is change the rangevalidators type to decimal then add into the javascript a. So it would be:onkeypress ='return keyRestrict(event,'/./')'Dont forget to change your max and min of the validator to be what you wnat it to be something like Max 10 Min.01 or whatever it is you need the text to be within. Also something to keep in mind some values you may want to use will need to be added to script in aschii to avoid issues, but you should not have a problem with just a period. Well i haven't used the javascript at the top of the page. This is what i have:-<% @ Page Language ='C#' MasterPageFile ='/MasterPage.master' AutoEventWireup ='true' CodeFile ='register.aspx.cs' Inherits ='register2' Title ='Please Register '%.Price Per Mile: (e.g 1.40) Is there anything wrong with this code? This is all the code for the register.aspx page:- <% @ Page Language ='C#' MasterPageFile ='/MasterPage.master' AutoEventWireup ='true' CodeFile ='register.aspx.cs' Inherits ='register2' Title ='Please Register '%<% @ Register Assembly ='AjaxControlToolkit' Namespace ='AjaxControlToolkit' TagPrefix ='cc1'% JustTaxis » Registration Join Now This section allows youto join Just-Taxis helping you to increase your business custom.
Please be aware thatupon submitting this registration form it will be reviewed, and you will be contacted within 24 hours,to confirm your details. This secton is strictly for Taxi Companies. Customers wishingto book a taxi do not need to register. Simply click on the 'Book Now' link at the top and bookyour taxi, thank you. Personal Information.Title: Mr Mrs Ms Miss Dr Prof.First Name:.Last Name: 2.
Company Information.Company Name:.Number of Seats: 1 2 3 4 5 6 7 8 9 9+.Address 1:.Address 2: Address 3:.Postcode:.County:.Price Per Mile: (e.g 1.40).Phone Number:.Email Address: <% -![C Textbox Kenarlk Rengi C Textbox Kenarlk Rengi](/uploads/1/2/5/5/125581701/614983196.jpg)
Register Thanks for this. From what you have here I dont see that you even put the javascript on the page. I see where you put:'This will call the script function but where is the function? If you dont need it just delete the onkeypress event from the textbox, and use the validator to do what you need.As for using javascript to validate, in my example you are not. You are actualy using javascript to limit what can be typed in but falling back on the Range Validator to catch server if the user happens to attempt to remove/turn off scripting. Validators work both on the client and the server side, so removing javascript the validator will still work on the server end of it.
Sorry my mistake i didnt think the javascript was needed. But obviously it was.That works fine now with no errors. Quick question.:-The following code does not let me put in any alphabetical characters which is fine, it doesnt even let me type a character:-.Price Per Mile: (e.g 1.40) Why does the code below not do the same thing?.Phone Number. I found the Learning Perl on Win32 to be a difficult book to start with. Ihad no prior programming experience and found that the book assumes lots ofprior knowledge.
Although in typical O'Reilly fashion the book is wellwritten and edited, it is just not written for the non-programmer types.All is not lost.Two free sources I have found to be very helpful and free. Great news forsomeone trying to get their feet wet.First Robert's PERL tutorial for Win32 novices.from www.Perl.com.net help people installed to my desktop1-microsoft visual studio.NET enterprise developer 20032-microsoft.NET framework 1.1what else do i need.??? And how can i try with some simple code in VS.Net and run it to seewat happen.?????please helpIf you want to develope web applications, then you'll also need IIS on your PC. That'll require XP-Professional or Windows 2000/2003, but XP-Home edition won't allow IIS installation.As for how to get started, you can search the web for some tutorials or buy a good book on VS. The topic is way too vast to.hii'm intersted to learn asp.net (vb or delphi).i programming with delphi6 but i'd like to tp know something about programming in internet specially with.net.i hear about microsoft.net with delphi 7 that i can programming with delphi in.net. Is it right?what 's our opinian about it?
![C Textbox Kenarlk Rengi C Textbox Kenarlk Rengi](/uploads/1/2/5/5/125581701/614983196.jpg)
And better to learn Vb.Net or continu with delphi(or delphi.net)thanks.Ali DarabianI think there is some support for Delphi in.Net.However, you will find much more support from the user community if you choose a more popular language such as VB.Net or C#. Since your al.Hi, I have had a feeling for a long time to jump into the adds market for some time due to my low income (shooting for the stars) and I don't have anything better to do these days. But I find it really difficult not to give up due to lack of guides (what I can find atleast) and all the hard words which only makes me confused.
But I won't give up. Not sure if this is the right place to post this, but I deffinitly would be really greatfull for help getting started. How did you get started?+If there are any teacher that wanna show me the ropes private, I can give payment with.Hello I've done some asp and php programming along with various other languages in the past and slowing getting my head around.net.I have a small project of creating a Holiday Booking system on our Intranet and just trying to get the first part to work properly will hopefully get me sorted for the whole project. The Intranet is running on.net 2 and I prefer to use the VB code rather than C#.